nix-configs/packages/uhid.nix
2025-08-26 00:58:27 +02:00

53 lines
957 B
Nix

{
lib,
fetchPypi,
python3Packages,
}:
python3Packages.buildPythonApplication rec {
pname = "python-uhid";
version = "0.0.1";
pyproject = true;
doCheck = false;
src = fetchPypi {
inherit version;
pname = "uhid";
hash = "sha256-PHgkiYkNvzNiH7LDDRrIH7wbPvGRGufUxzkHzcD1mqs=";
};
propagatedBuildInputs = [
python3Packages.setuptools
];
dependencies = [
# python3Packages.poetry-core
# python3Packages.fido2
# python3Packages.pyscard
# python3Packages.uhid
];
# nativeCheckInputs =
# with python3Packages;
# [
# pytestCheckHook
# pytest-cov-stub
# mock
# pillow
# typeguard
# ]
# ++ [
# writableTmpDirAsHomeHook
# ];
meta = {
description = "Pure Python typed UHID wrapper.";
homepage = "https://github.com/FFY00/python-uhid/";
maintainers = with lib.maintainers; [
# TODO
];
license = lib.licenses.mit;
};
}