Unverified Commit 3b2a293b authored by kirillrdy's avatar kirillrdy Committed by GitHub
Browse files

Merge pull request #306644 from jdev082/init-junest

junest: init at 7.4.8
parents 653d5e65 5b10517e
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -9397,6 +9397,12 @@
    githubId = 2377;
    name = "Jonathan del Strother";
  };
  jdev082 = {
    email = "jdev0894@gmail.com";
    github = "jdev082";
    githubId = 92550746;
    name = "jdev082";
  };
  jdreaver = {
    email = "johndreaver@gmail.com";
    github = "jdreaver";
+33 −0
Original line number Diff line number Diff line
{ lib, fetchFromGitHub, stdenvNoCC, wget }:

stdenvNoCC.mkDerivation rec {
  pname = "junest";
  version = "7.4.8";

  src = fetchFromGitHub {
    owner = "fsquillace";
    repo = "junest";
    rev = "refs/tags/${version}";
    hash = "sha256-9yrQ721fHUxXEZ0mh27SB8yoUH67ltOktUq3kr4qrBc=";
  };

  dontBuild = true;

  installPhase = ''
    mkdir -p $out/bin
    mkdir -p $out/lib
    cp -r $src/bin/ $out/
    cp -r $src/lib/ $out/
    substituteInPlace $out/lib/core/common.sh --replace-fail "wget" ${lib.getExe wget}
  '';

  meta = {
    description = "Arch distro that runs on top of another without root";
    homepage = "https://github.com/fsquillace/junest";
    license = lib.licenses.gpl3Only;
    mainProgram = "junest";
    maintainers = with lib.maintainers; [ jdev082 ];
    platforms = lib.platforms.linux;
  };
}