nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at netboot-syslinux-multiplatform 40 lines 934 B view raw
1{ lib 2, mkDerivation 3, fetchFromGitHub 4, cmake 5, extra-cmake-modules 6, kactivities 7, qtbase 8}: 9 10mkDerivation rec { 11 pname = "KSmoothDock"; 12 version = "6.3"; 13 14 src = fetchFromGitHub { 15 owner = "dangvd"; 16 repo = "ksmoothdock"; 17 rev = "v${version}"; 18 sha256 = "sha256-hO7xgjFMFrEhQs3oc2peFTjSVEDsl7Ma/TeVybEZMEk="; 19 }; 20 21 # Upstream seems dead and there are new deprecation warnings in KF5.100 22 # Remember, kids: friends don't let friends build with -Werror 23 postPatch = '' 24 substituteInPlace src/CMakeLists.txt --replace "-Werror" "" 25 ''; 26 27 nativeBuildInputs = [ cmake extra-cmake-modules ]; 28 29 buildInputs = [ kactivities qtbase ]; 30 31 cmakeDir = "../src"; 32 33 meta = with lib; { 34 description = "A cool desktop panel for KDE Plasma 5"; 35 license = licenses.mit; 36 homepage = "https://dangvd.github.io/ksmoothdock/"; 37 maintainers = with maintainers; [ shamilton ]; 38 platforms = platforms.linux; 39 }; 40}