Loading pkgs/development/python-modules/cssselect2/default.nix +17 −8 Original line number Diff line number Diff line { lib , buildPythonPackage , fetchPypi , flit-core , pytestCheckHook , pythonOlder , fetchPypi , tinycss2 , pytestCheckHook }: buildPythonPackage rec { pname = "cssselect2"; version = "0.7.0"; format = "pyproject"; disabled = pythonOlder "3.5"; pyproject = true; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; Loading @@ -22,19 +23,27 @@ buildPythonPackage rec { sed -i '/^addopts/d' pyproject.toml ''; nativeBuildInputs = [ build-system = [ flit-core ]; propagatedBuildInputs = [ tinycss2 ]; dependencies = [ tinycss2 ]; nativeCheckInputs = [ pytestCheckHook ]; nativeCheckInputs = [ pytestCheckHook ]; pythonImportsCheck = [ "cssselect2" ]; pythonImportsCheck = [ "cssselect2" ]; meta = with lib; { description = "CSS selectors for Python ElementTree"; homepage = "https://github.com/Kozea/cssselect2"; changelog = "https://github.com/Kozea/cssselect2/releases/tag/${version}"; license = licenses.bsd3; maintainers = with maintainers; [ ]; }; } Loading
pkgs/development/python-modules/cssselect2/default.nix +17 −8 Original line number Diff line number Diff line { lib , buildPythonPackage , fetchPypi , flit-core , pytestCheckHook , pythonOlder , fetchPypi , tinycss2 , pytestCheckHook }: buildPythonPackage rec { pname = "cssselect2"; version = "0.7.0"; format = "pyproject"; disabled = pythonOlder "3.5"; pyproject = true; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; Loading @@ -22,19 +23,27 @@ buildPythonPackage rec { sed -i '/^addopts/d' pyproject.toml ''; nativeBuildInputs = [ build-system = [ flit-core ]; propagatedBuildInputs = [ tinycss2 ]; dependencies = [ tinycss2 ]; nativeCheckInputs = [ pytestCheckHook ]; nativeCheckInputs = [ pytestCheckHook ]; pythonImportsCheck = [ "cssselect2" ]; pythonImportsCheck = [ "cssselect2" ]; meta = with lib; { description = "CSS selectors for Python ElementTree"; homepage = "https://github.com/Kozea/cssselect2"; changelog = "https://github.com/Kozea/cssselect2/releases/tag/${version}"; license = licenses.bsd3; maintainers = with maintainers; [ ]; }; }