mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-12 02:40:31 +08:00
nixpkgs-review: 2.10.5 -> 2.11.0 (#347428)
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
cacert,
|
||||
git,
|
||||
nix,
|
||||
versionCheckHook,
|
||||
|
||||
withAutocomplete ? true,
|
||||
withSandboxSupport ? false,
|
||||
@@ -17,14 +18,14 @@
|
||||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "nixpkgs-review";
|
||||
version = "2.10.5";
|
||||
version = "2.11.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Mic92";
|
||||
repo = "nixpkgs-review";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-dRTKE8gkV298ZmMokyy3Ufer/Lp1GQYdEhIBoLhloEQ=";
|
||||
hash = "sha256-QK9VTMh31aaY+DXHKVzSETMyzCD4jVw3d4ntBnmlkO8=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
@@ -57,8 +58,6 @@ python3Packages.buildPythonApplication rec {
|
||||
"--unset PYTHONPATH"
|
||||
];
|
||||
|
||||
doCheck = false;
|
||||
|
||||
postInstall = lib.optionalString withAutocomplete ''
|
||||
for cmd in nix-review nixpkgs-review; do
|
||||
installShellCompletion --cmd $cmd \
|
||||
@@ -68,13 +67,18 @@ python3Packages.buildPythonApplication rec {
|
||||
done
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
nativeCheckInputs = [
|
||||
versionCheckHook
|
||||
];
|
||||
versionCheckProgramArg = [ "--version" ];
|
||||
|
||||
meta = {
|
||||
changelog = "https://github.com/Mic92/nixpkgs-review/releases/tag/${version}";
|
||||
description = "Review pull-requests on https://github.com/NixOS/nixpkgs";
|
||||
homepage = "https://github.com/Mic92/nixpkgs-review";
|
||||
license = licenses.mit;
|
||||
license = lib.licenses.mit;
|
||||
mainProgram = "nixpkgs-review";
|
||||
maintainers = with maintainers; [
|
||||
maintainers = with lib.maintainers; [
|
||||
figsoda
|
||||
mic92
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user