nixpkgs-review: format with nixfmt

This commit is contained in:
Nick Cao
2024-09-28 13:49:57 -04:00
parent 056fc213e6
commit 72b6eada2d
@@ -1,17 +1,18 @@
{ lib
, python3
, fetchFromGitHub
{
lib,
python3,
fetchFromGitHub,
, installShellFiles
, bubblewrap
, nix-output-monitor
, cacert
, git
, nix
installShellFiles,
bubblewrap,
nix-output-monitor,
cacert,
git,
nix,
, withAutocomplete ? true
, withSandboxSupport ? false
, withNom ? false
withAutocomplete ? true,
withSandboxSupport ? false,
withNom ? false,
}:
python3.pkgs.buildPythonApplication rec {
@@ -26,20 +27,23 @@ python3.pkgs.buildPythonApplication rec {
hash = "sha256-dRTKE8gkV298ZmMokyy3Ufer/Lp1GQYdEhIBoLhloEQ=";
};
nativeBuildInputs = [
installShellFiles
python3.pkgs.setuptools
] ++ lib.optionals withAutocomplete [
python3.pkgs.argcomplete
];
nativeBuildInputs =
[
installShellFiles
python3.pkgs.setuptools
]
++ lib.optionals withAutocomplete [
python3.pkgs.argcomplete
];
propagatedBuildInputs = [ python3.pkgs.argcomplete ];
makeWrapperArgs =
let
binPath = [ nix git ]
++ lib.optional withSandboxSupport bubblewrap
++ lib.optional withNom nix-output-monitor;
binPath = [
nix
git
] ++ lib.optional withSandboxSupport bubblewrap ++ lib.optional withNom nix-output-monitor;
in
[
"--prefix PATH : ${lib.makeBinPath binPath}"
@@ -65,6 +69,9 @@ python3.pkgs.buildPythonApplication rec {
homepage = "https://github.com/Mic92/nixpkgs-review";
license = licenses.mit;
mainProgram = "nixpkgs-review";
maintainers = with maintainers; [ figsoda mic92 ];
maintainers = with maintainers; [
figsoda
mic92
];
};
}