git.iko.soy/typeable/nixpkgs
on master help sign in
wallabag: 2.4.2 -> 2.4.3

https://github.com/wallabag/wallabag/releases/tag/2.4.3

commit71a8819e3d80db1869c311388185d406230e6f77 authorMartin Weinelt <hexa@darmstadt.ccc.de> dateMon 14 Feb 2022, 18:37 (5 years ago) parent007c8d9
1 file changed+25−16
pkgs/servers/web-apps/wallabag/default.nix+25−16
pkgs/servers/web-apps/wallabag/default.nix+25−16
@@ -1,18 +1,28 @@
1−{ lib, stdenv, fetchurl }:
2−
3−stdenv.mkDerivation rec {
1+{ lib
2+, stdenv
3+, fetchurl
4+}:
5+
6+# Point the environment variable $WALLABAG_DATA to a data directory
7+# that contains the folder `app/config` which must be a clone of
8+# wallabag's configuration files with your customized `parameters.yml`.
9+# These need to be updated every package upgrade.
10+#
11+# After a package upgrade, empty the `var/cache` folder or unexpected
12+# error will occur.
13+
14+let
415 pname = "wallabag";
5− version = "2.4.2";
6−
7− # remember to rm -r var/cache/* after a rebuild or unexpected errors will occur
16+ version = "2.4.3";
17+in
18+stdenv.mkDerivation {
19+ inherit pname version;
820
921 src = fetchurl {
1022 url = "https://static.wallabag.org/releases/wallabag-release-${version}.tar.gz";
11− sha256 = "1n39flqqqjih0lc86vxdzbp44x4rqj5292if2fsa8y1xxlvyqmns";
23+ hash = "sha256-u6TflAzxoaxjLhNMv5ua+NPBv4kxGycgz2QXnhtDHTo=";
1224 };
1325
14− outputs = [ "out" ];
15−
1626 patches = [
1727 ./wallabag-data.patch # exposes $WALLABAG_DATA
1828 ];
@@ -20,22 +30,21 @@ stdenv.mkDerivation rec {
2030 dontBuild = true;
2131
2232 installPhase = ''
23− mkdir $out/
33+ mkdir $out
2434 cp -R * $out/
2535 '';
2636
2737 meta = with lib; {
28− description = "Web page archiver";
38+ description = "wallabag is a self hostable application for saving web pages";
2939 longDescription = ''
30− wallabag is a self hostable application for saving web pages.
31−
32− 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.
33− After a package upgrade, empty the `var/cache` folder.
40+ wallabag is a self-hostable PHP application allowing you to not
41+ miss any content anymore. Click, save and read it when you can.
42+ It extracts content so that you can read it when you have time.
3443 '';
3544 license = licenses.mit;
3645 homepage = "http://wallabag.org";
46+ changelog = "https://github.com/wallabag/wallabag/releases/tag/${version}";
3747 maintainers = with maintainers; [ schneefux ];
3848 platforms = platforms.all;
3949 };
4050}
41−