mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-12 02:40:31 +08:00
python312Packages.yara-x: add module to top-level/python-packages.nix (#394504)
This commit is contained in:
@@ -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" ];
|
||||
|
||||
|
||||
@@ -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 { };
|
||||
|
||||
Reference in New Issue
Block a user