Merge pull request #309512 from annaleeleaves/schwifty-fix

python311Packages.schwifty: unbreak -- add missing dependency
This commit is contained in:
Martin Weinelt 2024-05-06 11:20:23 +02:00 committed by GitHub
commit 8f650600cf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -7,6 +7,7 @@
, hatch-vcs
# dependencies
, importlib-resources
, iso3166
, pycountry
@ -22,9 +23,9 @@
buildPythonPackage rec {
pname = "schwifty";
version = "2024.4.0";
format = "pyproject";
pyproject = true;
disabled = pythonOlder "3.7";
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit pname version;
@ -39,6 +40,8 @@ buildPythonPackage rec {
propagatedBuildInputs = [
iso3166
pycountry
] ++ lib.optionals (pythonOlder "3.12") [
importlib-resources
];
passthru.optional-dependencies = {