nixpkgs/pkgs/development/python-modules/delorean/default.nix
2024-05-22 17:32:03 +02:00

43 lines
734 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
babel,
humanize,
python-dateutil,
pytz,
tzlocal,
}:
buildPythonPackage rec {
pname = "delorean";
version = "1.0.0";
format = "setuptools";
src = fetchPypi {
pname = "Delorean";
inherit version;
hash = "sha256-/md4bhIzhSOEi+xViKZYxNQl4S1T61HP74cL7I9XYTQ=";
};
propagatedBuildInputs = [
babel
humanize
python-dateutil
pytz
tzlocal
];
pythonImportsCheck = [ "delorean" ];
# test data not included
doCheck = false;
meta = with lib; {
description = "Delorean: Time Travel Made Easy";
homepage = "https://github.com/myusuf3/delorean";
license = licenses.mit;
maintainers = with maintainers; [ globin ];
};
}