Add some lisp packages, including clx-truetype

This commit is contained in:
Michael Raskin 2014-11-12 16:58:14 +03:00
parent 084426a8ed
commit a54e032b2c

View File

@ -66,8 +66,6 @@ let lispPackages = rec {
url = "https://github.com/fb08af68/esrap-peg.git";
sha256 = "48e616a697aca95e90e55052fdc9a7f96bf29b3208b1b4012fcd3189c2eceeb1";
rev = ''1f2f21e32e618f71ed664cdc5e7005f8b6b0f7c8'';
};
};
@ -78,7 +76,6 @@ let lispPackages = rec {
deps = [];
src = pkgs.fetchcvs {
sha256 = "a574b7f9615232366e3e5e7ee400d60dbff23f6d0e1def5a3c77aafdfd786e6a";
date = ''2013-10-28'';
module = ''cl-unification'';
cvsRoot = '':pserver:anonymous:anonymous@common-lisp.net:/project/cl-unification/cvsroot'';
@ -94,8 +91,132 @@ let lispPackages = rec {
url = "https://github.com/scymtym/esrap.git";
sha256 = "c56616ac01be0f69e72902f9fd830a8af2c2fa9018b66747a5da3988ae38817f";
rev = ''c71933b84e220f21e8a509ec26afe3e3871e2e26'';
};
};
clx-truetype = buildLispPackage rec {
baseName = "clx-truetype";
version = "git-20141112";
description = "clx-truetype is pure common lisp solution for antialiased TrueType font rendering using CLX and XRender extension.";
deps = [cl-fad cl-store cl-vectors clx trivial-features zpb-ttf];
# Source type: git
src = pkgs.fetchgit {
url = ''https://github.com/filonenko-mikhail/clx-truetype'';
sha256 = "fe3d3923909a8f0a19298bfa366bb265c5155eed43d4dd315920535d15424d65";
rev = ''6f72905c6886a656e5a1c8167097f12375c6da7d'';
};
overrides = x:{
configurePhase = "rm Makefile";
};
};
cl-fad = buildLispPackage rec {
baseName = "cl-fad";
version = "v0.7.2";
description = "Portable pathname library";
deps = [alexandria bordeaux-threads];
# Source type: git
src = pkgs.fetchgit {
url = ''https://github.com/edicl/cl-fad'';
sha256 = "87917ab4af4f713ad41faa72c7eaed2872f8dac47f49c0668ba8782590fdbca4";
rev = ''refs/tags/v0.7.2'';
};
};
bordeaux-threads = buildLispPackage rec {
baseName = "bordeaux-threads";
version = "0.8.3";
description = "Bordeaux Threads makes writing portable multi-threaded apps simple";
deps = [alexandria];
# Source type: http
src = pkgs.fetchurl {
url = ''http://common-lisp.net/project/bordeaux-threads/releases/bordeaux-threads-0.8.3.tar.gz'';
sha256 = "0c3n7qsx4jc3lg8s0n9kxfvhhyl0s7123f3038nsb96rf0bvb5hy";
};
};
zpb-ttf = buildLispPackage rec {
baseName = "zpb-ttf";
version = "release-1.0.3";
description = "Access TrueType font metrics and outlines from Common Lisp";
deps = [];
# Source type: git
src = pkgs.fetchgit {
url = ''https://github.com/xach/zpb-ttf'';
sha256 = "3092a3ba9f27b091224d11c0ccfb09c9a4632ebfd6c3986df3147f19e53606f2";
rev = ''refs/tags/release-1.0.3'';
};
};
cl-store = buildLispPackage rec {
baseName = "cl-store";
version = "git-20141112";
description = "Serialization package";
deps = [];
# Source type: git
src = pkgs.fetchgit {
url = ''https://github.com/skypher/cl-store'';
sha256 = "7096ad38d5c77d58f7aa0ef8df1884411173c140408cb7967922b315ab505472";
rev = ''2d2455c024fe64ee24cbf914c82254fa5bd09cab'';
};
};
cl-vectors = buildLispPackage rec {
baseName = "cl-vectors";
version = "git-20141112";
description = "cl-paths: vectorial paths manipulation";
deps = [];
# Source type: git
src = pkgs.fetchgit {
url = ''https://github.com/fjolliton/cl-vectors'';
sha256 = "2d1428911cd2699513a0b886661e9b54d1edf78558277ac83723a22c7fc9dea7";
rev = ''7b3e5d6a8abe3de307c1dc0c4347f4efa4f25f29'';
};
};
trivial-features = buildLispPackage rec {
baseName = "trivial-features";
version = "git-20141112";
description = "Ensures consistent *FEATURES* across multiple CLs.";
deps = [];
# Source type: git
src = pkgs.fetchgit {
url = ''https://github.com/trivial-features/trivial-features'';
sha256 = "2006aebe0c2bfed1c39a2195639e221fdc52a443b6c8522e535cbef2370a07fc";
rev = ''2b7cdc3b8073eb33655850b51223770b535da6d9'';
};
};
clsql = buildLispPackage rec {
baseName = "clsql";
version = "git-20141112";
description = "Common Lisp SQL Interface library";
deps = [uffi];
buildInputs = [pkgs.mysql pkgs.zlib];
# Source type: git
src = pkgs.fetchgit {
url = ''http://git.b9.com/clsql.git'';
sha256 = "dacd56bc9a0348e8101184bf154b971407a98f3a753d7cce34c7a44b4b19f8fd";
rev = ''180b52cb686a87487e12e87b13bafe131e6c3bef'';
};
overrides = x:{
preConfigure = ''
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I${pkgs.mysql}/include/mysql"
export NIX_LDFLAGS="$NIX_LDFLAGS -L${pkgs.mysql}/lib/mysql"
'';
};
};
uffi = buildLispPackage rec {
baseName = "uffi";
version = "git-20141112";
description = "Universal Foreign Function Library for Common Lisp";
deps = [];
# Source type: git
src = pkgs.fetchgit {
url = ''http://git.b9.com/uffi.git'';
sha256 = "219e4cfebfac251c922bcb9d517980b0988d765bd18b7f5cc765a43913aaacc6";
rev = ''a63da5b764b6fa30e32fcda4ddac88de385c9d5b'';
};
};
};