mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-17 23:56:28 +00:00
39 lines
773 B
Nix
39 lines
773 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
setuptools,
|
|
requests,
|
|
}:
|
|
|
|
buildPythonPackage (finalAttrs: {
|
|
pname = "bravia-tv";
|
|
version = "1.0.11";
|
|
pyproject = true;
|
|
|
|
__structuredAttrs = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "dcnielsen90";
|
|
repo = "python-bravia-tv";
|
|
tag = "v${finalAttrs.version}";
|
|
hash = "sha256-g47bDd5bZl0jad3o6T1jJLcnZj8nx944kz3Vxv8gD2U=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [ requests ];
|
|
|
|
# Package does not include tests
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "bravia_tv" ];
|
|
|
|
meta = {
|
|
homepage = "https://github.com/dcnielsen90/python-bravia-tv";
|
|
description = "Python library for Sony Bravia TV remote control";
|
|
license = lib.licenses.mit;
|
|
maintainers = [ ];
|
|
};
|
|
})
|