mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-03-08 03:44:07 +01:00
python3Packages.hanna-cloud: init at 0.0.7 (#494241)
This commit is contained in:
commit
c7c1c15043
3 changed files with 45 additions and 1 deletions
41
pkgs/development/python-modules/hanna-cloud/default.nix
Normal file
41
pkgs/development/python-modules/hanna-cloud/default.nix
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
pycryptodome,
|
||||
requests,
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "hanna-cloud";
|
||||
version = "0.0.7";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "bestycame";
|
||||
repo = "hanna_cloud";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-UYwM1IbU4LlgBBEbMYX5ovf5/8N1SwyeKTHz6TYZZ24=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
pycryptodome
|
||||
requests
|
||||
];
|
||||
|
||||
# upstream has no tests
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "hanna_cloud" ];
|
||||
|
||||
meta = {
|
||||
description = "Python client for the HannaCloud API";
|
||||
homepage = "https://github.com/bestycame/hanna_cloud";
|
||||
changelog = "https://github.com/bestycame/hanna_cloud/releases/tag/${finalAttrs.version}";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = [ lib.maintainers.jamiemagee ];
|
||||
};
|
||||
})
|
||||
|
|
@ -2291,7 +2291,8 @@
|
|||
];
|
||||
"hanna" =
|
||||
ps: with ps; [
|
||||
]; # missing inputs: hanna-cloud
|
||||
hanna-cloud
|
||||
];
|
||||
"hardkernel" =
|
||||
ps: with ps; [
|
||||
aiohasupervisor
|
||||
|
|
|
|||
|
|
@ -6854,6 +6854,8 @@ self: super: with self; {
|
|||
|
||||
hankel = callPackage ../development/python-modules/hankel { };
|
||||
|
||||
hanna-cloud = callPackage ../development/python-modules/hanna-cloud { };
|
||||
|
||||
hanzidentifier = callPackage ../development/python-modules/hanzidentifier { };
|
||||
|
||||
hap-python = callPackage ../development/python-modules/hap-python { };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue