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

30 lines
671 B
Nix
Raw Normal View History

{ buildPythonPackage
, fetchPypi
, lib
, recursivePthLoader
}:
buildPythonPackage rec {
pname = "virtualenv";
2018-06-12 18:47:08 +02:00
version = "16.0.0";
src = fetchPypi {
inherit pname version;
2018-06-12 18:47:08 +02:00
sha256 = "ca07b4c0b54e14a91af9f34d0919790b016923d157afda5efdde55c96718f752";
};
# 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 ];
};
}