nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 45 lines 903 B view raw
1{ 2 lib, 3 fetchFromGitHub, 4 rustPlatform, 5 pkg-config, 6 openssl, 7 nix-update-script, 8}: 9 10rustPlatform.buildRustPackage rec { 11 pname = "kaput-cli"; 12 version = "2.5.0"; 13 14 src = fetchFromGitHub { 15 owner = "davidchalifoux"; 16 repo = "kaput-cli"; 17 tag = "v${version}"; 18 hash = "sha256-sy8k9L9rmiRFzvhLc+hYl9OqmmP8INLxMNRjAx7/V8g="; 19 }; 20 21 cargoHash = "sha256-yb56rrPlTuc7O4fF9NPNB2djCfq3fLu2hD4gUjRHvqM="; 22 23 env = { 24 OPENSSL_NO_VENDOR = 1; 25 }; 26 27 nativeBuildInputs = [ 28 pkg-config 29 ]; 30 31 buildInputs = [ 32 openssl 33 ]; 34 35 passthru.updateScript = nix-update-script { }; 36 37 meta = { 38 changelog = "https://github.com/davidchalifoux/kaput-cli/releases/tag/v${version}"; 39 description = "Unofficial CLI client for Put.io"; 40 homepage = "https://kaput.sh/"; 41 license = lib.licenses.mit; 42 maintainers = with lib.maintainers; [ pyrox0 ]; 43 mainProgram = "kaput"; 44 }; 45}