1 { lib, fetchFromGitHub, stdenvNoCC, wget }:
3 stdenvNoCC.mkDerivation rec {
7 src = fetchFromGitHub {
10 rev = "refs/tags/${version}";
11 hash = "sha256-Dq4EqmeFI1TEbnc4kQwgqe71eJJpzWm2ywt1y6fD8z4=";
23 # cp -r $src/VERSION $out/
24 substituteInPlace $out/bin/junest --replace-fail '$(cat "$JUNEST_BASE"/VERSION)' ${version}
25 substituteInPlace $out/lib/core/common.sh --replace-fail "wget" ${lib.getExe wget}
31 description = "Arch distro that runs on top of another without root";
32 homepage = "https://github.com/fsquillace/junest";
33 license = lib.licenses.gpl3Only;
34 mainProgram = "junest";
35 maintainers = with lib.maintainers; [ jdev082 ];
36 platforms = lib.platforms.linux;