@@ -1,19 +1,16 @@
1−{ stdenv, fetchFromGitHub,
2− SDL2, freeimage
1+{ stdenv, fetchgit, SDL2, SDL2_ttf, freeimage }:
5stdenv.mkDerivation rec {
3stdenv.mkDerivation rec {
6 name = "imv-${version}";
4 name = "imv-${version}";
7− version = "1.1.0";
5+ version = "2.0.0";
9− src = fetchFromGitHub {
7+ src = fetchgit {
10− owner = "eXeC64";
8+ url = "https://github.com/eXeC64/imv.git";
11− repo = "imv";
9+ rev = "bc90a0adcc5b22d2bf0158333eb6dfb34c402d48";
12− rev = "4d1a6d581b70b25d9533c5c788aab6900ebf82bb";
10+ sha256 = "1bzx57d9mcxw9s72pdbdbwq9pns946jl6p2g881z43w68gimlpw7";
13− sha256 = "1c5r4pqqypir8ymicxyn2k7mhq8nl88b3x6giaafd77ssjn0vz9r";
16− buildInputs = [ SDL2 freeimage ];
13+ buildInputs = [ SDL2 SDL2_ttf freeimage ];
18 configurePhase = "substituteInPlace Makefile --replace /usr $out";
15 configurePhase = "substituteInPlace Makefile --replace /usr $out";