mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-21 12:59:04 +02:00
Merge pull request #170317 from fabaff/pyoppleio
python3Packages.pyoppleio: init at 1.0.6
This commit is contained in:
commit
91ab9a73fc
37
pkgs/development/python-modules/pyoppleio/default.nix
Normal file
37
pkgs/development/python-modules/pyoppleio/default.nix
Normal file
|
@ -0,0 +1,37 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, crc16
|
||||
, fetchPypi
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyoppleio";
|
||||
version = "1.0.6";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-q//uJ+2m9S0r+Jsa5Eye90YSw4cKzd04vPHMm89j8kg=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
crc16
|
||||
];
|
||||
|
||||
# Module has no tests
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"pyoppleio"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Library for interacting with OPPLE lights";
|
||||
homepage = "https://github.com/jedmeng/python-oppleio";
|
||||
license = with licenses; [ asl20 ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
|
@ -1908,7 +1908,8 @@
|
|||
pyopnsense
|
||||
];
|
||||
"opple" = ps: with ps; [
|
||||
]; # missing inputs: pyoppleio
|
||||
pyoppleio
|
||||
];
|
||||
"oru" = ps: with ps; [
|
||||
]; # missing inputs: oru
|
||||
"orvibo" = ps: with ps; [
|
||||
|
|
|
@ -7501,6 +7501,8 @@ in {
|
|||
|
||||
pyopnsense = callPackage ../development/python-modules/pyopnsense { };
|
||||
|
||||
pyoppleio = callPackage ../development/python-modules/pyoppleio { };
|
||||
|
||||
pyosf = callPackage ../development/python-modules/pyosf { };
|
||||
|
||||
pyosmium = callPackage ../development/python-modules/pyosmium {
|
||||
|
|
Loading…
Reference in a new issue