Skip to content

Commit db639b4

Browse files
committed
pyspread: use fixed-point arguments
1 parent 7e1f654 commit db639b4

1 file changed

Lines changed: 9 additions & 10 deletions

File tree

pkgs/by-name/py/pyspread/package.nix

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,21 +8,20 @@
88
}:
99

1010
let
11-
# get rid of rec
12-
pname = "pyspread";
13-
version = "2.4";
14-
src = fetchPypi {
15-
inherit pname version;
16-
hash = "sha256-MZlR2Rap5oMRfCmswg9W//FYFkSEki7eyMNhLoGZgJM=";
17-
};
1811
inherit (libsForQt5)
1912
qtsvg
2013
wrapQtAppsHook
2114
;
2215
in
23-
python3.pkgs.buildPythonApplication {
16+
python3.pkgs.buildPythonApplication (finalAttrs: {
2417
format = "setuptools";
25-
inherit pname version src;
18+
pname = "pyspread";
19+
version = "2.4";
20+
src = fetchPypi {
21+
pname = "pyspread";
22+
inherit (finalAttrs) version;
23+
hash = "sha256-MZlR2Rap5oMRfCmswg9W//FYFkSEki7eyMNhLoGZgJM=";
24+
};
2625

2726
nativeBuildInputs = [
2827
copyDesktopItems
@@ -86,4 +85,4 @@ python3.pkgs.buildPythonApplication {
8685
mainProgram = "pyspread";
8786
maintainers = [ ];
8887
};
89-
}
88+
})

0 commit comments

Comments
 (0)