Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / bravia-tv / default.nix
blobce299e4612cd70f125377d79341240491d1d313b
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , pythonOlder
5 , requests
6 }:
8 buildPythonPackage rec {
9   pname = "bravia-tv";
10   version = "1.0.11";
11   disabled = pythonOlder "3.6";
13   src = fetchFromGitHub {
14     owner = "dcnielsen90";
15     repo = "python-bravia-tv";
16     rev = "v${version}";
17     hash = "sha256-g47bDd5bZl0jad3o6T1jJLcnZj8nx944kz3Vxv8gD2U=";
18   };
20   propagatedBuildInputs = [ requests ];
22   # Package does not include tests
23   doCheck = false;
25   pythonImportsCheck = [ "bravia_tv" ];
27   meta = with lib; {
28     homepage = "https://github.com/dcnielsen90/python-bravia-tv";
29     description = "Python library for Sony Bravia TV remote control";
30     license = licenses.mit;
31     maintainers = with maintainers; [ colemickens ];
32   };