nixpkgs/pkgs/applications/misc/gtk2fontsel/default.nix

30 lines
858 B
Nix
Raw Normal View History

{lib, stdenv, fetchurl, pkg-config, gtk2 }:
2014-12-14 04:36:11 +00:00
stdenv.mkDerivation rec {
version = "0.1";
pname = "gtk2fontsel";
2014-12-14 04:36:11 +00:00
src = fetchurl {
url = "mirror://sourceforge/gtk2fontsel/${pname}-${version}.tar.gz";
2014-12-14 04:36:11 +00:00
sha256 = "0s2sj19n8ys92q9832hkn36ld91bb4qavicc6nygkry6qdpkkmjw";
};
nativeBuildInputs = [ pkg-config ];
2019-03-03 21:30:31 +00:00
buildInputs = [ stdenv gtk2 ];
2014-12-14 04:36:11 +00:00
preferLocalBuild = true;
meta = with lib; {
description = "A font selection program for X11 using the GTK 2 toolkit";
2014-12-14 04:36:11 +00:00
longDescription = ''
Font selection tool similar to xfontsel implemented using GTK 2.
2014-12-14 04:36:11 +00:00
Trivial, but useful nonetheless.
'';
homepage = "http://gtk2fontsel.sourceforge.net/";
downloadPage = "https://sourceforge.net/projects/gtk2fontsel/";
2014-12-14 04:36:11 +00:00
license = licenses.gpl2;
maintainers = [ maintainers.prikhi ];
platforms = platforms.linux;
};
}