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

authored by Petingoso and committed by Matthieu Coudron e5457f65 c4bd61ba

+9 -3
+9 -3
pkgs/development/lua-modules/nfd/default.nix
··· 1 - { stdenv, fetchFromGitHub, buildLuarocksPackage, lua, pkg-config, lib 2 - , substituteAll, zenity, AppKit }: 1 + { stdenv, fetchFromGitHub, buildLuarocksPackage, lua51Packages, lua, pkg-config, lib, substituteAll, zenity, AppKit}: 3 2 4 3 buildLuarocksPackage { 5 4 pname = "nfd"; ··· 27 26 28 27 buildInputs = lib.optionals stdenv.isDarwin [ AppKit ]; 29 28 30 - fixupPhase = '' 29 + postInstall = '' 31 30 find $out -name nfd_zenity.so -execdir mv {} nfd.so \; 32 31 ''; 32 + 33 + doInstallCheck = true; 34 + installCheckInputs = [ lua.pkgs.busted ]; 35 + installCheckPhase= '' 36 + busted lua/spec/ 37 + ''; 38 + 33 39 34 40 meta = { 35 41 description =