filebench: 1.4.9.1 -> 1.5-alpha3-unstable-2020-02-20, fix for gcc 15 (#517140)
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchurl,
|
||||
fetchFromGitHub,
|
||||
fetchpatch,
|
||||
|
||||
autoreconfHook,
|
||||
bison,
|
||||
flex,
|
||||
@@ -9,13 +11,23 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "filebench";
|
||||
version = "1.4.9.1";
|
||||
version = "1.5-alpha3-unstable-2020-02-20";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/filebench/filebench-${finalAttrs.version}.tar.gz";
|
||||
sha256 = "13hmx67lsz367sn8lrvz1780mfczlbiz8v80gig9kpkpf009yksc";
|
||||
src = fetchFromGitHub {
|
||||
owner = "filebench";
|
||||
repo = "filebench";
|
||||
rev = "22620e602cbbebad90c0bd041896ebccf70dbf5f";
|
||||
hash = "sha256-IVQSEUZOC+X3C994tnk0n3NI7yu2yPAWlPA7zdSbvlg=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
name = "gcc-15.patch";
|
||||
url = "https://github.com/filebench/filebench/commit/82191902e44b7a136adb9285bcce3d4a52551b9e.patch?full_index=1";
|
||||
hash = "sha256-Uf4DrHZl94m502C7MynMtYpon1886RLbXGKW6lYq1SI=";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
autoreconfHook
|
||||
bison
|
||||
@@ -24,9 +36,9 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
meta = {
|
||||
description = "File system and storage benchmark that can generate both micro and macro workloads";
|
||||
homepage = "https://sourceforge.net/projects/filebench/";
|
||||
homepage = "https://github.com/filebench/filebench";
|
||||
license = lib.licenses.cddl;
|
||||
maintainers = [ ];
|
||||
maintainers = [ lib.maintainers.ryand56 ];
|
||||
platforms = lib.platforms.linux;
|
||||
mainProgram = "filebench";
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user