about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJohannes Frankenau <johannes@frankenau.net>2018-05-13 21:30:50 +0200
committerJohannes Frankenau <johannes@frankenau.net>2018-05-13 21:33:56 +0200
commit836be60200badf15f31b4719f7ca527c2de550d0 (patch)
treefeacf203f31d02eca12d8a13e02afa2afba45ed9
parent7342fd0eefa28c6eb33e6f3f342ecd4d91ac9233 (diff)
downloadnixlib-836be60200badf15f31b4719f7ca527c2de550d0.tar
nixlib-836be60200badf15f31b4719f7ca527c2de550d0.tar.gz
nixlib-836be60200badf15f31b4719f7ca527c2de550d0.tar.bz2
nixlib-836be60200badf15f31b4719f7ca527c2de550d0.tar.lz
nixlib-836be60200badf15f31b4719f7ca527c2de550d0.tar.xz
nixlib-836be60200badf15f31b4719f7ca527c2de550d0.tar.zst
nixlib-836be60200badf15f31b4719f7ca527c2de550d0.zip
beets: install zsh completion
-rw-r--r--pkgs/tools/audio/beets/default.nix7
1 files changed, 6 insertions, 1 deletions
diff --git a/pkgs/tools/audio/beets/default.nix b/pkgs/tools/audio/beets/default.nix
index b8f3318057b4..b53a9b7eb0f3 100644
--- a/pkgs/tools/audio/beets/default.nix
+++ b/pkgs/tools/audio/beets/default.nix
@@ -174,6 +174,11 @@ in pythonPackages.buildPythonApplication rec {
       test/test_replaygain.py
   '';
 
+  postInstall = ''
+    mkdir -p $out/share/zsh/site-functions
+    cp extra/_beet $out/share/zsh/site-functions/
+  '';
+
   doCheck = true;
 
   preCheck = ''
@@ -222,7 +227,7 @@ in pythonPackages.buildPythonApplication rec {
 
   meta = {
     description = "Music tagger and library organizer";
-    homepage = http://beets.radbox.org;
+    homepage = http://beets.io;
     license = licenses.mit;
     maintainers = with maintainers; [ aszlig domenkozar pjones ];
     platforms = platforms.linux;