package new bismuth, add inkscape

This commit is contained in:
atagen 2022-09-03 21:37:00 +10:00
parent 5960c42502
commit 46075b214a
3 changed files with 52 additions and 2 deletions

View file

@ -21,6 +21,7 @@
thunderbird
clementine
inkscape
btop
bat
@ -38,7 +39,6 @@
zoxide
meslo-lgs-nf
libsForQt5.bismuth
libsForQt5.ark
libsForQt5.qtstyleplugin-kvantum
@ -48,6 +48,7 @@
(callPackage ./homepkgs/git-credential-keepassxc.nix { })
(callPackage ./homepkgs/culr.nix { })
(libsForQt5.callPackage ./homepkgs/bismuth.nix { })
];

49
home/homepkgs/bismuth.nix Normal file
View file

@ -0,0 +1,49 @@
{ lib
, mkDerivation
, fetchFromGitHub
, kcoreaddons
, kwindowsystem
, plasma-framework
, systemsettings
, cmake
, extra-cmake-modules
, esbuild
}:
mkDerivation rec {
pname = "bismuth";
version = "3.1.3";
src = fetchFromGitHub {
owner = "Bismuth-Forge";
repo = pname;
rev = "v${version}";
sha256 = "sha256-IWwFsYqoqW3924+pf8L+acIt31aU/mhqakXbT9Q4Bqw=";
};
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;
};
}