about summary refs log tree commit diff
path: root/pkgs/development/python-modules/timelib/default.nix
blob: 2667867505a6c82e611d33d9b1ed53de46d2baa7 (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
{ lib
, buildPythonPackage
, cython
, fetchPypi
}:

buildPythonPackage rec {
  pname = "timelib";
  version = "0.3.0";
  format = "setuptools";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-0bInBlVxhuYFjaiLoPhYN0AbKuneFX9ZNT3JeNglGHo=";
  };

  nativeBuildInputs = [
    cython
  ];

  meta = with lib; {
    description = "Parse english textual date descriptions";
    homepage = "https://github.com/pediapress/timelib/";
    license = licenses.zlib;
  };

}