depot/third_party/nixpkgs/pkgs/tools/misc/gbdfed/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

33 lines
1 KiB
Nix

{ lib, stdenv, fetchurl, pkg-config, freetype, gtk }:
stdenv.mkDerivation rec {
version = "1.6";
pname = "gbdfed";
src = fetchurl {
url = "http://sofia.nmsu.edu/~mleisher/Software/gbdfed/${pname}-${version}.tar.bz2";
sha256 = "0g09k6wim58hngxncq2brr7mwjm92j3famp0vs4b3p48wr65vcjx";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ freetype gtk ];
patches = [ ./Makefile.patch ];
hardeningDisable = [ "format" ];
meta = {
description = "Bitmap Font Editor";
longDescription = ''
gbdfed lets you interactively create new bitmap font files or modify existing ones.
It allows editing multiple fonts and multiple glyphs,
it allows cut and paste operations between fonts and glyphs and editing font properties.
The editor works natively with BDF fonts.
'';
homepage = "http://sofia.nmsu.edu/~mleisher/Software/gbdfed/";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.linquize ];
platforms = lib.platforms.all;
mainProgram = "gbdfed";
};
}