2017-07-07 16:57:30 +01:00
|
|
|
{ buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, lib
|
|
|
|
, recursivePthLoader
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "virtualenv";
|
2019-02-23 14:36:02 +00:00
|
|
|
version = "16.4.1";
|
2017-07-07 16:57:30 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-02-23 14:36:02 +00:00
|
|
|
sha256 = "5a3ecdfbde67a4a3b3111301c4d64a5b71cf862c8c42958d30cf3253df1f29dd";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|