python3Packages.{pyppeteer-ng,price-parser,panzi-json-logic}: modernize
Resolve suggestions after #445661 was merged.
This commit is contained in:
@@ -4,14 +4,14 @@
|
||||
fetchFromGitHub,
|
||||
pytestCheckHook,
|
||||
setuptools,
|
||||
pytest-cov,
|
||||
pytest-cov-stub,
|
||||
attrs,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "price-parser";
|
||||
version = "0.4.0";
|
||||
format = "setuptools";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "scrapinghub";
|
||||
@@ -20,11 +20,13 @@ buildPythonPackage rec {
|
||||
hash = "sha256-9f/+Yw94SVvg9fl9zYR9YEMwAgKHwySG5cysPMomnA0=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [ attrs ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
pytest-cov
|
||||
pytest-cov-stub
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "price_parser" ];
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
pyee,
|
||||
pylint,
|
||||
pytest,
|
||||
pytest-cov,
|
||||
pytest-cov-stub,
|
||||
pytest-timeout,
|
||||
pytest-xdist,
|
||||
pytestCheckHook,
|
||||
@@ -43,8 +43,6 @@ buildPythonPackage rec {
|
||||
version = "2.0.0rc10";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "dgtlmoon";
|
||||
repo = "pyppeteer-ng";
|
||||
@@ -96,7 +94,7 @@ buildPythonPackage rec {
|
||||
pydocstyle
|
||||
pylint
|
||||
pytest
|
||||
pytest-cov
|
||||
pytest-cov-stub
|
||||
pytest-timeout
|
||||
pytest-xdist
|
||||
readme-renderer
|
||||
|
||||
Reference in New Issue
Block a user