Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / aiopylgtv / default.nix
blob3039f5766757475ccc2628a06b8f460ab6b4d823
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , numpy
5 , pythonOlder
6 , sqlitedict
7 , websockets
8 }:
10 buildPythonPackage rec {
11   pname = "aiopylgtv";
12   version = "0.4.1";
13   disabled = pythonOlder "3.7";
15   src = fetchFromGitHub {
16     owner = "bendavid";
17     repo = pname;
18     rev = version;
19     hash = "sha256-NkWJGy5QUrhpbARoscrXy/ilCjAz01YxeVTH0I+IjNM=";
20   };
22   propagatedBuildInputs = [
23     numpy
24     sqlitedict
25     websockets
26   ];
28   # Project has no tests
29   doCheck = false;
30   pythonImportsCheck = [ "aiopylgtv" ];
32   meta = with lib; {
33     description = "Python library to control webOS based LG TV units";
34     homepage = "https://github.com/bendavid/aiopylgtv";
35     license = with licenses; [ mit ];
36     maintainers = with maintainers; [ fab ];
37   };