Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ buildPythonPackage, fetchPypi, requests, lib }: 2 3buildPythonPackage rec { 4 pname = "requests-futures"; 5 version = "1.0.0"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "35547502bf1958044716a03a2f47092a89efe8f9789ab0c4c528d9c9c30bc148"; 10 }; 11 12 propagatedBuildInputs = [ requests ]; 13 14 # tests are disabled because they require being online 15 doCheck = false; 16 17 pythonImportsCheck = [ "requests_futures" ]; 18 19 meta = with lib; { 20 description = "Asynchronous Python HTTP Requests for Humans using Futures"; 21 homepage = "https://github.com/ross/requests-futures"; 22 license = with licenses; [ asl20 ]; 23 maintainers = with maintainers; [ applePrincess ]; 24 }; 25}