about summary refs log tree commit diff
path: root/pkgs/by-name/ju
diff options
context:
space:
mode:
authorjdev082 <jdev082@jdev.eu.org>2024-05-24 16:22:27 -0500
committerjdev082 <jdev082@jdev.eu.org>2024-05-24 16:22:27 -0500
commit5b10517e438a4e030bd99b8b99be07669affa29a (patch)
treed01cca0fce6fe34fa809ede29c394cc8559c8c31 /pkgs/by-name/ju
parentd30b662ed9f20f98131623ac981a2d88dd00564a (diff)
junest: init at 7.4.8
Signed-off-by: jdev082 <jdev082@jdev.eu.org>
Diffstat (limited to 'pkgs/by-name/ju')
-rw-r--r--pkgs/by-name/ju/junest/package.nix33
1 files changed, 33 insertions, 0 deletions
diff --git a/pkgs/by-name/ju/junest/package.nix b/pkgs/by-name/ju/junest/package.nix
new file mode 100644
index 0000000000000..a74a9815a81c5
--- /dev/null
+++ b/pkgs/by-name/ju/junest/package.nix
@@ -0,0 +1,33 @@
+{ 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;
+  };
+}
+