Skip to content

Commit

Permalink
gdbuspp: init at 1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
JarvisCraft committed Jul 12, 2024
1 parent e09b6c4 commit 5d8362b
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions pkgs/by-name/gd/gdbuspp/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{ lib, stdenv, fetchgit, meson, ninja, glib, cmake, pkg-config }:
stdenv.mkDerivation {
name = "gdbuspp";
src = fetchgit {
url = "https://codeberg.org/OpenVPN/gdbuspp.git";
rev = "refs/tags/v1";
hash = "sha256-vw+37RbKRsB+DUyQU+ibwBHCj4jH/FaGl/bGSx7nrwY=";
};

postPatch = ''
patchShebangs --build ./scripts/get-git-ref
'';

nativeBuildInputs = [ meson ninja cmake pkg-config ];

buildInputs = [ glib ];

meta = {
description = "GDBus++ - a glib2 D-Bus wrapper for C++";
longDescription = ''
This library provides a simpler C++ based interface to implement D-Bus
into applications in a more C++ approach, based on the C++17 standard.
'';
homepage = "https://codeberg.org/OpenVPN/gdbuspp";
license = lib.licenses.agpl3Only;
sourceProvenance = [ lib.sourceTypes.fromSource ];
maintainers = [ lib.maintainers.progrm_jarvis ];
platforms = lib.platforms.linux;
};
}

0 comments on commit 5d8362b

Please sign in to comment.