python311Packages.pyduotecno: init at 2023.8.3
Module to interact with Duotecno IP interfaces https://github.com/Cereal2nd/pyDuotecno
This commit is contained in:
parent
6d5d215a6e
commit
6104a9ef24
42
pkgs/development/python-modules/pyduotecno/default.nix
Normal file
42
pkgs/development/python-modules/pyduotecno/default.nix
Normal file
|
@ -0,0 +1,42 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pythonOlder
|
||||
, setuptools
|
||||
, wheel
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyduotecno";
|
||||
version = "2023.8.3";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.9";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Cereal2nd";
|
||||
repo = "pyDuotecno";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-zqaW6iQe982BgxaxeeRFTJ/a2nySGoSW4sxKmNxbKQc=";
|
||||
};
|
||||
|
||||
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 ];
|
||||
};
|
||||
}
|
|
@ -8903,6 +8903,8 @@ self: super: with self; {
|
|||
|
||||
pyduke-energy = callPackage ../development/python-modules/pyduke-energy { };
|
||||
|
||||
pyduotecno = callPackage ../development/python-modules/pyduotecno { };
|
||||
|
||||
pydy = callPackage ../development/python-modules/pydy { };
|
||||
|
||||
pydyf = callPackage ../development/python-modules/pydyf { };
|
||||
|
|
Loading…
Reference in a new issue