nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at devShellTools-shell 47 lines 891 B view raw
1{ 2 lib, 3 stdenv, 4 fetchFromGitLab, 5 cmake, 6 extra-cmake-modules, 7 qt5, 8 libsForQt5, 9 bison, 10 flex, 11 llvm, 12}: 13 14stdenv.mkDerivation rec { 15 pname = "kseexpr"; 16 version = "4.0.4.0"; 17 src = fetchFromGitLab { 18 domain = "invent.kde.org"; 19 owner = "graphics"; 20 repo = "kseexpr"; 21 rev = "v${version}"; 22 hash = "sha256-XjFGAN7kK2b0bLouYG3OhajhOQk4AgC4EQRzseccGCE="; 23 }; 24 patches = [ 25 # see https://github.com/NixOS/nixpkgs/issues/144170 26 ./cmake_libdir.patch 27 ]; 28 nativeBuildInputs = [ 29 cmake 30 extra-cmake-modules 31 qt5.wrapQtAppsHook 32 ]; 33 buildInputs = [ 34 bison 35 flex 36 libsForQt5.ki18n 37 llvm 38 qt5.qtbase 39 ]; 40 41 meta = with lib; { 42 homepage = "https://invent.kde.org/graphics/kseexpr"; 43 description = "Embeddable expression evaluation engine"; 44 maintainers = with maintainers; [ nek0 ]; 45 license = licenses.lgpl3Plus; 46 }; 47}