1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 hatchling,
6 hatch-vcs,
7 aiohttp,
8}:
9
10buildPythonPackage rec {
11 pname = "pywmspro";
12 version = "0.3.2";
13 pyproject = true;
14
15 src = fetchFromGitHub {
16 owner = "mback2k";
17 repo = "pywmspro";
18 tag = version;
19 hash = "sha256-o/+WjdU9+Vh1CnZYF2IsNpK5cubAFvsqANZ4GxrKFHI=";
20 };
21
22 build-system = [
23 hatchling
24 hatch-vcs
25 ];
26
27 dependencies = [ aiohttp ];
28
29 # Package has no tests
30 doCheck = false;
31
32 pythonImportsCheck = [ "wmspro" ];
33
34 meta = {
35 description = "Python library for WMS WebControl pro API";
36 homepage = "https://github.com/mback2k/pywmspro";
37 license = lib.licenses.asl20;
38 maintainers = [ lib.maintainers.jamiemagee ];
39 };
40}