diff options
author | Martin Weinelt <hexa@darmstadt.ccc.de> | 2022-02-14 18:37:26 +0100 |
---|---|---|
committer | Martin Weinelt <hexa@darmstadt.ccc.de> | 2022-02-17 22:06:28 +0100 |
commit | 71a8819e3d80db1869c311388185d406230e6f77 (patch) | |
tree | 4fdd5f2137d9ce18d98f51b2828d58f1f9d500ff /pkgs/servers/web-apps | |
parent | 007c8d90118b060556cebeb045b3cf1561650b1d (diff) | |
download | nixpkgs-71a8819e3d80db1869c311388185d406230e6f77.tar nixpkgs-71a8819e3d80db1869c311388185d406230e6f77.tar.gz nixpkgs-71a8819e3d80db1869c311388185d406230e6f77.tar.bz2 nixpkgs-71a8819e3d80db1869c311388185d406230e6f77.tar.lz nixpkgs-71a8819e3d80db1869c311388185d406230e6f77.tar.xz nixpkgs-71a8819e3d80db1869c311388185d406230e6f77.tar.zst nixpkgs-71a8819e3d80db1869c311388185d406230e6f77.zip |
wallabag: 2.4.2 -> 2.4.3
https://github.com/wallabag/wallabag/releases/tag/2.4.3
Diffstat (limited to 'pkgs/servers/web-apps')
-rw-r--r-- | pkgs/servers/web-apps/wallabag/default.nix | 41 |
1 files changed, 25 insertions, 16 deletions
diff --git a/pkgs/servers/web-apps/wallabag/default.nix b/pkgs/servers/web-apps/wallabag/default.nix index c3c0eb50785..6730608f707 100644 --- a/pkgs/servers/web-apps/wallabag/default.nix +++ b/pkgs/servers/web-apps/wallabag/default.nix @@ -1,18 +1,28 @@ -{ lib, stdenv, fetchurl }: - -stdenv.mkDerivation rec { +{ lib +, stdenv +, fetchurl +}: + +# Point the environment variable $WALLABAG_DATA to a data directory +# that contains the folder `app/config` which must be a clone of +# wallabag's configuration files with your customized `parameters.yml`. +# These need to be updated every package upgrade. +# +# After a package upgrade, empty the `var/cache` folder or unexpected +# error will occur. + +let pname = "wallabag"; - version = "2.4.2"; - - # remember to rm -r var/cache/* after a rebuild or unexpected errors will occur + version = "2.4.3"; +in +stdenv.mkDerivation { + inherit pname version; src = fetchurl { url = "https://static.wallabag.org/releases/wallabag-release-${version}.tar.gz"; - sha256 = "1n39flqqqjih0lc86vxdzbp44x4rqj5292if2fsa8y1xxlvyqmns"; + hash = "sha256-u6TflAzxoaxjLhNMv5ua+NPBv4kxGycgz2QXnhtDHTo="; }; - outputs = [ "out" ]; - patches = [ ./wallabag-data.patch # exposes $WALLABAG_DATA ]; @@ -20,22 +30,21 @@ stdenv.mkDerivation rec { dontBuild = true; installPhase = '' - mkdir $out/ + mkdir $out cp -R * $out/ ''; meta = with lib; { - description = "Web page archiver"; + description = "wallabag is a self hostable application for saving web pages"; longDescription = '' - wallabag is a self hostable application for saving web pages. - - Point the environment variable $WALLABAG_DATA to a data directory that contains the folder `app/config` which must be a clone of wallabag's configuration files with your customized `parameters.yml`. These need to be updated every package upgrade. - After a package upgrade, empty the `var/cache` folder. + wallabag is a self-hostable PHP application allowing you to not + miss any content anymore. Click, save and read it when you can. + It extracts content so that you can read it when you have time. ''; license = licenses.mit; homepage = "http://wallabag.org"; + changelog = "https://github.com/wallabag/wallabag/releases/tag/${version}"; maintainers = with maintainers; [ schneefux ]; platforms = platforms.all; }; } - |