python.pkgs.iso8601: move expression
This commit is contained in:
27
pkgs/development/python-modules/iso8601/default.nix
Normal file
27
pkgs/development/python-modules/iso8601/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user