2021-01-16 19:51:22 -08:00
|
|
|
{ lib, stdenv, fetchurl, pkg-config, freetype, gtk }:
|
2014-07-13 04:22:10 -07:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
version = "1.6";
|
2019-08-15 05:41:18 -07:00
|
|
|
pname = "gbdfed";
|
2014-07-13 04:22:10 -07:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 05:41:18 -07:00
|
|
|
url = "http://sofia.nmsu.edu/~mleisher/Software/gbdfed/${pname}-${version}.tar.bz2";
|
2014-07-13 04:22:10 -07:00
|
|
|
sha256 = "0g09k6wim58hngxncq2brr7mwjm92j3famp0vs4b3p48wr65vcjx";
|
|
|
|
};
|
|
|
|
|
2021-01-16 19:51:22 -08:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2017-09-05 14:26:13 -07:00
|
|
|
buildInputs = [ freetype gtk ];
|
2014-07-13 04:22:10 -07:00
|
|
|
|
|
|
|
patches = [ ./Makefile.patch ];
|
|
|
|
|
2016-02-26 09:38:15 -08:00
|
|
|
hardeningDisable = [ "format" ];
|
2016-02-10 16:25:47 -08:00
|
|
|
|
2014-07-13 04:22:10 -07:00
|
|
|
meta = {
|
|
|
|
description = "Bitmap Font Editor";
|
|
|
|
longDescription = ''
|
|
|
|
gbdfed lets you interactively create new bitmap font files or modify existing ones.
|
2021-01-15 01:19:50 -08:00
|
|
|
It allows editing multiple fonts and multiple glyphs,
|
2014-07-13 04:22:10 -07:00
|
|
|
it allows cut and paste operations between fonts and glyphs and editing font properties.
|
2021-01-15 01:19:50 -08:00
|
|
|
The editor works natively with BDF fonts.
|
2014-07-13 04:22:10 -07:00
|
|
|
'';
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "http://sofia.nmsu.edu/~mleisher/Software/gbdfed/";
|
2021-01-15 01:19:50 -08:00
|
|
|
license = lib.licenses.mit;
|
|
|
|
maintainers = [ lib.maintainers.linquize ];
|
|
|
|
platforms = lib.platforms.all;
|
2014-07-13 04:22:10 -07:00
|
|
|
};
|
|
|
|
}
|