about summary refs log tree commit diff
path: root/pkgs/tools/misc/dotter
diff options
context:
space:
mode:
authorlinsui <linsui555@gmail.com>2022-09-13 16:56:50 +0800
committerlinsui <linsui555@gmail.com>2022-09-13 16:56:50 +0800
commit1f04d6b04bc99067dbce7d53fa235f96bc105a76 (patch)
treee420d790287528e9ed5f36ee31e58ba41cd7802c /pkgs/tools/misc/dotter
parent2772b97081dce5d33cbba768595a50c98b7b8b53 (diff)
dotter: 0.12.13 -> 0.12.14
Diffstat (limited to 'pkgs/tools/misc/dotter')
-rw-r--r--pkgs/tools/misc/dotter/default.nix14
1 files changed, 10 insertions, 4 deletions
diff --git a/pkgs/tools/misc/dotter/default.nix b/pkgs/tools/misc/dotter/default.nix
index 20699c52849f3..1b252da0d8226 100644
--- a/pkgs/tools/misc/dotter/default.nix
+++ b/pkgs/tools/misc/dotter/default.nix
@@ -2,6 +2,7 @@
 , stdenv
 , fetchpatch
 , fetchFromGitHub
+, nix-update-script
 , rustPlatform
 , CoreServices
 , which
@@ -9,26 +10,31 @@
 
 rustPlatform.buildRustPackage rec {
   pname = "dotter";
-  version = "0.12.13";
+  version = "0.12.14";
 
   src = fetchFromGitHub {
     owner = "SuperCuber";
     repo = "dotter";
     rev = "v${version}";
-    hash = "sha256-j3Dj43AbD0V5pZ6mM1uvPsqWAVJrmWyWvwC5NK1cRRY=";
+    hash = "sha256-GGbUpjAcihJLNNo0OtkRGQ2RcT/75vDABlHs7Atzo1s=";
   };
 
-  cargoHash = "sha256-HPs55JBbYObunU0cSm/7lsu/DOk4ne9Ea9MCRJ427zo=";
+  cargoHash = "sha256-uC0OwN73krM7QaQ4rtWV6IseKdZmiqrB8a6QGTs6fHE=";
 
   buildInputs = lib.optionals stdenv.isDarwin [ CoreServices ];
 
   checkInputs = [ which ];
 
+  passthru = {
+    updateScript = nix-update-script {
+      attrPath = pname;
+    };
+  };
+
   meta = with lib; {
     description = "A dotfile manager and templater written in rust 🦀";
     homepage = "https://github.com/SuperCuber/dotter";
     license = licenses.unlicense;
     maintainers = with maintainers; [ linsui ];
-    mainProgram = "dotter";
   };
 }