fork
Configure Feed
Select the types of activity you want to include in your feed.
nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
fork
Configure Feed
Select the types of activity you want to include in your feed.
1{ stdenv, fetchFromGitHub, cmake, openssl
2}:
3
4with stdenv.lib;
5stdenv.mkDerivation rec {
6 pname = "srt";
7 version = "1.3.1";
8
9 src = fetchFromGitHub {
10 owner = "Haivision";
11 repo = "srt";
12 rev = "v${version}";
13 sha256 = "0cv73j9c8024p6pg16c4hiryiv4jpgrfj2xhfdaprsikmkdnygmz";
14 };
15
16 nativeBuildInputs = [ cmake ];
17
18 buildInputs = [ openssl ];
19
20 cmakeFlags = [
21 # TODO Remove this when https://github.com/Haivision/srt/issues/538 is fixed and available to nixpkgs
22 # Workaround for the fact that srt incorrectly disables GNUInstallDirs when LIBDIR is specified,
23 # see https://github.com/NixOS/nixpkgs/pull/54463#discussion_r249878330
24 "-UCMAKE_INSTALL_LIBDIR"
25 ];
26
27 meta = {
28 description = "Secure, Reliable, Transport";
29 homepage = https://www.srtalliance.org;
30 license = licenses.mpl20;
31 maintainers = with maintainers; [ nh2 ];
32 platforms = platforms.all;
33 };
34}