2017-07-07 17:57:30 +02:00
|
|
|
{ buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, lib
|
|
|
|
, recursivePthLoader
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "virtualenv";
|
2017-08-24 19:34:20 +02:00
|
|
|
version = "15.1.0";
|
2017-07-07 17:57:30 +02:00
|
|
|
name = "${pname}-${version}";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2017-08-24 19:34:20 +02:00
|
|
|
sha256 = "02f8102c2436bb03b3ee6dede1919d1dac8a427541652e5ec95171ec8adbc93a";
|
2017-07-07 17:57:30 +02: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 ];
|
|
|
|
};
|
|
|
|
}
|