mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +00:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
31 lines
883 B
Nix
31 lines
883 B
Nix
{lib, stdenv, fetchurl, pkg-config, gtk2 }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "0.1";
|
|
pname = "gtk2fontsel";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/gtk2fontsel/${pname}-${version}.tar.gz";
|
|
sha256 = "0s2sj19n8ys92q9832hkn36ld91bb4qavicc6nygkry6qdpkkmjw";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
buildInputs = [ gtk2 ];
|
|
|
|
preferLocalBuild = true;
|
|
|
|
meta = with lib; {
|
|
description = "Font selection program for X11 using the GTK 2 toolkit";
|
|
longDescription = ''
|
|
Font selection tool similar to xfontsel implemented using GTK 2.
|
|
Trivial, but useful nonetheless.
|
|
'';
|
|
homepage = "https://gtk2fontsel.sourceforge.net/";
|
|
downloadPage = "https://sourceforge.net/projects/gtk2fontsel/";
|
|
license = licenses.gpl2;
|
|
maintainers = [ maintainers.prikhi ];
|
|
platforms = platforms.linux;
|
|
mainProgram = "gtk2fontsel";
|
|
};
|
|
}
|