2015-07-06 15:46:28 +00:00
|
|
|
{ stdenv, fetchurl, makeWrapper }:
|
2013-02-09 23:08:29 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2016-04-12 18:32:25 +00:00
|
|
|
name = "libeatmydata-105";
|
2013-02-09 23:08:29 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://www.flamingspork.com/projects/libeatmydata/${name}.tar.gz";
|
2016-04-12 18:32:25 +00:00
|
|
|
sha256 = "1pd8sc73cgc41ldsvq6g8ics1m5k8gdcb91as9yg8z5jnrld1lmx";
|
2013-02-09 23:08:29 +00:00
|
|
|
};
|
|
|
|
|
2015-07-06 15:46:28 +00:00
|
|
|
buildInputs = [ makeWrapper ];
|
|
|
|
|
|
|
|
postInstall = ''
|
|
|
|
wrapProgram $out/bin/eatmydata \
|
|
|
|
--prefix PATH : $out/bin
|
|
|
|
'';
|
|
|
|
|
2013-02-09 23:08:29 +00:00
|
|
|
meta = {
|
2017-08-02 21:50:51 +00:00
|
|
|
homepage = https://www.flamingspork.com/projects/libeatmydata/;
|
2014-06-19 04:19:00 +00:00
|
|
|
license = stdenv.lib.licenses.gpl3Plus;
|
2013-02-09 23:08:29 +00:00
|
|
|
description = "Small LD_PRELOAD library to disable fsync and friends";
|
2016-08-02 17:50:55 +00:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2013-02-09 23:08:29 +00:00
|
|
|
};
|
|
|
|
}
|