git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #163655 from fabaff/bump-yara-python

python3Packages.yara-python: 4.1.3 -> 4.2.0

commitbe58d0e27c8fdcb8db88a06c969fa7ba0425b29b authorFabian Affolter <fabian@affolter-engineering.ch> dateFri 11 Mar 2022, 10:43 (5 years ago) parent75b08e3cd93dca
1 file changed+12−4
pkgs/development/python-modules/yara-python/default.nix+12−4
pkgs/development/python-modules/yara-python/default.nix+12−4
@@ -2,18 +2,22 @@
22, buildPythonPackage
33, fetchFromGitHub
44, pytestCheckHook
5+, pythonOlder
56, yara
67}:
78
89buildPythonPackage rec {
910 pname = "yara-python";
10− version = "4.1.3";
11+ version = "4.2.0";
12+ format = "setuptools";
13+
14+ disabled = pythonOlder "3.7";
1115
1216 src = fetchFromGitHub {
1317 owner = "VirusTotal";
1418 repo = "yara-python";
1519 rev = "v${version}";
16− sha256 = "sha256-lOP+OVnMgpP8S+Q3jGRNEAFXAohXgX5Nvl+l4EK5ebs=";
20+ hash = "sha256-jNxYuIddMzANZoQ0p7BbRrX6ISpaCA7T6j+iS+FOocg=";
1721 };
1822
1923 buildInputs = [
@@ -28,9 +32,13 @@ buildPythonPackage rec {
2832 "--dynamic-linking"
2933 ];
3034
31− pytestFlagsArray = [ "tests.py" ];
35+ pytestFlagsArray = [
36+ "tests.py"
37+ ];
3238
33− pythonImportsCheck = [ "yara" ];
39+ pythonImportsCheck = [
40+ "yara"
41+ ];
3442
3543 meta = with lib; {
3644 description = "Python interface for YARA";