rizinPlugins.jsdec: init at 0.6.0
This commit is contained in:
parent
916648f5b8
commit
92615041a2
@ -106,6 +106,9 @@ let rizin = stdenv.mkDerivation rec {
|
||||
|
||||
passthru = rec {
|
||||
plugins = {
|
||||
jsdec = pkgs.callPackage ./jsdec.nix {
|
||||
inherit rizin openssl;
|
||||
};
|
||||
# sigdb isn't a real plugin, but it's separated from the main rizin
|
||||
# derivation so that only those who need it will download it
|
||||
sigdb = pkgs.callPackage ./sigdb.nix { };
|
||||
|
35
pkgs/development/tools/analysis/rizin/jsdec.nix
Normal file
35
pkgs/development/tools/analysis/rizin/jsdec.nix
Normal file
@ -0,0 +1,35 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, meson
|
||||
, pkg-config
|
||||
, ninja
|
||||
, rizin
|
||||
, openssl
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "jsdec";
|
||||
version = "0.6.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "rizinorg";
|
||||
repo = "jsdec";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-iVaxxPBIJRhZrmejAOL/Fb4k66mGsZOBs7UikgMj5WA=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ meson ninja pkg-config ];
|
||||
preConfigure = ''
|
||||
cd p
|
||||
'';
|
||||
mesonFlags = [ "-Djsc_folder=.." ];
|
||||
buildInputs = [ openssl rizin ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Simple decompiler for Rizin";
|
||||
homepage = src.meta.homepage;
|
||||
license = with licenses; [ asl20 bsd3 mit ];
|
||||
maintainers = with maintainers; [ chayleaf ];
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user