nixpkgs/pkgs/development/python-modules/virtualenv/default.nix
2019-10-27 16:26:55 +01:00

30 lines
671 B
Nix

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