depot/third_party/nixpkgs/pkgs/development/python-modules/pyduotecno/default.nix
Default email 23b612e36f Project import generated by Copybara.
GitOrigin-RevId: ae5c332cbb5827f6b1f02572496b141021de335f
2024-01-25 23:12:00 +09:00

42 lines
854 B
Nix

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