depot/third_party/nixpkgs/pkgs/development/python-modules/ihcsdk/default.nix
Default email 159e378cbb Project import generated by Copybara.
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
2024-09-19 17:19:46 +03:00

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 ];
};
}