Merge pull request #303450 from r-ryantm/auto-update/python312Packages.snakemake-interface-common

python312Packages.snakemake-interface-common: 1.17.1 -> 1.17.2
This commit is contained in:
Fabian Affolter 2024-04-12 21:16:40 +02:00 committed by GitHub
commit c7f760c54b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 20 additions and 12 deletions

View File

@ -1,37 +1,45 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, poetry-core
, argparse-dataclass
, configargparse
{
lib,
argparse-dataclass,
buildPythonPackage,
configargparse,
fetchFromGitHub,
poetry-core,
pythonOlder,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "snakemake-interface-common";
version = "1.17.2";
format = "pyproject";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "snakemake";
repo = pname;
repo = "snakemake-interface-common";
rev = "refs/tags/v${version}";
hash = "sha256-N8mSS+gABAgXm01BcsMk89a3HsIsc3RHxCAi3GlxtRg=";
};
nativeBuildInputs = [
poetry-core
];
build-system = [ poetry-core ];
propagatedBuildInputs = [
dependencies = [
argparse-dataclass
configargparse
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "snakemake_interface_common" ];
pytestFlagsArray = [ "tests/tests.py" ];
meta = with lib; {
description = "Common functions and classes for Snakemake and its plugins";
homepage = "https://github.com/snakemake/snakemake-interface-common";
changelog = "https://github.com/snakemake/snakemake-interface-common/releases/tag/v${version}";
license = licenses.mit;
maintainers = with maintainers; [ veprbl ];
};