This repository has been archived on 2024-07-03. You can view files and clone it, but cannot push or open issues or pull requests.
home-manager/programs/lua/luarocks/scilua.nix
Evie Litherland-Smith 872c0b099c Split prog into python and lua
Make python/default.nix and lua/default.nix to replace
prog/default.nix for each respective language's packages

Move dev tools from prog into emacs/default.nix since that's what
they're relevant for.

Add some extra useful python packages (numpy, scipy, xarray,
matplotlib)

Add yamllint for YAML, associated flymake-yamllint for Emacs, remove
flymake-eslint since I'm not using it

Add lua-language-server and bash-language-server
2024-05-13 11:58:11 +01:00

34 lines
861 B
Nix

{
buildLuarocksPackage,
fetchurl,
lua,
luaAtLeast,
luaOlder,
luaPackages,
}: let
xsys = luaPackages.callPackage ./xsys.nix {};
in
buildLuarocksPackage {
pname = "sci";
version = "1.0.0.beta12-1";
knownRockspec =
(fetchurl {
url = "mirror://luarocks/sci-1.0.0.beta12-1.rockspec";
sha256 = "0lprn9x4zw767hdz8lyxmwrrfyn5xj3x50pm9b4qiwy8992mg00r";
})
.outPath;
src = fetchurl {
url = "https://github.com/stepelu/lua-sci/archive/v1.0.0-beta12.tar.gz";
sha256 = "0a45r7n13gfqckpdp1bmizqvjadn8nc5d6ff9gjw860g3i75sy2h";
};
disabled = (luaOlder "5.1") || (luaAtLeast "5.4");
propagatedBuildInputs = [lua xsys];
meta = {
homepage = "https://github.com/stepelu/lua-sci";
description = "Scientific Computing with LuaJIT";
license.fullName = "MIT";
};
}