Files
nixpkgs/pkgs/development/python-modules/domeneshop/default.nix
T

47 lines
859 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, setuptools
, urllib3
, pyopenssl
, cryptography
, idna
, certifi
}:
buildPythonPackage rec {
pname = "domeneshop";
version = "0.4.4";
pyproject = true;
disabled = pythonOlder "3.4";
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 ];
};
}