alpine-make-vm-image: init at 0.6.0
This commit is contained in:
parent
e91e213aca
commit
9f93642b79
2 changed files with 38 additions and 0 deletions
36
pkgs/tools/virtualization/alpine-make-vm-image/default.nix
Normal file
36
pkgs/tools/virtualization/alpine-make-vm-image/default.nix
Normal file
|
@ -0,0 +1,36 @@
|
||||||
|
{ stdenv, lib, fetchFromGitHub, makeWrapper
|
||||||
|
, apk-tools, coreutils, e2fsprogs, findutils, gnugrep, gnused, kmod, qemu-utils
|
||||||
|
, utillinux
|
||||||
|
}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "alpine-make-vm-image";
|
||||||
|
version = "0.6.0";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "alpinelinux";
|
||||||
|
repo = "alpine-make-vm-image";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "0955kd2ddqfynjwk2xfzys96l7abxp30hhrs2968hl78rhmkvpnq";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ makeWrapper ];
|
||||||
|
|
||||||
|
dontBuild = true;
|
||||||
|
makeFlags = [ "PREFIX=$(out)" ];
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
wrapProgram $out/bin/alpine-make-vm-image --set PATH ${lib.makeBinPath [
|
||||||
|
apk-tools coreutils e2fsprogs findutils gnugrep gnused kmod qemu-utils
|
||||||
|
utillinux
|
||||||
|
]}
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
homepage = "https://github.com/alpinelinux/alpine-make-vm-image";
|
||||||
|
description = "Make customized Alpine Linux disk image for virtual machines";
|
||||||
|
maintainers = with maintainers; [ qyliss ];
|
||||||
|
license = licenses.mit;
|
||||||
|
platforms = platforms.unix;
|
||||||
|
};
|
||||||
|
}
|
|
@ -651,6 +651,8 @@ in
|
||||||
|
|
||||||
almanah = callPackage ../applications/misc/almanah { };
|
almanah = callPackage ../applications/misc/almanah { };
|
||||||
|
|
||||||
|
alpine-make-vm-image = callPackage ../tools/virtualization/alpine-make-vm-image { };
|
||||||
|
|
||||||
amazon-ecs-cli = callPackage ../tools/virtualization/amazon-ecs-cli { };
|
amazon-ecs-cli = callPackage ../tools/virtualization/amazon-ecs-cli { };
|
||||||
|
|
||||||
amazon-glacier-cmd-interface = callPackage ../tools/backup/amazon-glacier-cmd-interface { };
|
amazon-glacier-cmd-interface = callPackage ../tools/backup/amazon-glacier-cmd-interface { };
|
||||||
|
|
Loading…
Reference in a new issue