Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at domenkozar-patch-1 38 lines 704 B view raw
1{ lib, buildPythonPackage, fetchPypi 2, requests 3, py 4, pytestCheckHook 5, lazy 6}: 7 8buildPythonPackage rec { 9 pname = "devpi-common"; 10 version = "3.7.0"; 11 12 src = fetchPypi { 13 inherit pname version; 14 sha256 = "sha256-O015TOlvFcN7hxwV4SgGmo6vanMuWb+i9KZOYhYZLJM="; 15 }; 16 17 postPatch = '' 18 substituteInPlace tox.ini \ 19 --replace "--flake8" "" 20 ''; 21 22 propagatedBuildInputs = [ 23 requests 24 py 25 lazy 26 ]; 27 28 checkInputs = [ 29 pytestCheckHook 30 ]; 31 32 meta = with lib; { 33 homepage = "https://github.com/devpi/devpi"; 34 description = "Utilities jointly used by devpi-server and devpi-client"; 35 license = licenses.mit; 36 maintainers = with maintainers; [ lewo makefu ]; 37 }; 38}