python3Packages.cssselect2: build using flit-core
This commit is contained in:
parent
e6ccf2a707
commit
1c14120c30
@ -1,5 +1,6 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, flit-core
|
||||
, pythonOlder
|
||||
, fetchPypi
|
||||
, tinycss2
|
||||
@ -9,6 +10,7 @@
|
||||
buildPythonPackage rec {
|
||||
pname = "cssselect2";
|
||||
version = "0.5.0";
|
||||
format = "pyproject";
|
||||
disabled = pythonOlder "3.5";
|
||||
|
||||
src = fetchPypi {
|
||||
@ -20,6 +22,10 @@ buildPythonPackage rec {
|
||||
sed -i '/^addopts/d' pyproject.toml
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
flit-core
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [ tinycss2 ];
|
||||
|
||||
checkInputs = [ pytestCheckHook ];
|
||||
|
Loading…
Reference in New Issue
Block a user