2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchFromGitHub,
|
|
|
|
requests,
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2024-04-21 15:54:59 +00:00
|
|
|
pname = "pynamecheap";
|
2020-04-24 23:36:52 +00:00
|
|
|
version = "0.0.3";
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ requests ];
|
|
|
|
|
|
|
|
# Tests require access to api.sandbox.namecheap.com
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Bemmu";
|
2024-04-21 15:54:59 +00:00
|
|
|
repo = "PyNamecheap";
|
2020-04-24 23:36:52 +00:00
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "1g1cd2yc6rpdsc5ax7s93y5nfkf91gcvbgcaqyl9ida6srd9hr97";
|
|
|
|
};
|
|
|
|
|
|
|
|
meta = with lib; {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Namecheap API client in Python";
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://github.com/Bemmu/PyNamecheap";
|
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
}
|