Files
Martin Weinelt 4bd0b9c7ab Reapply "Merge remote-tracking branch 'origin/master' into staging-next"
This reverts commit 106b1418bc.

Restores the commits lost during the revert of a merge on staging-next.
2025-08-23 16:06:41 +02:00

38 lines
789 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
requests,
setuptools,
}:
buildPythonPackage rec {
pname = "pynamecheap";
version = "0.0.3";
pyproject = true;
src = fetchFromGitHub {
owner = "Bemmu";
repo = "PyNamecheap";
tag = "v${version}";
hash = "sha256-J2WYWtZGtZiox4q9tdkLyU1nix9Jn64K0+1mw7xoLLw=";
};
build-system = [ setuptools ];
dependencies = [ requests ];
# Tests require access to api.sandbox.namecheap.com
doCheck = false;
pythonImportsCheck = [ "namecheap" ];
meta = with lib; {
description = "Namecheap API client in Python";
homepage = "https://github.com/Bemmu/PyNamecheap";
changelog = "https://github.com/Bemmu/PyNamecheap/releases/tag/${src.tag}";
license = licenses.mit;
maintainers = [ ];
};
}