nixpkgs/pkgs/by-name/ks/kseexpr/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

47 lines
889 B
Nix
Raw Normal View History

2023-10-15 01:53:57 +00:00
{ lib
, stdenv
2023-10-15 01:55:41 +00:00
, fetchFromGitLab
, cmake
2023-10-15 01:53:57 +00:00
, extra-cmake-modules
2023-10-15 01:55:41 +00:00
, qt5
, libsForQt5
2023-10-15 01:53:57 +00:00
, bison
, flex
, llvm
2023-10-15 01:55:41 +00:00
}:
stdenv.mkDerivation rec {
pname = "kseexpr";
version = "4.0.4.0";
src = fetchFromGitLab {
domain = "invent.kde.org";
owner = "graphics";
2023-10-15 01:53:57 +00:00
repo = "kseexpr";
2023-10-15 01:55:41 +00:00
rev = "v${version}";
hash = "sha256-XjFGAN7kK2b0bLouYG3OhajhOQk4AgC4EQRzseccGCE=";
};
patches = [
# see https://github.com/NixOS/nixpkgs/issues/144170
./cmake_libdir.patch
];
2023-10-15 01:53:57 +00:00
nativeBuildInputs = [
cmake
extra-cmake-modules
qt5.wrapQtAppsHook
];
2023-10-15 01:55:41 +00:00
buildInputs = [
2023-10-15 01:53:57 +00:00
bison
flex
libsForQt5.ki18n
llvm
2023-10-15 01:55:41 +00:00
qt5.qtbase
];
2023-10-15 01:53:57 +00:00
2023-10-15 01:55:41 +00:00
meta = with lib; {
homepage = "https://invent.kde.org/graphics/kseexpr";
description = "An embeddable expression evaluation engine";
maintainers = with maintainers; [ nek0 ];
license = licenses.lgpl3Plus;
};
}