qtspim: 9.1.22 -> 9.1.23
This commit is contained in:
parent
e70ac149d1
commit
5a85302190
1 changed files with 3 additions and 9 deletions
|
@ -1,23 +1,17 @@
|
|||
{ lib, stdenv, fetchsvn, wrapQtAppsHook, qtbase, qttools, qmake, bison, flex, ... }:
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "qtspim";
|
||||
version = "9.1.22";
|
||||
version = "9.1.23";
|
||||
|
||||
src = fetchsvn {
|
||||
url = "https://svn.code.sf.net/p/spimsimulator/code/";
|
||||
rev = "r739";
|
||||
sha256 = "1kazfgrbmi4xq7nrkmnqw1280rhdyc1hmr82flrsa3g1b1rlmj1s";
|
||||
rev = "r749";
|
||||
sha256 = "0iazl7mlcilrdbw8gb98v868a8ldw2lmkn1xs8hnfvr93l6aj0rp";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
cd QtSpim
|
||||
|
||||
# Patches from https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=qtspim
|
||||
sed -i 's/zero_imm/is_zero_imm/g' parser_yacc.cpp
|
||||
sed -i 's/^int data_dir/bool data_dir/g' parser_yacc.cpp
|
||||
sed -i 's/^int text_dir/bool text_dir/g' parser_yacc.cpp
|
||||
sed -i 's/^int parse_error_occurred/bool parse_error_occurred/g' parser_yacc.cpp
|
||||
|
||||
substituteInPlace QtSpim.pro --replace /usr/lib/qtspim/lib $out/lib
|
||||
substituteInPlace menu.cpp \
|
||||
--replace /usr/lib/qtspim/bin/assistant ${qttools.dev}/bin/assistant \
|
||||
|
|
Loading…
Reference in a new issue