7e47f3658e
GitOrigin-RevId: 1925c603f17fc89f4c8f6bf6f631a802ad85d784
23 lines
538 B
Nix
23 lines
538 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "tar2ext4";
|
|
version = "0.12.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "microsoft";
|
|
repo = "hcsshim";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-ObNBeHmQ4VqnZdUbKxLxuXeRw2jVPQxroO2HK4Wp8tg=";
|
|
};
|
|
|
|
sourceRoot = "${src.name}/cmd/tar2ext4";
|
|
vendorHash = null;
|
|
|
|
meta = with lib; {
|
|
description = "Convert a tar archive to an ext4 image";
|
|
maintainers = with maintainers; [ qyliss ];
|
|
license = licenses.mit;
|
|
mainProgram = "tar2ext4";
|
|
};
|
|
}
|