2021-08-22 07:53:02 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "tar2ext4";
|
2023-08-04 22:07:22 +00:00
|
|
|
version = "0.10.0";
|
2021-08-22 07:53:02 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "microsoft";
|
|
|
|
repo = "hcsshim";
|
|
|
|
rev = "v${version}";
|
2023-08-04 22:07:22 +00:00
|
|
|
sha256 = "sha256-+GhYeQ27uwg9JOv1qbf1+UbMd+vPXJ05nsXZD9OakzI=";
|
2021-08-22 07:53:02 +00:00
|
|
|
};
|
|
|
|
|
2023-08-04 22:07:22 +00:00
|
|
|
sourceRoot = "${src.name}/cmd/tar2ext4";
|
2023-04-29 16:46:19 +00:00
|
|
|
vendorHash = null;
|
2021-08-22 07:53:02 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Convert a tar archive to an ext4 image";
|
|
|
|
maintainers = with maintainers; [ qyliss ];
|
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
}
|