Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / python-modules / pynamecheap / default.nix
blob84c13b9d1caaa2eeac6472e3767cad20cb651578
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , requests
5 }:
7 buildPythonPackage rec {
8   pname = "PyNamecheap";
9   version = "0.0.3";
11   propagatedBuildInputs = [ requests ];
13   # Tests require access to api.sandbox.namecheap.com
14   doCheck = false;
16   src = fetchFromGitHub {
17     owner = "Bemmu";
18     repo = pname;
19     rev = "v${version}";
20     sha256 = "1g1cd2yc6rpdsc5ax7s93y5nfkf91gcvbgcaqyl9ida6srd9hr97";
21   };
23   meta = with lib; {
24     description = "Namecheap API client in Python.";
25     homepage = "https://github.com/Bemmu/PyNamecheap";
26     license = licenses.mit;
27   };