2014-10-07 17:06:32 +02:00
|
|
|
{ stdenv, fetchgit, libowfat, zlib }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2016-10-03 19:45:19 +02:00
|
|
|
name = "opentracker-2016-10-02";
|
|
|
|
|
2014-10-07 17:06:32 +02:00
|
|
|
src = fetchgit {
|
2016-10-03 19:45:19 +02:00
|
|
|
url = "git://erdgeist.org/opentracker";
|
|
|
|
rev = "0ebc0ed6a3e3b7acc9f9e338cc23cea5f4f22f61";
|
|
|
|
sha256 = "0qi0a8fygjwgs3yacramfn53jdabfgrlzid7q597x9lr94anfpyl";
|
2014-10-07 17:06:32 +02:00
|
|
|
};
|
2016-10-03 19:45:19 +02:00
|
|
|
|
2014-10-07 17:06:32 +02:00
|
|
|
buildInputs = [ libowfat zlib ];
|
2016-10-03 19:45:19 +02:00
|
|
|
|
2014-10-07 17:06:32 +02:00
|
|
|
installPhase = ''
|
2016-10-03 19:45:19 +02:00
|
|
|
mkdir -p $out/bin $out/share/doc
|
2014-10-07 17:06:32 +02:00
|
|
|
cp opentracker $out/bin
|
2016-10-03 19:45:19 +02:00
|
|
|
cp opentracker.conf.sample $out/share/doc
|
|
|
|
runHook postInstall
|
2014-10-07 17:06:32 +02:00
|
|
|
'';
|
2016-10-03 19:45:19 +02:00
|
|
|
|
2014-10-07 17:06:32 +02:00
|
|
|
meta = with stdenv.lib; {
|
2016-10-03 19:45:19 +02:00
|
|
|
homepage = https://erdgeist.org/arts/software/opentracker/;
|
|
|
|
license = licenses.beerware;
|
2014-10-07 17:06:32 +02:00
|
|
|
platforms = platforms.linux;
|
2016-10-03 19:45:19 +02:00
|
|
|
description = "Bittorrent tracker project which aims for minimal resource usage and is intended to run at your wlan router.";
|
|
|
|
maintainers = with maintainers; [ makefu ];
|
2014-10-07 17:06:32 +02:00
|
|
|
};
|
2015-06-04 19:22:36 +02:00
|
|
|
}
|