2017-07-07 16:57:30 +01:00
|
|
|
{ buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, lib
|
|
|
|
, recursivePthLoader
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "virtualenv";
|
2017-08-24 18:34:20 +01:00
|
|
|
version = "15.1.0";
|
2017-07-07 16:57:30 +01:00
|
|
|
name = "${pname}-${version}";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2017-08-24 18:34:20 +01:00
|
|
|
sha256 = "02f8102c2436bb03b3ee6dede1919d1dac8a427541652e5ec95171ec8adbc93a";
|
2017-07-07 16:57:30 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
# Doubt this is needed - FRidh 2017-07-07
|
|
|
|
pythonPath = [ recursivePthLoader ];
|
|
|
|
|
|
|
|
patches = [ ./virtualenv-change-prefix.patch ];
|
|
|
|
|
|
|
|
# Tarball doesn't contain tests
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A tool to create isolated Python environments";
|
|
|
|
homepage = http://www.virtualenv.org;
|
|
|
|
license = lib.licenses.mit;
|
|
|
|
maintainers = with lib.maintainers; [ goibhniu ];
|
|
|
|
};
|
|
|
|
}
|