2021-08-22 07:53:02 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "tar2ext4";
|
2024-09-26 11:04:55 +00:00
|
|
|
version = "0.12.7";
|
2021-08-22 07:53:02 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "microsoft";
|
|
|
|
repo = "hcsshim";
|
|
|
|
rev = "v${version}";
|
2024-09-26 11:04:55 +00:00
|
|
|
sha256 = "sha256-ObNBeHmQ4VqnZdUbKxLxuXeRw2jVPQxroO2HK4Wp8tg=";
|
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;
|
2024-01-02 11:29:13 +00:00
|
|
|
mainProgram = "tar2ext4";
|
2021-08-22 07:53:02 +00:00
|
|
|
};
|
|
|
|
}
|