2017-10-21 12:48:49 +02:00
|
|
|
{ stdenv, fetchurl, farbfeld, libX11, libXft
|
2016-04-04 02:35:45 +02:00
|
|
|
, patches ? [] }:
|
2015-11-21 19:15:16 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2017-10-21 12:48:49 +02:00
|
|
|
name = "sent-1";
|
2015-11-21 19:15:16 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2017-10-21 12:48:49 +02:00
|
|
|
url = "https://dl.suckless.org/tools/${name}.tar.gz";
|
|
|
|
sha256 = "0cxysz5lp25mgww73jl0mgip68x7iyvialyzdbriyaff269xxwvv";
|
2015-11-21 19:15:16 +01:00
|
|
|
};
|
|
|
|
|
2017-10-21 12:48:49 +02:00
|
|
|
buildInputs = [ farbfeld libX11 libXft ];
|
|
|
|
|
|
|
|
# unpacking doesn't create a directory
|
|
|
|
sourceRoot = ".";
|
2015-11-21 19:15:16 +01:00
|
|
|
|
2016-04-04 02:35:45 +02:00
|
|
|
inherit patches;
|
|
|
|
|
2015-11-21 19:15:16 +01:00
|
|
|
installFlags = [ "PREFIX=$(out)" ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A simple plaintext presentation tool";
|
2017-10-21 12:48:49 +02:00
|
|
|
homepage = https://tools.suckless.org/sent/;
|
|
|
|
license = licenses.isc;
|
2015-11-21 19:15:16 +01:00
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ pSub ];
|
|
|
|
};
|
|
|
|
}
|