apfsprogs: init at unstable-2021-05-07
This commit is contained in:
parent
e233cf240a
commit
5d06ef0e1e
38
pkgs/tools/filesystems/apfsprogs/default.nix
Normal file
38
pkgs/tools/filesystems/apfsprogs/default.nix
Normal file
|
@ -0,0 +1,38 @@
|
||||||
|
{ lib
|
||||||
|
, stdenv
|
||||||
|
, fetchFromGitHub
|
||||||
|
}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation {
|
||||||
|
pname = "apfsprogs";
|
||||||
|
version = "unstable-2021-05-07";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "linux-apfs";
|
||||||
|
repo = "apfsprogs";
|
||||||
|
rev = "d360211a30608a907e3ee8ad4468d606c40ec2d7";
|
||||||
|
sha256 = "sha256-SeFs/GQfIEvnxERyww+mnynjR7E02DdtBA6JsknEM+Q=";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildPhase = ''
|
||||||
|
runHook preBuild
|
||||||
|
make -C apfsck $makeFlags
|
||||||
|
make -C mkapfs $makeFlags
|
||||||
|
runHook postBuild
|
||||||
|
'';
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
runHook preInstall
|
||||||
|
make -C apfsck install BINDIR="$out/bin" MANDIR="$out/share/man8" $installFlags
|
||||||
|
make -C mkapfs install BINDIR="$out/bin" MANDIR="$out/share/man8" $installFlags
|
||||||
|
runHook postInstall
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Experimental APFS tools for linux";
|
||||||
|
homepage = "https://github.com/linux-apfs/apfsprogs";
|
||||||
|
license = licenses.gpl2Only;
|
||||||
|
platforms = platforms.linux;
|
||||||
|
maintainers = with maintainers; [ Luflosi ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -1067,6 +1067,8 @@ in
|
||||||
|
|
||||||
apfs-fuse = callPackage ../tools/filesystems/apfs-fuse { };
|
apfs-fuse = callPackage ../tools/filesystems/apfs-fuse { };
|
||||||
|
|
||||||
|
apfsprogs = callPackage ../tools/filesystems/apfsprogs { };
|
||||||
|
|
||||||
apk-tools = callPackage ../tools/package-management/apk-tools {
|
apk-tools = callPackage ../tools/package-management/apk-tools {
|
||||||
lua = lua5_3;
|
lua = lua5_3;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue