nixpkgs/pkgs/development/python-modules/virtualenv/default.nix

31 lines
703 B
Nix
Raw Normal View History

{ buildPythonPackage
, fetchPypi
, lib
, recursivePthLoader
}:
buildPythonPackage rec {
pname = "virtualenv";
2017-08-24 17:34:20 +00:00
version = "15.1.0";
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
2017-08-24 17:34:20 +00:00
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 ];
};
}