1 { stdenvNoCC, lib, fetchurl, mysql_jdbc
6 stdenvNoCC.mkDerivation rec {
7 pname = "atlassian-bamboo";
11 url = "https://product-downloads.atlassian.com/software/bamboo/downloads/atlassian-bamboo-${version}.tar.gz";
12 sha256 = "sha256-9TYTXSdGQ7qSqvF25Bn1l5N8NbKndcO8HiJSc4NUois=";
16 echo "bamboo.home=/run/bamboo/home" > atlassian-bamboo/WEB-INF/classes/bamboo-init.properties
17 mv conf/server.xml conf/server.xml.dist
18 ln -sf /run/atlassian-bamboo/server.xml conf/server.xml
19 rm -r logs; ln -sf /run/atlassian-bamboo/logs/ .
20 rm -r temp; ln -sf /run/atlassian-bamboo/temp/ .
21 rm -r work; ln -sf /run/atlassian-bamboo/work/ .
22 '' + lib.optionalString withMysql ''
23 cp -v ${mysql_jdbc}/share/java/*jar atlassian-bamboo/lib/
28 patchShebangs $out/bin
32 description = "Bamboo Data Center is a continuous delivery server.";
33 homepage = "https://www.atlassian.com/software/bamboo";
34 sourceProvenance = with sourceTypes; [ binaryBytecode ];
35 license = with licenses; [ unfree ];
36 maintainers = with maintainers; [ techknowlogick ];