nixpkgs/pkgs/development/libraries/gstreamer/ges/default.nix

76 lines
1.3 KiB
Nix
Raw Normal View History

{ lib, stdenv
, fetchurl
, meson
, ninja
, pkg-config
, python3
, bash-completion
, gst-plugins-base
, gst-plugins-bad
, gst-devtools
, libxml2
, flex
, gettext
, gobject-introspection
2014-03-17 14:06:32 +00:00
}:
stdenv.mkDerivation rec {
pname = "gst-editing-services";
2020-12-07 01:15:03 +00:00
version = "1.18.2";
2014-03-17 14:06:32 +00:00
outputs = [
"out"
"dev"
# "devdoc" # disabled until `hotdoc` is packaged in nixpkgs
];
2014-03-17 14:06:32 +00:00
src = fetchurl {
2019-10-02 17:59:16 +01:00
url = "${meta.homepage}/src/${pname}/${pname}-${version}.tar.xz";
2020-12-07 01:15:03 +00:00
sha256 = "0pv2k8zlpn3vv2sdlspi3m63ixcwzi90pjly2ypbkg59ab97rb15";
2014-03-17 14:06:32 +00:00
};
patches = [
./fix_pkgconfig_includedir.patch
];
nativeBuildInputs = [
meson
ninja
pkg-config
gettext
gobject-introspection
gst-devtools
python3
flex
# documentation
# TODO add hotdoc here
];
2016-04-24 13:39:30 +01:00
buildInputs = [
bash-completion
libxml2
];
2014-03-17 14:06:32 +00:00
propagatedBuildInputs = [
gst-plugins-base
gst-plugins-bad
];
mesonFlags = [
"-Ddoc=disabled" # `hotdoc` not packaged in nixpkgs as of writing
];
postPatch = ''
patchShebangs \
scripts/extract-release-date-from-doap-file.py
'';
meta = with lib; {
description = "Library for creation of audio/video non-linear editors";
homepage = "https://gstreamer.freedesktop.org";
license = licenses.lgpl2Plus;
platforms = platforms.unix;
};
2014-03-17 14:06:32 +00:00
}