nixpkgs/pkgs/development/python-modules/virtualenv/default.nix
2019-04-18 12:42:43 +02:00

30 lines
671 B
Nix

{ buildPythonPackage
, fetchPypi
, lib
, recursivePthLoader
}:
buildPythonPackage rec {
pname = "virtualenv";
version = "16.4.3";
src = fetchPypi {
inherit pname version;
sha256 = "984d7e607b0a5d1329425dd8845bd971b957424b5ba664729fab51ab8c11bc39";
};
# 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 ];
};
}