Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09 553 B view raw
1{ stdenv, buildPythonPackage, fetchFromGitHub, requests }: 2 3buildPythonPackage rec { 4 pname = "httmock"; 5 version = "1.3.0"; 6 7 src = fetchFromGitHub { 8 owner = "patrys"; 9 repo = "httmock"; 10 rev = version; 11 sha256 = "1dy7pjq4gz476jcnbbpzk8w8qxr9l8wwgw9x2c7lf6fzsgnf404q"; 12 }; 13 14 checkInputs = [ requests ]; 15 16 meta = with stdenv.lib; { 17 description = "A mocking library for requests"; 18 homepage = "https://github.com/patrys/httmock"; 19 license = licenses.asl20; 20 maintainers = with maintainers; [ nyanloutre ]; 21 }; 22}