Unverified Commit a747c1d8 authored by figsoda's avatar figsoda Committed by GitHub
Browse files

Merge pull request #222511 from qowoz/nix-update

nix-update: 0.15.1 -> 0.16.0
parents 5706ae49 502eaa21
Loading
Loading
Loading
Loading
+6 −5
Original line number Diff line number Diff line
{ lib
, buildPythonApplication
, python3
, fetchFromGitHub
, nix
, nix-prefetch-git
, nixpkgs-fmt
, nixpkgs-review
}:

buildPythonApplication rec {
python3.pkgs.buildPythonApplication rec {
  pname = "nix-update";
  version = "0.15.1";
  version = "0.16.0";
  format = "setuptools";

  src = fetchFromGitHub {
    owner = "Mic92";
    repo = pname;
    rev = version;
    sha256 = "sha256-AYw2czg8HwA/ATQZO0snfb5GRsz77J6cPGDQ8b4W6AI=";
    hash = "sha256-4Hrumb4c0861Aorzfk0eM3++XiWkGopnMuIdb+MTKlo=";
  };

  makeWrapperArgs = [
    "--prefix" "PATH" ":" (lib.makeBinPath [ nix nixpkgs-fmt nixpkgs-review ])
    "--prefix" "PATH" ":" (lib.makeBinPath [ nix nix-prefetch-git nixpkgs-fmt nixpkgs-review ])
  ];

  checkPhase = ''
+3 −1
Original line number Diff line number Diff line
@@ -38425,7 +38425,9 @@ with pkgs;
  nix-query-tree-viewer = callPackage ../tools/nix/nix-query-tree-viewer { };
  nix-update = python3Packages.callPackage ../tools/package-management/nix-update { };
  nix-update = callPackage ../tools/package-management/nix-update {
    python3 = python311;
  };
  nix-update-source = callPackage ../tools/package-management/nix-update-source { };