nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 39 lines 953 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 karton-core, 6 unittestCheckHook, 7 yara-python, 8}: 9 10buildPythonPackage rec { 11 pname = "karton-yaramatcher"; 12 version = "1.3.0"; 13 format = "setuptools"; 14 15 src = fetchFromGitHub { 16 owner = "CERT-Polska"; 17 repo = "karton-yaramatcher"; 18 tag = "v${version}"; 19 hash = "sha256-URGW8FyJZ3ktrwolls5ElSWn8FD6vWCA+Eu0aGtPh6U="; 20 }; 21 22 propagatedBuildInputs = [ 23 karton-core 24 yara-python 25 ]; 26 27 nativeCheckInputs = [ unittestCheckHook ]; 28 29 pythonImportsCheck = [ "karton.yaramatcher" ]; 30 31 meta = { 32 description = "File and analysis artifacts yara matcher for the Karton framework"; 33 mainProgram = "karton-yaramatcher"; 34 homepage = "https://github.com/CERT-Polska/karton-yaramatcher"; 35 changelog = "https://github.com/CERT-Polska/karton-yaramatcher/releases/tag/v${version}"; 36 license = with lib.licenses; [ bsd3 ]; 37 maintainers = with lib.maintainers; [ fab ]; 38 }; 39}