git.iko.soy/typeable/nixpkgs
on master help sign in
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.

commita68f24c2cadc0d569aa03ab0cfb0dbd99df40c9c authorAlyssa Ross <hi@alyssa.is> dateWed 18 Aug 2021, 12:37 (5 years ago) parent4063d28
2 files changed+25
pkgs/tools/filesystems/tar2ext4/default.nix+23 pkgs/top-level/all-packages.nix+2
pkgs/tools/filesystems/tar2ext4/default.nixnew file+23
@@ -0,0 +1,23 @@
1+{ lib, buildGoModule, fetchFromGitHub }:
2+
3+buildGoModule rec {
4+ pname = "tar2ext4";
5+ version = "0.8.20";
6+
7+ src = fetchFromGitHub {
8+ owner = "microsoft";
9+ repo = "hcsshim";
10+ rev = "v${version}";
11+ sha256 = "sha256-X7JsUFL9NkNT7ihE5olrqMUP8RnoVC10KLrQeT/OU3o=";
12+ };
13+
14+ sourceRoot = "source/cmd/tar2ext4";
15+ vendorSha256 = null;
16+
17+ meta = with lib; {
18+ description = "Convert a tar archive to an ext4 image";
19+ maintainers = with maintainers; [ qyliss ];
20+ license = licenses.mit;
21+ platforms = platforms.all;
22+ };
23+}
pkgs/top-level/all-packages.nix+2
@@ -9298,6 +9298,8 @@ with pkgs;
92989298
92999299 znapzend = callPackage ../tools/backup/znapzend { };
93009300
9301+ tar2ext4 = callPackage ../tools/filesystems/tar2ext4 { };
9302+
93019303 targetcli = callPackage ../os-specific/linux/targetcli { };
93029304
93039305 target-isns = callPackage ../os-specific/linux/target-isns { };