Merge pull request #139398 from fabaff/pysdcp
python3Packages.pysdcp: init at 1
commitee41eddc5c92606777ef7840121273ec0bb66d84
authorFabian Affolter <fabian@affolter-engineering.ch>
dateSun 26 Sep 2021, 10:51 (5 years ago)
parentf329e04c4fc5f5
pkgs/development/python-modules/pysdcp/default.nixnew file+31
@@ -0,0 +1,31 @@
1+{ lib
2+, buildPythonPackage
3+, fetchPypi
4+, pythonOlder
5+}:
6+
7+buildPythonPackage rec {
8+ pname = "pysdcp";
9+ version = "1";
10+ format = "setuptools";
11+
12+ disabled = pythonOlder "3.6";
13+
14+ src = fetchPypi {
15+ pname = "pySDCP";
16+ inherit version;
17+ sha256 = "07396lsn610izaravqc6j5f6m0wjrzgc0d1r9dwqzj15g5zfc7wm";
18+ };
19+
20+ # Project has no tests
21+ doCheck = false;
22+
23+ pythonImportsCheck = [ "pysdcp" ];
24+
25+ meta = with lib; {
26+ description = "Python library to control SONY projectors";
27+ homepage = "https://github.com/Galala7/pySDCP";
28+ license = licenses.mit;
29+ maintainers = with maintainers; [ fab ];
30+ };
31+}
pkgs/servers/home-assistant/component-packages.nix+1−1
@@ -803,7 +803,7 @@
803803 "sonarr" = ps: with ps; [ sonarr ];
804804 "songpal" = ps: with ps; [ python-songpal ];
805805 "sonos" = ps: with ps; [ aiohttp-cors async-upnp-client defusedxml ifaddr plexapi plexauth plexwebsocket soco zeroconf ];
806− "sony_projector" = ps: with ps; [ ]; # missing inputs: pysdcp
806+ "sony_projector" = ps: with ps; [ pysdcp ];
807807 "soundtouch" = ps: with ps; [ aiohttp-cors ifaddr libsoundtouch zeroconf ];
808808 "spaceapi" = ps: with ps; [ aiohttp-cors ];
809809 "spc" = ps: with ps; [ pyspcwebgw ];
pkgs/top-level/python-packages.nix+2
@@ -6825,6 +6825,8 @@ in {
68256825
68266826 pyscss = callPackage ../development/python-modules/pyscss { };
68276827
6828+ pysdcp = callPackage ../development/python-modules/pysdcp { };
6829+
68286830 pysdl2 = callPackage ../development/python-modules/pysdl2 { };
68296831
68306832 pysendfile = callPackage ../development/python-modules/pysendfile { };