add opentracker: free bittorrent tracker project. It aims for minimal resource usage and is intended to run at your wlan router

This commit is contained in:
Domen Kožar 2014-10-07 17:06:32 +02:00
parent c615793317
commit b0294578eb
3 changed files with 46 additions and 0 deletions

View File

@ -0,0 +1,24 @@
{ stdenv, fetchgit, libowfat, zlib }:
stdenv.mkDerivation {
name = "opentracker";
src = fetchgit {
url = "https://github.com/masroore/opentracker.git";
rev = "9a26b3d203755577879315ecc2b515d0e22793cb";
sha256 = "74a7a6cbe80932fefb1698524809ce89be696f0fe3afd38fcb2b99fa59c9c891";
};
buildInputs = [ libowfat zlib ];
installPhase = ''
mkdir -p $out/bin
cp opentracker $out/bin
'';
meta = with stdenv.lib; {
homepage = https://github.com/masroore/opentracker;
license = "beer-ware";
platforms = platforms.linux;
description = "Bittorrent tracker project aiminf for minimal resource usage and is intended to run at your wlan router";
};
}

View File

@ -0,0 +1,18 @@
{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
name = "libowfat-0.29";
src = fetchurl {
url = "http://dl.fefe.de/${name}.tar.bz2";
sha256 = "09v4phf1d4y617fdqwn214jmkialf7xqcsyx3rzk7x5ysvpbvbab";
};
makeFlags = "prefix=$(out)";
meta = with stdenv.lib; {
homepage = http://www.fefe.de/libowfat/;
license = licenses.gpl2;
platforms = platforms.linux;
};
}

View File

@ -1878,6 +1878,8 @@ let
spCompat = callPackage ../tools/text/sgml/opensp/compat.nix { };
opentracker = callPackage ../applications/networking/p2p/opentracker { };
openvpn = callPackage ../tools/networking/openvpn { };
openvpn_learnaddress = callPackage ../tools/networking/openvpn/openvpn_learnaddress.nix { };
@ -9578,6 +9580,8 @@ let
ldcpp = callPackage ../applications/networking/p2p/ldcpp {
inherit (gnome) libglade;
};
libowfat = callPackage ../development/libraries/libowfat { };
librecad = callPackage ../applications/misc/librecad { };