diff --git a/pkgs/additional/uninsane-dot-org/default.nix b/pkgs/additional/uninsane-dot-org/default.nix index 079fc5a30..3dfc6bec7 100644 --- a/pkgs/additional/uninsane-dot-org/default.nix +++ b/pkgs/additional/uninsane-dot-org/default.nix @@ -1,12 +1,25 @@ -{ callPackage -, fetchFromGitea +{ + callPackage, + fetchFromGitea, + nix-update-script, }: let src = fetchFromGitea { domain = "git.uninsane.org"; owner = "colin"; repo = "uninsane"; - rev = "e6f88f563bdd1700c04018951de4f69862646dd1"; - hash = "sha256-h1EdA/h74zgNPNEYbH+0mgOMlJgLVcxuZ8/ewsZlgEc="; + rev = "f9b30ffa430169426c38a162f5a207a19959b057"; + hash = "sha256-6/AioEEFOLEs2vXPzZikIoLszf4M+USSQ3/8SG3hDw4="; }; -in callPackage "${src}/default.nix" { } + pkg = callPackage "${src}/default.nix" { }; +in + pkg.overrideAttrs (base: { + inherit src; + pname = "uninsane-dot-org"; + version = "0-unstable-2024-08-06"; + passthru = (base.passthru or {}) // { + updateScript = nix-update-script { + extraArgs = [ "--version" "branch" ]; + }; + }; + })