mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 22:32:58 +03:00
Merge pull request #19036 from makefu/init-mergerfs
mergerfs: init at 2.16.1
This commit is contained in:
commit
633fb08a9a
26
pkgs/tools/filesystems/mergerfs/default.nix
Normal file
26
pkgs/tools/filesystems/mergerfs/default.nix
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
{ stdenv, fetchgit, fuse, pkgconfig, which, attr, pandoc, git }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "mergerfs-${version}";
|
||||||
|
version = "2.16.1";
|
||||||
|
|
||||||
|
# not using fetchFromGitHub because of changelog being built with git log
|
||||||
|
src = fetchgit {
|
||||||
|
url = "https://github.com/trapexit/mergerfs";
|
||||||
|
rev = "refs/tags/${version}";
|
||||||
|
sha256 = "12fqgk54fnnibqiq82p4g2k6qnw3iy6dd64csmlf73yi67za5iwf";
|
||||||
|
deepClone = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ fuse pkgconfig which attr pandoc git ];
|
||||||
|
|
||||||
|
makeFlags = [ "PREFIX=$(out)" "XATTR_AVAILABLE=1" ];
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "A FUSE based union filesystem";
|
||||||
|
homepage = https://github.com/trapexit/mergerfs;
|
||||||
|
license = stdenv.lib.licenses.isc;
|
||||||
|
platforms = stdenv.lib.platforms.linux;
|
||||||
|
maintainers = with stdenv.lib.maintainers; [ makefu ];
|
||||||
|
};
|
||||||
|
}
|
@ -8295,6 +8295,8 @@ in
|
|||||||
|
|
||||||
menu-cache = callPackage ../development/libraries/menu-cache { };
|
menu-cache = callPackage ../development/libraries/menu-cache { };
|
||||||
|
|
||||||
|
mergerfs = callPackage ../tools/filesystems/mergerfs { };
|
||||||
|
|
||||||
mesaSupported = lib.elem system lib.platforms.mesaPlatforms;
|
mesaSupported = lib.elem system lib.platforms.mesaPlatforms;
|
||||||
|
|
||||||
mesaDarwinOr = alternative: if stdenv.isDarwin
|
mesaDarwinOr = alternative: if stdenv.isDarwin
|
||||||
|
Loading…
Reference in New Issue
Block a user