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
|
|
|
|
, tzlocal
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "Delorean";
|
|
|
|
version = "1.0.0";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "0d31ay7yq2w7xz7m3ssk5phjbm64b2k8hmgcif22719k29p7hrzy";
|
|
|
|
};
|
|
|
|
|
2022-05-18 14:49:53 +00:00
|
|
|
propagatedBuildInputs = [ babel humanize python-dateutil tzlocal ];
|
2021-05-28 09:39:13 +00:00
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|