mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 15:44:20 +00:00
e39f072ce3
sent (like most suckless tools) is configured by recompiling with some header changes. This eases the configuration.
26 lines
611 B
Nix
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 ];
|
|
};
|
|
}
|