nixpkgs-review: 2.7.0 -> 2.9.0

Diff: https://github.com/Mic92/nixpkgs-review/compare/2.7.0...2.9.0
This commit is contained in:
figsoda
2023-03-20 11:17:26 -04:00
parent e2c97799da
commit a7958e4be0

View File

@@ -3,31 +3,35 @@
, fetchFromGitHub
, bubblewrap
, nix-output-monitor
, cacert
, git
, nix
, withSandboxSupport ? false
, withNom ? false
}:
python3.pkgs.buildPythonApplication rec {
pname = "nixpkgs-review";
version = "2.7.0";
version = "2.9.0";
src = fetchFromGitHub {
owner = "Mic92";
repo = "nixpkgs-review";
rev = version;
sha256 = "sha256-hGOcLrVPb+bSNA72ZfKE9Mjm2dr/qnuaCkjveHXPcws=";
sha256 = "sha256-SNAroKkPXiX5baGPRYnzqiVwPwko/Uari/tvjIU7/4k=";
};
makeWrapperArgs =
let
binPath = [ nix git ] ++ lib.optional withSandboxSupport bubblewrap;
binPath = [ nix git ]
++ lib.optional withSandboxSupport bubblewrap
++ lib.optional withNom nix-output-monitor;
in
[
"--prefix PATH : ${lib.makeBinPath binPath}"
"--set NIX_SSL_CERT_FILE ${cacert}/etc/ssl/certs/ca-bundle.crt"
"--set-default NIX_SSL_CERT_FILE ${cacert}/etc/ssl/certs/ca-bundle.crt"
# we don't have any runtime deps but nix-review shells might inject unwanted dependencies
"--unset PYTHONPATH"
];