summary refs log tree commit diff
path: root/pkgs/servers/web-apps
diff options
context:
space:
mode:
authorJonas Heinrich <onny@project-insanity.org>2022-10-02 14:46:51 +0200
committerJonas Heinrich <onny@project-insanity.org>2022-11-01 19:48:09 +0100
commita6e8bd09f38f70074ffb81eaef56719e5f55aa9a (patch)
treee48bf31f9b7722c68eee64a2c1812b69da8a191a /pkgs/servers/web-apps
parentfaacb60b6ed9a63cef1461e594e7a708448fd5bf (diff)
downloadnixpkgs-a6e8bd09f38f70074ffb81eaef56719e5f55aa9a.tar
nixpkgs-a6e8bd09f38f70074ffb81eaef56719e5f55aa9a.tar.gz
nixpkgs-a6e8bd09f38f70074ffb81eaef56719e5f55aa9a.tar.bz2
nixpkgs-a6e8bd09f38f70074ffb81eaef56719e5f55aa9a.tar.lz
nixpkgs-a6e8bd09f38f70074ffb81eaef56719e5f55aa9a.tar.xz
nixpkgs-a6e8bd09f38f70074ffb81eaef56719e5f55aa9a.tar.zst
nixpkgs-a6e8bd09f38f70074ffb81eaef56719e5f55aa9a.zip
invoiceplane: 1.5.11 -> 1.6-beta-1
Diffstat (limited to 'pkgs/servers/web-apps')
-rw-r--r--pkgs/servers/web-apps/invoiceplane/default.nix37
1 files changed, 3 insertions, 34 deletions
diff --git a/pkgs/servers/web-apps/invoiceplane/default.nix b/pkgs/servers/web-apps/invoiceplane/default.nix
index fa79997fbd0..670d42102f5 100644
--- a/pkgs/servers/web-apps/invoiceplane/default.nix
+++ b/pkgs/servers/web-apps/invoiceplane/default.nix
@@ -2,51 +2,20 @@
 
 stdenv.mkDerivation rec {
   pname = "invoiceplane";
-  version = "1.5.11";
+  version = "1.6-beta-1";
 
   src = fetchurl {
     url = "https://github.com/InvoicePlane/InvoicePlane/releases/download/v${version}/v${version}.zip";
-    sha256 = "137g0xps4kb3j7f5gz84ql18iggbya6d9dnrfp05g2qcbbp8kqad";
+    sha256 = "sha256-hIbk9zzqbwv2kSFClgPfTObB1YHj7KR4swKjGoN2v2E=";
   };
 
-  patches = [
-
-    # Fix CVE-2021-29024, unauthenticated directory listing
-    # Should be included in a later release > 1.5.11
-    # https://github.com/NixOS/nixpkgs/issues/166655
-    # https://github.com/InvoicePlane/InvoicePlane/pull/754
-    (fetchpatch {
-      url = "https://patch-diff.githubusercontent.com/raw/InvoicePlane/InvoicePlane/pull/754.patch";
-      sha256 = "sha256-EHXw7Zqli/nA3tPIrhxpt8ueXvDtshz0XRzZT78sdQk=";
-    })
-
-    # Fix CVE-2021-29023, password reset rate-limiting
-    # Should be included in a later release > 1.5.11
-    # https://github.com/NixOS/nixpkgs/issues/166655
-    # https://github.com/InvoicePlane/InvoicePlane/pull/739
-    (fetchpatch {
-      url = "https://patch-diff.githubusercontent.com/raw/InvoicePlane/InvoicePlane/pull/739.patch";
-      sha256 = "sha256-6ksJjW6awr3lZsDRxa22pCcRGBVBYyV8+TbhOp6HBq0=";
-    })
-
-    # Fix CVE-2021-29022, full path disclosure
-    # Should be included in a later release > 1.5.11
-    # https://github.com/NixOS/nixpkgs/issues/166655
-    # https://github.com/InvoicePlane/InvoicePlane/pull/767
-    #(fetchpatch {
-    #  url = "https://patch-diff.githubusercontent.com/raw/InvoicePlane/InvoicePlane/pull/767.patch";
-    #  sha256 = "sha256-rSWDH8KeHSRWLyQEa7RSwv+8+ja9etTz+6Q9XThuwUo=";
-    #})
-
-  ];
-
   nativeBuildInputs = [ unzip ];
 
   sourceRoot = ".";
 
   installPhase = ''
     mkdir -p $out/
-    cp -r . $out/
+    cp -r ip/. $out/
   '';
 
   passthru.tests = {