python310Packages.delorean: Fix build
Propagate missing pytz dependency. Also set explicit format, use hash for src fetcher.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user