lua51Packages.nfd: feat added postInstallCheck for test
lua51Packages.nfd: cleanup duplicate line lua51Packages.nfd: cleanup useless undefined hooks lua51Packages.nfd: squashed commits lua51Packages.nfd: change to generic buster
This commit is contained in:
parent
c4bd61ba34
commit
e5457f657b
1 changed files with 9 additions and 3 deletions
|
@ -1,5 +1,4 @@
|
||||||
{ stdenv, fetchFromGitHub, buildLuarocksPackage, lua, pkg-config, lib
|
{ stdenv, fetchFromGitHub, buildLuarocksPackage, lua51Packages, lua, pkg-config, lib, substituteAll, zenity, AppKit}:
|
||||||
, substituteAll, zenity, AppKit }:
|
|
||||||
|
|
||||||
buildLuarocksPackage {
|
buildLuarocksPackage {
|
||||||
pname = "nfd";
|
pname = "nfd";
|
||||||
|
@ -27,10 +26,17 @@ buildLuarocksPackage {
|
||||||
|
|
||||||
buildInputs = lib.optionals stdenv.isDarwin [ AppKit ];
|
buildInputs = lib.optionals stdenv.isDarwin [ AppKit ];
|
||||||
|
|
||||||
fixupPhase = ''
|
postInstall = ''
|
||||||
find $out -name nfd_zenity.so -execdir mv {} nfd.so \;
|
find $out -name nfd_zenity.so -execdir mv {} nfd.so \;
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
doInstallCheck = true;
|
||||||
|
installCheckInputs = [ lua.pkgs.busted ];
|
||||||
|
installCheckPhase= ''
|
||||||
|
busted lua/spec/
|
||||||
|
'';
|
||||||
|
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description =
|
description =
|
||||||
"A tiny, neat lua library that portably invokes native file open and save dialogs.";
|
"A tiny, neat lua library that portably invokes native file open and save dialogs.";
|
||||||
|
|
Loading…
Reference in a new issue