Merge pull request #309512 from annaleeleaves/schwifty-fix
python311Packages.schwifty: unbreak -- add missing dependency
This commit is contained in:
commit
8f650600cf
1 changed files with 5 additions and 2 deletions
|
@ -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 = {
|
||||
|
|
Loading…
Reference in a new issue