File tree Expand file tree Collapse file tree 1 file changed +13
-6
lines changed
pkgs/development/python-modules/spdx-tools Expand file tree Collapse file tree 1 file changed +13
-6
lines changed Original file line number Diff line number Diff line change 44 buildPythonPackage ,
55 click ,
66 fetchFromGitHub ,
7+ fetchpatch ,
78 license-expression ,
89 ply ,
910 pytestCheckHook ,
10- pythonOlder ,
1111 pyyaml ,
1212 rdflib ,
1313 semantic-version ,
2020buildPythonPackage rec {
2121 pname = "spdx-tools" ;
2222 version = "0.8.3" ;
23- format = "pyproject" ;
24-
25- disabled = pythonOlder "3.7" ;
23+ pyproject = true ;
2624
2725 src = fetchFromGitHub {
2826 owner = "spdx" ;
@@ -31,12 +29,21 @@ buildPythonPackage rec {
3129 hash = "sha256-r7+RYGoq3LJYN1jYfwzb1r3fc/kL+CPd4pmGATFq8Pw=" ;
3230 } ;
3331
34- nativeBuildInputs = [
32+ patches = [
33+ # https://github.com/spdx/tools-python/issues/844
34+ ( fetchpatch {
35+ name = "beartype-0.20-compat.patch" ;
36+ url = "https://github.com/spdx/tools-python/pull/841/commits/3b13bd5af36a2b78f5c87fdbadc3f2601d2dcd8d.patch" ;
37+ hash = "sha256-8sQNGRss4R1olsw+xGps3NICyimBxKv47TaSrCcnVhA=" ;
38+ } )
39+ ] ;
40+
41+ build-system = [
3542 setuptools
3643 setuptools-scm
3744 ] ;
3845
39- propagatedBuildInputs = [
46+ dependencies = [
4047 beartype
4148 click
4249 license-expression
You can’t perform that action at this time.
0 commit comments