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

inkcut: init at 2.1.1 #92990

Merged
merged 5 commits into from Aug 10, 2020
Merged

inkcut: init at 2.1.1 #92990

merged 5 commits into from Aug 10, 2020

Conversation

raboof
Copy link
Member

@raboof raboof commented Jul 12, 2020

Motivation for this change

Great application for driving vinyl cutter machines

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
  • 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 nixpkgs-review --run "nixpkgs-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.

Copy link
Member

@erictapen erictapen left a comment

Choose a reason for hiding this comment

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

This looks great. I checked that

  • all packages have the correct licenses
  • packaging style looks good
  • meta.homepage matches src, with one exception
  • inkcut builds and runs fine

pkgs/development/python-modules/enaml/default.nix Outdated Show resolved Hide resolved
@raboof raboof requested a review from erictapen July 13, 2020 10:17
Copy link
Contributor

@jonringer jonringer left a comment

Choose a reason for hiding this comment

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

To follow CONTRIBUTING.md, please do a commit per package addition.

technically, it says, separate commits into "logical units", but I consider a package addition to be a logical unit

@raboof
Copy link
Member Author

raboof commented Jul 14, 2020

(converting to draft since I want to look into cleaning up the qt-reactor packaging)

@raboof raboof marked this pull request as draft July 14, 2020 07:44
@nixos-discourse
Copy link

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/what-are-your-goals-for-20-09/8035/7

@raboof raboof force-pushed the nixpkgs-inkcut branch 2 times, most recently from 0c1258e to 6630711 Compare July 16, 2020 07:18
@raboof
Copy link
Member Author

raboof commented Jul 16, 2020

(split into commit-per-package and fixed up the qreactor package)

@raboof raboof marked this pull request as ready for review July 16, 2020 07:19
@raboof raboof requested a review from jonringer July 16, 2020 07:19
@nixos-discourse
Copy link

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/prs-already-reviewed/2617/197

Copy link
Contributor

@jonringer jonringer left a comment

Choose a reason for hiding this comment

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

please apply testing comment to all related PRs

pkgs/applications/misc/inkcut/default.nix Outdated Show resolved Hide resolved
pkgs/development/python-modules/bytecode/default.nix Outdated Show resolved Hide resolved
@raboof raboof marked this pull request as draft August 10, 2020 15:47
@raboof raboof marked this pull request as ready for review August 10, 2020 15:53
@raboof raboof requested a review from jonringer August 10, 2020 15:53
Copy link
Contributor

@jonringer jonringer left a comment

Choose a reason for hiding this comment

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

please address the failing builds:

[14 built (2 failed), 6 copied (464.3 MiB), 52.0 MiB DL]
error: build of '/nix/store/24jny6q4nkfdxjl5zwxv3vwf5lj6nw8i-env.drv' failed
https://github.com/NixOS/nixpkgs/pull/92990
2 packages failed to build:
python27Packages.bytecode python27Packages.qreactor

9 packages built:
inkcut python37Packages.bytecode python37Packages.enaml python37Packages.enamlx python37Packages.qreactor python38Packages.bytecode python38Packages.enaml python38Packages.enamlx python38Packages.qreactor

appears to be from missing "aenum", you may need to do:

  propagateBuildInputs = [ ... ] ++ lib.optionals (pythonOlder "3.6") [ aenum];

example failure:

  ERROR: Could not find a version that satisfies the requirement aenum>=2.0; python_version < "3.6" (from bytecode==0.11.0) (from versions: none)
  ERROR: No matching distribution found for aenum>=2.0; python_version < "3.6" (from bytecode==0.11.0)
builder for '/nix/store/412b3qkcm3frbawrj99lvqx0hcd2ff7d-python2.7-qreactor-unstable-2018-09-29.drv' failed

since this also affect python3.5, I would like to have the optional dependencies included.

Copy link
Contributor

@jonringer jonringer left a comment

Choose a reason for hiding this comment

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

diff LGTM
gui launches fine

9 packages built:
inkcut python37Packages.bytecode python37Packages.enaml python37Packages.enamlx python37Packages.qreactor python38Packages.bytecode python38Packages.enaml python38Packages.enamlx python38Packages.qreactor

@jonringer jonringer merged commit 44d841f into NixOS:master Aug 10, 2020
@raboof
Copy link
Member Author

raboof commented Aug 10, 2020

Thanks for all the reviewing and pointers, I'm learning a lot ;)

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