-
-
Notifications
You must be signed in to change notification settings - Fork 13.6k
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
python312Packages.lox: init at 0.12.0 #331174
Conversation
I gave a try and I got something different, though I don't know which one is best to use. diff --git a/pkgs/development/python-modules/lox/default.nix b/pkgs/development/python-modules/lox/default.nix
index 02e58f703370..7f81c0cfc5d5 100644
--- a/pkgs/development/python-modules/lox/default.nix
+++ b/pkgs/development/python-modules/lox/default.nix
@@ -3,8 +3,10 @@
fetchFromGitHub,
lib,
+ setuptools,
+ setuptools-scm,
pathos,
- pip,
+ sphinx_rtd_theme,
pytestCheckHook,
pytest-benchmark,
pytest-mock,
@@ -15,6 +17,7 @@
buildPythonPackage rec {
pname = "lox";
version = "0.12.0";
+ format = "setuptools";
src = fetchFromGitHub {
owner = "BrianPugh";
@@ -23,9 +26,15 @@ buildPythonPackage rec {
hash = "sha256-Iv3ZdfsvFLU6lhlH1n+eQ+KIrXESsnC1S2lVFnKFV08=";
};
- propagatedBuildInputs = [ pathos ];
+ build-system = [
+ setuptools
+ setuptools-scm
+ ];
- buildInputs = [ pip ];
+ dependencies = [
+ pathos
+ sphinx_rtd_theme
+ ];
checkInputs = [
pytestCheckHook
--
2.45.2 |
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.
Could you please rename the PR to: python3Packages.lox: init at 0.12.0
and also make sure there's only one commit in it so that the builds are automatically triggered by the CI ?
As mentioned in the packaging guidelines for Python, the current naming scheme is correct. I have also squashed this down to a single commit. |
02dfddf
to
9e1bb03
Compare
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.
Besides this, LGTM.
68e24a1
to
73ed2b1
Compare
Homepage: https://github.com/BrianPugh/lox
Description of changes
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.