about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDomen Kožar <domen@dev.si>2013-12-29 13:20:54 +0100
committerDomen Kožar <domen@dev.si>2013-12-29 13:21:47 +0100
commit4cc859c6be2b7c99640f964cdba4a5c5e04ef5ca (patch)
tree6ab9f61e4cbff79815b07bc6cc8ba55462967c69
parentda712872814dc28fe5f2024235eee7521eb031fa (diff)
downloadnixlib-4cc859c6be2b7c99640f964cdba4a5c5e04ef5ca.tar
nixlib-4cc859c6be2b7c99640f964cdba4a5c5e04ef5ca.tar.gz
nixlib-4cc859c6be2b7c99640f964cdba4a5c5e04ef5ca.tar.bz2
nixlib-4cc859c6be2b7c99640f964cdba4a5c5e04ef5ca.tar.lz
nixlib-4cc859c6be2b7c99640f964cdba4a5c5e04ef5ca.tar.xz
nixlib-4cc859c6be2b7c99640f964cdba4a5c5e04ef5ca.tar.zst
nixlib-4cc859c6be2b7c99640f964cdba4a5c5e04ef5ca.zip
pythonPackages.unittest2: use correct name under py3k
-rw-r--r--pkgs/top-level/python-packages.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix
index df762525f1ae..769ddb9831da 100644
--- a/pkgs/top-level/python-packages.nix
+++ b/pkgs/top-level/python-packages.nix
@@ -6851,6 +6851,10 @@ pythonPackages = modules // import ./python-packages-generated.nix {
            md5 = "a0af5cac92bbbfa0c3b0e99571390e0f";
          };
 
+    preConfigure = ''
+      sed -i 's/unittest2py3k/unittest2/' setup.py
+    '';
+
     meta = {
       description = "A backport of the new features added to the unittest testing framework in Python 2.7";
       homepage = http://pypi.python.org/pypi/unittest2;