nixpkgs-suyu/pkgs/data/themes/kde2/default.nix
freezeboy c173f416e0 libsForQt5.kde2-decoration: 1.0 -> 1.1
Fixes build for Qt5.15

Split output to mutilple outputs to reduce user closure size
2020-11-20 22:24:26 +01:00

31 lines
787 B
Nix

{ lib, fetchFromGitHub, mkDerivation
, cmake, extra-cmake-modules
, qtbase, kcoreaddons, kdecoration
}:
mkDerivation rec {
pname = "kde2-decoration";
version = "1.1";
src = fetchFromGitHub {
owner = "repos-holder";
repo = "kdecoration2-kde2";
rev = version;
sha256 = "y2q1j36EURJc7k1huqhEH1Z82PnVSKlfx20bpQWY28c=";
};
outputs = [ "out" "dev" ];
enableParallelBuilding = true;
nativeBuildInputs = [ cmake extra-cmake-modules ];
buildInputs = [ qtbase kcoreaddons kdecoration ];
meta = with lib; {
description = "KDE 2 window decoration ported to Plasma 5";
homepage = "https://github.com/repos-holder/kdecoration2-kde2";
license = licenses.bsd2;
platforms = platforms.linux;
maintainers = with maintainers; [ gnidorah ];
};
}