2013-10-13 07:57:30 +01:00
|
|
|
{stdenv, clwrapper, pkgs}:
|
|
|
|
let lispPackages = rec {
|
|
|
|
inherit pkgs clwrapper stdenv;
|
|
|
|
nixLib = pkgs.lib;
|
|
|
|
callPackage = nixLib.callPackageWith lispPackages;
|
|
|
|
|
|
|
|
buildLispPackage = callPackage ./define-package.nix;
|
|
|
|
|
2013-10-29 06:56:33 +00:00
|
|
|
esrap-peg = buildLispPackage rec {
|
|
|
|
baseName = "esrap-peg";
|
2017-03-31 16:56:14 +01:00
|
|
|
version = "git-20170320";
|
2013-10-29 06:56:33 +00:00
|
|
|
description = "A wrapper around Esrap to allow generating Esrap grammars from PEG definitions";
|
2017-04-01 07:08:02 +01:00
|
|
|
deps = with (pkgs.quicklispPackagesFor clwrapper); [alexandria cl-ppcre-template cl-unification esrap iterate];
|
2013-10-29 06:56:33 +00:00
|
|
|
src = pkgs.fetchgit {
|
2013-12-12 13:11:24 +00:00
|
|
|
url = "https://github.com/fb08af68/esrap-peg.git";
|
2017-03-31 16:56:14 +01:00
|
|
|
sha256 = "15yiial7cy2nbgszqxd26qqcc6n3pw5qlrppzx0mfr3xbd9pvzby";
|
|
|
|
rev = ''5a559b0030ecbf5e14cb070b0dc240535faa3402'';
|
2013-10-29 06:56:33 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2015-05-31 16:56:50 +01:00
|
|
|
clx-xkeyboard = buildLispPackage rec {
|
|
|
|
baseName = "clx-xkeyboard";
|
2017-04-01 07:08:02 +01:00
|
|
|
testSystems = ["xkeyboard"];
|
2015-05-31 16:56:50 +01:00
|
|
|
version = "git-20150523";
|
|
|
|
description = "CLX support for X Keyboard extensions";
|
2017-03-31 21:46:32 +01:00
|
|
|
deps = with (pkgs.quicklispPackagesFor clwrapper); [clx];
|
2015-05-31 16:56:50 +01:00
|
|
|
# Source type: git
|
|
|
|
src = pkgs.fetchgit {
|
|
|
|
url = ''https://github.com/filonenko-mikhail/clx-xkeyboard'';
|
|
|
|
sha256 = "11b34da7d354a709a24774032e85a8947be023594f8a333eaff6d4aa79f2b3db";
|
|
|
|
rev = ''11455d36283ef31c498bd58ffebf48c0f6b86ea6'';
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2016-03-25 16:57:45 +00:00
|
|
|
quicklisp = buildLispPackage rec {
|
|
|
|
baseName = "quicklisp";
|
2017-08-01 03:33:21 +01:00
|
|
|
version = "2017-03-06";
|
2017-04-01 07:08:02 +01:00
|
|
|
|
|
|
|
testSystems = [];
|
|
|
|
|
2016-03-25 16:57:45 +00:00
|
|
|
description = "The Common Lisp package manager";
|
|
|
|
deps = [];
|
|
|
|
src = pkgs.fetchgit {
|
|
|
|
url = "https://github.com/quicklisp/quicklisp-client/";
|
|
|
|
rev = "refs/tags/version-${version}";
|
2017-08-01 03:33:21 +01:00
|
|
|
sha256 = "11ywk7ggc1axivpbqvrd7m1lxsj4yp38d1h9w1d8i9qnn7zjpqj4";
|
2016-03-25 16:57:45 +00:00
|
|
|
};
|
|
|
|
overrides = x: rec {
|
|
|
|
inherit clwrapper;
|
|
|
|
quicklispdist = pkgs.fetchurl {
|
|
|
|
# Will usually be replaced with a fresh version anyway, but needs to be
|
|
|
|
# a valid distinfo.txt
|
|
|
|
url = "http://beta.quicklisp.org/dist/quicklisp/2016-03-18/distinfo.txt";
|
|
|
|
sha256 = "13mvign4rsicfvg3vs3vj1qcjvj2m1aqhq93ck0sgizxfcj5167m";
|
|
|
|
};
|
|
|
|
buildPhase = '' true; '';
|
|
|
|
postInstall = ''
|
|
|
|
substituteAll ${./quicklisp.sh} "$out"/bin/quicklisp
|
|
|
|
chmod a+x "$out"/bin/quicklisp
|
|
|
|
cp "${quicklispdist}" "$out/lib/common-lisp/quicklisp/quicklisp-distinfo.txt"
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
};
|
2013-10-13 07:57:30 +01:00
|
|
|
};
|
|
|
|
in lispPackages
|