forked from mirrors/nixpkgs
50 lines
886 B
Nix
50 lines
886 B
Nix
{ lib
|
|
, mkDerivation
|
|
, fetchFromGitHub
|
|
, kcoreaddons
|
|
, kwindowsystem
|
|
, plasma-framework
|
|
, systemsettings
|
|
, cmake
|
|
, extra-cmake-modules
|
|
, esbuild
|
|
}:
|
|
|
|
mkDerivation rec {
|
|
pname = "bismuth";
|
|
version = "2.3.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Bismuth-Forge";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-b+dlBv1M4//oeCGM2qrQ3s6z2yLql6eQWNqId3JB3Z4=";
|
|
};
|
|
|
|
cmakeFlags = [
|
|
"-DUSE_TSC=OFF"
|
|
"-DUSE_NPM=OFF"
|
|
];
|
|
|
|
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;
|
|
};
|
|
}
|