tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
kseexpr: init at 4.0.4.0
nek0
2 years ago
a0dd067c
491af1f1
+49
2 changed files
expand all
collapse all
unified
split
pkgs
by-name
ks
kseexpr
cmake_libdir.patch
package.nix
+13
pkgs/by-name/ks/kseexpr/cmake_libdir.patch
···
1
1
+
diff --git a/cmake/kseexpr.pc.in b/cmake/kseexpr.pc.in
2
2
+
index 4b9f15f..fc76153 100644
3
3
+
--- a/cmake/kseexpr.pc.in
4
4
+
+++ b/cmake/kseexpr.pc.in
5
5
+
@@ -5,7 +5,7 @@
6
6
+
7
7
+
# pkg-config file for KSeExpr
8
8
+
prefix=@CMAKE_INSTALL_PREFIX@
9
9
+
-libdir=${prefix}/@CMAKE_INSTALL_LIBDIR@
10
10
+
+libdir=@CMAKE_INSTALL_FULL_LIBDIR@
11
11
+
includedir=${prefix}/include
12
12
+
13
13
+
Name: KSeExpr
+36
pkgs/by-name/ks/kseexpr/package.nix
···
1
1
+
{ stdenv, lib
2
2
+
, fetchFromGitLab
3
3
+
, sd
4
4
+
, cmake
5
5
+
, qt5
6
6
+
, libsForQt5
7
7
+
, bison, flex, llvm, extra-cmake-modules
8
8
+
}:
9
9
+
10
10
+
11
11
+
stdenv.mkDerivation rec {
12
12
+
pname = "kseexpr";
13
13
+
version = "4.0.4.0";
14
14
+
src = fetchFromGitLab {
15
15
+
domain = "invent.kde.org";
16
16
+
owner = "graphics";
17
17
+
repo = pname;
18
18
+
rev = "v${version}";
19
19
+
hash = "sha256-XjFGAN7kK2b0bLouYG3OhajhOQk4AgC4EQRzseccGCE=";
20
20
+
};
21
21
+
patches = [
22
22
+
# see https://github.com/NixOS/nixpkgs/issues/144170
23
23
+
./cmake_libdir.patch
24
24
+
];
25
25
+
buildInputs = [
26
26
+
qt5.qtbase
27
27
+
bison flex llvm libsForQt5.ki18n
28
28
+
];
29
29
+
nativeBuildInputs = [ cmake qt5.wrapQtAppsHook extra-cmake-modules ];
30
30
+
meta = with lib; {
31
31
+
homepage = "https://invent.kde.org/graphics/kseexpr";
32
32
+
description = "An embeddable expression evaluation engine";
33
33
+
maintainers = with maintainers; [ nek0 ];
34
34
+
license = licenses.lgpl3Plus;
35
35
+
};
36
36
+
}