diff options
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/gstreamer/devtools/default.nix')
-rw-r--r-- | nixpkgs/pkgs/development/libraries/gstreamer/devtools/default.nix | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/nixpkgs/pkgs/development/libraries/gstreamer/devtools/default.nix b/nixpkgs/pkgs/development/libraries/gstreamer/devtools/default.nix index acb12b78341d..8837a0a0e93d 100644 --- a/nixpkgs/pkgs/development/libraries/gstreamer/devtools/default.nix +++ b/nixpkgs/pkgs/development/libraries/gstreamer/devtools/default.nix @@ -6,24 +6,27 @@ , pkg-config , gstreamer , gst-plugins-base +, gst-plugins-bad +, gst-rtsp-server , python3 , gobject-introspection , json-glib +# Checks meson.is_cross_build(), so even canExecute isn't enough. +, enableDocumentation ? stdenv.hostPlatform == stdenv.buildPlatform, hotdoc }: stdenv.mkDerivation rec { pname = "gst-devtools"; - version = "1.20.1"; + version = "1.22.3"; src = fetchurl { url = "https://gstreamer.freedesktop.org/src/${pname}/${pname}-${version}.tar.xz"; - sha256 = "0asbapgf485h2gqq0sn9c4qknwi0ccpraf1685ixp2sv23pwgwc1"; + hash = "sha256-RGrJxC1QLL/ZCBc3zBuFOzwfUNt3ynzNAa6hD2h1UME="; }; outputs = [ "out" "dev" - # "devdoc" # disabled until `hotdoc` is packaged in nixpkgs ]; depsBuildBuild = [ @@ -35,9 +38,8 @@ stdenv.mkDerivation rec { ninja pkg-config gobject-introspection - - # documentation - # TODO add hotdoc here + ] ++ lib.optionals enableDocumentation [ + hotdoc ]; buildInputs = [ @@ -50,10 +52,12 @@ stdenv.mkDerivation rec { propagatedBuildInputs = [ gstreamer gst-plugins-base + gst-plugins-bad + gst-rtsp-server ]; mesonFlags = [ - "-Ddoc=disabled" # `hotdoc` not packaged in nixpkgs as of writing + (lib.mesonEnable "doc" enableDocumentation) ]; meta = with lib; { @@ -61,5 +65,6 @@ stdenv.mkDerivation rec { homepage = "https://gstreamer.freedesktop.org"; license = licenses.lgpl2Plus; platforms = platforms.unix; + maintainers = with maintainers; [ lilyinstarlight ]; }; } |