2021-11-09 14:01:27 +00:00
|
|
|
{ lib
|
|
|
|
, mkDerivation
|
|
|
|
, fetchFromGitHub
|
|
|
|
, kcoreaddons
|
|
|
|
, kwindowsystem
|
|
|
|
, plasma-framework
|
|
|
|
, systemsettings
|
|
|
|
, cmake
|
|
|
|
, extra-cmake-modules
|
|
|
|
, esbuild
|
|
|
|
}:
|
|
|
|
|
|
|
|
mkDerivation rec {
|
|
|
|
pname = "bismuth";
|
2022-02-06 04:09:55 +00:00
|
|
|
version = "2.3.0";
|
2021-11-09 14:01:27 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Bismuth-Forge";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2022-02-06 04:09:55 +00:00
|
|
|
sha256 = "sha256-b+dlBv1M4//oeCGM2qrQ3s6z2yLql6eQWNqId3JB3Z4=";
|
2021-11-09 14:01:27 +00:00
|
|
|
};
|
|
|
|
|
2021-12-05 07:21:04 +00:00
|
|
|
cmakeFlags = [
|
|
|
|
"-DUSE_TSC=OFF"
|
|
|
|
"-DUSE_NPM=OFF"
|
2021-11-09 14:01:27 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake
|
|
|
|
extra-cmake-modules
|
|
|
|
esbuild
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
kcoreaddons
|
|
|
|
kwindowsystem
|
|
|
|
plasma-framework
|
|
|
|
systemsettings
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A dynamic tiling extension for KWin";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ pasqui23 ];
|
|
|
|
homepage = "https://bismuth-forge.github.io/bismuth/";
|
|
|
|
inherit (kwindowsystem.meta) platforms;
|
|
|
|
};
|
|
|
|
}
|