diff --git a/pkgs/servers/jetbrains/youtrack.nix b/pkgs/servers/jetbrains/youtrack.nix new file mode 100644 index 000000000000..7e368bf295b6 --- /dev/null +++ b/pkgs/servers/jetbrains/youtrack.nix @@ -0,0 +1,30 @@ +{ stdenv, fetchurl, makeWrapper, jre }: + +stdenv.mkDerivation rec { + name = "youtrack-${version}"; + version = "2018.1.41051"; + + jar = fetchurl { + url = "https://download.jetbrains.com/charisma/${name}.jar"; + sha256 = "1sznay3lbyb2i977103hzh61rw1bpkdv0raffbir68apmvv1r0rb"; + }; + + buildInputs = [ makeWrapper ]; + + unpackPhase = "true"; + + installPhase = '' + runHook preInstall + makeWrapper ${jre}/bin/java $out/bin/youtrack --add-flags "\$YOUTRACK_JVM_OPTS -jar $jar" + runHook postInstall + ''; + + meta = with stdenv.lib; { + description = '' + Issue Tracking and Project Management Tool for Developers + ''; + maintainers = with maintainers; [ yorickvp ]; + # https://www.jetbrains.com/youtrack/buy/license.html + license = licenses.unfree; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 40792a702afa..3946a577cf64 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -12902,6 +12902,8 @@ with pkgs; erlang = erlangR18; }; + youtrack = callPackage ../servers/jetbrains/youtrack.nix { }; + zabbix = recurseIntoAttrs (callPackages ../servers/monitoring/zabbix {}); zabbix20 = callPackage ../servers/monitoring/zabbix/2.0.nix { };