Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, stdenv, fetchurl, cmake, pkg-config, extra-cmake-modules, qtbase }: 2 3stdenv.mkDerivation rec { 4 pname = "kdevelop-pg-qt"; 5 version = "2.2.2"; 6 7 src = fetchurl { 8 url = "mirror://kde/stable/${pname}/${version}/src/${pname}-${version}.tar.xz"; 9 sha256 = "sha256-PVZgTEefjwSuMqUj7pHzB4xxcRfQ3rOelz4iSUy7ZfE="; 10 }; 11 12 nativeBuildInputs = [ cmake pkg-config extra-cmake-modules ]; 13 14 buildInputs = [ qtbase ]; 15 16 dontWrapQtApps = true; 17 18 meta = with lib; { 19 maintainers = [ maintainers.ambrop72 ]; 20 platforms = platforms.linux; 21 description = "Parser-generator from KDevplatform"; 22 longDescription = '' 23 KDevelop-PG-Qt is the parser-generator from KDevplatform. 24 It is used for some KDevelop-languagesupport-plugins (Ruby, PHP, CSS...). 25 ''; 26 homepage = "https://www.kdevelop.org"; 27 license = with lib.licenses; [ lgpl2Plus ]; 28 }; 29}