2021-08-22 07:53:02 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "tar2ext4";
|
2022-12-17 10:02:37 +00:00
|
|
|
version = "0.9.6";
|
2021-08-22 07:53:02 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "microsoft";
|
|
|
|
repo = "hcsshim";
|
|
|
|
rev = "v${version}";
|
2022-12-17 10:02:37 +00:00
|
|
|
sha256 = "sha256-sBcagAFjmnLfPFYwOhWIt6bnEXyOKYobvMI2rQf4S5A=";
|
2021-08-22 07:53:02 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
sourceRoot = "source/cmd/tar2ext4";
|
|
|
|
vendorSha256 = null;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Convert a tar archive to an ext4 image";
|
|
|
|
maintainers = with maintainers; [ qyliss ];
|
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
}
|