1{ 2 lib, 3 argparse-dataclass, 4 buildPythonPackage, 5 configargparse, 6 fetchFromGitHub, 7 poetry-core, 8 pythonOlder, 9 pytestCheckHook, 10}: 11 12buildPythonPackage rec { 13 pname = "snakemake-interface-common"; 14 version = "1.17.4"; 15 pyproject = true; 16 17 disabled = pythonOlder "3.8"; 18 19 src = fetchFromGitHub { 20 owner = "snakemake"; 21 repo = "snakemake-interface-common"; 22 tag = "v${version}"; 23 hash = "sha256-PMEs7yeVfSnZKbabLrbXfIKCIPteNV1wzbt9RIDG3qU="; 24 }; 25 26 build-system = [ poetry-core ]; 27 28 dependencies = [ 29 argparse-dataclass 30 configargparse 31 ]; 32 33 nativeCheckInputs = [ pytestCheckHook ]; 34 35 pythonImportsCheck = [ "snakemake_interface_common" ]; 36 37 pytestFlagsArray = [ "tests/tests.py" ]; 38 39 meta = with lib; { 40 description = "Common functions and classes for Snakemake and its plugins"; 41 homepage = "https://github.com/snakemake/snakemake-interface-common"; 42 changelog = "https://github.com/snakemake/snakemake-interface-common/releases/tag/v${version}"; 43 license = licenses.mit; 44 maintainers = with maintainers; [ veprbl ]; 45 }; 46}