fork
Configure Feed
Select the types of activity you want to include in your feed.
lol
fork
Configure Feed
Select the types of activity you want to include in your feed.
1{ stdenv, fetchurl, python3Packages, sqlite, which }:
2
3python3Packages.buildPythonApplication rec {
4 name = "${pname}-${version}";
5 pname = "s3ql";
6 version = "2.21";
7
8 src = fetchurl {
9 url = "https://bitbucket.org/nikratio/${pname}/downloads/${name}.tar.bz2";
10 sha256 = "1mifmxbsxc2rcrydk2vs5cjfd5r0510q5y7rmavlzi8grpcqdf3d";
11 };
12
13 buildInputs = [ which ]; # tests will fail without which
14 propagatedBuildInputs = with python3Packages; [
15 sqlite apsw pycrypto requests defusedxml dugong llfuse
16 cython pytest pytest-catchlog
17 ];
18
19 preBuild = ''
20 # https://bitbucket.org/nikratio/s3ql/issues/118/no-module-named-s3qldeltadump-running#comment-16951851
21 ${python3Packages.python.interpreter} ./setup.py build_cython build_ext --inplace
22 '';
23
24 checkPhase = ''
25 pytest tests
26 '';
27
28 meta = with stdenv.lib; {
29 description = "A full-featured file system for online data storage";
30 homepage = https://bitbucket.org/nikratio/s3ql;
31 license = licenses.gpl3;
32 maintainers = with maintainers; [ rushmorem ];
33 platforms = platforms.linux;
34 };
35}