depot/third_party/nixpkgs/pkgs/development/python-modules/pyduotecno/default.nix
Default email ae2dc6aea6 Project import generated by Copybara.
GitOrigin-RevId: 4c2fcb090b1f3e5b47eaa7bd33913b574a11e0a0
2024-10-11 07:15:48 +02:00

37 lines
823 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
pythonOlder,
setuptools,
}:
buildPythonPackage rec {
pname = "pyduotecno";
version = "2024.10.0";
pyproject = true;
disabled = pythonOlder "3.9";
src = fetchFromGitHub {
owner = "Cereal2nd";
repo = "pyDuotecno";
rev = "refs/tags/${version}";
hash = "sha256-F2f3c6jy3oWPGBOlS0/U0iaHj5jYn2WiK+HoWO8vYaY=";
};
build-system = [ setuptools ];
# Module has no tests
doCheck = false;
pythonImportsCheck = [ "duotecno" ];
meta = with lib; {
description = "Module to interact with Duotecno IP interfaces";
homepage = "https://github.com/Cereal2nd/pyDuotecno";
changelog = "https://github.com/Cereal2nd/pyDuotecno/releases/tag/${version}";
license = licenses.asl20;
maintainers = with maintainers; [ fab ];
};
}