Update GlusterFS
This commit is contained in:
parent
50e7ddbdca
commit
8a6b0087a9
@ -1,28 +1,36 @@
|
||||
a :
|
||||
{stdenv, fetchurl, fuse, bison, flex, openssl, python, ncurses, readline}:
|
||||
let
|
||||
s = import ./src-for-default.nix;
|
||||
buildInputs = with a; [
|
||||
fuse bison flex
|
||||
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
|
||||
];
|
||||
in
|
||||
stdenv.mkDerivation
|
||||
rec {
|
||||
src = a.fetchUrlFromSrcInfo s;
|
||||
|
||||
inherit (s) name;
|
||||
inherit (s) name version;
|
||||
inherit buildInputs;
|
||||
configureFlags = [
|
||||
''--with-mountutildir="$out/sbin"''
|
||||
];
|
||||
src = fetchurl {
|
||||
inherit (s) url sha256;
|
||||
};
|
||||
|
||||
/* doConfigure should be removed if not needed */
|
||||
phaseNames = ["doConfigure" "doMakeInstall"];
|
||||
|
||||
meta = {
|
||||
inherit (s) version;
|
||||
description = "Distributed storage system";
|
||||
maintainers = [
|
||||
a.lib.maintainers.raskin
|
||||
stdenv.lib.maintainers.raskin
|
||||
];
|
||||
platforms = with a.lib.platforms;
|
||||
platforms = with stdenv.lib.platforms;
|
||||
linux ++ freebsd;
|
||||
};
|
||||
}
|
||||
|
4
pkgs/tools/filesystems/glusterfs/default.upstream
Normal file
4
pkgs/tools/filesystems/glusterfs/default.upstream
Normal file
@ -0,0 +1,4 @@
|
||||
url http://download.gluster.org/pub/gluster/glusterfs/
|
||||
version_link '[0-9.]+/$'
|
||||
version_link '[0-9.]+/$'
|
||||
version_link '[.]tar[.]'
|
@ -1,8 +0,0 @@
|
||||
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";
|
||||
|
||||
}
|
@ -1,6 +0,0 @@
|
||||
{
|
||||
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";
|
||||
}
|
@ -779,9 +779,7 @@ let
|
||||
|
||||
gifsicle = callPackage ../tools/graphics/gifsicle { };
|
||||
|
||||
glusterfs = builderDefsPackage ../tools/filesystems/glusterfs {
|
||||
inherit fuse flex bison;
|
||||
};
|
||||
glusterfs = callPackage ../tools/filesystems/glusterfs { };
|
||||
|
||||
glxinfo = callPackage ../tools/graphics/glxinfo { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user