nixpkgs/pkgs/development/libraries/libeatmydata/default.nix

25 lines
643 B
Nix
Raw Normal View History

{ stdenv, fetchurl, makeWrapper }:
stdenv.mkDerivation rec {
2016-04-12 18:32:25 +00:00
name = "libeatmydata-105";
src = fetchurl {
url = "https://www.flamingspork.com/projects/libeatmydata/${name}.tar.gz";
2016-04-12 18:32:25 +00:00
sha256 = "1pd8sc73cgc41ldsvq6g8ics1m5k8gdcb91as9yg8z5jnrld1lmx";
};
buildInputs = [ makeWrapper ];
postInstall = ''
wrapProgram $out/bin/eatmydata \
--prefix PATH : $out/bin
'';
meta = {
homepage = https://www.flamingspork.com/projects/libeatmydata/;
license = stdenv.lib.licenses.gpl3Plus;
description = "Small LD_PRELOAD library to disable fsync and friends";
platforms = stdenv.lib.platforms.unix;
};
}