2012-12-04 18:54:03 +01:00
|
|
|
{stdenv, fetchurl, fuse, bison, flex, openssl, python, ncurses, readline}:
|
2009-08-31 11:52:01 +02:00
|
|
|
let
|
2012-12-04 18:54:03 +01:00
|
|
|
s = # Generated upstream information
|
|
|
|
rec {
|
|
|
|
baseName="glusterfs";
|
2014-03-08 18:05:59 +01:00
|
|
|
version="3.4.2";
|
2013-10-20 19:10:25 +02:00
|
|
|
name="${baseName}-${version}";
|
2014-03-08 18:05:59 +01:00
|
|
|
hash="1vzdihsy4da11jsa46n1n2xk6d40g7v0zrlqvs3pb9k07fql5kag";
|
|
|
|
url="http://download.gluster.org/pub/gluster/glusterfs/3.4/3.4.2/glusterfs-3.4.2.tar.gz";
|
|
|
|
sha256="1vzdihsy4da11jsa46n1n2xk6d40g7v0zrlqvs3pb9k07fql5kag";
|
2012-12-04 18:54:03 +01:00
|
|
|
};
|
|
|
|
buildInputs = [
|
|
|
|
fuse bison flex openssl python ncurses readline
|
2009-08-31 11:52:01 +02:00
|
|
|
];
|
|
|
|
in
|
2012-12-04 18:54:03 +01:00
|
|
|
stdenv.mkDerivation
|
2009-08-31 11:52:01 +02:00
|
|
|
rec {
|
2012-12-04 18:54:03 +01:00
|
|
|
inherit (s) name version;
|
2009-08-31 11:52:01 +02:00
|
|
|
inherit buildInputs;
|
|
|
|
configureFlags = [
|
|
|
|
''--with-mountutildir="$out/sbin"''
|
|
|
|
];
|
2012-12-04 18:54:03 +01:00
|
|
|
src = fetchurl {
|
|
|
|
inherit (s) url sha256;
|
|
|
|
};
|
2009-08-31 11:52:01 +02:00
|
|
|
|
|
|
|
meta = {
|
2012-12-04 18:54:03 +01:00
|
|
|
inherit (s) version;
|
2009-08-31 11:52:01 +02:00
|
|
|
description = "Distributed storage system";
|
|
|
|
maintainers = [
|
2012-12-04 18:54:03 +01:00
|
|
|
stdenv.lib.maintainers.raskin
|
2009-08-31 11:52:01 +02:00
|
|
|
];
|
2012-12-04 18:54:03 +01:00
|
|
|
platforms = with stdenv.lib.platforms;
|
2009-08-31 11:52:01 +02:00
|
|
|
linux ++ freebsd;
|
|
|
|
};
|
|
|
|
}
|