2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchurl, pkg-config, freetype, gtk }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
version = "1.6";
|
|
|
|
pname = "gbdfed";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://sofia.nmsu.edu/~mleisher/Software/gbdfed/${pname}-${version}.tar.bz2";
|
|
|
|
sha256 = "0g09k6wim58hngxncq2brr7mwjm92j3famp0vs4b3p48wr65vcjx";
|
|
|
|
};
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2020-04-24 23:36:52 +00:00
|
|
|
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.
|
2021-01-15 22:18:51 +00:00
|
|
|
It allows editing multiple fonts and multiple glyphs,
|
2020-04-24 23:36:52 +00:00
|
|
|
it allows cut and paste operations between fonts and glyphs and editing font properties.
|
2021-01-15 22:18:51 +00:00
|
|
|
The editor works natively with BDF fonts.
|
2020-04-24 23:36:52 +00:00
|
|
|
'';
|
|
|
|
homepage = "http://sofia.nmsu.edu/~mleisher/Software/gbdfed/";
|
2021-01-15 22:18:51 +00:00
|
|
|
license = lib.licenses.mit;
|
|
|
|
maintainers = [ lib.maintainers.linquize ];
|
|
|
|
platforms = lib.platforms.all;
|
2024-01-02 11:29:13 +00:00
|
|
|
mainProgram = "gbdfed";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|