From 3832ebde8b32b8e2c5929ea955a98a17c43e2cd0 Mon Sep 17 00:00:00 2001 From: Ta'iř sj Ořit Date: Sun, 26 Jun 2016 16:40:00 -0400 Subject: gephi: init at 0.9.1 (#16071) --- pkgs/applications/science/misc/gephi/default.nix | 37 ++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 pkgs/applications/science/misc/gephi/default.nix (limited to 'pkgs/applications/science/misc') diff --git a/pkgs/applications/science/misc/gephi/default.nix b/pkgs/applications/science/misc/gephi/default.nix new file mode 100644 index 000000000000..6736ce758973 --- /dev/null +++ b/pkgs/applications/science/misc/gephi/default.nix @@ -0,0 +1,37 @@ +{stdenv, fetchurl, jdk}: + +with stdenv.lib; + +let version = "0.9.1"; in +stdenv.mkDerivation { + name = "gephi-${version}"; + + src = fetchurl { + url = "https://github.com/gephi/gephi/releases/download/v${version}/gephi-${version}-linux.tar.gz"; + sha256 = "f1d54157302df05a53b94e1518880c949c43ba4ab21e52d57f3edcbdaa06c7ee"; + }; + + meta = { + inherit version; + description = "A platform for visualizing and manipulating large graphs"; + homepage = https://gephi.org; + license = licenses.gpl3; + maintainers = [maintainers.taeer]; + platforms = platforms.linux; + }; + + buildInputs = [jdk]; + + configurePhase = " + echo \"jdkhome=${jdk}\" >> etc/gephi.conf + "; + + dontBuild = true; + + installPhase = " + mkdir $out + for a in ./*; do + mv $a $out + done + "; +} -- cgit 1.4.1