Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

astah-community: init at 7.2.0 #30691

Merged
merged 2 commits into from Oct 25, 2017
Merged

astah-community: init at 7.2.0 #30691

merged 2 commits into from Oct 25, 2017

Conversation

CrazedProgrammer
Copy link
Contributor

Motivation for this change

This adds Astah Community 7.2.0: an UML modeler.

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Fits CONTRIBUTING.md.

name = "astah-community";
version = "7.2.0";
postfix = "1ff236";
desktopIcon = fetchurl {
Copy link
Member

@Mic92 Mic92 Oct 25, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please use for both urls a concrete commit, otherwise it can change.

cp ${desktopIcon} $out/share/pixmaps/${name}.png
cp ${mimeXml} $out/share/mime/packages/${name}.xml

cat > $out/bin/astah <<EOF
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please use makeWrapper here:

buildInputs = [ makeWrapper ];

installPhase = ''
    makeWrapper ${jre}/bin/java $out/bin/astash \
      --add-flags "-jar $out/share/astah/astah-community.jar"
'';

@CrazedProgrammer
Copy link
Contributor Author

@Mic92 Thanks for the review!
The requested changes were amended to the commit.

@Mic92
Copy link
Member

Mic92 commented Oct 25, 2017

Thanks!

@Mic92 Mic92 merged commit 8327e43 into NixOS:master Oct 25, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants