libschrift: init at 0.9.1
Building a shared object file is probably not necessary since libschrift has no dependencies and is pretty small.
This commit is contained in:
parent
f9a60fc471
commit
792dacacd5
28
pkgs/development/libraries/libschrift/default.nix
Normal file
28
pkgs/development/libraries/libschrift/default.nix
Normal file
@ -0,0 +1,28 @@
|
||||
{ stdenv, fetchFromGitHub }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libschrift";
|
||||
version = "0.9.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "tomolt";
|
||||
repo = pname;
|
||||
rev = "c6d20460d6e602e8829d3a227fd7be4c4c3cda86";
|
||||
hash = "sha256-BuTmWaWFZ0DXujlbhbmK3Woit8fR9F4DWmKszHX6gOI=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace config.mk \
|
||||
--replace "PREFIX = /usr/local" "PREFIX = $out"
|
||||
'';
|
||||
|
||||
makeFlags = [ "libschrift.a" ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "https://github.com/tomolt/libschrift";
|
||||
description = "A lightweight TrueType font rendering library";
|
||||
license = licenses.isc;
|
||||
platforms = platforms.all;
|
||||
maintainers = [ maintainers.sternenseemann ];
|
||||
};
|
||||
}
|
@ -14608,6 +14608,8 @@ in
|
||||
|
||||
libs3 = callPackage ../development/libraries/libs3 { };
|
||||
|
||||
libschrift = callPackage ../development/libraries/libschrift { };
|
||||
|
||||
libsearpc = callPackage ../development/libraries/libsearpc { };
|
||||
|
||||
libsigcxx = callPackage ../development/libraries/libsigcxx { };
|
||||
|
Loading…
Reference in New Issue
Block a user