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