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