From 836be60200badf15f31b4719f7ca527c2de550d0 Mon Sep 17 00:00:00 2001 From: Johannes Frankenau Date: Sun, 13 May 2018 21:30:50 +0200 Subject: [PATCH] beets: install zsh completion --- pkgs/tools/audio/beets/default.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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;