depot/third_party/nixpkgs/pkgs/tools/filesystems/tar2ext4/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

23 lines
538 B
Nix

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "tar2ext4";
version = "0.11.4";
src = fetchFromGitHub {
owner = "microsoft";
repo = "hcsshim";
rev = "v${version}";
sha256 = "sha256-bu1uLJmFSetTv1R3qyCtZxba+wxjDDSkEpBwKNZ/meM=";
};
sourceRoot = "${src.name}/cmd/tar2ext4";
vendorHash = null;
meta = with lib; {
description = "Convert a tar archive to an ext4 image";
maintainers = with maintainers; [ qyliss ];
license = licenses.mit;
mainProgram = "tar2ext4";
};
}