about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/parsedatetime/default.nix
blob: 32247fcc3882e1b7d2e4ec898335d966aee9a48f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{ 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;
  };

}