Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 poetry-core, 6 snakemake, 7 snakemake-interface-storage-plugins, 8 snakemake-interface-common, 9 xrootd, 10}: 11 12buildPythonPackage rec { 13 pname = "snakemake-storage-plugin-xrootd"; 14 version = "0.1.4"; 15 pyproject = true; 16 17 src = fetchFromGitHub { 18 owner = "snakemake"; 19 repo = pname; 20 rev = "refs/tags/v${version}"; 21 hash = "sha256-1plBss9jRzIIGQE7rXDEnAomFxNzSUKsw0VyhYA2mIc="; 22 }; 23 24 # xrootd<6.0.0,>=5.6.4 not satisfied by version 5.7rc20240303 25 pythonRelaxDeps = [ "xrootd" ]; 26 27 build-system = [ poetry-core ]; 28 29 dependencies = [ 30 snakemake-interface-storage-plugins 31 snakemake-interface-common 32 xrootd 33 ]; 34 35 nativeCheckInputs = [ snakemake ]; 36 37 pythonImportsCheck = [ "snakemake_storage_plugin_xrootd" ]; 38 39 meta = with lib; { 40 description = "Snakemake storage plugin for handling input and output via XRootD"; 41 homepage = "https://github.com/snakemake/snakemake-storage-plugin-xrootd"; 42 license = licenses.mit; 43 maintainers = with maintainers; [ veprbl ]; 44 }; 45}