python.pkgs.iso8601: move expression

This commit is contained in:
Frederik Rietdijk
2017-12-31 11:48:00 +01:00
parent 7c82255c6b
commit 606b6addb0
2 changed files with 28 additions and 20 deletions

View File

@@ -0,0 +1,27 @@
{ lib
, buildPythonPackage
, fetchPypi
, pytest
}:
buildPythonPackage rec {
pname = "iso8601";
version = "0.1.11";
src = fetchPypi {
inherit pname version;
sha256 = "e8fb52f78880ae063336c94eb5b87b181e6a0cc33a6c008511bac9a6e980ef30";
};
checkInputs = [ pytest ];
checkPhase = ''
py.test iso8601
'';
meta = {
homepage = https://bitbucket.org/micktwomey/pyiso8601/;
description = "Simple module to parse ISO 8601 dates";
maintainers = with lib.maintainers; [ phreedom ];
};
}