2015-07-06 16:46:28 +01:00
|
|
|
{ stdenv, fetchurl, makeWrapper }:
|
2013-02-09 23:08:29 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2016-04-12 19:32:25 +01: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 19:32:25 +01:00
|
|
|
sha256 = "1pd8sc73cgc41ldsvq6g8ics1m5k8gdcb91as9yg8z5jnrld1lmx";
|
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 = {
|
2017-08-02 22:50:51 +01:00
|
|
|
homepage = https://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";
|
2016-08-02 18:50:55 +01:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2013-02-09 23:08:29 +00:00
|
|
|
};
|
|
|
|
}
|