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:
parent
4063d283c1
commit
a68f24c2ca
2 changed files with 25 additions and 0 deletions
23
pkgs/tools/filesystems/tar2ext4/default.nix
Normal file
23
pkgs/tools/filesystems/tar2ext4/default.nix
Normal 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;
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue