Files
nixpkgs/pkgs/development/python-modules/onkyo-eiscp/default.nix
T
stuebinm ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00

24 lines
593 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 = with lib; {
description = "Control Onkyo receivers over ethernet";
mainProgram = "onkyo";
homepage = "https://github.com/miracle2k/onkyo-eiscp";
license = licenses.mit;
maintainers = with maintainers; [ peterhoeg ];
};
}