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

buildPythonPackage rec {
  pname = "dateutils";
  version = "0.6.12";

  src = fetchPypi {
    inherit pname version;
    sha256 = "sha256-A92QvLIVQb1OtLATY35PG1+USIHEbMbktnpgWeNw4/E=";
  };

  propagatedBuildInputs = [
    python-dateutil
    pytz
  ];

  pythonImportsCheck = [ "dateutils" ];

  meta = with lib; {
    description = "Utilities for working with datetime objects.";
    homepage = "https://github.com/jmcantrell/python-dateutils";
    license = licenses.bsd0;
    maintainers = with maintainers; [ SuperSandro2000 ];
  };
}