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

42 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 ];
};
}