fontforge-fonttools: init at 20160404
This commit is contained in:
parent
632e81083c
commit
f9add54f28
|
@ -57,6 +57,7 @@ stdenv.mkDerivation rec {
|
||||||
description = "A font editor";
|
description = "A font editor";
|
||||||
homepage = http://fontforge.github.io;
|
homepage = http://fontforge.github.io;
|
||||||
platforms = stdenv.lib.platforms.all;
|
platforms = stdenv.lib.platforms.all;
|
||||||
|
license = stdenv.lib.licenses.bsd3;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,24 @@
|
||||||
|
{stdenv, fontforge, zlib}:
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "fontforge-fonttools-${fontforge.version}";
|
||||||
|
src = fontforge.src;
|
||||||
|
|
||||||
|
buildInputs = [zlib];
|
||||||
|
|
||||||
|
setSourceRoot = ''export sourceRoot="$(echo */contrib/fonttools)"'';
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
mkdir -p "$out"/{bin,share/doc/fontforge-fonttools}
|
||||||
|
for i in *.c; do
|
||||||
|
gcc "$i" -lz -lm --std=c99 -o "$out"/bin/$(basename "$i" .c)
|
||||||
|
done
|
||||||
|
cp README* "$out/share/doc/fontforge-fonttools"
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = ''Small font tools shipped in FontForge contrib'';
|
||||||
|
license = fontforge.meta.license;
|
||||||
|
maintainers = with maintainers; [ raskin ];
|
||||||
|
platforms = with platforms; unix;
|
||||||
|
};
|
||||||
|
}
|
|
@ -1818,6 +1818,8 @@ with pkgs;
|
||||||
inherit (darwin.apple_sdk.frameworks) Carbon Cocoa;
|
inherit (darwin.apple_sdk.frameworks) Carbon Cocoa;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
fontforge-fonttools = callPackage ../tools/misc/fontforge/fontforge-fonttools.nix {};
|
||||||
|
|
||||||
fontmatrix = callPackage ../applications/graphics/fontmatrix {};
|
fontmatrix = callPackage ../applications/graphics/fontmatrix {};
|
||||||
|
|
||||||
foremost = callPackage ../tools/system/foremost { };
|
foremost = callPackage ../tools/system/foremost { };
|
||||||
|
|
Loading…
Reference in New Issue