1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-30 09:31:01 +00:00
nixpkgs/pkgs/development/python-modules/bravia-tv/default.nix
2021-06-11 11:44:35 +02:00

34 lines
742 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
, requests
}:
buildPythonPackage rec {
pname = "bravia-tv";
version = "1.0.11";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "dcnielsen90";
repo = "python-bravia-tv";
rev = "v${version}";
sha256 = "sha256-g47bDd5bZl0jad3o6T1jJLcnZj8nx944kz3Vxv8gD2U=";
};
propagatedBuildInputs = [ requests ];
# Package does not include tests
doCheck = false;
pythonImportsCheck = [ "bravia_tv" ];
meta = with lib; {
homepage = "https://github.com/dcnielsen90/python-bravia-tv";
description = "Python library for Sony Bravia TV remote control";
license = licenses.mit;
maintainers = with maintainers; [ colemickens ];
};
}