diff options
| author | Theodore Ni <3806110+tjni@users.noreply.github.com> | 2023-08-19 02:56:18 -0700 |
|---|---|---|
| committer | Theodore Ni <3806110+tjni@users.noreply.github.com> | 2023-08-19 02:56:18 -0700 |
| commit | 6b2935d60ce62f70155635eb3df609ef969552d3 (patch) | |
| tree | cef8967e346ac7c28c823ce7b8e8832e4b139555 /pkgs/development/python-modules | |
| parent | ce3d6fe59b468395596a9d6adc67dcf2cf7a45f6 (diff) | |
python3.pkgs.cffsubr: fix up build dependencies
Diffstat (limited to 'pkgs/development/python-modules')
| -rw-r--r-- | pkgs/development/python-modules/cffsubr/default.nix | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/cffsubr/default.nix b/pkgs/development/python-modules/cffsubr/default.nix index 05d4c115085d..e86277cf2782 100644 --- a/pkgs/development/python-modules/cffsubr/default.nix +++ b/pkgs/development/python-modules/cffsubr/default.nix @@ -1,25 +1,36 @@ { stdenv , lib , buildPythonPackage +, fetchpatch , fetchPypi , fonttools , pytestCheckHook , setuptools-scm +, wheel }: buildPythonPackage rec { pname = "cffsubr"; version = "0.2.9.post1"; - format = "pyproject"; src = fetchPypi { inherit pname version; - sha256 = "azFBLc9JyPqEZkvahn4u3cVbb+b6aW/yU8TxOp/y/Fw="; + hash = "sha256-azFBLc9JyPqEZkvahn4u3cVbb+b6aW/yU8TxOp/y/Fw="; }; + patches = [ + # https://github.com/adobe-type-tools/cffsubr/pull/23 + (fetchpatch { + name = "remove-setuptools-git-ls-files.patch"; + url = "https://github.com/adobe-type-tools/cffsubr/commit/887a6a03b1e944b82fcb99b797fbc2f3a64298f0.patch"; + hash = "sha256-LuyqBtDrKWwCeckr+YafZ5nfVw1XnELwFI6X8bGomhs="; + }) + ]; + nativeBuildInputs = [ setuptools-scm + wheel ]; propagatedBuildInputs = [ |
