8 stdenv.mkDerivation rec {
9 pname = "atlassian-cli";
13 url = "https://bobswift.atlassian.net/wiki/download/attachments/16285777/${pname}-${version}-distribution.zip";
14 sha256 = "sha256-55ydhprVC9NdDMUrKbpSAEQBb9zRYgwOc7k8aP4R89A=";
33 mkdir -p $out/{bin,share/doc/atlassian-cli}
34 cp -r lib $out/share/java
35 cp -r README.txt license $out/share/doc/atlassian-cli
38 substitute ${./wrapper.sh} $out/bin/$tool \
40 --subst-var-by jre ${jre} \
41 --subst-var-by tool $tool
42 chmod +x $out/bin/$tool
47 description = "Integrated family of CLI’s for various Atlassian applications";
48 homepage = "https://bobswift.atlassian.net/wiki/spaces/ACLI/overview";
49 license = licenses.unfreeRedistributable;
50 sourceProvenance = with sourceTypes; [ binaryBytecode ];
51 maintainers = with maintainers; [ twey ];
52 inherit (jre.meta) platforms;