Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ buildPythonPackage 2, fetchPypi 3, lib 4, recursivePthLoader 5}: 6 7buildPythonPackage rec { 8 pname = "virtualenv"; 9 version = "16.4.1"; 10 11 src = fetchPypi { 12 inherit pname version; 13 sha256 = "5a3ecdfbde67a4a3b3111301c4d64a5b71cf862c8c42958d30cf3253df1f29dd"; 14 }; 15 16 # Doubt this is needed - FRidh 2017-07-07 17 pythonPath = [ recursivePthLoader ]; 18 19 patches = [ ./virtualenv-change-prefix.patch ]; 20 21 # Tarball doesn't contain tests 22 doCheck = false; 23 24 meta = { 25 description = "A tool to create isolated Python environments"; 26 homepage = http://www.virtualenv.org; 27 license = lib.licenses.mit; 28 maintainers = with lib.maintainers; [ goibhniu ]; 29 }; 30}