Dwarf Therapist: Update to git-prerelease.

Necessary to support Dwarf Fortress 0.40.24.

+7 -11
+7 -11
pkgs/games/dwarf-therapist/default.nix
··· 1 - { stdenv, coreutils, fetchurl, qt4, dwarf_fortress, bash, makeWrapper }: 1 + { stdenv, coreutils, fetchgit, qt4, dwarf_fortress, bash, makeWrapper }: 2 2 3 3 let 4 - version = "30.1.0"; 4 + version = "30.2.0pre"; 5 5 df = dwarf_fortress; 6 6 in 7 7 stdenv.mkDerivation rec { 8 8 name = "dwarf-therapist-${version}"; 9 9 10 - src = fetchurl { 11 - url = "https://github.com/splintermind/Dwarf-Therapist/archive/v${version}.tar.gz"; 12 - sha256 = "1x9dkis6b3f8iqcfrc2cj9mcgkwf0rzhxhq2lgy4xdr2n0yjkyv7"; 10 + src = fetchgit { 11 + url = "https://github.com/splintermind/Dwarf-Therapist.git"; 12 + rev = "65bb15a29d616d788c20a3344058b7277e4fadba"; 13 + sha256 = "1q1n9sm0lgmn52m4aigb22cdfbh2s569y1mn5cmimgj600i6c2f2"; 13 14 }; 14 15 15 16 # Needed for hashing ··· 19 20 enableParallelBuilding = false; 20 21 21 22 configurePhase = '' 22 - substituteInPlace dwarftherapist.pro \ 23 - --replace /usr/bin $out/bin \ 24 - --replace /usr/share $out/share \ 25 - --replace "INSTALLS += doc" "" 26 - 27 - qmake INSTALL_PREFIX=$out 23 + qmake PREFIX=$out 28 24 ''; 29 25 30 26 postInstall = ''