python312Packages.yara-x: add module to top-level/python-packages.nix (#394504)

authored by Martin Weinelt and committed by GitHub 046be2e4 88e99207

+6 -4
+4 -4
pkgs/development/python-modules/yara-x/default.nix
··· 5 5 fetchFromGitHub, 6 6 pythonOlder, 7 7 pytestCheckHook, 8 - yara-x, 8 + pkgs, 9 9 }: 10 10 buildPythonPackage rec { 11 11 pname = "yara-x"; ··· 23 23 24 24 buildAndTestSubdir = "py"; 25 25 26 - cargoDeps = rustPlatform.fetchCargoTarball { 26 + cargoDeps = rustPlatform.fetchCargoVendor { 27 27 inherit pname src version; 28 - hash = "sha256-8s8IUblGJGob/y8x8BoPcXJe83zRmqIZHMxs0iQD7R0="; 28 + hash = "sha256-pD4qyw+TTpmcoX1N3C65VelYszYifm9sFOsEkXEysvo="; 29 29 }; 30 30 31 31 nativeBuildInputs = [ ··· 33 33 rustPlatform.maturinBuildHook 34 34 ]; 35 35 36 - buildInputs = [ yara-x ]; 36 + buildInputs = [ pkgs.yara-x ]; 37 37 38 38 pythonImportsCheck = [ "yara_x" ]; 39 39
+2
pkgs/top-level/python-packages.nix
··· 18996 18996 18997 18997 yara-python = callPackage ../development/python-modules/yara-python { }; 18998 18998 18999 + yara-x = callPackage ../development/python-modules/yara-x { }; 19000 + 18999 19001 yaramod = callPackage ../development/python-modules/yaramod { }; 19000 19002 19001 19003 yarg = callPackage ../development/python-modules/yarg { };