nixpkgs/pkgs/development/libraries/libeatmydata/default.nix
Tuomas Tynkkynen 21f17d69f6 treewide: Add lots of meta.platforms
Build-tested on x86_64 Linux & Mac.
2016-08-02 21:42:43 +03:00

24 lines
641 B
Nix

{ stdenv, fetchurl, makeWrapper }:
stdenv.mkDerivation rec {
name = "libeatmydata-105";
src = fetchurl {
url = "http://www.flamingspork.com/projects/libeatmydata/${name}.tar.gz";
sha256 = "1pd8sc73cgc41ldsvq6g8ics1m5k8gdcb91as9yg8z5jnrld1lmx";
};
buildInputs = [ makeWrapper ];
postInstall = ''
wrapProgram $out/bin/eatmydata \
--prefix PATH : $out/bin
'';
meta = {
homepage = http://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;
};
}