1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-03 11:02:05 +00:00
nixpkgs/pkgs/development/python-modules/parsedatetime/default.nix
2018-12-03 16:50:32 +01:00

28 lines
544 B
Nix

{ stdenv
, buildPythonPackage
, fetchPypi
, pytest
, pytestrunner
, future
}:
buildPythonPackage rec {
pname = "parsedatetime";
version = "2.4";
src = fetchPypi {
inherit pname version;
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;
};
}