tomlkit: build with poetry-core

This commit is contained in:
Luiz Ribeiro 2023-07-27 09:37:53 -04:00
parent d890807a3a
commit 97f82c9d63
No known key found for this signature in database
GPG key ID: BF6F8043AC280E02
2 changed files with 4 additions and 2 deletions

View file

@ -11,7 +11,6 @@
, pytest-mock
, pytestCheckHook
, setuptools
, tomlkit
, virtualenv
}:
@ -54,7 +53,6 @@ buildPythonPackage rec {
pytest-mock
pytestCheckHook
setuptools
tomlkit
virtualenv
];

View file

@ -6,17 +6,21 @@
, functools32, typing ? null
, pytestCheckHook
, pyaml
, poetry-core
}:
buildPythonPackage rec {
pname = "tomlkit";
version = "0.11.6";
format = "pyproject";
src = fetchPypi {
inherit pname version;
hash = "sha256-cblS5XIWiJN/sCz501TbzweFBmFJ0oVeRFMevdK2XXM=";
};
nativeBuildInputs = [ poetry-core ];
propagatedBuildInputs =
lib.optionals isPy27 [ enum34 functools32 ]
++ lib.optional isPy27 typing;