22 lines
459 B
Nix
22 lines
459 B
Nix
{
|
|
fetchurl
|
|
, lua
|
|
, lib
|
|
, sqlite
|
|
}:
|
|
let
|
|
in lua.pkgs.buildLuarocksPackage {
|
|
pname = "lsqlite3";
|
|
version = "0.9.5-1";
|
|
buildInputs = [ sqlite sqlite.dev ] ;
|
|
src = fetchurl {
|
|
url = "https://luarocks.org/manifests/dougcurrie/lsqlite3-0.9.5-1.src.rock";
|
|
sha256 = "sha256-/a48AzkKtOS32zoT0Jt5/+GTGHObdS0XkUrc2z0u+f8=";
|
|
};
|
|
disabled = (lua.pkgs.luaOlder "5.1");
|
|
propagatedBuildInputs = [ lua ];
|
|
preBuild = ''
|
|
cd lsqlite3_fsl09y
|
|
'';
|
|
}
|