2021-08-22 07:53:02 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "tar2ext4";
|
2024-05-15 15:35:15 +00:00
|
|
|
version = "0.12.3";
|
2021-08-22 07:53:02 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "microsoft";
|
|
|
|
repo = "hcsshim";
|
|
|
|
rev = "v${version}";
|
2024-05-15 15:35:15 +00:00
|
|
|
sha256 = "sha256-xBlol+09rogbNSYM6Ok5EWb6IEfrVb+/wNMqAA3ZELU=";
|
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
|
|
|
};
|
|
|
|
}
|