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

buildPythonPackage rec {
  pname = "rfc3339";
  version = "6.2";

  src = fetchPypi {
    inherit pname version;
    sha256 = "1l6l1bh91i2r4dwcm86hlkx8cbh1xwgsk8hb4jvr5y5fxxg3ng6m";
  };

  # Project has no tests
  doCheck = false;

  pythonImportsCheck = [ "rfc3339" ];

  meta = with lib; {
    description = "Format dates according to the RFC 3339";
    homepage = "https://hg.sr.ht/~henryprecheur/rfc3339";
    license = licenses.isc;
    maintainers = with maintainers; [ fab ];
  };
}