nixpkgs/pkgs/by-name/ks/kseexpr/package.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

47 lines
886 B
Nix

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