nixpkgs/pkgs/tools/system/fio/default.nix
R. RyanTM 6c1ed68d65 fio: 3.5 -> 3.6
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/fio/versions.

These checks were done:

- built on NixOS
- ran ‘/nix/store/vh0z8j2hhmcf5xwhhn0jagc2d213761g-fio-3.6/bin/fio -h’ got 0 exit code
- ran ‘/nix/store/vh0z8j2hhmcf5xwhhn0jagc2d213761g-fio-3.6/bin/fio --help’ got 0 exit code
- ran ‘/nix/store/vh0z8j2hhmcf5xwhhn0jagc2d213761g-fio-3.6/bin/fio -v’ and found version 3.6
- ran ‘/nix/store/vh0z8j2hhmcf5xwhhn0jagc2d213761g-fio-3.6/bin/fio --version’ and found version 3.6
- ran ‘/nix/store/vh0z8j2hhmcf5xwhhn0jagc2d213761g-fio-3.6/bin/genfio -h’ got 0 exit code
- ran ‘/nix/store/vh0z8j2hhmcf5xwhhn0jagc2d213761g-fio-3.6/bin/genfio --help’ got 0 exit code
- ran ‘/nix/store/vh0z8j2hhmcf5xwhhn0jagc2d213761g-fio-3.6/bin/fiologparser.py -h’ got 0 exit code
- ran ‘/nix/store/vh0z8j2hhmcf5xwhhn0jagc2d213761g-fio-3.6/bin/fiologparser.py --help’ got 0 exit code
- ran ‘/nix/store/vh0z8j2hhmcf5xwhhn0jagc2d213761g-fio-3.6/bin/fio_jsonplus_clat2csv -h’ got 0 exit code
- ran ‘/nix/store/vh0z8j2hhmcf5xwhhn0jagc2d213761g-fio-3.6/bin/fio_jsonplus_clat2csv --help’ got 0 exit code
- found 3.6 with grep in /nix/store/vh0z8j2hhmcf5xwhhn0jagc2d213761g-fio-3.6
- directory tree listing: https://gist.github.com/0c7cb321a972c3e3e020645972a2d9f4
2018-04-20 06:02:07 -07:00

33 lines
723 B
Nix

{ stdenv, fetchFromGitHub, libaio, python, zlib }:
let
version = "3.6";
sha256 = "1dilsn6r958skq1kpknm13fdzw7whb3bqa3wwnn2j9gba28599pq";
in
stdenv.mkDerivation rec {
name = "fio-${version}";
src = fetchFromGitHub {
owner = "axboe";
repo = "fio";
rev = "fio-${version}";
inherit sha256;
};
buildInputs = [ libaio python zlib ];
enableParallelBuilding = true;
postPatch = ''
substituteInPlace tools/plot/fio2gnuplot --replace /usr/share/fio $out/share/fio
'';
meta = with stdenv.lib; {
homepage = "http://git.kernel.dk/?p=fio.git;a=summary;";
description = "Flexible IO Tester - an IO benchmark tool";
license = licenses.gpl2;
platforms = platforms.unix;
};
}