ultrastardx: 2017.8.0 -> 2019-01-07

follow up of the fix provided in https://github.com/UltraStar-Deluxe/USDX/issues/462
to use pkg-config to find lua.
This commit is contained in:
Matthieu Coudron 2020-01-09 14:09:12 +01:00
parent a9d3d63eaa
commit 502c16e591

View file

@ -12,21 +12,19 @@ let
in stdenv.mkDerivation rec {
pname = "ultrastardx";
version = "2017.8.0";
version = "unstable-2019-01-07";
src = fetchFromGitHub {
owner = "UltraStar-Deluxe";
repo = "USDX";
rev = "v${version}";
sha256 = "1zp0xfwzci3cjmwx3cprcxvm60cik5cvhvrz9n4d6yb8dv38nqzm";
rev = "3df142590f29db1505cc58746af9f8cf7cb4a6a5";
sha256 = "EpwGKK9B8seF7gRwo3kCeSzFQQW1p8rP4HXeu8/LoyA=";
};
nativeBuildInputs = [ pkgconfig autoreconfHook ];
buildInputs = [ fpc libpng ] ++ sharedLibs;
# https://github.com/UltraStar-Deluxe/USDX/issues/462
postPatch = ''
substituteInPlace src/config.inc.in \
--subst-var-by lua_LIB_NAME liblua.so \
--subst-var-by libpcre_LIBNAME libpcre.so.1
'';