nixpkgs/pkgs/applications/misc/gtk2fontsel/default.nix
John Ericson 531e4b80c9 misc pkgs: Basic sed to get fix pkgconfig and autoreconfHook buildInputs
Only acts on one-line dependency lists.
2017-09-21 15:49:53 -04:00

29 lines
849 B
Nix

{stdenv, fetchurl, pkgconfig, gtk }:
stdenv.mkDerivation rec {
version = "0.1";
name = "gtk2fontsel-${version}";
src = fetchurl {
url = "mirror://sourceforge/gtk2fontsel/${name}.tar.gz";
sha256 = "0s2sj19n8ys92q9832hkn36ld91bb4qavicc6nygkry6qdpkkmjw";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ stdenv gtk ];
preferLocalBuild = true;
meta = with stdenv.lib; {
description = "A font selection program for X11 using the GTK2 toolkit";
longDescription = ''
Font selection tool similar to xfontsel implemented using GTK+ 2.
Trivial, but useful nonetheless.
'';
homepage = http://gtk2fontsel.sourceforge.net/;
downloadPage = http://sourceforge.net/projects/gtk2fontsel/;
license = licenses.gpl2;
maintainers = [ maintainers.prikhi ];
platforms = platforms.linux;
};
}