anvil-editor: init at 0.4
[NixPkgs.git] / pkgs / desktops / plasma-5 / 3rdparty / addons / bismuth / default.nix
blobbd41ce79873424601edf0f8c672f87dda91e0c77
1 { lib
2 , mkDerivation
3 , fetchFromGitHub
4 , kcoreaddons
5 , kwindowsystem
6 , plasma-framework
7 , systemsettings
8 , cmake
9 , extra-cmake-modules
10 , esbuild
13 mkDerivation rec {
14   pname = "bismuth";
15   version = "3.1.4";
17   src = fetchFromGitHub {
18     owner = "Bismuth-Forge";
19     repo = pname;
20     rev = "v${version}";
21     sha256 = "sha256-c13OFEw6E/I8j/mqeLnuc9Chi6pc3+AgwAMPpCzh974=";
22   };
24   patches = [
25     ./0001-esbuild-config.patch
26   ];
28   cmakeFlags = [
29     "-DUSE_TSC=OFF"
30     "-DUSE_NPM=OFF"
31   ];
33   nativeBuildInputs = [
34     cmake
35     extra-cmake-modules
36     esbuild
37   ];
39   buildInputs = [
40     kcoreaddons
41     kwindowsystem
42     plasma-framework
43     systemsettings
44   ];
46   meta = with lib; {
47     description = "Dynamic tiling extension for KWin";
48     license = licenses.mit;
49     maintainers = with maintainers; [ pasqui23 ];
50     homepage = "https://bismuth-forge.github.io/bismuth/";
51     inherit (kwindowsystem.meta) platforms;
52   };