Sebastian Walz 860d31cee1
Tohu vaBohu
2023-04-21 00:22:52 +02:00

34 lines
1.1 KiB
Nix

{
description = "Ghidra-Decompiler for Cutter";
inputs
= {
libcore.url = "github:sivizius/nixfiles/development?dir=libs/core";
nixpkgs.url = "github:sivizius/nixpkgs/master";
};
outputs
= { self, libcore, nixpkgs, ... }:
let
core = libcore.lib { inherit self; debug.logLevel = "info"; };
inherit(core) path target;
in
{
packages
= target.System.mapStdenv
(
system:
let
rz-ghidra
= path.import ./.
{
pkgs = nixpkgs.legacyPackages."${system}";
inherit(nixpkgs.legacyPackages."${system}") fetchFromGitHub stdenv;
};
in
{
inherit rz-ghidra;
default = rz-ghidra;
}
);
};
}