35 lines
715 B
Nix
35 lines
715 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
|
|
# build-system
|
|
setuptools,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "aiorussound";
|
|
version = "2.3.2";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "noahhusby";
|
|
repo = "aiorussound";
|
|
rev = "refs/tags/${version}";
|
|
hash = "sha256-lQDHwm6dpernRYktu6eqV8uP7FHHHAU28viLg0q58+8=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
doCheck = false; # no tests
|
|
|
|
pythonImportsCheck = [ "aiorussound" ];
|
|
|
|
meta = with lib; {
|
|
description = "Async python package for interfacing with Russound RIO hardware";
|
|
homepage = "https://github.com/noahhusby/aiorussound";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ hexa ];
|
|
};
|
|
}
|