10 python3.pkgs.buildPythonApplication rec {
15 src = fetchFromGitHub {
18 rev = "refs/tags/s3ql-${version}";
19 hash = "sha256-hNqKLpJd0vj96Jx4YnqYsPLq/iTbvmtvjyLrYozaxpk=";
22 build-system = with python3.pkgs; [ setuptools ];
24 nativeBuildInputs = [ which ] ++ (with python3.pkgs; [ cython ]);
26 propagatedBuildInputs = with python3.pkgs; [
39 nativeCheckInputs = with python3.pkgs; [
45 ${python3.pkgs.python.pythonOnBuildForHost.interpreter} ./setup.py build_cython build_ext --inplace
49 export HOME=$(mktemp -d)
52 pythonImportsCheck = [ "s3ql" ];
54 pytestFlagsArray = [ "tests/" ];
56 passthru.updateScript = nix-update-script {
64 description = "Full-featured file system for online data storage";
65 homepage = "https://github.com/s3ql/s3ql/";
66 changelog = "https://github.com/s3ql/s3ql/releases/tag/s3ql-${version}";
67 license = licenses.gpl3Only;
68 maintainers = with maintainers; [ rushmorem ];
69 platforms = platforms.linux;