1{ lib
2, buildPythonPackage
3, fetchFromGitHub
4, requests
5}:
6
7buildPythonPackage rec {
8 pname = "PyNamecheap";
9 version = "0.0.3";
10
11 propagatedBuildInputs = [ requests ];
12
13 # Tests require access to api.sandbox.namecheap.com
14 doCheck = false;
15
16 src = fetchFromGitHub {
17 owner = "Bemmu";
18 repo = pname;
19 rev = "v${version}";
20 sha256 = "1g1cd2yc6rpdsc5ax7s93y5nfkf91gcvbgcaqyl9ida6srd9hr97";
21 };
22
23 meta = with lib; {
24 description = "Namecheap API client in Python.";
25 homepage = "https://github.com/Bemmu/PyNamecheap";
26 license = licenses.mit;
27 };
28}