mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-16 18:03:59 +00:00
40 lines
780 B
Nix
40 lines
780 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
setuptools,
|
|
urllib3,
|
|
certifi,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "domeneshop";
|
|
version = "0.4.4";
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-UCxIDnhIAkxZ1oQXYRyAMdGgUsUZ6AlYXwsxL49TFAg=";
|
|
};
|
|
|
|
nativeBuildInputs = [ setuptools ];
|
|
|
|
dependencies = [
|
|
certifi
|
|
urllib3
|
|
];
|
|
|
|
# There are none
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "domeneshop" ];
|
|
|
|
meta = with lib; {
|
|
changelog = "https://github.com/domeneshop/python-domeneshop/releases/tag/v${version}";
|
|
description = "Python library for working with the Domeneshop API";
|
|
homepage = "https://api.domeneshop.no/docs/";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ pbsds ];
|
|
};
|
|
}
|