16 lines
492 B
Nix
16 lines
492 B
Nix
|
{ lib, stdenv, fetchFromGitHub, meson, pkg-config, cmake, ninja, openssl, rizin }: stdenv.mkDerivation {
|
||
|
name = "jsdec";
|
||
|
src = fetchFromGitHub {
|
||
|
owner = "rizinorg";
|
||
|
repo = "jsdec";
|
||
|
rev = "5ef437d181ad73fc74e406d922f02d09904ae047";
|
||
|
sha256 = "sha256-Z5QU7IdMGk5IcWbmOVeblfWlo1hfulaYVt3qWRmmYjc=";
|
||
|
};
|
||
|
preConfigure = ''
|
||
|
cd p
|
||
|
'';
|
||
|
mesonFlags = [ "-Djsc_folder=/build/source/" ];
|
||
|
buildInputs = [ rizin openssl ];
|
||
|
nativeBuildInputs = [ meson pkg-config ninja ];
|
||
|
}
|