1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 14:11:36 +00:00
nixpkgs/pkgs/applications/networking/p2p/opentracker/default.nix

24 lines
696 B
Nix
Raw Normal View History

{ 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";
};
}