2021-05-28 09:39:13 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2022-05-18 14:49:53 +00:00
|
|
|
, babel
|
2021-05-28 09:39:13 +00:00
|
|
|
, humanize
|
|
|
|
, python-dateutil
|
2023-03-15 16:39:30 +00:00
|
|
|
, pytz
|
2021-05-28 09:39:13 +00:00
|
|
|
, tzlocal
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "Delorean";
|
|
|
|
version = "1.0.0";
|
2023-03-15 16:39:30 +00:00
|
|
|
format = "setuptools";
|
2021-05-28 09:39:13 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2023-03-15 16:39:30 +00:00
|
|
|
hash = "sha256-/md4bhIzhSOEi+xViKZYxNQl4S1T61HP74cL7I9XYTQ=";
|
2021-05-28 09:39:13 +00:00
|
|
|
};
|
|
|
|
|
2023-03-15 16:39:30 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
babel
|
|
|
|
humanize
|
|
|
|
python-dateutil
|
|
|
|
pytz
|
|
|
|
tzlocal
|
|
|
|
];
|
2021-05-28 09:39:13 +00:00
|
|
|
|
2023-03-15 16:39:30 +00:00
|
|
|
pythonImportsCheck = [
|
|
|
|
"delorean"
|
|
|
|
];
|
2021-05-28 09:39:13 +00:00
|
|
|
|
|
|
|
# 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 ];
|
|
|
|
};
|
|
|
|
}
|