depot/third_party/nixpkgs/pkgs/by-name/ka/kaput-cli/package.nix
Luke Granger-Brown f92e137cfb
Some checks failed
/ combine-systems (push) Blocked by required conditions
/ build (x86_64-linux) (push) Failing after 11m44s
/ build (aarch64-linux) (push) Failing after 11m50s
/ build (push) Failing after 16m42s
Merge commit '1e2ed035f4bebc9adad02b365508ad96f7df87c1' into HEAD
2025-03-02 02:23:32 +00:00

46 lines
933 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=";
};
useFetchCargoVendor = true;
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";
};
}