nixpkgs/pkgs/development/python-modules/httmock/default.nix

23 lines
542 B
Nix
Raw Normal View History

{ lib, buildPythonPackage, fetchFromGitHub, requests }:
2018-11-04 11:47:22 +00:00
buildPythonPackage rec {
pname = "httmock";
version = "1.4.0";
2018-11-04 11:47:22 +00:00
src = fetchFromGitHub {
owner = "patrys";
repo = "httmock";
rev = version;
sha256 = "sha256-yid4vh1do0zqVzd1VV7gc+Du4VPrkeGFsDHqNbHL28I=";
2018-11-04 11:47:22 +00:00
};
checkInputs = [ requests ];
meta = with lib; {
2018-11-04 11:47:22 +00:00
description = "A mocking library for requests";
homepage = "https://github.com/patrys/httmock";
2018-11-04 11:47:22 +00:00
license = licenses.asl20;
maintainers = with maintainers; [ nyanloutre ];
};
}