Skip to content

Commit 3168056

Browse files
committed
format default.nix
1 parent 3e0bf75 commit 3168056

File tree

1 file changed

+20
-20
lines changed

1 file changed

+20
-20
lines changed

default.nix

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
1-
{ pkgs ? import <nixpkgs> { }
2-
, python ? "python3"
3-
, pythonPackages ? builtins.getAttr (python + "Packages") pkgs
1+
{
2+
pkgs ? import <nixpkgs> {},
3+
python ? "python3",
4+
pythonPackages ? builtins.getAttr (python + "Packages") pkgs,
45
}:
5-
66
with pythonPackages;
7-
buildPythonPackage rec {
8-
pname = "qbpm";
9-
version = "0.6";
10-
src = ./.;
11-
doCheck = true;
12-
SETUPTOOLS_SCM_PRETEND_VERSION = version;
13-
nativeBuildInputs = [ pkgs.scdoc setuptools-scm ];
14-
propagatedBuildInputs = [ pyxdg ];
15-
checkInputs = [ pytest ];
16-
postInstall = ''
17-
mkdir -p $out/share/fish/vendor_completions.d
18-
cp completions/qbpm.fish $out/share/fish/vendor_completions.d/
7+
buildPythonPackage rec {
8+
pname = "qbpm";
9+
version = "0.6";
10+
src = ./.;
11+
doCheck = true;
12+
SETUPTOOLS_SCM_PRETEND_VERSION = version;
13+
nativeBuildInputs = [pkgs.scdoc setuptools-scm];
14+
propagatedBuildInputs = [pyxdg];
15+
checkInputs = [pytest];
16+
postInstall = ''
17+
mkdir -p $out/share/fish/vendor_completions.d
18+
cp completions/qbpm.fish $out/share/fish/vendor_completions.d/
1919
20-
mkdir -p $out/share/man/man1
21-
scdoc < qbpm.1.scd > $out/share/man/man1/qbpm.1
22-
'';
23-
}
20+
mkdir -p $out/share/man/man1
21+
scdoc < qbpm.1.scd > $out/share/man/man1/qbpm.1
22+
'';
23+
}

0 commit comments

Comments
 (0)