159e378cbb
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
41 lines
859 B
Nix
41 lines
859 B
Nix
{
|
|
buildPythonPackage,
|
|
cryptography,
|
|
fetchFromGitHub,
|
|
lib,
|
|
requests,
|
|
setuptools,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "ihcsdk";
|
|
version = "2.8.6";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "dingusdk";
|
|
repo = "PythonIhcSdk";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-0meYr/SywtRfp/TBW3t8QUMlenb5KnzvKfn6c7Przpc=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [
|
|
cryptography
|
|
requests
|
|
];
|
|
|
|
pythonImportsCheck = [ "ihcsdk" ];
|
|
|
|
# upstream has no tests
|
|
doCheck = false;
|
|
|
|
meta = {
|
|
changelog = "https://github.com/dingusdk/PythonIhcSdk/releases/tag/v${version}";
|
|
description = "SDK for connection to the LK IHC Controller";
|
|
homepage = "https://github.com/dingusdk/PythonIhcSdk";
|
|
license = lib.licenses.gpl3Plus;
|
|
maintainers = with lib.maintainers; [ dotlambda ];
|
|
};
|
|
}
|