nixpkgs/pkgs/applications/networking/p2p/opentracker/default.nix

29 lines
878 B
Nix
Raw Normal View History

{ stdenv, fetchgit, libowfat, zlib }:
stdenv.mkDerivation {
2018-09-09 19:39:17 +01:00
name = "opentracker-2018-05-26";
src = fetchgit {
2018-09-10 22:41:23 +01:00
url = "https://erdgeist.org/gitweb/opentracker";
2018-09-09 19:39:17 +01:00
rev = "6411f1567f64248b0d145493c2e61004d2822623";
sha256 = "110nfb6n4clykwdzpk54iccsfjawq0krjfqhg114i1z0ri5dyl8j";
};
buildInputs = [ libowfat zlib ];
installPhase = ''
2018-09-10 22:41:23 +01:00
runHook preInstall
install -D opentracker $out/bin/opentracker
install -D opentracker.conf.sample $out/share/doc/opentracker.conf.sample
runHook postInstall
'';
meta = with stdenv.lib; {
homepage = "https://erdgeist.org/arts/software/opentracker/";
license = licenses.beerware;
platforms = platforms.linux;
description = "Bittorrent tracker project which aims for minimal resource usage and is intended to run at your wlan router";
maintainers = with maintainers; [ makefu ];
};
2015-06-04 18:22:36 +01:00
}