2017-05-03 05:16:23 +01:00
|
|
|
{ stdenv, fetchPypi, buildPythonPackage, nose }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pytimeparse";
|
2018-05-28 13:19:18 +01:00
|
|
|
version = "1.1.8";
|
2017-05-03 05:16:23 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-05-28 13:19:18 +01:00
|
|
|
sha256 = "e86136477be924d7e670646a98561957e8ca7308d44841e21f5ddea757556a0a";
|
2017-05-03 05:16:23 +01:00
|
|
|
};
|
|
|
|
|
2020-07-09 12:08:53 +01:00
|
|
|
checkInputs = [ nose ];
|
2017-05-03 05:16:23 +01:00
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|