[Nix-dev] python virtualenv - warning: there are multiple derivations

Florian Friesdorf flo at chaoflow.net
Mon Feb 7 16:59:55 CET 2011


I could not find python-virtualenv in nixpkgs so I added it (see
attached) patch.

Now I get:
# nix-env -i python-virtualenv
warning: there are multiple derivations named `python-virtualenv-1.5.1'; using the first one

Before committing it to svn I'd like to figure out what's going on.

-- 
Florian Friesdorf <flo at chaoflow.net>
  GPG FPR: 7A13 5EEE 1421 9FC2 108D  BAAF 38F8 99A3 0C45 F083
Jabber/XMPP: flo at chaoflow.net
IRC: chaoflow on freenode,ircnet,blafasel,OFTC
-------------- next part --------------
>From d1a1db6cffe61ce031c6eea3a20df6f8ead9df07 Mon Sep 17 00:00:00 2001
From: Florian Friesdorf <flo at chaoflow.net>
Date: Fri, 4 Feb 2011 23:24:57 +0100
Subject: [PATCH] python-virtualenv-1.5.1

---
 pkgs/top-level/python-packages.nix |   17 +++++++++++++++++
 1 files changed, 17 insertions(+), 0 deletions(-)

diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix
index 9663127..843ad0b 100644
--- a/pkgs/top-level/python-packages.nix
+++ b/pkgs/top-level/python-packages.nix
@@ -1056,6 +1056,23 @@ rec {
     };
   };
 
+  virtualenv = buildPythonPackage (rec {
+    name = "virtualenv-1.5.1";
+
+    src = fetchurl {
+      url = "http://pypi.python.org/packages/source/v/virtualenv/${name}.tar.gz";
+      sha256 = "e2bbc4e80164e1ad83afba698559c2923f4bb7e61197b885c0a0befb29533438";
+    };
+
+    meta = {
+      description = "Virtual Python Environment builder";
+
+      homepage = http://pypi.python.org/pypi/virtualenv;
+
+      license = "MIT";
+    };
+  });
+
   zbase32 = buildPythonPackage (rec {
     name = "zbase32-1.1.2";
 
-- 
1.7.4



More information about the nix-dev mailing list