Evie Litherland-Smith
872c0b099c
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
31 lines
718 B
Nix
31 lines
718 B
Nix
{
|
|
buildLuarocksPackage,
|
|
fetchurl,
|
|
lua,
|
|
luaAtLeast,
|
|
luaOlder,
|
|
}:
|
|
buildLuarocksPackage {
|
|
pname = "xsys";
|
|
version = "1.0.2-1";
|
|
knownRockspec =
|
|
(fetchurl {
|
|
url = "mirror://luarocks/xsys-1.0.2-1.rockspec";
|
|
sha256 = "0jlyrwbzh6fi68msdynp4bbihyww4i3yk0qh859xlwqhfy5cza7p";
|
|
})
|
|
.outPath;
|
|
src = fetchurl {
|
|
url = "https://github.com/stepelu/lua-xsys/archive/v1.0.2.tar.gz";
|
|
sha256 = "1zwrlp6bghq8c12kyqc1ic7mrn8lf3d42755h8q2wxwhy1i3xqyh";
|
|
};
|
|
|
|
disabled = (luaOlder "5.1") || (luaAtLeast "5.4");
|
|
propagatedBuildInputs = [lua];
|
|
|
|
meta = {
|
|
homepage = "http://scilua.org/xsys.html";
|
|
description = "LuaJIT General Purpose Routines";
|
|
license.fullName = "MIT";
|
|
};
|
|
}
|