pythonPackages.bravia-tv: init at 1.0.1
This commit is contained in:
parent
42d03aabbd
commit
4366b198d7
28
pkgs/development/python-modules/bravia-tv/default.nix
Normal file
28
pkgs/development/python-modules/bravia-tv/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user