1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/python-modules/virtualenv/default.nix
2018-06-22 13:09:34 +02:00

31 lines
703 B
Nix

{ buildPythonPackage
, fetchPypi
, lib
, recursivePthLoader
}:
buildPythonPackage rec {
pname = "virtualenv";
version = "16.0.0";
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
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 ];
};
}