Files
nixpkgs/pkgs/development/python-modules/aioraven/default.nix
T
Fabian Affolter e1a17aaa6d python311Packages.aioraven: init at 0.5.2
Module for communication with RAVEn devices

https://github.com/cottsay/aioraven
2024-03-18 21:05:41 +01:00

54 lines
997 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, setuptools
, pythonOlder
, iso4217
, pyserial
, pyserial-asyncio
, pytestCheckHook
, pytest-asyncio
}:
buildPythonPackage rec {
pname = "aioraven";
version = "0.5.2";
pyproject = true;
disabled = pythonOlder "3.9";
src = fetchFromGitHub {
owner = "cottsay";
repo = "aioraven";
rev = "refs/tags/${version}";
hash = "sha256-ysmIxWy+gufX5oUfQ7Zw5xv0t/yxihFB+eAdYAWAmXs=";
};
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
iso4217
pyserial
pyserial-asyncio
];
nativeCheckInputs = [
pytest-asyncio
pytestCheckHook
];
pythonImportsCheck = [
"aioraven"
];
meta = with lib; {
description = "Module for communication with RAVEn devices";
homepage = "https://github.com/cottsay/aioraven";
changelog = "https://github.com/cottsay/aioraven/blob/${version}/CHANGELOG.md";
license = licenses.asl20;
maintainers = with maintainers; [ fab ];
};
}