2
0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-01-20 11:53:51 +00:00
nixpkgs/pkgs/development/python-modules/ihcsdk/default.nix

42 lines
859 B
Nix

{
buildPythonPackage,
cryptography,
fetchFromGitHub,
lib,
requests,
setuptools,
}:
buildPythonPackage rec {
pname = "ihcsdk";
version = "2.8.9";
pyproject = true;
src = fetchFromGitHub {
owner = "dingusdk";
repo = "PythonIhcSdk";
rev = "refs/tags/v${version}";
hash = "sha256-WI9RjVR2KdLaqklGtIUJErV4pBfffXx3odu3hdoyLWc=";
};
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 ];
};
}