-
-
Notifications
You must be signed in to change notification settings - Fork 15.4k
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
peercoin: init 0.6.2 #26508
peercoin: init 0.6.2 #26508
Conversation
@spinus, thanks for your PR! By analyzing the history of the files in this pull request, we identified @AndersonTorres, @dbrock and @jefdaj to be potential reviewers. |
peercoind fails to build:
|
@Mic92 good catch, I checked only peercoin-qt, I'll try to fix... |
@GrahamcOfBorg build peercoin |
No attempt on x86_64-linux (full log) The following builds were skipped because they don't evaluate on x86_64-linux: peercoin Partial log (click to expand)
|
No attempt on x86_64-darwin (full log) The following builds were skipped because they don't evaluate on x86_64-darwin: peercoin Partial log (click to expand)
|
No attempt on aarch64-linux (full log) The following builds were skipped because they don't evaluate on aarch64-linux: peercoin Partial log (click to expand)
|
@GrahamcOfBorg build altcoins.peercoin altcoins.peercoind |
Failure on x86_64-linux (full log) Attempted: altcoins.peercoin, altcoins.peercoind Partial log (click to expand)
|
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.
Checksum looks incorrect
Failure on x86_64-darwin (full log) Attempted: altcoins.peercoin, altcoins.peercoind Partial log (click to expand)
|
Failure on aarch64-linux (full log) Attempted: altcoins.peercoin, altcoins.peercoind Partial log (click to expand)
|
3bd0008
to
3e2f0ea
Compare
Bumped to latest version and updated checksum. Was not sure how to build non gui target so removed that. |
@GrahamcOfBorg build peercoin |
No attempt on x86_64-darwin (full log) The following builds were skipped because they don't evaluate on x86_64-darwin: peercoin Partial log (click to expand)
|
No attempt on x86_64-linux (full log) The following builds were skipped because they don't evaluate on x86_64-linux: peercoin Partial log (click to expand)
|
No attempt on aarch64-linux (full log) The following builds were skipped because they don't evaluate on aarch64-linux: peercoin Partial log (click to expand)
|
@GrahamcOfBorg build altcoins.peercoin |
Failure on x86_64-linux (full log) Attempted: altcoins.peercoin Partial log (click to expand)
|
Failure on aarch64-linux (full log) Attempted: altcoins.peercoin Partial log (click to expand)
|
Failure on x86_64-darwin (full log) Attempted: altcoins.peercoin Partial log (click to expand)
|
{ stdenv, fetchFromGitHub | ||
, pkgconfig, autoreconfHook | ||
, openssl, db48, boost, zlib, miniupnpc | ||
, protobuf, utillinux, qt4, qrencode |
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 think we should use qt5 if possible. Qt4 is soon to be deprecated.
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.
let me check if that even compiles
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.
Seems like most recent release supports qt5 from the .pro file
(triage) @spinus Are you still planning to come back to this PR? |
hello, thanks for ping. Sure, I'll jump on that soon. |
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.
Let me know if you have any questions.
with stdenv.lib; | ||
stdenv.mkDerivation rec { | ||
|
||
name = "peercoin" + (toString (optional (!withGui) "d")) + "-" + version; |
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 would suggest the package name not change depending on the withGui
option or not, unless you add both variants properly named in all-packages.nix
.
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 pname = "peercoin";
and this will automatically set name = "${pname}-${version}";
stdenv.mkDerivation rec { | ||
|
||
name = "peercoin" + (toString (optional (!withGui) "d")) + "-" + version; | ||
version = "0.6.2ppc"; |
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.
Looks like this can be bumped.
sha256 = "16wxwwrv83x0qjj4dndlkrpw9ril9j0rh6skp1q1xm5zyc0fx0xl"; | ||
}; | ||
|
||
nativeBuildInputs = [ pkgconfig ]; |
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 add qmake
and then I believe you can omit the custom buildPhase
and installPhase
the regular computers and GPUs most people already have. | ||
The Litecoin network is scheduled to produce 84 million currency units. | ||
''; | ||
homepage = https://peercoin.org/; |
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 quote as quotes will likely become mandatory at some point.
homepage = https://peercoin.org/; | ||
platforms = platforms.unix; | ||
license = licenses.mit; | ||
maintainers = with maintainers; [ offline AndersonTorres ]; |
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.
A copy+paste need updating?
{ stdenv, fetchFromGitHub | ||
, pkgconfig, autoreconfHook | ||
, openssl, db48, boost, zlib, miniupnpc | ||
, protobuf, utillinux, qt4, qrencode |
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.
Seems like most recent release supports qt5 from the .pro file
@wamserma not bad option. I thought I'll add this here as the arch for adding more tools in that category is easy and prepared. But I guess you could be right :-) |
Motivation for this change
Things done
(nix.useSandbox on NixOS,
or option
build-use-sandbox
innix.conf
on non-NixOS)
nix-shell -p nox --run "nox-review wip"
./result/bin/
)