mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-21 05:04:00 +00:00
45 lines
892 B
Nix
45 lines
892 B
Nix
{ lib
|
|
, mkDerivation
|
|
, fetchFromGitLab
|
|
|
|
, cmake
|
|
, extra-cmake-modules
|
|
|
|
, ki18n
|
|
, kirigami2
|
|
, qtquickcontrols2
|
|
}:
|
|
|
|
mkDerivation rec {
|
|
pname = "kirigami-addons";
|
|
version = "0.7.2";
|
|
|
|
src = fetchFromGitLab {
|
|
domain = "invent.kde.org";
|
|
owner = "libraries";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-2s9ShwYd2hOb18WRA2nLst6Q4UBHvFL+g7Grpjclz9I=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
extra-cmake-modules
|
|
];
|
|
|
|
buildInputs = [
|
|
ki18n
|
|
kirigami2
|
|
qtquickcontrols2
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Add-ons for the Kirigami framework";
|
|
homepage = "https://invent.kde.org/libraries/kirigami-addons";
|
|
# https://invent.kde.org/libraries/kirigami-addons/-/blob/b197d98fdd079b6fc651949bd198363872d1be23/src/treeview/treeviewplugin.cpp#L1-5
|
|
license = licenses.lgpl2Plus;
|
|
maintainers = with maintainers; [ samueldr ];
|
|
};
|
|
}
|
|
|