atlassian-cli: add some spaces, inherit meta.platforms from jre
This commit is contained in:
parent
5da73fc3ff
commit
543c8c4eb0
@ -1,14 +1,30 @@
|
|||||||
{ stdenv, fetchzip, jre }:
|
{ stdenv, fetchzip, jre }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "atlassian-cli-${version}";
|
name = "atlassian-cli-${version}";
|
||||||
version = "7.8.0";
|
version = "7.8.0";
|
||||||
|
|
||||||
src = fetchzip {
|
src = fetchzip {
|
||||||
url = "https://bobswift.atlassian.net/wiki/download/attachments/16285777/${name}-distribution.zip";
|
url = "https://bobswift.atlassian.net/wiki/download/attachments/16285777/${name}-distribution.zip";
|
||||||
sha256 = "111s4d9m6vxq8jwh1d6ar1f4n5zmyjg7gi2vl3aq63kxbfld9vw7";
|
sha256 = "111s4d9m6vxq8jwh1d6ar1f4n5zmyjg7gi2vl3aq63kxbfld9vw7";
|
||||||
extraPostFetch = "chmod go-w $out";
|
extraPostFetch = "chmod go-w $out";
|
||||||
};
|
};
|
||||||
tools = [ "agile" "bamboo" "bitbucket" "confluence" "csv"
|
|
||||||
"hipchat" "jira" "servicedesk" "structure" "tempo" "trello" "upm" ];
|
tools = [
|
||||||
|
"agile"
|
||||||
|
"bamboo"
|
||||||
|
"bitbucket"
|
||||||
|
"confluence"
|
||||||
|
"csv"
|
||||||
|
"hipchat"
|
||||||
|
"jira"
|
||||||
|
"servicedesk"
|
||||||
|
"structure"
|
||||||
|
"tempo"
|
||||||
|
"trello"
|
||||||
|
"upm"
|
||||||
|
];
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/{bin,share/doc/atlassian-cli}
|
mkdir -p $out/{bin,share/doc/atlassian-cli}
|
||||||
cp -r lib $out/share/java
|
cp -r lib $out/share/java
|
||||||
@ -22,10 +38,12 @@ stdenv.mkDerivation rec {
|
|||||||
chmod +x $out/bin/$tool
|
chmod +x $out/bin/$tool
|
||||||
done
|
done
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "An integrated family of CLI’s for various Atlassian applications";
|
description = "An integrated family of CLI’s for various Atlassian applications";
|
||||||
homepage = https://bobswift.atlassian.net/wiki/spaces/ACLI/overview;
|
homepage = https://bobswift.atlassian.net/wiki/spaces/ACLI/overview;
|
||||||
maintainers = [ maintainers.twey ];
|
license = licenses.unfreeRedistributable;
|
||||||
license = [ licenses.unfreeRedistributable ];
|
maintainers = with maintainers; [ twey ];
|
||||||
|
inherit (jre.meta) platforms;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user