diff options
author | adisbladis <adis@blad.is> | 2017-11-13 09:17:07 +0800 |
---|---|---|
committer | adisbladis <adis@blad.is> | 2017-11-13 09:17:07 +0800 |
commit | c28911e0f99100b588b5392c9a9d86435957c2c6 (patch) | |
tree | 9479366c53d97e7bff33aba4c2f31e9e97b5ba01 /pkgs/games/anki/default.nix | |
parent | f575062f9764b02fb04609e0afb0403e48435d7e (diff) |
anki: Switch dependency to beautifulsoup-3
The current upstream development version is using 4 but the release version is still using 3.
Diffstat (limited to 'pkgs/games/anki/default.nix')
-rw-r--r-- | pkgs/games/anki/default.nix | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/pkgs/games/anki/default.nix b/pkgs/games/anki/default.nix index e87e59637eddf..22d5adc244755 100644 --- a/pkgs/games/anki/default.nix +++ b/pkgs/games/anki/default.nix @@ -10,6 +10,12 @@ let version = "2.0.47"; inherit (python2Packages) python wrapPython sqlalchemy pyaudio beautifulsoup4 httplib2 matplotlib pyqt4; qt4 = pyqt4.qt; + + # Development version of anki has bumped to beautifulsoup4 + beautifulsoup = python2Packages.callPackage ./beautifulsoup.nix { + pythonPackages = python2Packages; + }; + in stdenv.mkDerivation rec { name = "anki-${version}"; @@ -22,7 +28,7 @@ stdenv.mkDerivation rec { sha256 = "067bsidqzy1zc301i2pk4biwp2kwvgk4kydp5z5s551acinkbdgv"; }; - pythonPath = [ pyqt4 sqlalchemy pyaudio beautifulsoup4 httplib2 ] + pythonPath = [ pyqt4 sqlalchemy pyaudio beautifulsoup httplib2 ] ++ lib.optional plotsSupport matplotlib; buildInputs = [ python wrapPython lame mplayer libpulseaudio ]; |