mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-05-04 06:42:23 +00:00
python: isodate: 0.5.4 -> 0.6.0
This commit is contained in:
parent
bb38752589
commit
bfcae90d2b
@ -3,19 +3,19 @@
|
||||
, fetchPypi
|
||||
, isPy3k
|
||||
, python
|
||||
, six
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "isodate";
|
||||
version = "0.5.4";
|
||||
version = "0.6.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "42105c41d037246dc1987e36d96f3752ffd5c0c24834dd12e4fdbe1e79544e31";
|
||||
sha256 = "2e364a3d5759479cdb2d37cce6b9376ea504db2ff90252a2e5b7cc89cc9ff2d8";
|
||||
};
|
||||
|
||||
# Judging from SyntaxError
|
||||
doCheck = !(isPy3k);
|
||||
propagatedBuildInputs = [ six ];
|
||||
|
||||
checkPhase = ''
|
||||
${python.interpreter} -m unittest discover -s src/isodate/tests
|
||||
|
Loading…
Reference in New Issue
Block a user