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

31 lines
703 B
Nix
Raw Normal View History

{ buildPythonPackage
, fetchPypi
, lib
, recursivePthLoader
}:
buildPythonPackage rec {
pname = "virtualenv";
2018-04-04 21:18:36 +03:00
version = "15.2.0";
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
2018-04-04 21:18:36 +03:00
sha256 = "1d7e241b431e7afce47e77f8843a276f652699d1fa4f93b9d8ce0076fd7b0b54";
};
# 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 ];
};
}