depot/third_party/nixpkgs/pkgs/development/libraries/cyclonedds/default.nix

31 lines
599 B
Nix
Raw Normal View History

{ lib
, stdenv
, fetchFromGitHub
, cmake
}:
stdenv.mkDerivation rec {
pname = "cyclonedds";
version = "0.10.3";
src = fetchFromGitHub {
owner = "eclipse-cyclonedds";
repo = "cyclonedds";
rev = version;
sha256 = "sha256-Ie2l2TwEXqhMZWL3CmQD+c8LdQlclP6egsP7jnsOAlM=";
};
patches = [
./0001-Use-full-path-in-pkgconfig.patch
];
nativeBuildInputs = [ cmake ];
meta = with lib; {
description = "Eclipse Cyclone DDS project";
homepage = "https://cyclonedds.io/";
license = with licenses; [ epl20 ];
maintainers = with maintainers; [ bachp ];
};
}