31 lines
703 B
Nix
31 lines
703 B
Nix
{ buildPythonPackage
|
|
, fetchPypi
|
|
, lib
|
|
, recursivePthLoader
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "virtualenv";
|
|
version = "15.1.0";
|
|
name = "${pname}-${version}";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "02f8102c2436bb03b3ee6dede1919d1dac8a427541652e5ec95171ec8adbc93a";
|
|
};
|
|
|
|
# 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 ];
|
|
};
|
|
} |