2021-08-18 13:37:43 +01:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "tar2ext4";
|
2021-09-15 01:43:55 +01:00
|
|
|
version = "0.8.22";
|
2021-08-18 13:37:43 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "microsoft";
|
|
|
|
repo = "hcsshim";
|
|
|
|
rev = "v${version}";
|
2021-09-15 01:43:55 +01:00
|
|
|
sha256 = "sha256-z8w/xzNEebnQJTO4H5PlU5W+69MY1wQwmuz5inXBl1k=";
|
2021-08-18 13:37:43 +01: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;
|
|
|
|
};
|
|
|
|
}
|