depot/third_party/nixpkgs/pkgs/tools/virtualization/xva-img/default.nix
Default email 5c370c0b2a Project import generated by Copybara.
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
2024-05-15 17:35:15 +02:00

25 lines
602 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.gpl2Plus;
platforms = lib.platforms.unix;
mainProgram = "xva-img";
};
}