1{ buildPythonPackage
2, fetchPypi
3, lib
4, recursivePthLoader
5}:
6
7buildPythonPackage rec {
8 pname = "virtualenv";
9 version = "15.1.0";
10 name = "${pname}-${version}";
11
12 src = fetchPypi {
13 inherit pname version;
14 sha256 = "02f8102c2436bb03b3ee6dede1919d1dac8a427541652e5ec95171ec8adbc93a";
15 };
16
17 # Doubt this is needed - FRidh 2017-07-07
18 pythonPath = [ recursivePthLoader ];
19
20 patches = [ ./virtualenv-change-prefix.patch ];
21
22 # Tarball doesn't contain tests
23 doCheck = false;
24
25 meta = {
26 description = "A tool to create isolated Python environments";
27 homepage = http://www.virtualenv.org;
28 license = lib.licenses.mit;
29 maintainers = with lib.maintainers; [ goibhniu ];
30 };
31}