nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 poetry-core, 6 snakemake-interface-executor-plugins, 7 snakemake-interface-common, 8}: 9 10buildPythonPackage rec { 11 pname = "snakemake-executor-plugin-cluster-generic"; 12 version = "1.0.9"; 13 pyproject = true; 14 15 src = fetchFromGitHub { 16 owner = "snakemake"; 17 repo = "snakemake-executor-plugin-cluster-generic"; 18 tag = "v${version}"; 19 hash = "sha256-RHMefoJOZb6TjRsFCORLFdHtI5ZpTsV6CHrjHKMat9o="; 20 }; 21 22 nativeBuildInputs = [ poetry-core ]; 23 24 propagatedBuildInputs = [ 25 snakemake-interface-executor-plugins 26 snakemake-interface-common 27 ]; 28 29 pythonImportsCheck = [ "snakemake_executor_plugin_cluster_generic" ]; 30 31 meta = { 32 description = "Generic cluster executor for Snakemake"; 33 homepage = "https://github.com/snakemake/snakemake-executor-plugin-cluster-generic"; 34 license = lib.licenses.mit; 35 maintainers = with lib.maintainers; [ veprbl ]; 36 }; 37}