python310Packages.delorean: Fix build

Propagate missing pytz dependency.

Also set explicit format, use hash for src fetcher.
This commit is contained in:
Martin Weinelt
2023-03-03 23:59:32 +01:00
parent c8db349618
commit a6ec7499f1
@@ -4,21 +4,31 @@
, babel
, humanize
, python-dateutil
, pytz
, tzlocal
}:
buildPythonPackage rec {
pname = "Delorean";
version = "1.0.0";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "0d31ay7yq2w7xz7m3ssk5phjbm64b2k8hmgcif22719k29p7hrzy";
hash = "sha256-/md4bhIzhSOEi+xViKZYxNQl4S1T61HP74cL7I9XYTQ=";
};
propagatedBuildInputs = [ babel humanize python-dateutil tzlocal ];
propagatedBuildInputs = [
babel
humanize
python-dateutil
pytz
tzlocal
];
pythonImportsCheck = [ "delorean" ];
pythonImportsCheck = [
"delorean"
];
# test data not included
doCheck = false;