mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-12 16:53:21 +00:00
23 lines
504 B
Nix
23 lines
504 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "tar2ext4";
|
|
version = "0.9.6";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "microsoft";
|
|
repo = "hcsshim";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-sBcagAFjmnLfPFYwOhWIt6bnEXyOKYobvMI2rQf4S5A=";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|