about summary refs log tree commit diff
path: root/pkgs/development/libraries/grantlee
diff options
context:
space:
mode:
authorK900 <me@0upti.me>2023-03-18 11:00:36 +0300
committerK900 <me@0upti.me>2023-03-18 11:00:52 +0300
commit9359136d3a0eae3c7a5b169b2c8df496e38b01b5 (patch)
tree48599bacdb18a4a378bb416aed963b848fa05228 /pkgs/development/libraries/grantlee
parent27e7233eba4e1dedc3bdc02ff48c44e18899826f (diff)
grantlee: 5.2.0 -> 5.3.1
Diffstat (limited to 'pkgs/development/libraries/grantlee')
-rw-r--r--pkgs/development/libraries/grantlee/5/default.nix4
-rw-r--r--pkgs/development/libraries/grantlee/5/grantlee-no-canonicalize-filepath.patch2
2 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/development/libraries/grantlee/5/default.nix b/pkgs/development/libraries/grantlee/5/default.nix
index 56899b1f89783..b115e1c8d7b60 100644
--- a/pkgs/development/libraries/grantlee/5/default.nix
+++ b/pkgs/development/libraries/grantlee/5/default.nix
@@ -2,14 +2,14 @@
 
 mkDerivation rec {
   pname = "grantlee";
-  version = "5.2.0";
+  version = "5.3.1";
   grantleePluginPrefix = "lib/grantlee/${lib.versions.majorMinor version}";
 
   src = fetchFromGitHub {
     owner = "steveire";
     repo = "grantlee";
     rev = "v${version}";
-    sha256 = "sha256-mAbgzdBdIW1wOTQNBePQuyTgkKdpn1c+zR3H7mXHvgk=";
+    sha256 = "sha256-enP7b6A7Ndew2LJH569fN3IgPu2/KL5rCmU/jmKb9sY=";
   };
 
   buildInputs = [ qtbase qtscript ];
diff --git a/pkgs/development/libraries/grantlee/5/grantlee-no-canonicalize-filepath.patch b/pkgs/development/libraries/grantlee/5/grantlee-no-canonicalize-filepath.patch
index 64eb11c3f1566..b29911bcfcdb0 100644
--- a/pkgs/development/libraries/grantlee/5/grantlee-no-canonicalize-filepath.patch
+++ b/pkgs/development/libraries/grantlee/5/grantlee-no-canonicalize-filepath.patch
@@ -9,7 +9,7 @@ Index: grantlee-5.1.0/templates/lib/templateloader.cpp
 -    if (file.exists()
 -        && !fi.canonicalFilePath().contains(
 -            QDir(d->m_templateDirs.at(i)).canonicalPath()))
--      return Template();
+-      return {};
      ++i;
    }