f34ce41345
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
23 lines
538 B
Nix
23 lines
538 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "tar2ext4";
|
|
version = "0.12.5";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "microsoft";
|
|
repo = "hcsshim";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-BK70SPZdNptJ3MXMgkMkf6oLZEKeLCMKqOZrK1KP2YE=";
|
|
};
|
|
|
|
sourceRoot = "${src.name}/cmd/tar2ext4";
|
|
vendorHash = null;
|
|
|
|
meta = with lib; {
|
|
description = "Convert a tar archive to an ext4 image";
|
|
maintainers = with maintainers; [ qyliss ];
|
|
license = licenses.mit;
|
|
mainProgram = "tar2ext4";
|
|
};
|
|
}
|