depot/third_party/nixpkgs/pkgs/development/python-modules/pyduotecno/default.nix
Default email 2c76a4cb41 Project import generated by Copybara.
GitOrigin-RevId: c757e9bd77b16ca2e03c89bf8bc9ecb28e0c06ad
2023-11-16 04:20:00 +00:00

42 lines
855 B
Nix

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