depot/third_party/nixpkgs/pkgs/development/python-modules/webmin-xmlrpc/default.nix
Default email 159e378cbb Project import generated by Copybara.
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
2024-09-19 17:19:46 +03:00

37 lines
841 B
Nix

{
aiohttp,
buildPythonPackage,
fetchFromGitHub,
lib,
setuptools,
}:
buildPythonPackage rec {
pname = "webmin-xmlrpc";
version = "0.0.2";
pyproject = true;
src = fetchFromGitHub {
owner = "autinerd";
repo = "webmin-xmlrpc";
rev = "refs/tags/${version}";
hash = "sha256-qCS5YV3o7ozO7fDaJucQvU0dEyTbxTivtTDKQVY4pkM=";
};
build-system = [ setuptools ];
dependencies = [ aiohttp ];
pythonImportsCheck = [ "webmin_xmlrpc" ];
# upstream has no tests
doCheck = false;
meta = {
changelog = "https://github.com/autinerd/webmin-xmlrpc/releases/tag/${version}";
description = "Python interface to interact with the Webmin XML-RPC API";
homepage = "https://github.com/autinerd/webmin-xmlrpc";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ dotlambda ];
};
}