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