Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
777 B · 37 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738{ lib, buildPythonPackage, fetchFromGitHub, libcec, pytestCheckHook, pythonOlder,}:
buildPythonPackage rec { pname = "pycec"; version = "0.6.0"; format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub { owner = "konikvranik"; repo = pname; rev = "refs/tags/v${version}"; hash = "sha256-5KQyHjAvHWeHFqcFHFJxDOPwWuVcFAN2wVdz9a77dzU="; };
propagatedBuildInputs = [ libcec ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "pycec" ];
meta = with lib; { description = "Python modules to access HDMI CEC devices"; mainProgram = "pycec"; homepage = "https://github.com/konikvranik/pycec/"; license = with licenses; [ mit ]; maintainers = with maintainers; [ fab ]; };}