22 lines
504 B
Nix
22 lines
504 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "tar2ext4";
|
|
version = "0.9.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "microsoft";
|
|
repo = "hcsshim";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-Qa93MpTAMCA7vn7LefILDdAKYyRDPPq0vBwmIfegyuU=";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|