39 lines
866 B
Nix
39 lines
866 B
Nix
{ stdenv
|
|
, fetchFromGitHub
|
|
, cmake
|
|
, extra-cmake-modules
|
|
, wrapQtAppsHook
|
|
, kwin
|
|
, kdelibs4support
|
|
, libepoxy
|
|
, libxcb
|
|
, lib
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "kde-rounded-corners";
|
|
version = "0.6.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "matinlotfali";
|
|
repo = "KDE-Rounded-Corners";
|
|
rev = "v${version}";
|
|
hash = "sha256-4bB1EKK9XUkX8o3ca2dQtJe0UuSDgITVXWnpddTsJDs=";
|
|
};
|
|
|
|
postConfigure = ''
|
|
substituteInPlace cmake_install.cmake \
|
|
--replace "${kdelibs4support}" "$out"
|
|
'';
|
|
|
|
nativeBuildInputs = [ cmake extra-cmake-modules wrapQtAppsHook ];
|
|
buildInputs = [ kwin kdelibs4support libepoxy libxcb ];
|
|
|
|
meta = with lib; {
|
|
description = "Rounds the corners of your windows";
|
|
homepage = "https://github.com/matinlotfali/KDE-Rounded-Corners";
|
|
license = licenses.gpl3Only;
|
|
maintainers = with maintainers; [ ];
|
|
};
|
|
}
|