python313Packages.yara-x: modernize

Updated changelog URL to reflect correct version tag.
This commit is contained in:
Fabian Affolter
2025-10-10 01:37:10 +02:00
committed by GitHub
parent 6944c579a2
commit 19cb164cda

View File

@@ -3,17 +3,15 @@
buildPythonPackage, buildPythonPackage,
rustPlatform, rustPlatform,
fetchFromGitHub, fetchFromGitHub,
pythonOlder,
pytestCheckHook, pytestCheckHook,
pkgs, pkgs,
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "yara-x"; pname = "yara-x";
version = "1.8.1"; version = "1.8.1";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.9";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "VirusTotal"; owner = "VirusTotal";
repo = "yara-x"; repo = "yara-x";
@@ -42,7 +40,7 @@ buildPythonPackage rec {
meta = { meta = {
description = "Official Python library for YARA-X"; description = "Official Python library for YARA-X";
homepage = "https://github.com/VirusTotal/yara-x/tree/main/py"; homepage = "https://github.com/VirusTotal/yara-x/tree/main/py";
changelog = "https://github.com/VirusTotal/yara-x/tree/v${version}/py"; changelog = "https://github.com/VirusTotal/yara-x/tree/${src.tag}/py";
license = lib.licenses.bsd3; license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ ivyfanchiang ]; maintainers = with lib.maintainers; [ ivyfanchiang ];
}; };