Files
nixpkgs/pkgs/by-name/ka/kaput-cli/package.nix
Dark Steveneq 646b892680
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
push sheeet
2025-10-09 14:15:47 +02:00

46 lines
903 B
Nix

{
lib,
fetchFromGitHub,
rustPlatform,
pkg-config,
openssl,
nix-update-script,
}:
rustPlatform.buildRustPackage rec {
pname = "kaput-cli";
version = "2.5.0";
src = fetchFromGitHub {
owner = "davidchalifoux";
repo = "kaput-cli";
tag = "v${version}";
hash = "sha256-sy8k9L9rmiRFzvhLc+hYl9OqmmP8INLxMNRjAx7/V8g=";
};
cargoHash = "sha256-yb56rrPlTuc7O4fF9NPNB2djCfq3fLu2hD4gUjRHvqM=";
env = {
OPENSSL_NO_VENDOR = 1;
};
nativeBuildInputs = [
pkg-config
];
buildInputs = [
openssl
];
passthru.updateScript = nix-update-script { };
meta = {
changelog = "https://github.com/davidchalifoux/kaput-cli/releases/tag/v${version}";
description = "Unofficial CLI client for Put.io";
homepage = "https://kaput.sh/";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ pyrox0 ];
mainProgram = "kaput";
};
}