+13
-2
pkgs/development/python-modules/cffsubr/default.nix
+13
-2
pkgs/development/python-modules/cffsubr/default.nix
···
1
{ stdenv
2
, lib
3
, buildPythonPackage
4
, fetchPypi
5
, fonttools
6
, pytestCheckHook
7
, setuptools-scm
8
}:
9
10
buildPythonPackage rec {
11
pname = "cffsubr";
12
version = "0.2.9.post1";
13
-
14
format = "pyproject";
15
16
src = fetchPypi {
17
inherit pname version;
18
-
sha256 = "azFBLc9JyPqEZkvahn4u3cVbb+b6aW/yU8TxOp/y/Fw=";
19
};
20
21
nativeBuildInputs = [
22
setuptools-scm
23
];
24
25
propagatedBuildInputs = [
···
1
{ stdenv
2
, lib
3
, buildPythonPackage
4
+
, fetchpatch
5
, fetchPypi
6
, fonttools
7
, pytestCheckHook
8
, setuptools-scm
9
+
, wheel
10
}:
11
12
buildPythonPackage rec {
13
pname = "cffsubr";
14
version = "0.2.9.post1";
15
format = "pyproject";
16
17
src = fetchPypi {
18
inherit pname version;
19
+
hash = "sha256-azFBLc9JyPqEZkvahn4u3cVbb+b6aW/yU8TxOp/y/Fw=";
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
+
31
nativeBuildInputs = [
32
setuptools-scm
33
+
wheel
34
];
35
36
propagatedBuildInputs = [