@@ -1,24 +1,28 @@
11{ stdenv, fetchgit, libowfat, zlib }:
22
33stdenv.mkDerivation {
4− name = "opentracker-2014-08-03";
4+ name = "opentracker-2016-10-02";
5+
56 src = fetchgit {
6− url = "https://github.com/masroore/opentracker.git";
7− rev = "9a26b3d203755577879315ecc2b515d0e22793cb";
8− sha256 = "1ayj3j9jv6h26jfhw93wcw7lvhwyfnc20kkicvskalwzw51mpsz8";
7+ url = "git://erdgeist.org/opentracker";
8+ rev = "0ebc0ed6a3e3b7acc9f9e338cc23cea5f4f22f61";
9+ sha256 = "0qi0a8fygjwgs3yacramfn53jdabfgrlzid7q597x9lr94anfpyl";
910 };
10−
11+
1112 buildInputs = [ libowfat zlib ];
12−
13+
1314 installPhase = ''
14− mkdir -p $out/bin
15+ mkdir -p $out/bin $out/share/doc
1516 cp opentracker $out/bin
17+ cp opentracker.conf.sample $out/share/doc
18+ runHook postInstall
1619 '';
17−
20+
1821 meta = with stdenv.lib; {
19− homepage = https://github.com/masroore/opentracker;
20− license = "beer-ware";
22+ homepage = https://erdgeist.org/arts/software/opentracker/;
23+ license = licenses.beerware;
2124 platforms = platforms.linux;
22− description = "Bittorrent tracker project aiminf for minimal resource usage and is intended to run at your wlan router";
25+ description = "Bittorrent tracker project which aims for minimal resource usage and is intended to run at your wlan router.";
26+ maintainers = with maintainers; [ makefu ];
2327 };
2428}