30 lines
671 B
Nix
30 lines
671 B
Nix
{ buildPythonPackage
|
|
, fetchPypi
|
|
, lib
|
|
, recursivePthLoader
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "virtualenv";
|
|
version = "16.4.1";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "5a3ecdfbde67a4a3b3111301c4d64a5b71cf862c8c42958d30cf3253df1f29dd";
|
|
};
|
|
|
|
# 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 ];
|
|
};
|
|
} |