14 pog = fetchFromGitHub {
17 rev = "b09bbf9cea573ee62aab7eccda896e37961d16cd";
18 hash = "sha256-El4WA92t2O/L4wUqH6Xj8w+ANtb6liRwafDhqn8jxjQ=";
21 buildPythonPackage rec {
24 format = "setuptools";
26 disabled = pythonOlder "3.7";
28 src = fetchFromGitHub {
31 rev = "refs/tags/v${version}";
32 hash = "sha256-OLsTvG+qaUJlKdHwswGBifzoT/uNunrrVWQg7hJxkhE=";
36 rm -r deps/googletest deps/pog/ deps/pybind11/ deps/json/json.hpp
37 cp -r --no-preserve=all ${pog} deps/pog/
38 cp -r --no-preserve=all ${nlohmann_json.src}/single_include/nlohmann/json.hpp deps/json/
39 cp -r --no-preserve=all ${pybind11.src} deps/pybind11/
40 cp -r --no-preserve=all ${gtest.src} deps/googletest/
43 dontUseCmakeConfigure = true;
67 pythonImportsCheck = [
72 description = "Parsing of YARA rules into AST and building new rulesets in C++";
73 homepage = "https://github.com/avast/yaramod";
74 changelog = "https://github.com/avast/yaramod/blob/v${version}/CHANGELOG.md";
75 license = licenses.mit;
76 maintainers = with maintainers; [ msm ];