depot/third_party/nixpkgs/pkgs/development/python-modules/pyduotecno/default.nix
Default email 7e47f3658e Project import generated by Copybara.
GitOrigin-RevId: 1925c603f17fc89f4c8f6bf6f631a802ad85d784
2024-09-26 11:04:55 +00:00

37 lines
822 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
pythonOlder,
setuptools,
}:
buildPythonPackage rec {
pname = "pyduotecno";
version = "2024.9.0";
pyproject = true;
disabled = pythonOlder "3.9";
src = fetchFromGitHub {
owner = "Cereal2nd";
repo = "pyDuotecno";
rev = "refs/tags/${version}";
hash = "sha256-h4OB4V4O645QAPdtO+OtLWffTuA7xlzIveIl+Cyhg3w=";
};
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 ];
};
}