summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/timelib/default.nix
blob: 7f887f245ead48a1b180662f373fbdd1e6e787cb (plain)
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
{
  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 = {
    description = "Parse english textual date descriptions";
    homepage = "https://github.com/pediapress/timelib/";
    license = lib.licenses.zlib;
  };
}