Merge pull request #261050 from OPNA2608/update/wlcs

wlcs: 1.6.0 -> 1.6.1
This commit is contained in:
Weijia Wang 2023-10-14 23:44:01 +02:00 committed by GitHub
commit 67604b2a19
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,27 +2,32 @@
, lib
, gitUpdater
, fetchFromGitHub
, testers
, cmake
, pkg-config
, boost
, gtest
, wayland
, wayland-scanner
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "wlcs";
version = "1.6.0";
version = "1.6.1";
src = fetchFromGitHub {
owner = "MirServer";
repo = "wlcs";
rev = "v${version}";
hash = "sha256-+YM5dT45p9wk0gJeATmhWDFJJMaUdcTfw8GLS/vMkw4=";
rev = "v${finalAttrs.version}";
hash = "sha256-YYrhcN1BSJISn/7lxu7Db5YaOK+okdHVJuMwqSDzAIU=";
};
strictDeps = true;
nativeBuildInputs = [
cmake
pkg-config
wayland-scanner
];
buildInputs = [
@ -31,8 +36,11 @@ stdenv.mkDerivation rec {
wayland
];
passthru.updateScript = gitUpdater {
rev-prefix = "v";
passthru = {
tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;
updateScript = gitUpdater {
rev-prefix = "v";
};
};
meta = with lib; {
@ -57,5 +65,8 @@ stdenv.mkDerivation rec {
license = licenses.gpl3Only;
maintainers = with maintainers; [ OPNA2608 ];
platforms = platforms.linux;
pkgConfigModules = [
"wlcs"
];
};
}
})