summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/webmin-xmlrpc/default.nix
blob: e59a8e45a25be100046d4f223fcb87a32e836d59 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
{
  aiohttp,
  buildPythonPackage,
  fetchFromGitHub,
  lib,
  setuptools,
}:

buildPythonPackage rec {
  pname = "webmin-xmlrpc";
  version = "0.0.2";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "autinerd";
    repo = "webmin-xmlrpc";
    tag = 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 ];
  };
}