Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
75 lines
1.6 KiB
Nix
75 lines
1.6 KiB
Nix
{
|
|
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;
|
|
};
|
|
})
|