2020-09-25 04:45:31 +00:00
|
|
|
{ stdenv, lib, cmake, fetchFromGitHub, openssl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "xva-img";
|
2021-03-19 17:17:44 +00:00
|
|
|
version = "1.4.2";
|
2020-09-25 04:45:31 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "eriklax";
|
|
|
|
repo = "xva-img";
|
|
|
|
rev = version;
|
2021-03-19 17:17:44 +00:00
|
|
|
sha256 = "sha256-QHCKGsHSMT2P64No1IUCjenm1XZMSgEvsJGJOyHFZS8=";
|
2020-09-25 04:45:31 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
|
|
|
|
buildInputs = [ openssl ];
|
|
|
|
|
|
|
|
meta = {
|
2023-11-16 04:20:00 +00:00
|
|
|
maintainers = with lib.maintainers; [ lheckemann willibutz ];
|
2020-09-25 04:45:31 +00:00
|
|
|
description = "Tool for converting Xen images to raw and back";
|
|
|
|
license = lib.licenses.gpl2;
|
|
|
|
platforms = lib.platforms.unix;
|
2024-01-02 11:29:13 +00:00
|
|
|
mainProgram = "xva-img";
|
2020-09-25 04:45:31 +00:00
|
|
|
};
|
|
|
|
}
|