mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 07:23:20 +00:00
Merge pull request #305892 from JamieMagee/airtouch5py
python312Packages.airtouch5py: init at 0.2.8
This commit is contained in:
commit
db176ef1d6
53
pkgs/development/python-modules/airtouch5py/default.nix
Normal file
53
pkgs/development/python-modules/airtouch5py/default.nix
Normal file
@ -0,0 +1,53 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
pythonOlder,
|
||||
fetchFromGitHub,
|
||||
|
||||
# build-system
|
||||
poetry-core,
|
||||
pythonRelaxDepsHook,
|
||||
|
||||
# dependencies
|
||||
bitarray,
|
||||
crc,
|
||||
|
||||
# tests
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "airtouch5py";
|
||||
version = "0.2.8";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.10";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "danzel";
|
||||
repo = "airtouch5py";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-MpwppyAWDiA3CZXCIUQ/vidzcxKXZJSlrFRhmrPMgCE=";
|
||||
};
|
||||
|
||||
build-system = [ poetry-core ];
|
||||
nativeBuildInputs = [ pythonRelaxDepsHook ];
|
||||
pythonRelaxDeps = [ "crc" ];
|
||||
|
||||
dependencies = [
|
||||
bitarray
|
||||
crc
|
||||
];
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
pythonImportsCheck = [ "airtouch5py" ];
|
||||
|
||||
meta = with lib; {
|
||||
changelog = "https://github.com/danzel/airtouch5py/releases/tag/${version}";
|
||||
description = "Python client for the airtouch 5";
|
||||
homepage = "https://github.com/danzel/airtouch5py";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ jamiemagee ];
|
||||
};
|
||||
}
|
@ -97,7 +97,8 @@
|
||||
airtouch4pyapi
|
||||
];
|
||||
"airtouch5" = ps: with ps; [
|
||||
]; # missing inputs: airtouch5py
|
||||
airtouch5py
|
||||
];
|
||||
"airvisual" = ps: with ps; [
|
||||
pyairvisual
|
||||
];
|
||||
|
@ -467,6 +467,8 @@ self: super: with self; {
|
||||
|
||||
airtouch4pyapi = callPackage ../development/python-modules/airtouch4pyapi { };
|
||||
|
||||
airtouch5py = callPackage ../development/python-modules/airtouch5py { };
|
||||
|
||||
ajpy = callPackage ../development/python-modules/ajpy { };
|
||||
|
||||
ajsonrpc = callPackage ../development/python-modules/ajsonrpc { };
|
||||
|
Loading…
Reference in New Issue
Block a user