nixpkgs/pkgs/by-name/li/libdecor/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

60 lines
985 B
Nix
Raw Normal View History

2021-10-01 23:00:50 +00:00
{ stdenv
, lib
, fetchFromGitLab
, pkg-config
, meson
, ninja
, wayland
, wayland-protocols
2021-10-02 23:41:13 +00:00
, wayland-scanner
2021-10-01 23:00:50 +00:00
, cairo
, dbus
, pango
2024-01-16 22:57:54 +00:00
, gtk3
2021-10-01 23:00:50 +00:00
}:
stdenv.mkDerivation rec {
pname = "libdecor";
2024-01-16 22:57:54 +00:00
version = "0.2.2";
2021-10-01 23:00:50 +00:00
src = fetchFromGitLab {
2023-04-21 16:14:01 +00:00
domain = "gitlab.freedesktop.org";
owner = "libdecor";
2021-10-01 23:00:50 +00:00
repo = "libdecor";
rev = version;
2024-01-16 22:57:54 +00:00
hash = "sha256-mID19uHXFKJUZtQsSOXjRdz541YVjMxmSHVa+DlkPRc=";
2021-10-01 23:00:50 +00:00
};
outputs = [ "out" "dev" ];
2021-10-02 23:41:13 +00:00
strictDeps = true;
2023-04-21 16:21:47 +00:00
mesonFlags = [
(lib.mesonBool "demo" false)
];
2021-10-02 23:41:13 +00:00
nativeBuildInputs = [
meson
ninja
pkg-config
wayland-scanner
];
2021-10-01 23:00:50 +00:00
buildInputs = [
wayland
wayland-protocols
cairo
dbus
pango
2024-01-16 22:57:54 +00:00
gtk3
2021-10-01 23:00:50 +00:00
];
meta = with lib; {
2023-04-21 16:14:01 +00:00
homepage = "https://gitlab.freedesktop.org/libdecor/libdecor";
2021-10-01 23:00:50 +00:00
description = "Client-side decorations library for Wayland clients";
license = licenses.mit;
platforms = platforms.linux;
maintainers = with maintainers; [ artturin ];
};
}