2012-12-04 17:54:03 +00:00
|
|
|
{stdenv, fetchurl, fuse, bison, flex, openssl, python, ncurses, readline}:
|
2009-08-31 09:52:01 +00:00
|
|
|
let
|
2012-12-04 17:54:03 +00:00
|
|
|
s = # Generated upstream information
|
|
|
|
rec {
|
|
|
|
baseName="glusterfs";
|
|
|
|
version="3.3.1";
|
|
|
|
name="glusterfs-3.3.1";
|
|
|
|
hash="06bmnyl3vh8s21kk98idm2fl7kq38na94k5l67l9l1grl3iyzahr";
|
|
|
|
url="http://download.gluster.org/pub/gluster/glusterfs/3.3/3.3.1/glusterfs-3.3.1.tar.gz";
|
|
|
|
sha256="06bmnyl3vh8s21kk98idm2fl7kq38na94k5l67l9l1grl3iyzahr";
|
|
|
|
};
|
|
|
|
buildInputs = [
|
|
|
|
fuse bison flex openssl python ncurses readline
|
2009-08-31 09:52:01 +00:00
|
|
|
];
|
|
|
|
in
|
2012-12-04 17:54:03 +00:00
|
|
|
stdenv.mkDerivation
|
2009-08-31 09:52:01 +00:00
|
|
|
rec {
|
2012-12-04 17:54:03 +00:00
|
|
|
inherit (s) name version;
|
2009-08-31 09:52:01 +00:00
|
|
|
inherit buildInputs;
|
|
|
|
configureFlags = [
|
|
|
|
''--with-mountutildir="$out/sbin"''
|
|
|
|
];
|
2012-12-04 17:54:03 +00:00
|
|
|
src = fetchurl {
|
|
|
|
inherit (s) url sha256;
|
|
|
|
};
|
2009-08-31 09:52:01 +00:00
|
|
|
|
|
|
|
meta = {
|
2012-12-04 17:54:03 +00:00
|
|
|
inherit (s) version;
|
2009-08-31 09:52:01 +00:00
|
|
|
description = "Distributed storage system";
|
|
|
|
maintainers = [
|
2012-12-04 17:54:03 +00:00
|
|
|
stdenv.lib.maintainers.raskin
|
2009-08-31 09:52:01 +00:00
|
|
|
];
|
2012-12-04 17:54:03 +00:00
|
|
|
platforms = with stdenv.lib.platforms;
|
2009-08-31 09:52:01 +00:00
|
|
|
linux ++ freebsd;
|
|
|
|
};
|
|
|
|
}
|