Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at gcc-offload 41 lines 778 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 pythonOlder, 5 fetchPypi, 6 setuptools, 7 ply, 8}: 9 10buildPythonPackage rec { 11 pname = "plyara"; 12 version = "2.2.2"; 13 pyproject = true; 14 15 disabled = pythonOlder "3.10"; # https://github.com/plyara/plyara: "Plyara requires Python 3.10+" 16 17 src = fetchPypi { 18 inherit pname version; 19 hash = "sha256-AIxXtu9Ic0N8I29w2h/sP5EdWsscmWza9WkhVyvlSs0="; 20 }; 21 22 build-system = [ 23 setuptools 24 ]; 25 26 dependencies = [ 27 ply 28 ]; 29 30 pythonImportsCheck = [ 31 "plyara" 32 ]; 33 34 meta = { 35 description = "Parse YARA rules"; 36 homepage = "https://pypi.org/project/plyara/"; 37 changelog = "https://github.com/plyara/plyara/releases/tag/v${version}"; 38 license = lib.licenses.asl20; 39 maintainers = with lib.maintainers; [ _13621 ]; 40 }; 41}