mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
28 lines
544 B
Nix
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;
|
|
};
|
|
|
|
}
|