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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

31 lines
885 B
Nix
Raw Normal View History

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