Commit ea7b9bfc authored by kyehn's avatar kyehn
Browse files

python313Packages.snakemake-interface-common: 1.17.4 -> 1.21.0

parent 312ce6e2
Loading
Loading
Loading
Loading
+11 −14
Original line number Diff line number Diff line
@@ -4,43 +4,40 @@
  buildPythonPackage,
  configargparse,
  fetchFromGitHub,
  poetry-core,
  pythonOlder,
  pytestCheckHook,
  setuptools,
}:

buildPythonPackage rec {
  pname = "snakemake-interface-common";
  version = "1.17.4";
  version = "1.21.0";
  pyproject = true;

  disabled = pythonOlder "3.8";

  src = fetchFromGitHub {
    owner = "snakemake";
    repo = "snakemake-interface-common";
    tag = "v${version}";
    hash = "sha256-PMEs7yeVfSnZKbabLrbXfIKCIPteNV1wzbt9RIDG3qU=";
    hash = "sha256-8QISVZZ/kwWBNFtndzysnxFuuemkDXcWqEtCdVVsANo=";
  };

  build-system = [ poetry-core ];
  build-system = [ setuptools ];

  dependencies = [
    argparse-dataclass
    configargparse
  ];

  nativeCheckInputs = [ pytestCheckHook ];

  pythonImportsCheck = [ "snakemake_interface_common" ];

  enabledTestPaths = [ "tests/tests.py" ];
  # test_snakemake_version: No module named 'snakemake'
  # nativeCheckInputs = [ pytestCheckHook ];

  # enabledTestPaths = [ "tests/tests.py" ];

  meta = with lib; {
  meta = {
    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 ];
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ veprbl ];
  };
}