diff options
author | Domen Kožar <domen@dev.si> | 2014-10-07 17:06:32 +0200 |
---|---|---|
committer | Domen Kožar <domen@dev.si> | 2014-10-07 17:06:46 +0200 |
commit | b0294578eb20f90c601382acdc0f6be313eb4bfd (patch) | |
tree | 9e4faa20ad23e73832fa893e325c67f3035957a9 /pkgs/applications/networking/p2p | |
parent | c6157933171765070bc7c131b29ee465f806b007 (diff) |
add opentracker: free bittorrent tracker project. It aims for minimal resource usage and is intended to run at your wlan router
Diffstat (limited to 'pkgs/applications/networking/p2p')
-rw-r--r-- | pkgs/applications/networking/p2p/opentracker/default.nix | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/applications/networking/p2p/opentracker/default.nix b/pkgs/applications/networking/p2p/opentracker/default.nix new file mode 100644 index 0000000000000..32ceeb6fc8d5f --- /dev/null +++ b/pkgs/applications/networking/p2p/opentracker/default.nix @@ -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"; + }; +} \ No newline at end of file |