-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
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
veroroute: init at 2.39 #371217
base: master
Are you sure you want to change the base?
veroroute: init at 2.39 #371217
Conversation
meta = with lib; { | ||
homepage = "https://sourceforge.net/projects/veroroute/"; | ||
description = "Qt based electronics layout and routing application"; | ||
longDescription = '' | ||
Qt based Veroboard, Perfboard, and PCB layout and routing application | ||
''; | ||
license = licenses.gpl3Plus; | ||
platforms = platforms.unix; | ||
maintainers = with maintainers; [ gm6k ]; | ||
}; |
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.
meta = with lib; { | |
homepage = "https://sourceforge.net/projects/veroroute/"; | |
description = "Qt based electronics layout and routing application"; | |
longDescription = '' | |
Qt based Veroboard, Perfboard, and PCB layout and routing application | |
''; | |
license = licenses.gpl3Plus; | |
platforms = platforms.unix; | |
maintainers = with maintainers; [ gm6k ]; | |
}; | |
meta = { | |
homepage = "https://sourceforge.net/projects/veroroute/"; | |
description = "Qt based electronics layout and routing application"; | |
longDescription = '' | |
Qt based Veroboard, Perfboard, and PCB layout and routing application | |
''; | |
license = lib.licenses.gpl3Plus; | |
platforms = lib.platforms.unix; | |
maintainers = with lib.maintainers; [ gm6k ]; | |
}; |
qmake | ||
wrapQtAppsHook |
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 for reviewing and for the suggestion. Could you elaborate on why this would be better, as I don't quite understand it. I think there is no straightforward reason for importing qmake
and wrapQtAppsHook
from different Qt versions, so it's probably better to use the inherit
clause above, which imports both from the same Qt version. The older way to do this was to use libsForQt5.callPackage
, but this would require an entry in pkgs/top-level/all-packages.nix
, which is to be avoided. The inherit
clause I used is as near to the old way as I could get without needing to touch another file.
let | ||
inherit (qt5) qmake wrapQtAppsHook; | ||
in |
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.
See below, regarding libsForQt5
.
longDescription = '' | ||
Qt based Veroboard, Perfboard, and PCB layout and routing application | ||
''; |
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 for reviewing and for the suggestion. Could you elaborate on why this would be better, as I don't quite understand it. I think this information might be useful for potential users to decide whether the supported boards make the software useful for their layout and routing purposes.
]; | ||
|
||
postInstall = '' | ||
mkdir $out/bin |
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.
This breaks the package, as it results in $out/bin
being a file instead of a directory.
Adding veroroute, a Qt based Veroboard, Perfboard, and PCB layout and routing application.
Apparently, #369345 has been uploaded since I started working on this. Uploading my version anyway since the other PR fails on CI.
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.