pythonPackages.tbm-utils: Fix dependencies
This commit is contained in:
parent
f7507ffa95
commit
89466bac4a
@ -5,17 +5,15 @@
|
|||||||
, pendulum
|
, pendulum
|
||||||
, pprintpp
|
, pprintpp
|
||||||
, wrapt
|
, wrapt
|
||||||
, pythonOlder
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "tbm-utils";
|
pname = "tbm-utils";
|
||||||
version = "2.6.0";
|
version = "2.6.0";
|
||||||
disabled = pythonOlder "3.6";
|
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "235748cceeb22c042e32d2fdfd4d710021bac9b938c4f2c35e1fce1cfd58f7ec";
|
sha256 = "1v7pb3yirkhzbv1z5i1qp74vl880f56zvzfj68p08b5jxv64hmr3";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ attrs pendulum pprintpp wrapt ];
|
propagatedBuildInputs = [ attrs pendulum pprintpp wrapt ];
|
||||||
@ -24,7 +22,7 @@ buildPythonPackage rec {
|
|||||||
# issues with package failing to build from source, but nixpkgs is better
|
# issues with package failing to build from source, but nixpkgs is better
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace setup.py \
|
substituteInPlace setup.py \
|
||||||
--replace "pendulum>=2.0,<=3.0,!=2.0.5,!=2.1.0" "pendulum>=2.0,<=3.0"
|
--replace "'attrs>=18.2,<19.4'" "'attrs'"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
# No tests in archive.
|
# No tests in archive.
|
||||||
|
Loading…
Reference in New Issue
Block a user