lol
1{ lib, buildGoModule, fetchFromGitHub }:
2
3buildGoModule rec {
4 pname = "tar2ext4";
5 version = "0.9.5";
6
7 src = fetchFromGitHub {
8 owner = "microsoft";
9 repo = "hcsshim";
10 rev = "v${version}";
11 sha256 = "sha256-p64BQlxwXU9+6MbT2Aw9EcW82t2i3E6mKfOWoEEFf9g=";
12 };
13
14 sourceRoot = "source/cmd/tar2ext4";
15 vendorSha256 = 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}