diff options
Diffstat (limited to 'pkgs/tools/package-management/nix-update/default.nix')
-rw-r--r-- | pkgs/tools/package-management/nix-update/default.nix | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/pkgs/tools/package-management/nix-update/default.nix b/pkgs/tools/package-management/nix-update/default.nix deleted file mode 100644 index a99f84716ee44..0000000000000 --- a/pkgs/tools/package-management/nix-update/default.nix +++ /dev/null @@ -1,43 +0,0 @@ -{ lib -, python3 -, fetchFromGitHub -, nix -, nix-prefetch-git -, nixpkgs-fmt -, nixpkgs-review -}: - -python3.pkgs.buildPythonApplication rec { - pname = "nix-update"; - version = "1.3.1"; - pyproject = true; - - src = fetchFromGitHub { - owner = "Mic92"; - repo = pname; - rev = version; - hash = "sha256-QWfW8tI4tk8hk9eNN6/3i2E4rwfIWgqjxj+htSZVdrc="; - }; - - nativeBuildInputs = [ - python3.pkgs.setuptools - ]; - - makeWrapperArgs = [ - "--prefix" "PATH" ":" (lib.makeBinPath [ nix nix-prefetch-git nixpkgs-fmt nixpkgs-review ]) - ]; - - checkPhase = '' - $out/bin/nix-update --help >/dev/null - ''; - - meta = with lib; { - description = "Swiss-knife for updating nix packages"; - inherit (src.meta) homepage; - changelog = "https://github.com/Mic92/nix-update/releases/tag/${version}"; - license = licenses.mit; - maintainers = with maintainers; [ figsoda mic92 zowoq ]; - mainProgram = "nix-update"; - platforms = platforms.all; - }; -} |