504525a148
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
25 lines
598 B
Nix
25 lines
598 B
Nix
{ stdenv, lib, cmake, fetchFromGitHub, openssl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "xva-img";
|
|
version = "1.4.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "eriklax";
|
|
repo = "xva-img";
|
|
rev = version;
|
|
sha256 = "sha256-QHCKGsHSMT2P64No1IUCjenm1XZMSgEvsJGJOyHFZS8=";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
buildInputs = [ openssl ];
|
|
|
|
meta = {
|
|
maintainers = with lib.maintainers; [ lheckemann willibutz ];
|
|
description = "Tool for converting Xen images to raw and back";
|
|
license = lib.licenses.gpl2;
|
|
platforms = lib.platforms.unix;
|
|
mainProgram = "xva-img";
|
|
};
|
|
}
|