blob: 31b4a457ec86817b3bd9ff46bb469983064c1086 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
{ lib, stdenv, fetchurl, makeWrapper, jdk17, gawk }:
stdenv.mkDerivation rec {
pname = "youtrack";
version = "2022.3.65371";
jar = fetchurl {
url = "https://download.jetbrains.com/charisma/${pname}-${version}.jar";
sha256 = "sha256-NQKWmKEq5ljUXd64zY27Nj8TU+uLdA37chbFVdmwjNs=";
};
nativeBuildInputs = [ makeWrapper ];
dontUnpack = true;
installPhase = ''
runHook preInstall
makeWrapper ${jdk17}/bin/java $out/bin/youtrack \
--add-flags "\$YOUTRACK_JVM_OPTS -jar $jar" \
--prefix PATH : "${lib.makeBinPath [ gawk ]}" \
--set JRE_HOME ${jdk17}
runHook postInstall
'';
meta = with lib; {
description = "Issue tracking and project management tool for developers";
maintainers = teams.serokell.members;
sourceProvenance = with sourceTypes; [ binaryBytecode ];
# https://www.jetbrains.com/youtrack/buy/license.html
license = licenses.unfree;
};
}
|