tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
gr-framework: 0.72.9 -> 0.72.10
Pavel Sobolev
2 years ago
3331fc65
3b528a2f
+31
-2
2 changed files
expand all
collapse all
unified
split
pkgs
development
libraries
gr-framework
Use-the-module-mode-to-search-for-the-LibXml2-package.patch
default.nix
+25
pkgs/development/libraries/gr-framework/Use-the-module-mode-to-search-for-the-LibXml2-package.patch
reviewed
···
1
1
+
From 5d2377ad5e99742662e056bb782d5c21afb01dfb Mon Sep 17 00:00:00 2001
2
2
+
From: Pavel Sobolev <paveloom@riseup.net>
3
3
+
Date: Tue, 19 Sep 2023 13:27:39 +0300
4
4
+
Subject: [PATCH] Use the module mode to search for the `LibXml2` package.
5
5
+
6
6
+
---
7
7
+
CMakeLists.txt | 2 +-
8
8
+
1 file changed, 1 insertion(+), 1 deletion(-)
9
9
+
10
10
+
diff --git a/CMakeLists.txt b/CMakeLists.txt
11
11
+
index 03490335..fb69e8fd 100644
12
12
+
--- a/CMakeLists.txt
13
13
+
+++ b/CMakeLists.txt
14
14
+
@@ -96,7 +96,7 @@ find_package(Expat)
15
15
+
# CMake ships with a `FindLibXml2.cmake` module which does not configure needed libxml2 dependencies.
16
16
+
# Thus, use the `libxml2-config.cmake` config file shipped with libxml which configures dependencies correctly by
17
17
+
# skipping module search mode.
18
18
+
-find_package(LibXml2 NO_MODULE)
19
19
+
+find_package(LibXml2 MODULE)
20
20
+
if(${CMAKE_VERSION} VERSION_GREATER "3.16.0")
21
21
+
find_package(
22
22
+
Qt6
23
23
+
--
24
24
+
2.42.0
25
25
+
+6
-2
pkgs/development/libraries/gr-framework/default.nix
reviewed
···
20
20
21
21
stdenv.mkDerivation rec {
22
22
pname = "gr-framework";
23
23
-
version = "0.72.9";
23
23
+
version = "0.72.10";
24
24
25
25
src = fetchFromGitHub {
26
26
owner = "sciapp";
27
27
repo = "gr";
28
28
rev = "v${version}";
29
29
-
hash = "sha256-4rOcrMn0sxTeRQqiQMAWULzUV39i6J96Mb096Lyblns=";
29
29
+
hash = "sha256-ZFaun8PBtPTmhZ0+OHzUu27NvcJGxsImh+c7ZvCTNa0=";
30
30
};
31
31
+
32
32
+
patches = [
33
33
+
./Use-the-module-mode-to-search-for-the-LibXml2-package.patch
34
34
+
];
31
35
32
36
nativeBuildInputs = [
33
37
cmake