File tree Expand file tree Collapse file tree 1 file changed +18
-6
lines changed
pkgs/development/python-modules/biopandas Expand file tree Collapse file tree 1 file changed +18
-6
lines changed Original file line number Diff line number Diff line change 55 setuptools ,
66 looseversion ,
77 mmtf-python ,
8- nose ,
98 numpy ,
109 pandas ,
1110 pytestCheckHook ,
12- pythonOlder ,
11+ fetchpatch2 ,
1312} :
1413
1514buildPythonPackage rec {
@@ -24,6 +23,22 @@ buildPythonPackage rec {
2423 hash = "sha256-1c78baBBsDyvAWrNx5mZI/Q75wyXv0DAwAdWm3EwX/I=" ;
2524 } ;
2625
26+ patches = [
27+ # Needed for below patch to apply properly
28+ ( fetchpatch2 {
29+ name = "deprecate-mmtf-parsing.patch" ;
30+ url = "https://github.com/BioPandas/biopandas/commit/7a1517dbe76f2c70da8edb35f90c9fa69254e726.patch?full_index=1" ;
31+ hash = "sha256-RFtXFqUYl8GnZ319HsBwx5SUbfUDnR66Ppakdvtg/wI=" ;
32+ } )
33+ # Remove nose as a dependency.
34+ ( fetchpatch2 {
35+ name = "remove-nose.patch" ;
36+ url = "https://github.com/BioPandas/biopandas/commit/67aa2f237c70c826cd9ab59d6ae114582da2112f.patch?full_index=1" ;
37+ hash = "sha256-fVl57/vGuzlYX/MBZnma1ZFCVmIpjr1k8t3bUJnb/uI=" ;
38+ excludes = [ "setup.py" ] ;
39+ } )
40+ ] ;
41+
2742 pythonRelaxDeps = [ "looseversion" ] ;
2843
2944 build-system = [ setuptools ] ;
@@ -35,10 +50,7 @@ buildPythonPackage rec {
3550 looseversion
3651 ] ;
3752
38- nativeCheckInputs = [
39- nose
40- pytestCheckHook
41- ] ;
53+ nativeCheckInputs = [ pytestCheckHook ] ;
4254
4355 disabledTests = [
4456 # require network access
You can’t perform that action at this time.
0 commit comments