summary refs log tree commit diff
path: root/pkgs/tools/misc/opentsdb
diff options
context:
space:
mode:
authorRickard Nilsson <rickynils@gmail.com>2017-01-20 09:52:30 +0100
committerRickard Nilsson <rickynils@gmail.com>2017-01-20 09:52:30 +0100
commit7f71dd0c495a8bee86944bdc9d7eb39bf43062ce (patch)
treebc02b7962173a6024c2b6b40969f75c65ee5e1a0 /pkgs/tools/misc/opentsdb
parent1948cdf3f457047d61240793b4bff23cda33a62e (diff)
downloadnixpkgs-7f71dd0c495a8bee86944bdc9d7eb39bf43062ce.tar
nixpkgs-7f71dd0c495a8bee86944bdc9d7eb39bf43062ce.tar.gz
nixpkgs-7f71dd0c495a8bee86944bdc9d7eb39bf43062ce.tar.bz2
nixpkgs-7f71dd0c495a8bee86944bdc9d7eb39bf43062ce.tar.lz
nixpkgs-7f71dd0c495a8bee86944bdc9d7eb39bf43062ce.tar.xz
nixpkgs-7f71dd0c495a8bee86944bdc9d7eb39bf43062ce.tar.zst
nixpkgs-7f71dd0c495a8bee86944bdc9d7eb39bf43062ce.zip
opentsdb: 2.2.0 -> 2.3.0
Diffstat (limited to 'pkgs/tools/misc/opentsdb')
-rw-r--r--pkgs/tools/misc/opentsdb/default.nix22
1 files changed, 10 insertions, 12 deletions
diff --git a/pkgs/tools/misc/opentsdb/default.nix b/pkgs/tools/misc/opentsdb/default.nix
index e111cda9cd1..672ec52c076 100644
--- a/pkgs/tools/misc/opentsdb/default.nix
+++ b/pkgs/tools/misc/opentsdb/default.nix
@@ -1,27 +1,25 @@
-{ stdenv, autoconf, automake, curl, fetchurl, jdk, jre, makeWrapper, nettools, python }:
+{ stdenv, autoconf, automake, curl, fetchurl, jdk, jre, makeWrapper, nettools
+, python, git
+}:
+
 with stdenv.lib;
+
 stdenv.mkDerivation rec {
   name = "opentsdb-${version}";
-  version = "2.2.0";
+  version = "2.3.0";
 
   src = fetchurl {
     url = "https://github.com/OpenTSDB/opentsdb/releases/download/v${version}/${name}.tar.gz";
-    sha256 = "1dfzfsagpviqbifz81pik7pzvadz71kls1idi7jiq7z27vcd92an";
+    sha256 = "0nip40rh3vl5azfc27yha4ngnm9sw47hf110c90hg0warzz85sch";
   };
 
-  buildInputs = [ autoconf automake curl jdk makeWrapper nettools python ];
+  buildInputs = [ autoconf automake curl jdk makeWrapper nettools python git ];
 
-  configurePhase = ''
-    echo > build-aux/fetchdep.sh.in
+  preConfigure = ''
     ./bootstrap
-    mkdir build
-    cd build
-    ../configure --prefix=$out
-    patchShebangs ../build-aux/
   '';
 
-  installPhase = ''
-    make install
+  postInstall = ''
     wrapProgram $out/bin/tsdb \
       --set JAVA_HOME "${jre}" \
       --set JAVA "${jre}/bin/java"