Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at python-updates 50 lines 1.0 kB view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 6 # build-system 7 poetry-core, 8 9 # dependencies 10 httpx, 11 packaging, 12}: 13 14buildPythonPackage rec { 15 pname = "wapiti-arsenic"; 16 version = "28.5"; 17 pyproject = true; 18 19 src = fetchPypi { 20 pname = "wapiti_arsenic"; 21 inherit version; 22 hash = "sha256-snIKEdrBOIfPeHkVLv0X5lsBzDbOtDrbOj4m8UNCj60="; 23 }; 24 25 postPatch = '' 26 substituteInPlace pyproject.toml \ 27 --replace-fail "poetry>=2.1.3" "poetry-core" \ 28 --replace-fail "poetry.masonry" "poetry.core.masonry" 29 ''; 30 31 build-system = [ poetry-core ]; 32 33 dependencies = [ 34 httpx 35 packaging 36 ]; 37 38 pythonImportsCheck = [ "wapiti_arsenic" ]; 39 40 # No tests in the pypi archive 41 doCheck = false; 42 43 meta = { 44 description = "Asynchronous WebDriver client"; 45 homepage = "https://github.com/wapiti-scanner/arsenic"; 46 changelog = "https://github.com/wapiti-scanner/arsenic/blob/${version}/CHANGELOG.md"; 47 license = lib.licenses.asl20; 48 maintainers = with lib.maintainers; [ GaetanLepage ]; 49 }; 50}