-
-
Notifications
You must be signed in to change notification settings - Fork 15.3k
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
unrpa: init at 2.3.0 #87677
unrpa: init at 2.3.0 #87677
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are no tests included. Please try to checkout from source and check if they have unit tests, and try to run them. Unit tests give a good indication that they package has a high degree of validity and correctness given the python package set.
If tests are not available, then please use pythonImportsCheck
to import the most important modules. This isn't as good as unit tests, but will usually give a good indication of run-time errors.
----------------------------------------------------------------------
Ran 0 tests in 0.000s
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also, commit message should be the install-path: message
, so:
pythonPackages.unrpa: init at 2.3.0
Is this documented anywhere? CONTRIBUTING.md says it should be |
If it was a top-level attribute, these two things are the same. However, this exists on the python package set, which is slightly different. I agree that the wording isn't super explicit about what this means |
Reading about the package, it seems that we are more interested in the executable, rather than being able to import it as a library. So we should be using |
As using it as a library is a supported usecase, should |
yea, that seems good |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Result of nixpkgs-review pr 87677 1
2 packages built:
- unrpa (python37Packages.unrpa) - python38Packages.unrpaI've added a NixOS package in NixOS/nixpkgs#87677. After some looking, the only other distro I could find with a package was Gentoo.
Motivation for this change
I wanted to use it.
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)