+13
-2
pkgs/development/python-modules/cffsubr/default.nix
+13
-2
pkgs/development/python-modules/cffsubr/default.nix
···
1
1
{ stdenv
2
2
, lib
3
3
, buildPythonPackage
4
+
, fetchpatch
4
5
, fetchPypi
5
6
, fonttools
6
7
, pytestCheckHook
7
8
, setuptools-scm
9
+
, wheel
8
10
}:
9
11
10
12
buildPythonPackage rec {
11
13
pname = "cffsubr";
12
14
version = "0.2.9.post1";
13
-
14
15
format = "pyproject";
15
16
16
17
src = fetchPypi {
17
18
inherit pname version;
18
-
sha256 = "azFBLc9JyPqEZkvahn4u3cVbb+b6aW/yU8TxOp/y/Fw=";
19
+
hash = "sha256-azFBLc9JyPqEZkvahn4u3cVbb+b6aW/yU8TxOp/y/Fw=";
19
20
};
20
21
22
+
patches = [
23
+
# https://github.com/adobe-type-tools/cffsubr/pull/23
24
+
(fetchpatch {
25
+
name = "remove-setuptools-git-ls-files.patch";
26
+
url = "https://github.com/adobe-type-tools/cffsubr/commit/887a6a03b1e944b82fcb99b797fbc2f3a64298f0.patch";
27
+
hash = "sha256-LuyqBtDrKWwCeckr+YafZ5nfVw1XnELwFI6X8bGomhs=";
28
+
})
29
+
];
30
+
21
31
nativeBuildInputs = [
22
32
setuptools-scm
33
+
wheel
23
34
];
24
35
25
36
propagatedBuildInputs = [