about summary refs log tree commit diff
path: root/nixpkgs/pkgs/by-name/cr/crunchy-cli/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/by-name/cr/crunchy-cli/package.nix')
-rw-r--r--nixpkgs/pkgs/by-name/cr/crunchy-cli/package.nix13
1 files changed, 8 insertions, 5 deletions
diff --git a/nixpkgs/pkgs/by-name/cr/crunchy-cli/package.nix b/nixpkgs/pkgs/by-name/cr/crunchy-cli/package.nix
index 5afefe4a37fc..4b54b414a177 100644
--- a/nixpkgs/pkgs/by-name/cr/crunchy-cli/package.nix
+++ b/nixpkgs/pkgs/by-name/cr/crunchy-cli/package.nix
@@ -5,17 +5,18 @@
 , openssl
 , pkg-config
 , rustPlatform
+, nix-update-script
 }:
 
 rustPlatform.buildRustPackage rec {
   pname = "crunchy-cli";
-  version = "3.2.5";
+  version = "3.3.1";
 
   src = fetchFromGitHub {
     owner = "crunchy-labs";
     repo = "crunchy-cli";
     rev = "v${version}";
-    hash = "sha256-hzmTwUd+bQwr+5UtXKMalJZUDxOC5nhXNTXbYZN8xtA=";
+    hash = "sha256-qpbAUqtSOLO1m4gF7+rwArIEpbGnssqw1B/kPrmOhm0=";
   };
 
   cargoLock = {
@@ -39,11 +40,13 @@ rustPlatform.buildRustPackage rec {
     OPENSSL_NO_VENDOR = true;
   };
 
-  meta = with lib; {
+  passthru.updateScript = nix-update-script { };
+
+  meta = {
     description = "Command-line downloader for Crunchyroll";
     homepage = "https://github.com/crunchy-labs/crunchy-cli";
-    license = licenses.mit;
-    maintainers = with maintainers; [ stepbrobd ];
+    license = lib.licenses.mit;
+    maintainers = with lib.maintainers; [ stepbrobd ];
     mainProgram = "crunchy-cli";
   };
 }