nixpkgs/pkgs/development/python-modules/dateutils/default.nix
Jörg Thalheim 5356420466 treewide: remove unused with statements from maintainer lists
$ find -type f -name '*.nix' -print0 | xargs -P "$(nproc)" -0 sed -i \
  -e 's!with lib.maintainers; \[ *\];![ ];!' \
  -e 's!with maintainers; \[ *\];![ ];!'
2024-07-29 10:06:20 +08:00

33 lines
604 B
Nix

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