Merge pull request #78014 from colemickens/nixpkgs-ha-pkgs-bravia

pythonPackages.bravia_tv: init at 1.0.1
This commit is contained in:
Robin Gloster 2020-03-28 09:22:10 +00:00 committed by GitHub
commit 9ce91ecf57
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 31 additions and 1 deletions

View File

@ -0,0 +1,28 @@
{ lib, fetchFromGitHub, buildPythonPackage, isPy27, requests }:
buildPythonPackage rec {
pname = "bravia-tv";
version = "1.0.1";
disabled = isPy27;
src = fetchFromGitHub {
owner = "dcnielsen90";
repo = "python-bravia-tv";
rev = "v${version}";
sha256 = "0jlrin5qw3ny2r961y5divd5xa9giprxhhxdc84rjlq9qdmnsk68";
};
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 ];
};
}

View File

@ -86,7 +86,7 @@
"bme680" = ps: with ps; [ ]; # missing inputs: bme680 smbus-cffi
"bmw_connected_drive" = ps: with ps; [ ]; # missing inputs: bimmer_connected
"bom" = ps: with ps; [ ]; # missing inputs: bomradarloop
"braviatv" = ps: with ps; [ getmac]; # missing inputs: bravia-tv
"braviatv" = ps: with ps; [ bravia-tv getmac];
"broadlink" = ps: with ps; [ broadlink];
"brother" = ps: with ps; [ ]; # missing inputs: brother
"brottsplatskartan" = ps: with ps; [ ]; # missing inputs: brottsplatskartan

View File

@ -505,6 +505,8 @@ in {
boltons = callPackage ../development/python-modules/boltons { };
bravia-tv = callPackage ../development/python-modules/bravia-tv { };
braintree = callPackage ../development/python-modules/braintree { };
breezy = callPackage ../development/python-modules/breezy { };