nixpkgs/pkgs/tools/filesystems/glusterfs/default.nix

37 lines
939 B
Nix
Raw Normal View History

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