depot/third_party/nixpkgs/pkgs/development/python-modules/dateutils/default.nix

26 lines
587 B
Nix
Raw Normal View History

{ lib, buildPythonPackage, fetchPypi, python-dateutil, pytz }:
buildPythonPackage rec {
pname = "dateutils";
version = "0.6.12";
src = fetchPypi {
inherit pname version;
hash = "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; [ ];
};
}