Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, fetchPypi 3, buildPythonPackage 4, pytestCheckHook 5, requests 6, six 7}: 8 9buildPythonPackage rec { 10 pname = "requests-file"; 11 version = "1.5.1"; 12 format = "setuptools"; 13 14 src = fetchPypi { 15 inherit pname version; 16 hash = "sha256-B9dCCNM4nQHDirie9AOvDP7GOVfVOgCB2OynONAkfY4="; 17 }; 18 19 propagatedBuildInputs = [ 20 requests 21 six 22 ]; 23 24 nativeCheckInputs = [ 25 pytestCheckHook 26 ]; 27 28 pythonImportsCheck = [ 29 "requests_file" 30 ]; 31 32 meta = with lib; { 33 description = "Transport adapter for fetching file:// URLs with the requests python library"; 34 homepage = "https://github.com/dashea/requests-file"; 35 license = licenses.asl20; 36 maintainers = with maintainers; [ ]; 37 }; 38}