1bf5ded193
In all of these files, there is no meta.platforms but only meta.hydraPlatforms, which doesn't seem to have any purpose except being inconsistent.
23 lines
615 B
Nix
23 lines
615 B
Nix
{ stdenv, fetchurl, pkgconfig, freetype, cmake }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "1.3.6";
|
|
name = "graphite2-${version}";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/silnrsi/graphite/releases/download/"
|
|
+ "${version}/graphite-${version}.tgz";
|
|
sha256 = "0xdg6bc02bl8yz39l5i2skczfg17q4lif0qqan0dhvk0mibpcpj7";
|
|
};
|
|
|
|
buildInputs = [ pkgconfig freetype cmake ];
|
|
|
|
patches = stdenv.lib.optionals stdenv.isDarwin [ ./macosx.patch ];
|
|
|
|
meta = {
|
|
description = "An advanced font engine";
|
|
maintainers = [ stdenv.lib.maintainers.raskin ];
|
|
platforms = stdenv.lib.platforms.unix;
|
|
};
|
|
}
|