tomlkit: build with poetry-core
This commit is contained in:
parent
d890807a3a
commit
97f82c9d63
2 changed files with 4 additions and 2 deletions
|
@ -11,7 +11,6 @@
|
|||
, pytest-mock
|
||||
, pytestCheckHook
|
||||
, setuptools
|
||||
, tomlkit
|
||||
, virtualenv
|
||||
}:
|
||||
|
||||
|
@ -54,7 +53,6 @@ buildPythonPackage rec {
|
|||
pytest-mock
|
||||
pytestCheckHook
|
||||
setuptools
|
||||
tomlkit
|
||||
virtualenv
|
||||
];
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue