junest: init at 7.4.8
Signed-off-by: jdev082 <jdev082@jdev.eu.org>
This commit is contained in:
parent
d30b662ed9
commit
5b10517e43
33
pkgs/by-name/ju/junest/package.nix
Normal file
33
pkgs/by-name/ju/junest/package.nix
Normal file
@ -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;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user