File tree Expand file tree Collapse file tree 1 file changed +15
-6
lines changed
pkgs/development/python-modules/traits Expand file tree Collapse file tree 1 file changed +15
-6
lines changed Original file line number Diff line number Diff line change 33 buildPythonPackage ,
44 fetchPypi ,
55 pythonOlder ,
6+ fetchpatch2 ,
7+ setuptools ,
68} :
79
810buildPythonPackage rec {
911 pname = "traits" ;
1012 version = "6.4.3" ;
11- format = "setuptools" ;
13+ pyproject = true ;
1214
1315 disabled = pythonOlder "3.6" ;
1416
@@ -17,15 +19,22 @@ buildPythonPackage rec {
1719 hash = "sha256-qbv9ngwIt94H6G72TmnLlqKcIQWkO/gyzYsWL6HiL0Q=" ;
1820 } ;
1921
20- # Circular dependency
21- doCheck = false ;
22+ patches = [
23+ ( fetchpatch2 {
24+ url = "https://github.com/enthought/traits/commit/a20f2154b2c79eb8550ea9228d1a4415ff51b72a.patch" ;
25+ hash = "sha256-ycStcpxlvmobL3ZXaSbGrXAzk/Tkjs3BJ67lnwZpeVA=" ;
26+ excludes = [ ".github/*" ] ;
27+ } )
28+ ] ;
29+
30+ build-system = [ setuptools ] ;
2231
2332 pythonImportsCheck = [ "traits" ] ;
2433
25- meta = with lib ; {
34+ meta = {
2635 description = "Explicitly typed attributes for Python" ;
2736 homepage = "https://pypi.python.org/pypi/traits" ;
28- license = licenses . bsd3 ;
29- maintainers = [ ] ;
37+ license = lib . licenses . bsd3 ;
38+ maintainers = with lib . maintainers ; [ bot-wxt1221 ] ;
3039 } ;
3140}
You can’t perform that action at this time.
0 commit comments