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";
|
2020-02-22 10:16:29 +00:00
|
|
|
|
2013-02-09 23:08:29 +00:00
|
|
|
src = fetchurl {
|
2018-06-28 19:43:35 +01:00
|
|
|
url = "https://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
|
|
|
};
|
|
|
|
|
2020-02-22 10:16:29 +00:00
|
|
|
patches = [ ./find-shell-lib.patch ];
|
|
|
|
patchFlags = "-p0";
|
|
|
|
postPatch = ''
|
|
|
|
substituteInPlace eatmydata.in --replace NIX_OUT_DIR $out
|
2015-07-06 16:46:28 +01:00
|
|
|
'';
|
|
|
|
|
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
|
|
|
};
|
|
|
|
}
|