nixpkgs-suyu/pkgs/development/python-modules/pytimeparse/default.nix

22 lines
616 B
Nix
Raw Normal View History

2017-05-03 06:16:23 +02:00
{ stdenv, fetchPypi, buildPythonPackage, nose }:
buildPythonPackage rec {
pname = "pytimeparse";
2018-05-28 14:19:18 +02:00
version = "1.1.8";
2017-05-03 06:16:23 +02:00
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
2018-05-28 14:19:18 +02:00
sha256 = "e86136477be924d7e670646a98561957e8ca7308d44841e21f5ddea757556a0a";
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 ];
};
}