sent: optional patches argument

sent (like most suckless tools) is configured by recompiling with some
header changes. This eases the configuration.
This commit is contained in:
Profpatsch 2016-04-04 02:35:45 +02:00
parent 9f1576313d
commit e39f072ce3

View File

@ -1,4 +1,5 @@
{ stdenv, fetchurl, libpng, libX11, libXft }: { stdenv, fetchurl, libpng, libX11, libXft
, patches ? [] }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "sent-0.2"; name = "sent-0.2";
@ -10,6 +11,8 @@ stdenv.mkDerivation rec {
buildInputs = [ libpng libX11 libXft ]; buildInputs = [ libpng libX11 libXft ];
inherit patches;
installFlags = [ "PREFIX=$(out)" ]; installFlags = [ "PREFIX=$(out)" ];
meta = with stdenv.lib; { meta = with stdenv.lib; {