From 7dd4204c32e9885b217fe288825469155c408e27 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 9 Feb 2023 12:14:38 +0100 Subject: [PATCH] python310Packages.karton-yaramatcher: add changelog to meta --- .../karton-yaramatcher/default.nix | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/karton-yaramatcher/default.nix b/pkgs/development/python-modules/karton-yaramatcher/default.nix index ac9c93ee1c4d..592cb5f855a6 100644 --- a/pkgs/development/python-modules/karton-yaramatcher/default.nix +++ b/pkgs/development/python-modules/karton-yaramatcher/default.nix @@ -9,12 +9,15 @@ buildPythonPackage rec { pname = "karton-yaramatcher"; version = "1.2.0"; + format = "setuptools"; + + disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "CERT-Polska"; repo = pname; - rev = "v${version}"; - sha256 = "sha256-ulWwPXbjqQXwSRi8MFdcx7vC7P19yu66Ll8jkuTesao="; + rev = "refs/tags/v${version}"; + hash = "sha256-ulWwPXbjqQXwSRi8MFdcx7vC7P19yu66Ll8jkuTesao="; }; propagatedBuildInputs = [ @@ -22,13 +25,18 @@ buildPythonPackage rec { yara-python ]; - nativeCheckInputs = [ unittestCheckHook ]; + nativeCheckInputs = [ + unittestCheckHook + ]; - pythonImportsCheck = [ "karton.yaramatcher" ]; + pythonImportsCheck = [ + "karton.yaramatcher" + ]; meta = with lib; { description = "File and analysis artifacts yara matcher for the Karton framework"; homepage = "https://github.com/CERT-Polska/karton-yaramatcher"; + changelog = "https://github.com/CERT-Polska/karton-yaramatcher/releases/tag/v${version}"; license = with licenses; [ bsd3 ]; maintainers = with maintainers; [ fab ]; };