Merge pull request #250158 from tjni/compreffor

python3.pkgs.compreffor: fix up build dependencies
This commit is contained in:
OTABI Tomoya 2023-08-19 20:57:07 +09:00 committed by GitHub
commit 4b4c04c7bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,15 +1,17 @@
{ lib
, buildPythonPackage
, cython
, fetchpatch
, fetchPypi
, setuptools-scm
, fonttools
, pytestCheckHook
, wheel
}:
buildPythonPackage rec {
pname = "compreffor";
version = "0.5.4";
format = "pyproject";
src = fetchPypi {
@ -17,8 +19,19 @@ buildPythonPackage rec {
hash = "sha256-MGulQEUGPrQ30T3VYzwRRlvzvWkFqNzqsNzAjtjX9xU=";
};
patches = [
# https://github.com/googlefonts/compreffor/pull/153
(fetchpatch {
name = "remove-setuptools-git-ls-files.patch";
url = "https://github.com/googlefonts/compreffor/commit/10f563564390568febb3ed1d0f293371cbd86953.patch";
hash = "sha256-wNQMJFJXTFILGzAgzUXzz/rnK67/RU+exYP6MhEQAkA=";
})
];
nativeBuildInputs = [
cython
setuptools-scm
wheel
];
propagatedBuildInputs = [