lua-ln/default.nix

24 lines
526 B
Nix

{ pkgs ? import <nixpkgs> { }, lua ? pkgs.lua5_3
, luaPackages ? pkgs.lua53Packages }:
with pkgs;
with luaPackages;
buildLuarocksPackage {
pname = "ln";
version = "0.2.0-1";
src = fetchurl {
url = "https://luarocks.org/ln-0.2.0-1.src.rock";
sha256 = "0ff0139d8fkyp35csfs75b1jn9q37v5y35wzml82ff35k0sgwkam";
};
propagatedBuildInputs = [ lua dkjson ];
meta = with lib; {
homepage = "https://tulpa.dev/cadey/lua-ln";
description = "The natural log function";
license.fullName = "0bsd";
};
}