diff --git a/pkgs/by-name/ic/iceshelf/package.nix b/pkgs/by-name/ic/iceshelf/package.nix index 9d60abeb616e..67de9f0768ae 100644 --- a/pkgs/by-name/ic/iceshelf/package.nix +++ b/pkgs/by-name/ic/iceshelf/package.nix @@ -3,39 +3,47 @@ fetchFromGitHub, git, awscli, - python3, + python3Packages, + unstableGitUpdater, }: -python3.pkgs.buildPythonApplication { +python3Packages.buildPythonApplication { pname = "iceshelf"; - version = "0-unstable-2019-07-03"; - + version = "0-unstable-2025-06-29"; pyproject = false; src = fetchFromGitHub { owner = "mrworf"; repo = "iceshelf"; - rev = "26768dde3fc54fa412e523eb8f8552e866b4853b"; - sha256 = "08rcbd14vn7312rmk2hyvdzvhibri31c4r5lzdrwb1n1y9q761qm"; + rev = "5380c49e3f7f3df04b61a494b2d94db2f2c65e25"; + sha256 = "hiJZX6HG6a9kUr8R7DdkPBcuH3tmVJthWXrPtCaVayU="; }; propagatedBuildInputs = [ - git awscli - python3.pkgs.python-gnupg + git + ]; + + dependencies = with python3Packages; [ + python-gnupg ]; installPhase = '' - mkdir -p $out/bin $out/share/doc/iceshelf $out/${python3.sitePackages} + mkdir -p $out/bin $out/share/doc/iceshelf $out/${python3Packages.python.sitePackages} cp -v iceshelf iceshelf-restore $out/bin cp -v iceshelf.sample.conf $out/share/doc/iceshelf/ - cp -rv modules $out/${python3.sitePackages} + cp -rv modules $out/${python3Packages.python.sitePackages} ''; + passthru = { + updateScript = unstableGitUpdater { }; + }; + meta = { description = "Simple tool to allow storage of signed, encrypted, incremental backups using Amazon's Glacier storage"; license = lib.licenses.lgpl2; homepage = "https://github.com/mrworf/iceshelf"; maintainers = with lib.maintainers; [ mmahut ]; + mainProgram = "iceshelf"; }; }