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
xcpc: init at version 20070122 #34965
Conversation
sha256 = "12yv56blm49qmshpk4mgc802bs51wv2ra87hmcbf2wxma39c45fy"; | ||
}; | ||
|
||
patchPhase = "substituteInPlace cap32.cfg --replace /usr/local $out"; |
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.
Suggest using prePatch or postPatch instead. Replacing patchPhase prevents addition of patches while overriding like caprice32.overrideAttrs (o: {patches = [./foo.patch];})
@@ -0,0 +1,22 @@ | |||
{ stdenv, fetchurl }: | |||
|
|||
with stdenv.lib; |
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.
Probably move this to meta, since you're not using any of stdenv.lib elsewhere and it may cause confusion
@GrahamcOfBorg build caprice32 xcpc |
Failure on x86_64-darwin (full log) Partial log (click to expand)
|
Success on x86_64-linux (full log) Partial log (click to expand)
|
stdenv.mkDerivation rec { | ||
|
||
pname = "caprice32"; | ||
version = "02102017"; |
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.
20170210 so that version ordering works, maybe add dashes for clarity
Overall LGTM. Please split into multiple commits according to CONTRIBUTING.md though |
Success on aarch64-linux (full log) Partial log (click to expand)
|
}; | ||
|
||
meta = with stdenv.lib; { | ||
description = "a library for accessing discs and disc image files"; |
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 capitalize the description
description = "a library for accessing discs and disc image files"; | ||
homepage = http://www.seasip.info/Unix/LibDsk/ ; | ||
license = licenses.gpl2; | ||
maintainers = [ maintainers.genesis ]; |
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.
It's generally preferred to use a maintainer handle that matches the github handle.
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 will change maintainers in a separate PR for all my derivation.
i'd wake up here to close PR. 20070122 is official name of this release btw. |
Motivation for this change
libdsk : new , dep for xcpc
xcpc + caprice32 , small derivations, i put all this in same commit, should be easy to review.
Things done
build-use-sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)