mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-30 01:23:03 +00:00
29 lines
830 B
Nix
29 lines
830 B
Nix
{ stdenv, fetchgit, libowfat, zlib }:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "opentracker-2018-05-26";
|
|
|
|
src = fetchgit {
|
|
url = "git://erdgeist.org/opentracker";
|
|
rev = "6411f1567f64248b0d145493c2e61004d2822623";
|
|
sha256 = "110nfb6n4clykwdzpk54iccsfjawq0krjfqhg114i1z0ri5dyl8j";
|
|
};
|
|
|
|
buildInputs = [ libowfat zlib ];
|
|
|
|
installPhase = ''
|
|
mkdir -p $out/bin $out/share/doc
|
|
cp opentracker $out/bin
|
|
cp opentracker.conf.sample $out/share/doc
|
|
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 ];
|
|
};
|
|
}
|