summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorMartin Weinelt <hexa@darmstadt.ccc.de>2021-04-23 02:12:04 +0200
committerMartin Weinelt <hexa@darmstadt.ccc.de>2021-04-23 02:12:04 +0200
commitaf62869aee1bb7fc7350b080c075030ef49fa138 (patch)
treec58f78a4ac6db9305f3382c76d2f6f9e0b4093a1 /pkgs
parentf129df86a11183683bcd29b4f7fd421f11355cdf (diff)
downloadnixpkgs-af62869aee1bb7fc7350b080c075030ef49fa138.tar
nixpkgs-af62869aee1bb7fc7350b080c075030ef49fa138.tar.gz
nixpkgs-af62869aee1bb7fc7350b080c075030ef49fa138.tar.bz2
nixpkgs-af62869aee1bb7fc7350b080c075030ef49fa138.tar.lz
nixpkgs-af62869aee1bb7fc7350b080c075030ef49fa138.tar.xz
nixpkgs-af62869aee1bb7fc7350b080c075030ef49fa138.tar.zst
nixpkgs-af62869aee1bb7fc7350b080c075030ef49fa138.zip
python3Packages.slackclient: fix pname
The python package is called slackclient, as can be seen in setup.py for
this version.

https://github.com/slackapi/python-slack-sdk/blob/v2.9.3/setup.py?rgh-link-date=2021-04-23T00%3A03%3A28Z#L217

This prevented home-assistant tooling from finding the package and
providing support for the component.
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/python-modules/slackclient/default.nix2
-rw-r--r--pkgs/servers/home-assistant/component-packages.nix2
2 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/slackclient/default.nix b/pkgs/development/python-modules/slackclient/default.nix
index 4a3c2927218..cf7b161261e 100644
--- a/pkgs/development/python-modules/slackclient/default.nix
+++ b/pkgs/development/python-modules/slackclient/default.nix
@@ -18,7 +18,7 @@
 }:
 
 buildPythonPackage rec {
-  pname = "python-slackclient";
+  pname = "slackclient";
   version = "2.9.3";
 
   disabled = !isPy3k;
diff --git a/pkgs/servers/home-assistant/component-packages.nix b/pkgs/servers/home-assistant/component-packages.nix
index fe36bb524c7..65d304fb90b 100644
--- a/pkgs/servers/home-assistant/component-packages.nix
+++ b/pkgs/servers/home-assistant/component-packages.nix
@@ -750,7 +750,7 @@
     "sky_hub" = ps: with ps; [ ]; # missing inputs: pyskyqhub
     "skybeacon" = ps: with ps; [ ]; # missing inputs: pygatt[GATTTOOL]
     "skybell" = ps: with ps; [ skybellpy ];
-    "slack" = ps: with ps; [ ]; # missing inputs: slackclient
+    "slack" = ps: with ps; [ slackclient ];
     "sleepiq" = ps: with ps; [ sleepyq ];
     "slide" = ps: with ps; [ ]; # missing inputs: goslide-api
     "sma" = ps: with ps; [ pysma ];