Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / paypalhttp / default.nix
blob25c6aa1ba878df4f1a862a6cb0b437551feab2e3
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
5 # propagates
6 , pyopenssl
7 , requests
8 , six
10 # tests
11 , pytestCheckHook
12 , responses
15 buildPythonPackage rec {
16   pname = "paypalhttp";
17   version = "1.0.0";
18   format = "setuptools";
20   src = fetchFromGitHub {
21     owner = "paypal";
22     repo = "paypalhttp_python";
23     rev = "refs/tags/${version}";
24     hash = "sha256-3ihcpYtpcejPkiyf4g4jveyNU6flQB2sv9EZ5Pd7tUc=";
25   };
27   propagatedBuildInputs = [
28     requests
29     six
30     pyopenssl
31   ];
33   nativeCheckInputs = [
34     pytestCheckHook
35     responses
36   ];
38   meta = with lib; {
39     changelog = "https://github.com/paypal/paypalhttp_python/releases/tag/${version}";
40     description = "PayPalHttp is a generic HTTP Client";
41     homepage = "https://github.com/paypal/paypalhttp_python";
42     license = licenses.mit;
43     maintainers = with maintainers; [ hexa ];
44   };