summary refs log tree commit diff
path: root/pkgs/development/python-modules/parsedatetime/default.nix
blob: ba3662a44b0363a4dd9ca83d1ac1b8e6be1eee53 (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
28
29
{ lib
, buildPythonPackage
, fetchPypi
, isPy27
, pytest
, pytest-runner
, future
}:

buildPythonPackage rec {
  pname = "parsedatetime";
  version = "2.6";
  disabled = isPy27; # no longer compatible with icu package

  src = fetchPypi {
    inherit pname version;
    sha256 = "4cb368fbb18a0b7231f4d76119165451c8d2e35951455dfee97c62a87b04d455";
  };

  buildInputs = [ pytest pytest-runner ];
  propagatedBuildInputs = [ future ];

  meta = with lib; {
    description = "Parse human-readable date/time text";
    homepage = "https://github.com/bear/parsedatetime";
    license = licenses.asl20;
  };

}