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