2017-07-07 16:57:30 +01:00
|
|
|
{ buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, lib
|
|
|
|
, recursivePthLoader
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "virtualenv";
|
2018-04-04 19:18:36 +01:00
|
|
|
version = "15.2.0";
|
2017-07-07 16:57:30 +01:00
|
|
|
name = "${pname}-${version}";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-04-04 19:18:36 +01:00
|
|
|
sha256 = "1d7e241b431e7afce47e77f8843a276f652699d1fa4f93b9d8ce0076fd7b0b54";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|