tar2ext4: init at 0.8.20

This is a single program that's part of a big Microsoft project.
Everything else looks pretty specialised, and some of it only targets
Windows, so I didn't try packaging anything else.  If we ever do end
up with a need for other software from this project, this derivation
could be extended and renamed, with tar2ext4 becoming an alias.
This commit is contained in:
Alyssa Ross 2021-08-18 12:37:43 +00:00
parent 4063d283c1
commit a68f24c2ca
No known key found for this signature in database
GPG key ID: F9DBED4859B271C0
2 changed files with 25 additions and 0 deletions

View file

@ -0,0 +1,23 @@
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "tar2ext4";
version = "0.8.20";
src = fetchFromGitHub {
owner = "microsoft";
repo = "hcsshim";
rev = "v${version}";
sha256 = "sha256-X7JsUFL9NkNT7ihE5olrqMUP8RnoVC10KLrQeT/OU3o=";
};
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;
platforms = platforms.all;
};
}

View file

@ -9298,6 +9298,8 @@ with pkgs;
znapzend = callPackage ../tools/backup/znapzend { };
tar2ext4 = callPackage ../tools/filesystems/tar2ext4 { };
targetcli = callPackage ../os-specific/linux/targetcli { };
target-isns = callPackage ../os-specific/linux/target-isns { };