depot/third_party/nixpkgs/pkgs/desktops/deepin/library/dwayland/default.nix
Default email a0cb138ada Project import generated by Copybara.
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
2023-02-02 18:25:31 +00:00

48 lines
898 B
Nix

{ stdenv
, lib
, fetchFromGitHub
, cmake
, qtbase
, qtwayland
, wayland
, wayland-protocols
, extra-cmake-modules
, deepin-wayland-protocols
, qttools
}:
stdenv.mkDerivation rec {
pname = "dwayland";
version = "5.24.3-deepin.1.4";
src = fetchFromGitHub {
owner = "linuxdeepin";
repo = pname;
rev = version;
sha256 = "sha256-/aWS4uvhxi9azxJWjRE+Bw+veURFO+mC8l9yypseclU=";
};
nativeBuildInputs = [
cmake
extra-cmake-modules
qttools
];
buildInputs = [
qtbase
qtwayland
wayland
wayland-protocols
deepin-wayland-protocols
];
dontWrapQtApps = true;
meta = with lib; {
description = "Qt-style API to interact with the wayland-client and wayland-server";
homepage = "https://github.com/linuxdeepin/dwayland";
license = licenses.lgpl21Plus;
platforms = platforms.linux;
maintainers = teams.deepin.members;
};
}