Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

75 lines
1.6 KiB
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
lib,
stdenv,
fetchFromGitHub,
rustPlatform,
meson,
ninja,
pkg-config,
cargo,
rustc,
blueprint-compiler,
wrapGAppsHook4,
desktop-file-utils,
libxml2,
libadwaita,
gtksourceview5,
openssl,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "cartero";
version = "0.2.2";
src = fetchFromGitHub {
owner = "danirod";
repo = "cartero";
tag = "v${finalAttrs.version}";
hash = "sha256-WQ1pGAIFOwXZ+cokHTBPkFrTGikqpEYxK7J5LFqoeH0=";
};
cargoDeps = rustPlatform.fetchCargoVendor {
inherit (finalAttrs) pname version src;
hash = "sha256-vmpBZqRo3Wc7E1d/UzZWDfV96cI9WaSykdxEOTN9KvU=";
};
nativeBuildInputs = [
meson
ninja
pkg-config
rustPlatform.cargoSetupHook
cargo
rustc
blueprint-compiler
wrapGAppsHook4
desktop-file-utils
libxml2 # xmllint
];
buildInputs = [
libadwaita
gtksourceview5
openssl
];
meta = {
description = "Make HTTP requests and test APIs";
longDescription = ''
Cartero is a graphical HTTP client that can be used
as a developer tool to test web APIs and perform all
kind of HTTP requests to web servers. It is compatible
with any REST, SOAP or XML-RPC API and it supports
multiple request methods as well as attaching body
payloads to compatible requests.
'';
homepage = "https://cartero.danirod.es";
changelog = "https://github.com/danirod/cartero/releases";
license = lib.licenses.gpl3Plus;
mainProgram = "cartero";
maintainers = with lib.maintainers; [
aleksana
amerino
];
platforms = lib.platforms.linux;
};
})