Dwarf Therapist: Update to git-prerelease.

Necessary to support Dwarf Fortress 0.40.24.
This commit is contained in:
Moritz Ulrich 2015-01-26 00:00:57 +01:00
parent 171bb614f2
commit fc4d437fd1

View File

@ -1,15 +1,16 @@
{ stdenv, coreutils, fetchurl, qt4, dwarf_fortress, bash, makeWrapper }: { stdenv, coreutils, fetchgit, qt4, dwarf_fortress, bash, makeWrapper }:
let let
version = "30.1.0"; version = "30.2.0pre";
df = dwarf_fortress; df = dwarf_fortress;
in in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "dwarf-therapist-${version}"; name = "dwarf-therapist-${version}";
src = fetchurl { src = fetchgit {
url = "https://github.com/splintermind/Dwarf-Therapist/archive/v${version}.tar.gz"; url = "https://github.com/splintermind/Dwarf-Therapist.git";
sha256 = "1x9dkis6b3f8iqcfrc2cj9mcgkwf0rzhxhq2lgy4xdr2n0yjkyv7"; rev = "65bb15a29d616d788c20a3344058b7277e4fadba";
sha256 = "1q1n9sm0lgmn52m4aigb22cdfbh2s569y1mn5cmimgj600i6c2f2";
}; };
# Needed for hashing # Needed for hashing
@ -19,12 +20,7 @@ stdenv.mkDerivation rec {
enableParallelBuilding = false; enableParallelBuilding = false;
configurePhase = '' configurePhase = ''
substituteInPlace dwarftherapist.pro \ qmake PREFIX=$out
--replace /usr/bin $out/bin \
--replace /usr/share $out/share \
--replace "INSTALLS += doc" ""
qmake INSTALL_PREFIX=$out
''; '';
postInstall = '' postInstall = ''