Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{
2 lib,
3 buildGoModule,
4 fetchFromGitHub,
5}:
6
7buildGoModule rec {
8 pname = "tar2ext4";
9 version = "0.13.0";
10
11 src = fetchFromGitHub {
12 owner = "microsoft";
13 repo = "hcsshim";
14 rev = "v${version}";
15 sha256 = "sha256-/ImyicXRBGclnUEpqygNYhknFYJmRqBqKkz/gNxVLWQ=";
16 };
17
18 sourceRoot = "${src.name}/cmd/tar2ext4";
19 vendorHash = null;
20
21 meta = with lib; {
22 description = "Convert a tar archive to an ext4 image";
23 maintainers = with maintainers; [ qyliss ];
24 license = licenses.mit;
25 mainProgram = "tar2ext4";
26 };
27}