1{ lib, buildGoModule, fetchFromGitHub }:
2
3buildGoModule rec {
4 pname = "tar2ext4";
5 version = "0.9.8";
6
7 src = fetchFromGitHub {
8 owner = "microsoft";
9 repo = "hcsshim";
10 rev = "v${version}";
11 sha256 = "sha256-CvXn5b1kEZ2gYqfKSFRNzqkyOAcfcI1/3etRJTKwqog=";
12 };
13
14 sourceRoot = "source/cmd/tar2ext4";
15 vendorHash = null;
16
17 meta = with lib; {
18 description = "Convert a tar archive to an ext4 image";
19 maintainers = with maintainers; [ qyliss ];
20 license = licenses.mit;
21 };
22}