mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-22 14:45:27 +00:00
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:
parent
c615793317
commit
b0294578eb
24
pkgs/applications/networking/p2p/opentracker/default.nix
Normal file
24
pkgs/applications/networking/p2p/opentracker/default.nix
Normal 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";
|
||||||
|
};
|
||||||
|
}
|
18
pkgs/development/libraries/libowfat/default.nix
Normal file
18
pkgs/development/libraries/libowfat/default.nix
Normal 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;
|
||||||
|
};
|
||||||
|
}
|
|
@ -1878,6 +1878,8 @@ let
|
||||||
|
|
||||||
spCompat = callPackage ../tools/text/sgml/opensp/compat.nix { };
|
spCompat = callPackage ../tools/text/sgml/opensp/compat.nix { };
|
||||||
|
|
||||||
|
opentracker = callPackage ../applications/networking/p2p/opentracker { };
|
||||||
|
|
||||||
openvpn = callPackage ../tools/networking/openvpn { };
|
openvpn = callPackage ../tools/networking/openvpn { };
|
||||||
|
|
||||||
openvpn_learnaddress = callPackage ../tools/networking/openvpn/openvpn_learnaddress.nix { };
|
openvpn_learnaddress = callPackage ../tools/networking/openvpn/openvpn_learnaddress.nix { };
|
||||||
|
@ -9578,6 +9580,8 @@ let
|
||||||
ldcpp = callPackage ../applications/networking/p2p/ldcpp {
|
ldcpp = callPackage ../applications/networking/p2p/ldcpp {
|
||||||
inherit (gnome) libglade;
|
inherit (gnome) libglade;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
libowfat = callPackage ../development/libraries/libowfat { };
|
||||||
|
|
||||||
librecad = callPackage ../applications/misc/librecad { };
|
librecad = callPackage ../applications/misc/librecad { };
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue