mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-31 09:14:28 +00:00
kseexpr: init at 4.0.4.0
This commit is contained in:
parent
491af1f1cc
commit
a0dd067cb3
13
pkgs/by-name/ks/kseexpr/cmake_libdir.patch
Normal file
13
pkgs/by-name/ks/kseexpr/cmake_libdir.patch
Normal file
@ -0,0 +1,13 @@
|
||||
diff --git a/cmake/kseexpr.pc.in b/cmake/kseexpr.pc.in
|
||||
index 4b9f15f..fc76153 100644
|
||||
--- a/cmake/kseexpr.pc.in
|
||||
+++ b/cmake/kseexpr.pc.in
|
||||
@@ -5,7 +5,7 @@
|
||||
|
||||
# pkg-config file for KSeExpr
|
||||
prefix=@CMAKE_INSTALL_PREFIX@
|
||||
-libdir=${prefix}/@CMAKE_INSTALL_LIBDIR@
|
||||
+libdir=@CMAKE_INSTALL_FULL_LIBDIR@
|
||||
includedir=${prefix}/include
|
||||
|
||||
Name: KSeExpr
|
36
pkgs/by-name/ks/kseexpr/package.nix
Normal file
36
pkgs/by-name/ks/kseexpr/package.nix
Normal file
@ -0,0 +1,36 @@
|
||||
{ stdenv, lib
|
||||
, fetchFromGitLab
|
||||
, sd
|
||||
, cmake
|
||||
, qt5
|
||||
, libsForQt5
|
||||
, bison, flex, llvm, extra-cmake-modules
|
||||
}:
|
||||
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "kseexpr";
|
||||
version = "4.0.4.0";
|
||||
src = fetchFromGitLab {
|
||||
domain = "invent.kde.org";
|
||||
owner = "graphics";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-XjFGAN7kK2b0bLouYG3OhajhOQk4AgC4EQRzseccGCE=";
|
||||
};
|
||||
patches = [
|
||||
# see https://github.com/NixOS/nixpkgs/issues/144170
|
||||
./cmake_libdir.patch
|
||||
];
|
||||
buildInputs = [
|
||||
qt5.qtbase
|
||||
bison flex llvm libsForQt5.ki18n
|
||||
];
|
||||
nativeBuildInputs = [ cmake qt5.wrapQtAppsHook extra-cmake-modules ];
|
||||
meta = with lib; {
|
||||
homepage = "https://invent.kde.org/graphics/kseexpr";
|
||||
description = "An embeddable expression evaluation engine";
|
||||
maintainers = with maintainers; [ nek0 ];
|
||||
license = licenses.lgpl3Plus;
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user