mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 17:03:01 +00:00
python312Packages.riden: init at 1.2.1
Module for Riden RD power supplies https://github.com/geeksville/riden
This commit is contained in:
parent
9ff53b879e
commit
3d247dae22
50
pkgs/development/python-modules/riden/default.nix
Normal file
50
pkgs/development/python-modules/riden/default.nix
Normal file
@ -0,0 +1,50 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
click,
|
||||
fetchFromGitHub,
|
||||
modbus-tk,
|
||||
poetry-core,
|
||||
pyserial,
|
||||
pythonOlder,
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "riden";
|
||||
version = "1.2.1";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "geeksville";
|
||||
repo = "riden";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-uR1CsVsGn/QC4krHaxl6GqRnTPbFdRaqyMEl2RVMHPU=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
poetry-core
|
||||
setuptools
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
click
|
||||
modbus-tk
|
||||
pyserial
|
||||
];
|
||||
|
||||
# Module has no tests
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "riden" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Module for Riden RD power supplies";
|
||||
homepage = "https://github.com/geeksville/riden";
|
||||
changelog = "https://github.com/geeksville/Riden/releases/tag/${version}";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
@ -13682,6 +13682,8 @@ self: super: with self; {
|
||||
|
||||
rich-theme-manager = callPackage ../development/python-modules/rich-theme-manager { };
|
||||
|
||||
riden = callPackage ../development/python-modules/riden { };
|
||||
|
||||
ring-doorbell = callPackage ../development/python-modules/ring-doorbell { };
|
||||
|
||||
rio-tiler = callPackage ../development/python-modules/rio-tiler { };
|
||||
|
Loading…
Reference in New Issue
Block a user