1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 poetry-core,
6 snakemake-interface-storage-plugins,
7 snakemake-interface-common,
8 sysrsync,
9}:
10
11buildPythonPackage rec {
12 pname = "snakemake-storage-plugin-fs";
13 version = "1.1.2";
14 pyproject = true;
15
16 src = fetchFromGitHub {
17 owner = "snakemake";
18 repo = "snakemake-storage-plugin-fs";
19 tag = "v${version}";
20 hash = "sha256-bTkT1D2GJGS+zWvK/BUGLGE8ArZQikHHcdQjREJhldg=";
21 };
22
23 build-system = [ poetry-core ];
24
25 dependencies = [
26 snakemake-interface-storage-plugins
27 snakemake-interface-common
28 sysrsync
29 ];
30
31 # The current tests are not worth dealing with cyclic dependency on snakemake
32 doCheck = false;
33
34 # Use nothing due to a cyclic dependency on snakemake
35 pythonImportsCheck = [ ];
36
37 meta = with lib; {
38 description = "Snakemake storage plugin that reads and writes from a locally mounted filesystem using rsync";
39 homepage = "https://github.com/snakemake/snakemake-storage-plugin-fs";
40 license = licenses.mit;
41 maintainers = with maintainers; [ veprbl ];
42 };
43}