sndbus-cpp: init at 1.1.0
This commit is contained in:
parent
936d567665
commit
541064d899
50
pkgs/development/libraries/sdbus-cpp/default.nix
Normal file
50
pkgs/development/libraries/sdbus-cpp/default.nix
Normal file
|
@ -0,0 +1,50 @@
|
||||||
|
{ lib
|
||||||
|
, stdenv
|
||||||
|
, fetchFromGitHub
|
||||||
|
, cmake
|
||||||
|
, pkg-config
|
||||||
|
, systemd
|
||||||
|
, expat
|
||||||
|
}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "sdbus-cpp";
|
||||||
|
version = "1.1.0";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "kistler-group";
|
||||||
|
repo = "sdbus-cpp";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "sha256-AjaZ6YmMlnN0jAcUBkft01XHkrze0nSr3dUMechsLrQ=";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
cmake
|
||||||
|
pkg-config
|
||||||
|
];
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
systemd
|
||||||
|
expat
|
||||||
|
];
|
||||||
|
|
||||||
|
cmakeFlags = [
|
||||||
|
"-DBUILD_CODE_GEN=ON"
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
homepage = "https://github.com/Kistler-Group/sdbus-cpp";
|
||||||
|
changelog = "https://github.com/Kistler-Group/sdbus-cpp/blob/v${version}/ChangeLog";
|
||||||
|
description = "High-level C++ D-Bus library designed to provide easy-to-use yet powerful API";
|
||||||
|
longDescription = ''
|
||||||
|
sdbus-c++ is a high-level C++ D-Bus library for Linux designed to provide expressive, easy-to-use API in modern C++.
|
||||||
|
It adds another layer of abstraction on top of sd-bus, a nice, fresh C D-Bus implementation by systemd.
|
||||||
|
It's been written primarily as a replacement of dbus-c++, which currently suffers from a number of (unresolved) bugs,
|
||||||
|
concurrency issues and inherent design complexities and limitations.
|
||||||
|
'';
|
||||||
|
mainProgram = "sdbus-c++-xml2cpp";
|
||||||
|
license = licenses.lgpl2Only;
|
||||||
|
platforms = platforms.linux;
|
||||||
|
maintainers = [ maintainers.ivar ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -1100,6 +1100,8 @@ with pkgs;
|
||||||
|
|
||||||
redfang = callPackage ../tools/networking/redfang { };
|
redfang = callPackage ../tools/networking/redfang { };
|
||||||
|
|
||||||
|
sdbus-cpp = callPackage ../development/libraries/sdbus-cpp { };
|
||||||
|
|
||||||
sdlookup = callPackage ../tools/security/sdlookup { };
|
sdlookup = callPackage ../tools/security/sdlookup { };
|
||||||
|
|
||||||
sx-go = callPackage ../tools/security/sx-go { };
|
sx-go = callPackage ../tools/security/sx-go { };
|
||||||
|
|
Loading…
Reference in a new issue