git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #114170 from fabaff/sharkiqpy
commit31e113a56fc304100da556a01828e847ceacf48a authorSandro <sandro.jaeckel@gmail.com> dateThu 25 Feb 2021, 00:56 (6 years ago) parent190f8f6eaf976f
3 files changed+35−1
pkgs/development/python-modules/sharkiqpy/default.nix+32 pkgs/servers/home-assistant/component-packages.nix+1−1 pkgs/top-level/python-packages.nix+2
pkgs/development/python-modules/sharkiqpy/default.nixnew file+32
@@ -0,0 +1,32 @@
1+{ lib
2+, aiohttp
3+, buildPythonPackage
4+, fetchPypi
5+, requests
6+}:
7+
8+buildPythonPackage rec {
9+ pname = "sharkiqpy";
10+ version = "0.1.9";
11+
12+ src = fetchPypi {
13+ inherit pname version;
14+ sha256 = "0nk1nbplyk28qadxc7rydjvdgbz3za0xjg6c95l95mhiz453q5sw";
15+ };
16+
17+ propagatedBuildInputs = [
18+ aiohttp
19+ requests
20+ ];
21+
22+ # Project has no tests
23+ doCheck = false;
24+ pythonImportsCheck = [ "sharkiqpy" ];
25+
26+ meta = with lib; {
27+ description = "Python API for Shark IQ robot";
28+ homepage = "https://github.com/ajmarks/sharkiq";
29+ license = with licenses; [ mit ];
30+ maintainers = with maintainers; [ fab ];
31+ };
32+}
pkgs/servers/home-assistant/component-packages.nix+1−1
@@ -723,7 +723,7 @@
723723 "sesame" = ps: with ps; [ ]; # missing inputs: pysesame2
724724 "seven_segments" = ps: with ps; [ pillow ];
725725 "seventeentrack" = ps: with ps; [ ]; # missing inputs: py17track
726− "sharkiq" = ps: with ps; [ ]; # missing inputs: sharkiqpy
726+ "sharkiq" = ps: with ps; [ sharkiqpy ];
727727 "shell_command" = ps: with ps; [ ];
728728 "shelly" = ps: with ps; [ aioshelly ];
729729 "shiftr" = ps: with ps; [ paho-mqtt ];
pkgs/top-level/python-packages.nix+2
@@ -7241,6 +7241,8 @@ in {
72417241
72427242 sharedmem = callPackage ../development/python-modules/sharedmem { };
72437243
7244+ sharkiqpy = callPackage ../development/python-modules/sharkiqpy { };
7245+
72447246 sh = callPackage ../development/python-modules/sh { };
72457247
72467248 shellingham = callPackage ../development/python-modules/shellingham { };