Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 46 lines 906 B view raw
1{ 2 bash, 3 coreutils, 4 fetchFromGitHub, 5 git, 6 lib, 7 makeWrapper, 8 ncurses, 9 stdenv, 10}: 11 12stdenv.mkDerivation { 13 pname = "dockstarter"; 14 version = "unstable-2022-10-26"; 15 16 src = fetchFromGitHub { 17 owner = "ghostwriters"; 18 repo = "dockstarter"; 19 rev = "a1b6b6e29aa135c2a61ea67ca05e9e034856ca08"; 20 hash = "sha256-G26DFme6YaizdE5oHBo/IqV+1quu07Bp+IykXtO/GgA="; 21 }; 22 23 dontBuild = false; 24 25 nativeBuildInputs = [ makeWrapper ]; 26 27 installPhase = '' 28 install -Dm755 main.sh $out/bin/ds 29 wrapProgram $out/bin/ds --prefix PATH : ${ 30 lib.makeBinPath [ 31 bash 32 coreutils 33 git 34 ncurses 35 ] 36 } 37 ''; 38 39 meta = with lib; { 40 description = "Make it quick and easy to get up and running with Docker"; 41 homepage = "https://dockstarter.com"; 42 license = licenses.mit; 43 maintainers = with maintainers; [ urandom ]; 44 mainProgram = "ds"; 45 }; 46}