git.iko.soy/typeable/nixpkgs
on master help sign in
pythonPackages.samsungctl: init at 0.7.1
commit60cb1123b2799a7ae854752331c31fc9093f5051 authorMartin Weinelt <hexa@darmstadt.ccc.de> dateFri 28 Aug 2020, 23:39 (6 years ago) parentcc4fd57
2 files changed+31
pkgs/development/python-modules/samsungctl/default.nix+29 pkgs/top-level/python-packages.nix+2
pkgs/development/python-modules/samsungctl/default.nixnew file+29
@@ -0,0 +1,29 @@
1+{ lib, buildPythonPackage, fetchPypi
2+, websocket_client
3+}:
4+
5+buildPythonPackage rec {
6+ pname = "samsungctl";
7+ version = "0.7.1";
8+
9+ src = fetchPypi {
10+ inherit pname version;
11+ sha256 = "0ipz3fd65rqkxlb02sql0awc3vnslrwb2pfrsnpfnf8bfgxpbh9g";
12+ };
13+
14+ propagatedBuildInputs = [
15+ websocket_client
16+ ];
17+
18+ # no tests
19+ doCheck = false;
20+
21+ pythonImportsCheck = [ "samsungctl" ];
22+
23+ meta = with lib; {
24+ description = "Remote control Samsung televisions via a TCP/IP connection";
25+ homepage = "https://github.com/Ape/samsungctl";
26+ license = licenses.mit;
27+ maintainers = with maintainers; [ hexa ];
28+ };
29+}
pkgs/top-level/python-packages.nix+2
@@ -3704,6 +3704,8 @@ in {
37043704
37053705 samplerate = callPackage ../development/python-modules/samplerate { };
37063706
3707+ samsungctl = callPackage ../development/python-modules/samsungctl { };
3708+
37073709 screeninfo = callPackage ../development/python-modules/screeninfo { };
37083710
37093711 ssdeep = callPackage ../development/python-modules/ssdeep { };