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

draftsight: init at 2017-SP1 #25441

Merged
merged 1 commit into from
Jun 27, 2017
Merged

draftsight: init at 2017-SP1 #25441

merged 1 commit into from
Jun 27, 2017

Conversation

Hodapp87
Copy link
Contributor

@Hodapp87 Hodapp87 commented May 2, 2017

Motivation for this change

I'm unaware of any other decent-quality CAD package in Nixpkgs. This adds a package for DraftSight, "a professional-grade 2D design and drafting solution that lets you create, edit, view and markup any kind of 2D drawing." from Dassault Systèmes that is basically a clone of AutoCAD.

It is available as a binary .deb package for Linux. This package jumps through the necessary hoops to make it run properly.

I know requireFile is frowned upon, but I don't know what else to do here. The package is ~500 MB and is available through clicking the license agreement, and while I could probably determine the actual URL and hotlink to it, that would involve bypassing the license agreement.

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 (N/A, package is Linux-only)
    • Linux
  • 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/)
    • HelpGuide segfaults at startup; this needs resolving. The main binary DraftSight runs, and the associated ones (like the crash reporter) appear to.
  • Fits CONTRIBUTING.md.

@Hodapp87
Copy link
Contributor Author

Hodapp87 commented May 2, 2017

I also just realized that, given that this is a GUI app, I should probably have the script add it to menus and such.

libXcomposite ];

meta = with stdenv.lib; {
description = "Professional-grade 2D design and drafting solution from Dassault Systèmes that lets you create, edit, view and mark up any kind of 2D CAD drawing.";
Copy link
Member

Choose a reason for hiding this comment

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

Maybe add a short description and a full longDescription?

DraftSight is "a professional-grade 2D design and drafting solution
that lets you create, edit, view and markup any kind of 2D drawing."
It is available as a binary .deb package for Linux. This package jumps
through the necessary hoops to make it run properly.
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

4 participants