kaput-cli: init at 2.5.0

This commit is contained in:
dish
2024-12-03 02:38:54 -05:00
parent 8f72df3598
commit e94d44a63d
2 changed files with 46 additions and 0 deletions
+45
View File
@@ -0,0 +1,45 @@
{
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";
rev = "refs/tags/v${version}";
hash = "sha256-sy8k9L9rmiRFzvhLc+hYl9OqmmP8INLxMNRjAx7/V8g=";
};
cargoHash = "sha256-fnTcCVppI5wIzwG2fA8LjpC1+gTAhdRkWv/EQXUok0c=";
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";
};
}
@@ -124,6 +124,7 @@ mapAliases {
ionic = throw "ionic was replaced by @ionic/cli"; # added 2023-08-19
inherit (pkgs) jake; # added 2023-08-19
inherit (pkgs) javascript-typescript-langserver; # added 2023-08-19
inherit (pkgs) kaput-cli; # added 2024-12-03
karma = pkgs.karma-runner; # added 2023-07-29
leetcode-cli = self.vsc-leetcode-cli; # added 2023-08-31
inherit (pkgs) lv_font_conv; # added 2024-06-28