1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-13 08:05:40 +00:00
nixpkgs/pkgs/development/python-modules/isodate/default.nix
volth f3282c8d1e treewide: remove unused variables (#63177)
* treewide: remove unused variables

* making ofborg happy
2019-06-16 19:59:05 +00:00

30 lines
562 B
Nix

{ stdenv
, buildPythonPackage
, fetchPypi
, python
, six
}:
buildPythonPackage rec {
pname = "isodate";
version = "0.6.0";
src = fetchPypi {
inherit pname version;
sha256 = "2e364a3d5759479cdb2d37cce6b9376ea504db2ff90252a2e5b7cc89cc9ff2d8";
};
propagatedBuildInputs = [ six ];
checkPhase = ''
${python.interpreter} -m unittest discover -s src/isodate/tests
'';
meta = with stdenv.lib; {
description = "ISO 8601 date/time parser";
homepage = http://cheeseshop.python.org/pypi/isodate;
license = licenses.bsd0;
};
}