From ed63dcb7c7f84d6bd67d980c0d731782bead7ee7 Mon Sep 17 00:00:00 2001 From: vi Date: Wed, 26 Mar 2014 00:05:34 +0800 Subject: [PATCH] Have Mnemosyne take pkgs, rather than pythonPackages as argument. --- pkgs/games/mnemosyne/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/games/mnemosyne/default.nix b/pkgs/games/mnemosyne/default.nix index f55a7efe9643..44f2d229fbe2 100644 --- a/pkgs/games/mnemosyne/default.nix +++ b/pkgs/games/mnemosyne/default.nix @@ -1,8 +1,8 @@ -{stdenv, fetchurl, pythonPackages}: +{stdenv, fetchurl, pkgs}: let version = "2.2.1"; - inherit (pythonPackages) pyqt4 matplotlib cherrypy sqlite3; -in pythonPackages.buildPythonPackage rec { + inherit (pkgs.pythonPackages) buildPythonPackage pyqt4 matplotlib cherrypy sqlite3; +in buildPythonPackage rec { name = "mnemosyne-${version}"; src = fetchurl { url = "http://sourceforge.net/projects/mnemosyne-proj/files/mnemosyne/${name}/Mnemosyne-${version}.tar.gz";