summary refs log tree commit diff
path: root/pkgs/tools/filesystems/tar2ext4/default.nix
blob: 527d9dce8ee312f1eccfbb6839d385f9c3e03e6e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ lib, buildGoModule, fetchFromGitHub }:

buildGoModule rec {
  pname = "tar2ext4-unstable";
  version = "2021-10-20";

  src = fetchFromGitHub {
    owner = "microsoft";
    repo = "hcsshim";
    rev = "60b5fa7eea6f95295888d71b0621eb1c1291fb67";
    sha256 = "0g5bj99786pwms7zklh3i8hvxg3dqsb5nrbqf8aifr3kp2cn9njh";
  };

  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;
  };
}