about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorWeijia Wang <9713184+wegank@users.noreply.github.com>2023-05-25 15:06:49 +0300
committerGitHub <noreply@github.com>2023-05-25 15:06:49 +0300
commit853d738a63f804017e40bd7663b5ea2aab67f021 (patch)
tree7f1d53e3be6dc1fb61ee70aba5f8112385f3839c /pkgs
parentd7aea47780a263da9bb7b75efe15839917a5e6d1 (diff)
parent802798a5604feb2dfae8097195af6f1f95878f73 (diff)
Merge pull request #233968 from nagy/nsxiv
nsxiv: 30 -> 31
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/applications/graphics/nsxiv/default.nix14
1 files changed, 3 insertions, 11 deletions
diff --git a/pkgs/applications/graphics/nsxiv/default.nix b/pkgs/applications/graphics/nsxiv/default.nix
index 019aaf86dc3b4..9f9673faa2a37 100644
--- a/pkgs/applications/graphics/nsxiv/default.nix
+++ b/pkgs/applications/graphics/nsxiv/default.nix
@@ -1,7 +1,6 @@
 { lib
 , stdenv
 , fetchFromGitea
-, fetchpatch
 , giflib
 , imlib2
 , libXft
@@ -13,24 +12,16 @@
 
 stdenv.mkDerivation rec {
   pname = "nsxiv";
-  version = "30";
+  version = "31";
 
   src = fetchFromGitea {
     domain = "codeberg.org";
     owner = "nsxiv";
     repo = "nsxiv";
     rev = "v${version}";
-    hash = "sha256-swzTdQ6ow1At4bKRORqz6fb0Ej92yU9rlI/OgcinPu4=";
+    hash = "sha256-X1ZMr5OADs9GIe/kp/kEqKMMHZMymd58m9+f0SPzn7s=";
   };
 
-  patches = [
-    # Fix build failure when _SC_PHYS_PAGES is not defined
-    (fetchpatch {
-      url = "https://codeberg.org/nsxiv/nsxiv/commit/1a50bff9f300f84e93a6e7035657e6029e7e8183.patch";
-      hash = "sha256-PpUqGVWaJ06EVu3tBKVzOh8HYvT6wAG3bvY6wUD+dTM=";
-    })
-  ];
-
   buildInputs = [
     giflib
     imlib2
@@ -71,5 +62,6 @@ stdenv.mkDerivation rec {
     license = licenses.gpl2Plus;
     maintainers = with maintainers; [ AndersonTorres sikmir ];
     platforms = platforms.unix;
+    changelog = "https://codeberg.org/nsxiv/nsxiv/src/tag/${src.rev}/etc/CHANGELOG.md";
   };
 }