mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-27 16:15:05 +00:00
30 lines
671 B
Nix
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 ];
|
|
};
|
|
} |