3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/misc/gbdfed/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

33 lines
1 KiB
Nix

{ stdenv, fetchurl, pkgconfig, 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 = [ pkgconfig ];
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 = stdenv.lib.licenses.mit;
maintainers = [ stdenv.lib.maintainers.linquize ];
platforms = stdenv.lib.platforms.all;
};
}