diff --git a/pkgs/development/python-modules/snakemake-interface-common/default.nix b/pkgs/development/python-modules/snakemake-interface-common/default.nix index 3ec3baca2d5a..06c5f2bfe703 100644 --- a/pkgs/development/python-modules/snakemake-interface-common/default.nix +++ b/pkgs/development/python-modules/snakemake-interface-common/default.nix @@ -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 ]; - meta = with lib; { + # enabledTestPaths = [ "tests/tests.py" ]; + + 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 ]; }; }