remove unneeded stuff in derivation
This commit is contained in:
parent
498c7f8f61
commit
76b919baed
@ -7,7 +7,6 @@
|
|||||||
, lib
|
, lib
|
||||||
, librsvg
|
, librsvg
|
||||||
, lua53Packages
|
, lua53Packages
|
||||||
#, luaDbusProxy
|
|
||||||
, lua5_3
|
, lua5_3
|
||||||
, makeWrapper
|
, makeWrapper
|
||||||
, writeText
|
, writeText
|
||||||
@ -19,31 +18,11 @@ let
|
|||||||
url = "https://fennel-lang.org/downloads/fennel-1.0.0";
|
url = "https://fennel-lang.org/downloads/fennel-1.0.0";
|
||||||
hash = "sha256:1nha32yilzagfwrs44hc763jgwxd700kaik1is7x7lsjjvkgapw7";
|
hash = "sha256:1nha32yilzagfwrs44hc763jgwxd700kaik1is7x7lsjjvkgapw7";
|
||||||
};
|
};
|
||||||
inifile = let lua = lua5_3; in lua53Packages.buildLuaPackage rec {
|
|
||||||
pname = "inifile";
|
|
||||||
name = "${pname}-${version}";
|
|
||||||
version = "1.0.2";
|
|
||||||
src = fetchFromGitHub {
|
|
||||||
owner = "bartbes";
|
|
||||||
repo = "inifile";
|
|
||||||
rev = "f0b41a8a927f3413310510121c5767021957a4e0";
|
|
||||||
sha256 = "1ry0q238vbp8wxwy4qp1aychh687lvbckcf647pmc03rwkakxm4r";
|
|
||||||
};
|
|
||||||
buildPhase = ":";
|
|
||||||
installPhase = ''
|
|
||||||
mkdir -p "$out/share/lua/${lua.luaversion}"
|
|
||||||
cp inifile.lua "$out/share/lua/${lua.luaversion}/"
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
|
|
||||||
lua = lua5_3.withPackages (ps: with ps; [
|
lua = lua5_3.withPackages (ps: with ps; [
|
||||||
# luaDbusProxy
|
|
||||||
# inifile
|
|
||||||
# inspect
|
|
||||||
lgi
|
lgi
|
||||||
luafilesystem
|
luafilesystem
|
||||||
luaposix
|
luaposix
|
||||||
# penlight
|
|
||||||
readline
|
readline
|
||||||
]);
|
]);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user