Unverified Commit 046be2e4 authored by Martin Weinelt's avatar Martin Weinelt Committed by GitHub
Browse files

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

parents 88e99207 3e2faf72
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -5,7 +5,7 @@
  fetchFromGitHub,
  pythonOlder,
  pytestCheckHook,
  yara-x,
  pkgs,
}:
buildPythonPackage rec {
  pname = "yara-x";
@@ -23,9 +23,9 @@ buildPythonPackage rec {

  buildAndTestSubdir = "py";

  cargoDeps = rustPlatform.fetchCargoTarball {
  cargoDeps = rustPlatform.fetchCargoVendor {
    inherit pname src version;
    hash = "sha256-8s8IUblGJGob/y8x8BoPcXJe83zRmqIZHMxs0iQD7R0=";
    hash = "sha256-pD4qyw+TTpmcoX1N3C65VelYszYifm9sFOsEkXEysvo=";
  };

  nativeBuildInputs = [
@@ -33,7 +33,7 @@ buildPythonPackage rec {
    rustPlatform.maturinBuildHook
  ];

  buildInputs = [ yara-x ];
  buildInputs = [ pkgs.yara-x ];

  pythonImportsCheck = [ "yara_x" ];

+2 −0
Original line number Diff line number Diff line
@@ -18996,6 +18996,8 @@ self: super: with self; {
  yara-python = callPackage ../development/python-modules/yara-python { };
  yara-x = callPackage ../development/python-modules/yara-x { };
  yaramod = callPackage ../development/python-modules/yaramod { };
  yarg = callPackage ../development/python-modules/yarg { };