2015-07-06 16:46:28 +01:00
|
|
|
{ stdenv, fetchurl, makeWrapper }:
|
2013-02-09 23:08:29 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2013-12-15 23:32:26 +00:00
|
|
|
name = "libeatmydata-82";
|
2013-02-09 23:08:29 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://www.flamingspork.com/projects/libeatmydata/${name}.tar.gz";
|
2013-12-15 23:32:26 +00:00
|
|
|
sha256 = "0aavq71bf0yxdgyf8gvyzq086shszzwpbsz5rqkjg4cz0rc5yrqb";
|
2013-02-09 23:08:29 +00:00
|
|
|
};
|
|
|
|
|
2015-07-06 16:46:28 +01:00
|
|
|
buildInputs = [ makeWrapper ];
|
|
|
|
|
|
|
|
postInstall = ''
|
|
|
|
wrapProgram $out/bin/eatmydata \
|
|
|
|
--prefix PATH : $out/bin
|
|
|
|
'';
|
|
|
|
|
2013-02-09 23:08:29 +00:00
|
|
|
meta = {
|
|
|
|
homepage = http://www.flamingspork.com/projects/libeatmydata/;
|
2014-06-19 05:19:00 +01:00
|
|
|
license = stdenv.lib.licenses.gpl3Plus;
|
2013-02-09 23:08:29 +00:00
|
|
|
description = "Small LD_PRELOAD library to disable fsync and friends";
|
|
|
|
};
|
|
|
|
}
|