Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 53 lines 939 B view raw
1{ 2 mkDerivation, 3 lib, 4 extra-cmake-modules, 5 cups, 6 ki18n, 7 kconfig, 8 kconfigwidgets, 9 kdbusaddons, 10 kiconthemes, 11 kcmutils, 12 kio, 13 knotifications, 14 kwidgetsaddons, 15 kwindowsystem, 16 kitemviews, 17 plasma-framework, 18 qtdeclarative, 19}: 20 21mkDerivation { 22 pname = "print-manager"; 23 meta = { 24 license = [ lib.licenses.gpl2 ]; 25 maintainers = [ lib.maintainers.ttuegel ]; 26 }; 27 nativeBuildInputs = [ extra-cmake-modules ]; 28 buildInputs = [ 29 cups 30 ki18n 31 ]; 32 propagatedBuildInputs = [ 33 kconfig 34 kconfigwidgets 35 kdbusaddons 36 kiconthemes 37 kcmutils 38 knotifications 39 kwidgetsaddons 40 kitemviews 41 kio 42 kwindowsystem 43 plasma-framework 44 qtdeclarative 45 ]; 46 outputs = [ 47 "out" 48 "dev" 49 ]; 50 # Fix build with cups deprecations etc. 51 # See: https://github.com/NixOS/nixpkgs/issues/73334 52 env.NIX_CFLAGS_COMPILE = "-Wno-error=deprecated-declarations -Wno-error=format-security"; 53}