567e8dfd8e
This commit was created by a combination of scripts and tools: - an ast-grep script to prefix things in meta with `lib.`, - a modified nixf-diagnose / nixf combination to remove unused `with lib;`, and - regular nixfmt. Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
32 lines
611 B
Nix
32 lines
611 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
docopt,
|
|
netifaces,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "onkyo-eiscp";
|
|
version = "1.2.7";
|
|
format = "setuptools";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "761abb16c654a1136763b927d094174d41f282809e44ea32cd47e199dd79d9c9";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
docopt
|
|
netifaces
|
|
];
|
|
|
|
meta = {
|
|
description = "Control Onkyo receivers over ethernet";
|
|
mainProgram = "onkyo";
|
|
homepage = "https://github.com/miracle2k/onkyo-eiscp";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ peterhoeg ];
|
|
};
|
|
}
|