2017-07-07 16:57:30 +01:00
|
|
|
{ buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, lib
|
|
|
|
, recursivePthLoader
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "virtualenv";
|
2019-10-24 07:47:51 +01:00
|
|
|
version = "16.7.7";
|
2017-07-07 16:57:30 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-10-24 07:47:51 +01:00
|
|
|
sha256 = "d257bb3773e48cac60e475a19b608996c73f4d333b3ba2e4e57d5ac6134e0136";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|