-
-
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
rizin: init at unstable-2021-01-13 #109305
Conversation
Signed-off-by: Pamplemousse <xav.maso@gmail.com>
This is a "best effort" to get something out there and gather feedback.
|
}; | ||
|
||
postPatch = let | ||
capstone = fetchFromGitHub { |
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 move this to a let in before mkDerivation.
meta = { | ||
description = "unix-like reverse engineering framework and commandline tools"; | ||
homepage = "https://rizin.re/"; | ||
license = stdenv.lib.licenses.lgpl3Only; | ||
maintainers = with stdenv.lib.maintainers; [ pamplemousse ]; | ||
platforms = with stdenv.lib.platforms; linux; | ||
}; |
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 = { | |
description = "unix-like reverse engineering framework and commandline tools"; | |
homepage = "https://rizin.re/"; | |
license = stdenv.lib.licenses.lgpl3Only; | |
maintainers = with stdenv.lib.maintainers; [ pamplemousse ]; | |
platforms = with stdenv.lib.platforms; linux; | |
}; | |
meta = with lib; { | |
description = "unix-like reverse engineering framework and commandline tools"; | |
homepage = "https://rizin.re/"; | |
license = licenses.lgpl3Only; | |
maintainers = with maintainers; [ pamplemousse ]; | |
platforms = with platforms; linux; | |
}; |
@@ -0,0 +1,52 @@ | |||
{ stdenv |
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.
{ stdenv | |
{ stdenv | |
, lib |
sha256 = "0y5g74yjyliciawpn16zhdwya7bd3d7b1cccpcccc2wg8vni1k2w"; | ||
}; | ||
in '' | ||
mkdir -p build/shlr |
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.
mkdir -p build/shlr | |
mkdir shlr |
repo = "rizin"; | ||
rev = "ca2471ae9596176c656f065ed74c480f13784e1b"; | ||
sha256 = "0qigy1px0jy74c5ig73dc2fqjcy6vcy76i25dx9r3as6zfpkkaxj"; | ||
}; |
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.
They still rely on git to set versions etc:
In our radare2 build we generate those automatically (see python script).
This is a semi-automatic executed nixpkgs-review which does not build all packages (e.g. lumo, tensorflow or pytorch) Result of 1 package built:
|
also included in #118041 |
Motivation for this change
rizin is a fork of radare2.
And the software powering Cutter.
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)Signed-off-by: Pamplemousse xav.maso@gmail.com