depot/third_party/nixpkgs/pkgs/development/python-modules/pyduotecno/default.nix
Default email 587713944a Project import generated by Copybara.
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
2024-04-21 17:54:59 +02:00

37 lines
822 B
Nix

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