diff options
Diffstat (limited to 'pkgs/tools/filesystems/glusterfs/default.nix')
-rw-r--r-- | pkgs/tools/filesystems/glusterfs/default.nix | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/tools/filesystems/glusterfs/default.nix b/pkgs/tools/filesystems/glusterfs/default.nix new file mode 100644 index 000000000000..3995faa588bc --- /dev/null +++ b/pkgs/tools/filesystems/glusterfs/default.nix @@ -0,0 +1,28 @@ +a : +let + s = import ./src-for-default.nix; + buildInputs = with a; [ + fuse bison flex + ]; +in +rec { + src = a.fetchUrlFromSrcInfo s; + + inherit (s) name; + inherit buildInputs; + configureFlags = [ + ''--with-mountutildir="$out/sbin"'' + ]; + + /* doConfigure should be removed if not needed */ + phaseNames = ["doConfigure" "doMakeInstall"]; + + meta = { + description = "Distributed storage system"; + maintainers = [ + a.lib.maintainers.raskin + ]; + platforms = with a.lib.platforms; + linux ++ freebsd; + }; +} |