1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-19 12:28:51 +00:00
nixpkgs/pkgs/development/python-modules/pynamecheap/default.nix

29 lines
576 B
Nix
Raw Normal View History

2020-01-15 13:08:32 +00:00
{ lib
, buildPythonPackage
, fetchFromGitHub
, requests
}:
buildPythonPackage rec {
pname = "PyNamecheap";
version = "0.0.3";
propagatedBuildInputs = [ requests ];
# Tests require access to api.sandbox.namecheap.com
doCheck = false;
src = fetchFromGitHub {
owner = "Bemmu";
repo = pname;
rev = "v${version}";
sha256 = "1g1cd2yc6rpdsc5ax7s93y5nfkf91gcvbgcaqyl9ida6srd9hr97";
};
meta = with lib; {
description = "Namecheap API client in Python.";
homepage = "https://github.com/Bemmu/PyNamecheap";
2020-01-15 13:08:32 +00:00
license = licenses.mit;
};
}