1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/python-modules/parsedatetime/default.nix

28 lines
544 B
Nix
Raw Normal View History

{ stdenv
, buildPythonPackage
, fetchPypi
, pytest
, pytestrunner
, future
}:
buildPythonPackage rec {
pname = "parsedatetime";
2018-11-04 10:35:08 +00:00
version = "2.4";
src = fetchPypi {
inherit pname version;
2018-11-04 10:35:08 +00:00
sha256 = "3d817c58fb9570d1eec1dd46fa9448cd644eeed4fb612684b02dfda3a79cb84b";
};
buildInputs = [ pytest pytestrunner ];
propagatedBuildInputs = [ future ];
meta = with stdenv.lib; {
description = "Parse human-readable date/time text";
homepage = "https://github.com/bear/parsedatetime";
license = licenses.asl20;
};
}