diff --git a/pkgs/applications/networking/p2p/opentracker/default.nix b/pkgs/applications/networking/p2p/opentracker/default.nix index abddc22c285c..46c482818f8b 100644 --- a/pkgs/applications/networking/p2p/opentracker/default.nix +++ b/pkgs/applications/networking/p2p/opentracker/default.nix @@ -1,20 +1,20 @@ { stdenv, fetchgit, libowfat, zlib }: stdenv.mkDerivation { - name = "opentracker-2016-10-02"; + name = "opentracker-2018-05-26"; src = fetchgit { - url = "git://erdgeist.org/opentracker"; - rev = "0ebc0ed6a3e3b7acc9f9e338cc23cea5f4f22f61"; - sha256 = "0qi0a8fygjwgs3yacramfn53jdabfgrlzid7q597x9lr94anfpyl"; + url = "https://erdgeist.org/gitweb/opentracker"; + rev = "6411f1567f64248b0d145493c2e61004d2822623"; + sha256 = "110nfb6n4clykwdzpk54iccsfjawq0krjfqhg114i1z0ri5dyl8j"; }; buildInputs = [ libowfat zlib ]; installPhase = '' - mkdir -p $out/bin $out/share/doc - cp opentracker $out/bin - cp opentracker.conf.sample $out/share/doc + runHook preInstall + install -D opentracker $out/bin/opentracker + install -D opentracker.conf.sample $out/share/doc/opentracker.conf.sample runHook postInstall '';