summaryrefslogtreecommitdiffstats
path: root/makefu
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2016-08-21 11:53:31 +0200
committermakefu <github@syntax-fehler.de>2016-08-21 11:53:31 +0200
commita20c72f58842eebc6f6823397b90a60ae64e44b7 (patch)
tree90747f3162932b1ec312b119cd2dd0b08d6f5341 /makefu
parent75ff0e4937db594865379aa64f856fa7813d5cd5 (diff)
m 5 udpt: init
Diffstat (limited to 'makefu')
-rw-r--r--makefu/5pkgs/default.nix1
-rw-r--r--makefu/5pkgs/udpt/default.nix29
2 files changed, 30 insertions, 0 deletions
diff --git a/makefu/5pkgs/default.nix b/makefu/5pkgs/default.nix
index 6598f5d3f..51987c35b 100644
--- a/makefu/5pkgs/default.nix
+++ b/makefu/5pkgs/default.nix
@@ -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 {};
};
}
diff --git a/makefu/5pkgs/udpt/default.nix b/makefu/5pkgs/udpt/default.nix
new file mode 100644
index 000000000..99bcac18b
--- /dev/null
+++ b/makefu/5pkgs/udpt/default.nix
@@ -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 ];
+ };
+}