mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 19:45:54 +00:00
f0fd8e34e7
Update sent to current version, adding farbfeld-dependency, updating license and URL
29 lines
677 B
Nix
29 lines
677 B
Nix
{ stdenv, fetchurl, farbfeld, libX11, libXft
|
|
, patches ? [] }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "sent-1";
|
|
|
|
src = fetchurl {
|
|
url = "https://dl.suckless.org/tools/${name}.tar.gz";
|
|
sha256 = "0cxysz5lp25mgww73jl0mgip68x7iyvialyzdbriyaff269xxwvv";
|
|
};
|
|
|
|
buildInputs = [ farbfeld libX11 libXft ];
|
|
|
|
# unpacking doesn't create a directory
|
|
sourceRoot = ".";
|
|
|
|
inherit patches;
|
|
|
|
installFlags = [ "PREFIX=$(out)" ];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "A simple plaintext presentation tool";
|
|
homepage = https://tools.suckless.org/sent/;
|
|
license = licenses.isc;
|
|
platforms = platforms.linux;
|
|
maintainers = with maintainers; [ pSub ];
|
|
};
|
|
}
|