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
remctl: init at 3.17 #110336
base: master
Are you sure you want to change the base?
remctl: init at 3.17 #110336
Conversation
874ff38
to
14842bc
Compare
14842bc
to
30ed9e9
Compare
This is a semi-automatic executed nixpkgs-review which is checked by a human on a best effort basis and does not build all packages (e.g. lumo, tensorflow or pytorch). Result of 6 packages built:
|
30ed9e9
to
80e776d
Compare
Made the changes. Thanks for the review! |
I marked this as stale due to inactivity. → More info |
Hi @invokesus and @SuperSandro2000, I was looking at I pushed djanatyn@0565222 (on top of previous commits) addressing some of the review comments - feel free to pull those changes in for this PR.
The package builds successfully after removing |
80e776d
to
2a480d9
Compare
Co-authored-by: Jonathan Strickland <djanatyn@gmail.com>
2a480d9
to
0c52edc
Compare
"long_description": "\n".join(doclines[2:]), | ||
"license": "MIT", | ||
"install_requires": ['typing;python_version<"3.5"'], | ||
- "setup_requires": ["pytest-runner"], |
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.
Please use subsituteInPlace postPatch instead so that we do not need to update the patch.
|
||
stdenv.mkDerivation rec { | ||
pname = "remctl"; | ||
version = "3.17"; |
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.
Can we get 3.18 from https://github.com/rra/remctl ? I can't seem to browse their git.
postInstall = '' | ||
cp -R perl $perlsrc | ||
cp -R tests/tap/perl/Test $perlsrc/t/lib | ||
cp -R python $pythonsrc |
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.
I don't think we need this at all. We can just use the python directory from source straight.
postPatch = '' | ||
sed -i '/install_requires/d' setup.py | ||
''; |
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.
We shouldn't remove this line.
patches = [ | ||
./no-setup-requires-pytestrunner.patch | ||
]; | ||
propagatedBuildInputs = lib.optionals (isPy27) [ typing ]; |
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.
propagatedBuildInputs = lib.optionals (isPy27) [ typing ]; | |
propagatedBuildInputs = lib.optionals (pythonOlder "3.5") [ typing ]; |
buildInputs = [ remctl ]; | ||
checkInputs = [ pytestCheckHook ]; | ||
patches = [ |
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.
buildInputs = [ remctl ]; | |
checkInputs = [ pytestCheckHook ]; | |
patches = [ | |
buildInputs = [ remctl ]; | |
checkInputs = [ pytestCheckHook ]; | |
patches = [ |
Motivation for this change
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)