Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.03 30 lines 671 B view raw
1{ buildPythonPackage 2, fetchPypi 3, lib 4, recursivePthLoader 5}: 6 7buildPythonPackage rec { 8 pname = "virtualenv"; 9 version = "16.7.9"; 10 11 src = fetchPypi { 12 inherit pname version; 13 sha256 = "0d62c70883c0342d59c11d0ddac0d954d0431321a41ab20851facf2b222598f3"; 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}