-
-
Notifications
You must be signed in to change notification settings - Fork 14.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
python3Packages.apted: init at 1.0.3 #277506
Conversation
Result of 4 packages built:
|
@ofborg build python312Packages.apted |
I think using diff --git a/pkgs/development/python-modules/apted/default.nix b/pkgs/development/python-modules/apted/default.nix
index 9a5a9eb979a7..617b02719872 100644
--- a/pkgs/development/python-modules/apted/default.nix
+++ b/pkgs/development/python-modules/apted/default.nix
@@ -3,12 +3,13 @@
buildPythonPackage,
fetchFromGitHub,
unittestCheckHook,
+ setuptools,
}:
-buildPythonPackage rec {
+buildPythonPackage {
pname = "apted";
version = "1.0.3";
- format = "setuptools";
+ pyproject = true;
src = fetchFromGitHub {
owner = "JoaoFelipe";
@@ -17,6 +18,10 @@ buildPythonPackage rec {
hash = "sha256-h8vJDC5TPpyhDxm1sHiXPegPB2eorEgyrNqzQOzSge8=";
};
+ build-system = [
+ setuptools
+ ];
+
nativeCheckInputs = [ unittestCheckHook ];
meta = with lib; { |
|
||
build-system = [ setuptools ]; | ||
nativeCheckInputs = [ unittestCheckHook ]; | ||
|
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 add pythonImportsCheck
for a mock test?
Besides this LGTM.
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.
Thanks, I've added the import check.
Co-authored-by: Arne Keller <[email protected]>
|
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, thank you.
Description of changes
APTED is a Python library implementing the tree editing distance algorithm of the same name.
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/
)