summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/isodate/default.nix
blob: 4b2cfbfa156b88c0e50b0315156ced221f76898e (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
26
27
28
29
30
31
32
33
{
  lib,
  buildPythonPackage,
  fetchPypi,
  setuptools,
  setuptools-scm,
  pytestCheckHook,
}:

buildPythonPackage rec {
  pname = "isodate";
  version = "0.7.2";
  pyproject = true;

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-TNGqD0PKdvSmxsApKoX0CzXsLkPjFbWfBubTIXGpU+Y=";
  };

  build-system = [
    setuptools
    setuptools-scm
  ];

  nativeCheckInputs = [ pytestCheckHook ];

  meta = {
    changelog = "https://github.com/gweis/isodate/blob/${version}/CHANGES.txt";
    description = "ISO 8601 date/time parser";
    homepage = "https://github.com/gweis/isodate/";
    license = lib.licenses.bsd0;
  };
}