2024-06-05 15:53:02 +00:00
|
|
|
{ lib, fetchFromGitHub, stdenvNoCC, wget }:
|
|
|
|
|
|
|
|
stdenvNoCC.mkDerivation rec {
|
|
|
|
pname = "junest";
|
2024-10-23 06:41:50 +00:00
|
|
|
version = "7.4.10";
|
2024-06-05 15:53:02 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "fsquillace";
|
|
|
|
repo = "junest";
|
|
|
|
rev = "refs/tags/${version}";
|
2024-10-23 06:41:50 +00:00
|
|
|
hash = "sha256-Dq4EqmeFI1TEbnc4kQwgqe71eJJpzWm2ywt1y6fD8z4=";
|
2024-06-05 15:53:02 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|