Evie Litherland-Smith
3342a6d943
Move Python and Lua interpreter config up into Emacs default.nix, move associated files (python external configs, scilua) up a level as well. Remove JavaScript default install. Add tkinter to default Python packages to fix plotting.
42 lines
1.1 KiB
Nix
42 lines
1.1 KiB
Nix
{
|
|
agg,
|
|
freetype,
|
|
buildLuarocksPackage,
|
|
fetchgit,
|
|
fetchurl,
|
|
lua,
|
|
luaOlder,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "graph-toolkit";
|
|
version = "scm-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/graph-toolkit-scm-1.rockspec";
|
|
sha256 = "0hsrf7k45w8ri18mdrx44mv1kr4zfr5mg76cxi8nnr30ssrblvgb";
|
|
})
|
|
.outPath;
|
|
src = fetchgit (removeAttrs (builtins.fromJSON '' {
|
|
"url": "https://github.com/franko/graph-toolkit",
|
|
"rev": "126a11bdbb98faf785c373516a288b7fa609f824",
|
|
"date": "2015-01-02T08:44:01-08:00",
|
|
"path": "/nix/store/gbwbjrl4j42kaqk3pjzvmckmr6dimkd0-graph-toolkit",
|
|
"sha256": "1pqjpqfandi7brk2213vlq891bl8drb0q32m5wmf0l21li0l4zrp",
|
|
"hash": "sha256-N39CQaRBUOAqL1UMDFZuiK6QEKZ7BCFmXic2qxy+Et8=",
|
|
"fetchLFS": false,
|
|
"fetchSubmodules": true,
|
|
"deepClone": false,
|
|
"leaveDotGit": false
|
|
}
|
|
'') ["date" "path" "sha256"]);
|
|
|
|
disabled = luaOlder "5.1";
|
|
propagatedBuildInputs = [lua agg freetype];
|
|
|
|
meta = {
|
|
homepage = "http://franko.github.io/graph-toolkit/";
|
|
description = "Lua Graphics Toolkit";
|
|
license.fullName = "GPL-3";
|
|
};
|
|
}
|