summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/udatetime/default.nix
blob: e161e0f00ff603336bcd61ea2131dfe3f5863481 (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
{
  lib,
  buildPythonPackage,
  fetchPypi,
}:

buildPythonPackage rec {
  pname = "udatetime";
  version = "0.0.17";
  format = "setuptools";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-sQvFVwaZpDinLitaZOdr2MKO4779FvIJOHpVB/oLgwE=";
  };

  # tests not included on pypi
  doCheck = false;

  pythonImportsCheck = [ "udatetime" ];

  meta = {
    description = "Fast RFC3339 compliant Python date-time library";
    mainProgram = "bench_udatetime.py";
    homepage = "https://github.com/freach/udatetime";
    license = lib.licenses.asl20;
    maintainers = [ ];
  };
}