diff options
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/librist')
-rw-r--r-- | nixpkgs/pkgs/development/libraries/librist/default.nix | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/libraries/librist/default.nix b/nixpkgs/pkgs/development/libraries/librist/default.nix new file mode 100644 index 000000000000..134b3acf2057 --- /dev/null +++ b/nixpkgs/pkgs/development/libraries/librist/default.nix @@ -0,0 +1,43 @@ +{ stdenv +, lib +, fetchFromGitLab +, meson +, ninja +, pkg-config +, cjson +, cmocka +, mbedtls +}: + +stdenv.mkDerivation rec { + pname = "librist"; + version = "0.2.7"; + + src = fetchFromGitLab { + domain = "code.videolan.org"; + owner = "rist"; + repo = "librist"; + rev = "v${version}"; + sha256 = "sha256-qQG2eRAPAQgxghMeUZk3nwyacX6jDl33F8BWW63nM3c="; + }; + + 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; + }; +} |