Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 mkDerivation, 3 fetchFromGitLab, 4 lib, 5 extra-cmake-modules, 6 qttools, 7 qtbase, 8 qtsvg, 9}: 10 11mkDerivation rec { 12 pname = "kdiagram"; 13 version = "2.8.0"; 14 src = fetchFromGitLab { 15 domain = "invent.kde.org"; 16 owner = "graphics"; 17 repo = pname; 18 rev = "v${version}"; 19 sha256 = "sha256-Se131GZE12wqdfN/V4id1pphUvteSrmMaKZ0+lqg1z8="; 20 }; 21 nativeBuildInputs = [ 22 extra-cmake-modules 23 qttools 24 ]; 25 propagatedBuildInputs = [ 26 qtbase 27 qtsvg 28 ]; 29 meta = { 30 description = "Libraries for creating business diagrams"; 31 license = lib.licenses.gpl2; 32 platforms = qtbase.meta.platforms; 33 maintainers = [ lib.maintainers.ttuegel ]; 34 }; 35}