git.iko.soy/typeable/nixpkgs
on master help sign in
s3ql: 2.17.1 -> 2.21
commit99c7aa45e762e4ef9a56a11ab10e961ec8874aff authorPeter Hoeg <peter@hoeg.com> dateThu 16 Mar 2017, 18:12 (10 years ago) parentaca073e
1 file changed+17−5
pkgs/tools/backup/s3ql/default.nix+17−5
pkgs/tools/backup/s3ql/default.nix+17−5
@@ -1,17 +1,29 @@
1−{ stdenv, fetchurl, python3Packages, sqlite }:
1+{ stdenv, fetchurl, python3Packages, sqlite, which }:
22
33python3Packages.buildPythonApplication rec {
44 name = "${pname}-${version}";
55 pname = "s3ql";
6− version = "2.17.1";
6+ version = "2.21";
77
88 src = fetchurl {
99 url = "https://bitbucket.org/nikratio/${pname}/downloads/${name}.tar.bz2";
10− sha256 = "049vpvvkyia7v4v97rg2l01n43shrdxc1ik38bmjb2q4fvsh1pgx";
10+ sha256 = "1mifmxbsxc2rcrydk2vs5cjfd5r0510q5y7rmavlzi8grpcqdf3d";
1111 };
1212
13− propagatedBuildInputs = with python3Packages;
14− [ sqlite apsw pycrypto requests2 defusedxml dugong llfuse ];
13+ buildInputs = [ which ]; # tests will fail without which
14+ propagatedBuildInputs = with python3Packages; [
15+ sqlite apsw pycrypto requests2 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+ '';
1527
1628 meta = with stdenv.lib; {
1729 description = "A full-featured file system for online data storage";