opentracker: 2014-08-03 -> 2016-10-02

* change git url to new official repo
* add sample configuration to package
* use licenses.beerware
* add maintainer
This commit is contained in:
makefu 2016-10-03 19:45:19 +02:00 committed by Jörg Thalheim
parent 46370ee178
commit 004a5a2047
No known key found for this signature in database
GPG key ID: CA4106B8D7CC79FA

View file

@ -1,24 +1,28 @@
{ stdenv, fetchgit, libowfat, zlib }:
stdenv.mkDerivation {
name = "opentracker-2014-08-03";
name = "opentracker-2016-10-02";
src = fetchgit {
url = "https://github.com/masroore/opentracker.git";
rev = "9a26b3d203755577879315ecc2b515d0e22793cb";
sha256 = "1ayj3j9jv6h26jfhw93wcw7lvhwyfnc20kkicvskalwzw51mpsz8";
url = "git://erdgeist.org/opentracker";
rev = "0ebc0ed6a3e3b7acc9f9e338cc23cea5f4f22f61";
sha256 = "0qi0a8fygjwgs3yacramfn53jdabfgrlzid7q597x9lr94anfpyl";
};
buildInputs = [ libowfat zlib ];
installPhase = ''
mkdir -p $out/bin
mkdir -p $out/bin $out/share/doc
cp opentracker $out/bin
cp opentracker.conf.sample $out/share/doc
runHook postInstall
'';
meta = with stdenv.lib; {
homepage = https://github.com/masroore/opentracker;
license = "beer-ware";
homepage = https://erdgeist.org/arts/software/opentracker/;
license = licenses.beerware;
platforms = platforms.linux;
description = "Bittorrent tracker project aiminf for minimal resource usage and is intended to run at your wlan router";
description = "Bittorrent tracker project which aims for minimal resource usage and is intended to run at your wlan router.";
maintainers = with maintainers; [ makefu ];
};
}