mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-10 14:14:20 +00:00
python311Packages.devialet: init at 1.4.3
Library to interact with Devialet API https://github.com/fwestenberg/devialet
This commit is contained in:
parent
8ca90ac70f
commit
f802b8eeda
45
pkgs/development/python-modules/devialet/default.nix
Normal file
45
pkgs/development/python-modules/devialet/default.nix
Normal file
@ -0,0 +1,45 @@
|
||||
{ lib
|
||||
, aiohttp
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pythonOlder
|
||||
, setuptools
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "devialet";
|
||||
version = "1.4.3";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "fwestenberg";
|
||||
repo = "devialet";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-DVwf1zQXwPe8W2SzL9CnYE+gwLgPEnI+tQTfR+ijwF4=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiohttp
|
||||
];
|
||||
|
||||
# Module has no tests
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"devialet"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Library to interact with the Devialet API";
|
||||
homepage = "https://github.com/fwestenberg/devialet";
|
||||
changelog = "https://github.com/fwestenberg/devialet/releases/tag/v${version}";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
@ -2789,6 +2789,8 @@ self: super: with self; {
|
||||
|
||||
detectron2 = callPackage ../development/python-modules/detectron2 { };
|
||||
|
||||
devialet = callPackage ../development/python-modules/devialet { };
|
||||
|
||||
devito = callPackage ../development/python-modules/devito { };
|
||||
|
||||
devolo-home-control-api = callPackage ../development/python-modules/devolo-home-control-api { };
|
||||
|
Loading…
Reference in New Issue
Block a user