Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09-beta 34 lines 702 B view raw
1{ stdenv 2, lib 3, fetchPypi 4, buildPythonPackage 5, pythonOlder 6, multidict 7, pytestrunner 8, pytest 9, typing-extensions 10, idna 11}: 12 13buildPythonPackage rec { 14 pname = "yarl"; 15 version = "1.5.1"; 16 17 src = fetchPypi { 18 inherit pname version; 19 sha256 = "c22c75b5f394f3d47105045ea551e08a3e804dc7e01b37800ca35b58f856c3d6"; 20 }; 21 22 checkInputs = [ pytest pytestrunner ]; 23 propagatedBuildInputs = [ multidict idna ] 24 ++ lib.optionals (pythonOlder "3.8") [ 25 typing-extensions 26 ]; 27 28 meta = with stdenv.lib; { 29 description = "Yet another URL library"; 30 homepage = "https://github.com/aio-libs/yarl/"; 31 license = licenses.asl20; 32 maintainers = with maintainers; [ dotlambda ]; 33 }; 34}