Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09-beta 29 lines 569 B view raw
1{ stdenv 2, buildPythonPackage 3, fetchPypi 4, pytest 5, virtualenv 6}: 7 8buildPythonPackage rec { 9 pname = "virtualenv-clone"; 10 version = "0.5.4"; 11 12 src = fetchPypi { 13 inherit pname version; 14 sha256 = "0absh96fsxk9di7ir76f5djyfm2c214wnyk53avrhjy8akflhpk6"; 15 }; 16 17 buildInputs = [ pytest ]; 18 propagatedBuildInputs = [ virtualenv ]; 19 20 # needs tox to run the tests 21 doCheck = false; 22 23 meta = with stdenv.lib; { 24 homepage = "https://github.com/edwardgeorge/virtualenv-clone"; 25 description = "Script to clone virtualenvs"; 26 license = licenses.mit; 27 }; 28 29}