2017-05-03 06:16:23 +02:00
|
|
|
{ stdenv, fetchPypi, buildPythonPackage, nose }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pytimeparse";
|
2017-09-05 11:16:41 +02:00
|
|
|
version = "1.1.7";
|
2017-05-03 06:16:23 +02:00
|
|
|
name = "${pname}-${version}";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2017-09-05 11:16:41 +02:00
|
|
|
sha256 = "51b641bcd435e0cb6b9701ed79cf7ee97fa6bf2dbb5d41baa16e5486e5d9b17a";
|
2017-05-03 06:16:23 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ nose ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A small Python library to parse various kinds of time expressions";
|
|
|
|
homepage = "https://github.com/wroberts/pytimeparse";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ vrthra ];
|
|
|
|
};
|
|
|
|
}
|