mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-12-02 02:40:22 +00:00
python3Packages.grandstream-home-api: init at 0.1.7
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
cryptography,
|
||||
fetchFromGitHub,
|
||||
hatchling,
|
||||
pytestCheckHook,
|
||||
requests,
|
||||
}:
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "grandstream-home-api";
|
||||
version = "0.1.7";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "wtxu-gs";
|
||||
repo = "grandstream_home_api";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-NBxd+TQkpWQ9g4EQJPleO32ve9IVUnWJUANvZtt4p04=";
|
||||
};
|
||||
|
||||
build-system = [ hatchling ];
|
||||
|
||||
dependencies = [
|
||||
cryptography
|
||||
requests
|
||||
];
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
pythonImportsCheck = [ "grandstream_home_api" ];
|
||||
|
||||
meta = {
|
||||
description = "Python API library for Grandstream GDS/GSC, GNS and GWN Switch devices";
|
||||
homepage = "https://github.com/wtxu-gs/grandstream_home_api";
|
||||
changelog = "https://github.com/wtxu-gs/grandstream_home_api/blob/${finalAttrs.src.tag}/CHANGELOG.md";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = [ lib.maintainers.jamiemagee ];
|
||||
};
|
||||
})
|
||||
@@ -7366,6 +7366,8 @@ self: super: with self; {
|
||||
|
||||
grandalf = callPackage ../development/python-modules/grandalf { };
|
||||
|
||||
grandstream-home-api = callPackage ../development/python-modules/grandstream-home-api { };
|
||||
|
||||
granian = callPackage ../development/python-modules/granian { };
|
||||
|
||||
graph-tool = callPackage ../development/python-modules/graph-tool { inherit (pkgs) cgal; };
|
||||
|
||||
Reference in New Issue
Block a user