otfcc: init at 0.8.6

This commit is contained in:
Johannes Frankenau 2017-07-22 23:33:37 +02:00 committed by Thomas Tuegel
parent eb85761137
commit 2110f96f9b
No known key found for this signature in database
GPG key ID: 22CBF5249D4B4D59
2 changed files with 39 additions and 0 deletions

View file

@ -0,0 +1,37 @@
{ stdenv, fetchurl, premake5, hostPlatform }:
stdenv.mkDerivation rec {
name = "otfcc-${version}";
version = "0.8.6";
src = fetchurl {
url = "https://github.com/caryll/otfcc/archive/v${version}.tar.gz";
sha256 = "0kap52bzrn21fmph8j2pc71f80f38ak1p2fcczzmrh0hb1r9c8dd";
};
nativeBuildInputs = [ premake5 ];
configurePhase = ''
premake5 gmake
'';
preBuild = "cd build/gmake";
makeFlags = ''config=release_${if hostPlatform.isi686 then "x86" else "x64"}'';
postBuild = "cd ../..";
installPhase = ''
mkdir -p $out/bin
cp bin/release-x*/otfcc* $out/bin/
'';
meta = with stdenv.lib; {
description = "Optimized OpenType builder and inspector";
homepage = https://github.com/caryll/otfcc;
license = licenses.asl20;
platforms = platforms.linux;
maintainers = with maintainers; [ jfrankenau ];
};
}

View file

@ -3774,6 +3774,8 @@ with pkgs;
ostree = callPackage ../tools/misc/ostree { };
otfcc = callPackage ../tools/misc/otfcc { };
otpw = callPackage ../os-specific/linux/otpw { };
owncloud = owncloud70;