2020-09-10 13:41:55 +01:00
|
|
|
{ stdenv, lib, cmake, fetchFromGitHub, openssl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "xva-img";
|
2021-03-13 17:11:05 +00:00
|
|
|
version = "1.4.2";
|
2020-09-10 13:41:55 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "eriklax";
|
|
|
|
repo = "xva-img";
|
|
|
|
rev = version;
|
2021-03-13 17:11:05 +00:00
|
|
|
sha256 = "sha256-QHCKGsHSMT2P64No1IUCjenm1XZMSgEvsJGJOyHFZS8=";
|
2020-09-10 13:41:55 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
|
|
|
|
buildInputs = [ openssl ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
maintainers = with lib.maintainers; [ lheckemann willibutz globin ];
|
|
|
|
description = "Tool for converting Xen images to raw and back";
|
|
|
|
license = lib.licenses.gpl2;
|
|
|
|
platforms = lib.platforms.unix;
|
|
|
|
};
|
|
|
|
}
|