mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 15:56:50 +01:00
23 lines
597 B
Nix
23 lines
597 B
Nix
{ stdenv, fetchurl, makeWrapper }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "libeatmydata-82";
|
|
|
|
src = fetchurl {
|
|
url = "http://www.flamingspork.com/projects/libeatmydata/${name}.tar.gz";
|
|
sha256 = "0aavq71bf0yxdgyf8gvyzq086shszzwpbsz5rqkjg4cz0rc5yrqb";
|
|
};
|
|
|
|
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";
|
|
};
|
|
}
|