e7ec2969af
GitOrigin-RevId: 9b19f5e77dd906cb52dade0b7bd280339d2a1f3d
42 lines
854 B
Nix
42 lines
854 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, pythonOlder
|
|
, setuptools
|
|
, wheel
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pyduotecno";
|
|
version = "2024.1.1";
|
|
format = "pyproject";
|
|
|
|
disabled = pythonOlder "3.9";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Cereal2nd";
|
|
repo = "pyDuotecno";
|
|
rev = "refs/tags/${version}";
|
|
hash = "sha256-+mPbx678QIV567umbmVKqBTq696pFlFXhlb4cMv54ak=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|