diff options
author | Jan Malakhovski <oxij@oxij.org> | 2018-10-19 18:20:35 +0000 |
---|---|---|
committer | Jan Malakhovski <oxij@oxij.org> | 2018-10-19 18:20:35 +0000 |
commit | 0779d71915e65d10f10b5e220a80d6cedb2cd17c (patch) | |
tree | 6811375363e35f284cdb5f32225ab6aae85f0088 /pkgs/games/anki | |
parent | 6b81005e66f1de9ccad34f2cf795fdb4f4f02942 (diff) |
anki: use send2trash from nixpkgs
Diffstat (limited to 'pkgs/games/anki')
-rw-r--r-- | pkgs/games/anki/default.nix | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/games/anki/default.nix b/pkgs/games/anki/default.nix index e9f239b4df32..b5630cd2a162 100644 --- a/pkgs/games/anki/default.nix +++ b/pkgs/games/anki/default.nix @@ -16,6 +16,7 @@ , pytest , glibcLocales , nose +, send2trash # This little flag adds a huge number of dependencies, but we assume that # everyone wants Anki to draw plots with statistics by default. , plotsSupport ? true @@ -40,7 +41,7 @@ in buildPythonApplication rec { sha256 = "0yjyxgpk79rplz9z2r93kmlk09ari6xxfrz1cfm2yl9v8zfw1n6l"; }; - propagatedBuildInputs = [ pyqt4 sqlalchemy pyaudio beautifulsoup httplib2 ] + propagatedBuildInputs = [ pyqt4 sqlalchemy pyaudio beautifulsoup httplib2 send2trash ] ++ lib.optional plotsSupport matplotlib; checkInputs = [ pytest glibcLocales nose ]; @@ -108,7 +109,7 @@ in buildPythonApplication rec { cp -v anki.xml $out/share/mime/packages/ cp -v anki.{png,xpm} $out/share/pixmaps/ cp -rv locale $out/share/ - cp -rv anki aqt thirdparty/send2trash $pp/ + cp -rv anki aqt $pp/ wrapPythonPrograms ''; |