depot/third_party/nixpkgs/pkgs/development/libraries/librist/default.nix
Default email 5e7c2d6cef Project import generated by Copybara.
GitOrigin-RevId: f99e5f03cc0aa231ab5950a15ed02afec45ed51a
2023-10-09 21:29:22 +02:00

48 lines
893 B
Nix

{ stdenv
, lib
, fetchFromGitLab
, meson
, ninja
, pkg-config
, cjson
, cmocka
, mbedtls
}:
stdenv.mkDerivation rec {
pname = "librist";
version = "0.2.8";
src = fetchFromGitLab {
domain = "code.videolan.org";
owner = "rist";
repo = "librist";
rev = "v${version}";
hash = "sha256-E12TS+N47UQapkF6oO0Lx66Z3lHAyP0R4tVnx/uKBwQ=";
};
patches = [
# https://github.com/NixOS/nixpkgs/pull/257020
./darwin.patch
];
nativeBuildInputs = [
meson
ninja
pkg-config
];
buildInputs = [
cjson
cmocka
mbedtls
];
meta = with lib; {
description = "A library that can be used to easily add the RIST protocol to your application.";
homepage = "https://code.videolan.org/rist/librist";
license = with licenses; [ bsd2 mit isc ];
maintainers = with maintainers; [ raphaelr sebtm ];
platforms = platforms.all;
};
}