supermin: init at 5.2.2
This commit is contained in:
parent
23f8106a07
commit
cbf163490e
30
pkgs/tools/virtualization/supermin/default.nix
Normal file
30
pkgs/tools/virtualization/supermin/default.nix
Normal file
@ -0,0 +1,30 @@
|
||||
{ lib, stdenv, fetchurl
|
||||
, cpio, e2fsprogs, perl, pkg-config, ocamlPackages
|
||||
, glibc
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "supermin";
|
||||
version = "5.2.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://download.libguestfs.org/supermin/${lib.versions.majorMinor finalAttrs.version}-stable/supermin-${finalAttrs.version}.tar.gz";
|
||||
sha256 = "zjkh02NcgWjPt8oMWoK51c71srJx+Et3bWO4u77sNY4=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cpio e2fsprogs perl pkg-config ]
|
||||
++ (with ocamlPackages; [ findlib ocaml ]);
|
||||
buildInputs = lib.optionals stdenv.hostPlatform.isGnu [ glibc glibc.static ];
|
||||
|
||||
postPatch = ''
|
||||
patchShebangs src/bin2c.pl
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://libguestfs.org/supermin.1.html";
|
||||
description = "Tool for creating and building supermin appliances";
|
||||
maintainers = with maintainers; [ qyliss ];
|
||||
license = licenses.gpl2Plus;
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
})
|
@ -1469,6 +1469,8 @@ with pkgs;
|
||||
|
||||
steamtinkerlaunch = callPackage ../tools/games/steamtinkerlaunch {};
|
||||
|
||||
supermin = callPackage ../tools/virtualization/supermin { };
|
||||
|
||||
sx-go = callPackage ../tools/security/sx-go { };
|
||||
|
||||
systeroid = callPackage ../tools/system/systeroid { };
|
||||
|
Loading…
Reference in New Issue
Block a user