Evie Litherland-Smith
d76e84a071
Not currently being used but want to keep them around for the future
54 lines
1.2 KiB
Nix
54 lines
1.2 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";
|
|
};
|
|
}
|