python312Packages.yaramod: 4.0.0 -> 4.0.1 (#353127)
This commit is contained in:
commit
052d009f5b
@ -5,10 +5,10 @@
|
|||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
pytestCheckHook,
|
pytestCheckHook,
|
||||||
libxcrypt,
|
libxcrypt,
|
||||||
pythonOlder,
|
|
||||||
gtest,
|
gtest,
|
||||||
pybind11,
|
pybind11,
|
||||||
nlohmann_json,
|
nlohmann_json,
|
||||||
|
setuptools,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
@ -21,16 +21,14 @@ let
|
|||||||
in
|
in
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "yaramod";
|
pname = "yaramod";
|
||||||
version = "4.0.0";
|
version = "4.0.1";
|
||||||
format = "setuptools";
|
pyproject = true;
|
||||||
|
|
||||||
disabled = pythonOlder "3.7";
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "avast";
|
owner = "avast";
|
||||||
repo = pname;
|
repo = "yaramod";
|
||||||
rev = "refs/tags/v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
hash = "sha256-YbsNFtDk5u5UyTsS1aGKUv/HWYxEwERinZ3G84/mC9o=";
|
hash = "sha256-EkGG3J84mTFnor1YX9B1TyjvW6mCCF/AH904DaVX+VU=";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
@ -48,12 +46,16 @@ buildPythonPackage rec {
|
|||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
cmake
|
cmake
|
||||||
pog
|
pog
|
||||||
gtest
|
|
||||||
];
|
];
|
||||||
|
|
||||||
setupPyBuildFlags = [ "--with-unit-tests" ];
|
build-system = [ setuptools ];
|
||||||
|
|
||||||
checkInputs = [ pytestCheckHook ];
|
env.ENV_YARAMOD_BUILD_WITH_UNIT_TESTS = true;
|
||||||
|
|
||||||
|
nativeCheckInputs = [
|
||||||
|
gtest
|
||||||
|
pytestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
pytestFlagsArray = [ "tests/" ];
|
pytestFlagsArray = [ "tests/" ];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user