Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / pyduotecno / default.nix
blob237570b0e9ca0372dc6b1135865b190b05d3fcd5
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , pythonOlder
5 , setuptools
6 , wheel
7 }:
9 buildPythonPackage rec {
10   pname = "pyduotecno";
11   version = "2023.11.1";
12   format = "pyproject";
14   disabled = pythonOlder "3.9";
16   src = fetchFromGitHub {
17     owner = "Cereal2nd";
18     repo = "pyDuotecno";
19     rev = "refs/tags/${version}";
20     hash = "sha256-gLP5N07msjuQeeyjbCvZK4TrVyZKUCSSKsjNY5Pa9gQ=";
21   };
23   nativeBuildInputs = [
24     setuptools
25     wheel
26   ];
28   # Module has no tests
29   doCheck = false;
31   pythonImportsCheck = [
32     "duotecno"
33   ];
35   meta = with lib; {
36     description = "Module to interact with Duotecno IP interfaces";
37     homepage = "https://github.com/Cereal2nd/pyDuotecno";
38     changelog = "https://github.com/Cereal2nd/pyDuotecno/releases/tag/${version}";
39     license = licenses.asl20;
40     maintainers = with maintainers; [ fab ];
41   };