1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 13:10:33 +00:00

mudlet: 4.0.3 -> 4.1.2

This commit is contained in:
Philipp 2019-09-12 16:43:09 +02:00 committed by Nikolay Amiantov
parent d6e8a36510
commit a26445a2dd

View file

@ -6,24 +6,16 @@ let
in
stdenv.mkDerivation rec {
pname = "mudlet";
version = "4.0.3";
version = "4.1.2";
src = fetchFromGitHub {
owner = "Mudlet";
repo = "Mudlet";
rev = "Mudlet-${version}";
fetchSubmodules = true;
sha256 = "18bl4k0qgh47d9k5ipfvypfj1il678c0ws64a8adn8k21jajzkik";
sha256 = "1d6r51cj8a71hmhzsayd2far4hliwz5pnrsaj3dn39m7c0iikgdn";
};
patches = [
( fetchpatch {
url = "https://github.com/Mudlet/Mudlet/commit/3c8f12b6d757894d92ec2e2c9b12b91f69e8a3b6.patch";
name = "hunspell-1.7";
sha256 = "09qggls4pzpd8h9h10fbpfd7x3kr7fjp9axdwz98igpwy714n98j";
})
];
nativeBuildInputs = [ cmake wrapQtAppsHook qttools which ];
buildInputs = [
pcre pugixml qtbase qtmultimedia luaEnv libzip libGLU yajl boost hunspell
@ -35,6 +27,8 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
installPhase = ''
mkdir -pv $out/lib
cp 3rdparty/edbee-lib/edbee-lib/qslog/lib/libQsLog.so $out/lib
mkdir -pv $out/bin
cp src/mudlet $out
mkdir -pv $out/share/mudlet