587713944a
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
43 lines
730 B
Nix
43 lines
730 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 ];
|
|
};
|
|
}
|