summaryrefslogtreecommitdiffstats
path: root/makefu/5pkgs/mergerfs/default.nix
blob: cfb7b0ae7d583763f05309cc2c92e88161cf9338 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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 = {
    homepage = https://github.com/trapexit/mergerfs;
    description = "a FUSE based union filesystem";
    license = stdenv.lib.licenses.isc;
    maintainers = [ stdenv.lib.maintainers.makefu ];
  };
}