1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 06:01:15 +00:00

Adding GlusterFS - a distributed storage system

svn path=/nixpkgs/trunk/; revision=16896
This commit is contained in:
Michael Raskin 2009-08-31 09:52:01 +00:00
parent dd25b49bfa
commit 11e09ffad1
4 changed files with 48 additions and 0 deletions

View file

@ -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;
};
}

View file

@ -0,0 +1,8 @@
rec {
advertisedUrl="http://ftp.gluster.com/pub/gluster/glusterfs/2.0/2.0.6/glusterfs-2.0.6.tar.gz";
version = "2.0.6";
url="http://ftp.gluster.com/pub/gluster/glusterfs/2.0/2.0.6/glusterfs-2.0.6.tar.gz";
hash = "0qr8smwncrr63vzbaf2v4fwpdck3jpgywn2rq8sdhifff67ydc9h";
name = "glusterfs-2.0.6";
}

View file

@ -0,0 +1,6 @@
{
downloadPage = "http://ftp.gluster.com/pub/gluster/glusterfs/2.0/";
sourceRegexp = "^2[.]0[.]";
choiceCommand = ''tail -1 | sed -re 's@(.*)/@&glusterfs-\1.tar.gz@' '';
baseName = "glusterfs";
}

View file

@ -746,6 +746,12 @@ let
inherit (xlibs) xproto libXt libX11;
};
glusterfs = builderDefsPackage ../tools/networking/glusterfs {
inherit fuse;
bison = bison24;
flex = flex2535;
};
glxinfo = import ../tools/graphics/glxinfo {
inherit fetchurl stdenv x11 mesa;
};