1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-28 08:31:59 +00:00
nixpkgs/pkgs/applications/misc/sent/default.nix
Profpatsch e39f072ce3 sent: optional patches argument
sent (like most suckless tools) is configured by recompiling with some
header changes. This eases the configuration.
2016-04-04 13:08:46 +02:00

26 lines
611 B
Nix

{ stdenv, fetchurl, libpng, libX11, libXft
, patches ? [] }:
stdenv.mkDerivation rec {
name = "sent-0.2";
src = fetchurl {
url = "http://dl.suckless.org/tools/${name}.tar.gz";
sha256 = "0xhh752hwaa26k4q6wvrb9jnpbnylss2aw6z11j7l9rav7wn3fak";
};
buildInputs = [ libpng libX11 libXft ];
inherit patches;
installFlags = [ "PREFIX=$(out)" ];
meta = with stdenv.lib; {
description = "A simple plaintext presentation tool";
homepage = http://tools.suckless.org/sent/;
license = licenses.mit;
platforms = platforms.linux;
maintainers = with maintainers; [ pSub ];
};
}