From 1f04d6b04bc99067dbce7d53fa235f96bc105a76 Mon Sep 17 00:00:00 2001 From: linsui Date: Tue, 13 Sep 2022 16:56:50 +0800 Subject: [PATCH] dotter: 0.12.13 -> 0.12.14 --- pkgs/tools/misc/dotter/default.nix | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/pkgs/tools/misc/dotter/default.nix b/pkgs/tools/misc/dotter/default.nix index 20699c52849f..1b252da0d822 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"; }; }