diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2020-03-25 11:57:48 +0100 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2020-04-03 16:25:07 +0200 |
commit | 5400b9b6f65451d41a9106fae6fc00f97d83f4ef (patch) | |
tree | 6ed072da7b1f17ac3994ffea052aa0c0822f8446 /pkgs/webapps | |
parent | 441da8aac378f401625e82caf281fa0e26128310 (diff) | |
download | Nix-5400b9b6f65451d41a9106fae6fc00f97d83f4ef.tar.gz Nix-5400b9b6f65451d41a9106fae6fc00f97d83f4ef.tar.zst Nix-5400b9b6f65451d41a9106fae6fc00f97d83f4ef.zip |
Upgrade nixos
Diffstat (limited to 'pkgs/webapps')
-rw-r--r-- | pkgs/webapps/davical/davical_19eb79ebf9250e5f339675319902458c40ed1755.patch | 26 | ||||
-rw-r--r-- | pkgs/webapps/davical/default.nix | 5 | ||||
-rw-r--r-- | pkgs/webapps/diaspora/default.nix | 4 | ||||
-rw-r--r-- | pkgs/webapps/mediagoblin/default.nix | 10 | ||||
-rw-r--r-- | pkgs/webapps/peertube/default.nix | 6 |
5 files changed, 15 insertions, 36 deletions
diff --git a/pkgs/webapps/davical/davical_19eb79ebf9250e5f339675319902458c40ed1755.patch b/pkgs/webapps/davical/davical_19eb79ebf9250e5f339675319902458c40ed1755.patch deleted file mode 100644 index 2a08a5c..0000000 --- a/pkgs/webapps/davical/davical_19eb79ebf9250e5f339675319902458c40ed1755.patch +++ /dev/null | |||
@@ -1,26 +0,0 @@ | |||
1 | diff --git a/inc/ui/collection-edit.php b/inc/ui/collection-edit.php | ||
2 | index 3af9edd3b8c4ad9074113273175098841af6a28e..8c1d84012b035f7bc7faedcb24916581a02a5d3e 100644 | ||
3 | --- a/inc/ui/collection-edit.php | ||
4 | +++ b/inc/ui/collection-edit.php | ||
5 | @@ -190,7 +190,7 @@ $privilege_xlate = array( | ||
6 | * @param dbrow $row The row object we read from the database. | ||
7 | * @return string The formatted privileges. | ||
8 | */ | ||
9 | -function collection_privilege_format_function( $value, $column, $row ) { | ||
10 | +function collection_privilege_format_function( $value, $column = NULL, $row = NULL ) { | ||
11 | global $privilege_xlate; | ||
12 | |||
13 | $privs = bits_to_privilege($value, 'calendar'); | ||
14 | diff --git a/inc/ui/principal-edit.php b/inc/ui/principal-edit.php | ||
15 | index 20dee7fa4ca2235ff2f74be0dfb52cbe937ef822..2e37cd596b597bcce1e59d7c02a1c5fc2a7f88ce 100644 | ||
16 | --- a/inc/ui/principal-edit.php | ||
17 | +++ b/inc/ui/principal-edit.php | ||
18 | @@ -454,7 +454,7 @@ EOTEMPLATE; | ||
19 | * @param dbrow $row The row object we read from the database. | ||
20 | * @return string The formatted privileges. | ||
21 | */ | ||
22 | -function principal_privilege_format_function( $value, $column, $row ) { | ||
23 | +function principal_privilege_format_function( $value, $column = NULL, $row = NULL ) { | ||
24 | global $privilege_xlate; | ||
25 | |||
26 | $privs = bits_to_privilege($value,'*'); | ||
diff --git a/pkgs/webapps/davical/default.nix b/pkgs/webapps/davical/default.nix index 52d8736..6735553 100644 --- a/pkgs/webapps/davical/default.nix +++ b/pkgs/webapps/davical/default.nix | |||
@@ -1,16 +1,15 @@ | |||
1 | { davical_config ? "/etc/davical/config.php", stdenv, fetchurl, gettext }: | 1 | { davical_config ? "/etc/davical/config.php", stdenv, fetchurl, gettext }: |
2 | stdenv.mkDerivation rec { | 2 | stdenv.mkDerivation rec { |
3 | version = "1.1.7"; | 3 | version = "1.1.9.2"; |
4 | name = "davical-${version}"; | 4 | name = "davical-${version}"; |
5 | src = fetchurl { | 5 | src = fetchurl { |
6 | url = "https://www.davical.org/downloads/davical_${version}.orig.tar.xz"; | 6 | url = "https://www.davical.org/downloads/davical_${version}.orig.tar.xz"; |
7 | sha256 = "1ar5m2dxr92b204wkdi8z33ir9vz2jbh5k1p74icpv9ywifvjjp9"; | 7 | sha256 = "133p7fl544df2rqw1nbnj5nj6bvb9kng9q0c3iqrqlpawq3a6ilh"; |
8 | }; | 8 | }; |
9 | unpackCmd = '' | 9 | unpackCmd = '' |
10 | tar --one-top-level -xf $curSrc | 10 | tar --one-top-level -xf $curSrc |
11 | ''; | 11 | ''; |
12 | makeFlags = "all"; | 12 | makeFlags = "all"; |
13 | patches = [ ./davical_19eb79ebf9250e5f339675319902458c40ed1755.patch ]; | ||
14 | installPhase = '' | 13 | installPhase = '' |
15 | mkdir -p $out | 14 | mkdir -p $out |
16 | cp -ra config dba docs htdocs inc locale po scripts testing zonedb $out | 15 | cp -ra config dba docs htdocs inc locale po scripts testing zonedb $out |
diff --git a/pkgs/webapps/diaspora/default.nix b/pkgs/webapps/diaspora/default.nix index eff8d27..b435347 100644 --- a/pkgs/webapps/diaspora/default.nix +++ b/pkgs/webapps/diaspora/default.nix | |||
@@ -15,10 +15,6 @@ let | |||
15 | }); | 15 | }); |
16 | gems = bundlerEnv { | 16 | gems = bundlerEnv { |
17 | name = "diaspora-env"; | 17 | name = "diaspora-env"; |
18 | # https://git.immae.eu/mantisbt/view.php?id=131 | ||
19 | ruby = ruby_2_4.overrideAttrs(old: { | ||
20 | postInstall = builtins.replaceStrings [" --destdir $GEM_HOME"] [""] old.postInstall; | ||
21 | }); | ||
22 | gemfile = "${diaspora_src}/Gemfile"; | 18 | gemfile = "${diaspora_src}/Gemfile"; |
23 | lockfile = "${diaspora_src}/Gemfile.lock"; | 19 | lockfile = "${diaspora_src}/Gemfile.lock"; |
24 | gemset = if ldap then ./gemset_ldap.nix else ./gemset.nix; | 20 | gemset = if ldap then ./gemset_ldap.nix else ./gemset.nix; |
diff --git a/pkgs/webapps/mediagoblin/default.nix b/pkgs/webapps/mediagoblin/default.nix index 643daed..f6393fe 100644 --- a/pkgs/webapps/mediagoblin/default.nix +++ b/pkgs/webapps/mediagoblin/default.nix | |||
@@ -2,6 +2,15 @@ | |||
2 | let | 2 | let |
3 | overridePython = let | 3 | overridePython = let |
4 | packageOverrides = self: super: { | 4 | packageOverrides = self: super: { |
5 | pybcrypt = super.buildPythonPackage rec { | ||
6 | pname = "pybcrypt"; | ||
7 | version = "0.4"; | ||
8 | |||
9 | src = self.fetchPypi { | ||
10 | inherit pname version; | ||
11 | sha256 = "5fa13bce551468350d66c4883694850570f3da28d6866bb638ba44fe5eabda78"; | ||
12 | }; | ||
13 | }; | ||
5 | celery = super.celery.overridePythonAttrs(old: rec { | 14 | celery = super.celery.overridePythonAttrs(old: rec { |
6 | version = "3.1.26.post2"; | 15 | version = "3.1.26.post2"; |
7 | src = self.fetchPypi { | 16 | src = self.fetchPypi { |
@@ -45,6 +54,7 @@ let | |||
45 | inherit (old) pname; | 54 | inherit (old) pname; |
46 | sha256 = "8b0ec71af9291191ba83a91c03d157b19ab3e7119e27da97932a4773a3f664a9"; | 55 | sha256 = "8b0ec71af9291191ba83a91c03d157b19ab3e7119e27da97932a4773a3f664a9"; |
47 | }; | 56 | }; |
57 | doCheck = false; | ||
48 | }); | 58 | }); |
49 | tempita_5_3_dev = super.buildPythonPackage (mylibs.fetchedGithub ./tempita.json // rec { | 59 | tempita_5_3_dev = super.buildPythonPackage (mylibs.fetchedGithub ./tempita.json // rec { |
50 | buildInputs = with self; [ nose ]; | 60 | buildInputs = with self; [ nose ]; |
diff --git a/pkgs/webapps/peertube/default.nix b/pkgs/webapps/peertube/default.nix index a04d490..8995419 100644 --- a/pkgs/webapps/peertube/default.nix +++ b/pkgs/webapps/peertube/default.nix | |||
@@ -3,7 +3,7 @@ | |||
3 | let | 3 | let |
4 | nodeHeaders = fetchurl { | 4 | nodeHeaders = fetchurl { |
5 | url = "https://nodejs.org/download/release/v${nodejs.version}/node-v${nodejs.version}-headers.tar.gz"; | 5 | url = "https://nodejs.org/download/release/v${nodejs.version}/node-v${nodejs.version}-headers.tar.gz"; |
6 | sha256 = "16f20ya3ys6w5w6y6l4536f7jrgk4gz46bf71w1r1xxb26a54m32"; | 6 | sha256 = "1g6zi96k8sbim8wa8rzskxy44mgpcv1mn2bs8p4mq36w3kwglwyj"; |
7 | }; | 7 | }; |
8 | patchedPackages = stdenv.mkDerivation (mylibs.fetchedGithub ./peertube.json // rec { | 8 | patchedPackages = stdenv.mkDerivation (mylibs.fetchedGithub ./peertube.json // rec { |
9 | patches = if ldap then [ ./ldap.patch ././yarn_fix_bluebird_ldap.patch ] else [ ./yarn_fix_bluebird.patch ]; | 9 | patches = if ldap then [ ./ldap.patch ././yarn_fix_bluebird_ldap.patch ] else [ ./yarn_fix_bluebird.patch ]; |
@@ -33,8 +33,8 @@ let | |||
33 | buildInputs = [ nodePackages.node-pre-gyp ]; | 33 | buildInputs = [ nodePackages.node-pre-gyp ]; |
34 | postInstall = let | 34 | postInstall = let |
35 | bcrypt_lib = fetchurl { | 35 | bcrypt_lib = fetchurl { |
36 | url = "https://github.com/kelektiv/node.bcrypt.js/releases/download/v3.0.2/bcrypt_lib-v3.0.2-node-v57-linux-x64-glibc.tar.gz"; | 36 | url = "https://github.com/kelektiv/node.bcrypt.js/releases/download/v3.0.2/bcrypt_lib-v3.0.2-node-v64-linux-x64-glibc.tar.gz"; |
37 | sha256 = "04bj3yn1wi8a6izihskyks0bb4nls3mndgb2yj12iraiv5dmg097"; | 37 | sha256 = "0i0dx4h52fqi3mda2zzqrxp2fh7spbvf7h88mjk218h8d7vl53yx"; |
38 | }; | 38 | }; |
39 | in | 39 | in |
40 | '' | 40 | '' |