m 5 udpt: init
This commit is contained in:
parent
20fb39f9ef
commit
90d9f85aac
|
@ -21,6 +21,7 @@ in
|
|||
tw-upload-plugin = callPackage ./tw-upload-plugin {};
|
||||
skytraq-logger = callPackage ./skytraq-logger {};
|
||||
taskserver = callPackage ./taskserver {};
|
||||
udpt = callPackage ./udpt {};
|
||||
wol = callPackage ./wol {};
|
||||
};
|
||||
}
|
||||
|
|
29
5pkgs/udpt/default.nix
Normal file
29
5pkgs/udpt/default.nix
Normal file
|
@ -0,0 +1,29 @@
|
|||
{ stdenv, boost, sqlite, fetchFromGitHub }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
proj = "udpt";
|
||||
name = "udpt-${rev}";
|
||||
rev = "0790558";
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "naim94a";
|
||||
repo = "udpt";
|
||||
inherit rev;
|
||||
sha256 = "0rgkjwvnqwbnqy7pm3dk176d3plb5lypaf12533yr0yfzcp6gnzk";
|
||||
};
|
||||
buildInputs = [ boost sqlite ];
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin $out/etc/
|
||||
cp udpt $out/bin
|
||||
cp udpt.conf $out/etc/
|
||||
'';
|
||||
meta = {
|
||||
description = "udp tracker";
|
||||
homepage = https://github.com/naim94a/udpt;
|
||||
license = stdenv.lib.licenses.gpl3;
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
maintainers = with stdenv.lib.maintainers; [ makefu ];
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue