2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv
|
2019-10-02 18:03:37 +01:00
|
|
|
, fetchurl
|
|
|
|
, meson
|
|
|
|
, ninja
|
2021-01-19 06:50:56 +00:00
|
|
|
, pkg-config
|
2019-12-25 06:36:29 +00:00
|
|
|
, python3
|
2020-10-01 23:31:58 +01:00
|
|
|
, bash-completion
|
2019-10-02 18:03:37 +01:00
|
|
|
, gst-plugins-base
|
2020-10-01 23:31:58 +01:00
|
|
|
, gst-plugins-bad
|
|
|
|
, gst-devtools
|
2019-10-02 18:03:37 +01:00
|
|
|
, libxml2
|
|
|
|
, flex
|
|
|
|
, gettext
|
|
|
|
, gobject-introspection
|
2014-03-17 14:06:32 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2020-10-01 23:31:58 +01:00
|
|
|
pname = "gst-editing-services";
|
2020-12-07 01:15:03 +00:00
|
|
|
version = "1.18.2";
|
2014-03-17 14:06:32 +00:00
|
|
|
|
2020-10-01 23:31:58 +01:00
|
|
|
outputs = [
|
|
|
|
"out"
|
|
|
|
"dev"
|
|
|
|
# "devdoc" # disabled until `hotdoc` is packaged in nixpkgs
|
|
|
|
];
|
2014-03-17 14:06:32 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-03-04 20:01:51 +00:00
|
|
|
url = "https://gstreamer.freedesktop.org/src/${pname}/${pname}-${version}.tar.xz";
|
2020-12-07 01:15:03 +00:00
|
|
|
sha256 = "0pv2k8zlpn3vv2sdlspi3m63ixcwzi90pjly2ypbkg59ab97rb15";
|
2014-03-17 14:06:32 +00:00
|
|
|
};
|
|
|
|
|
2019-10-02 18:03:37 +01:00
|
|
|
patches = [
|
|
|
|
./fix_pkgconfig_includedir.patch
|
|
|
|
];
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
meson
|
|
|
|
ninja
|
2021-01-19 06:50:56 +00:00
|
|
|
pkg-config
|
2019-10-02 18:03:37 +01:00
|
|
|
gettext
|
|
|
|
gobject-introspection
|
2020-10-01 23:31:58 +01:00
|
|
|
gst-devtools
|
2019-12-25 06:36:29 +00:00
|
|
|
python3
|
2019-10-02 18:03:37 +01:00
|
|
|
flex
|
2020-10-01 23:31:58 +01:00
|
|
|
|
|
|
|
# documentation
|
|
|
|
# TODO add hotdoc here
|
2019-10-02 18:03:37 +01:00
|
|
|
];
|
2016-04-24 13:39:30 +01:00
|
|
|
|
2019-10-02 18:03:37 +01:00
|
|
|
buildInputs = [
|
2020-10-01 23:31:58 +01:00
|
|
|
bash-completion
|
2019-10-02 18:03:37 +01:00
|
|
|
libxml2
|
|
|
|
];
|
2014-03-17 14:06:32 +00:00
|
|
|
|
2019-10-02 18:03:37 +01:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
gst-plugins-base
|
2020-10-01 23:31:58 +01:00
|
|
|
gst-plugins-bad
|
2019-10-02 18:03:37 +01:00
|
|
|
];
|
2018-03-31 23:17:58 +01:00
|
|
|
|
2019-07-13 21:07:17 +01:00
|
|
|
mesonFlags = [
|
2020-10-01 23:31:58 +01:00
|
|
|
"-Ddoc=disabled" # `hotdoc` not packaged in nixpkgs as of writing
|
2019-07-13 21:07:17 +01:00
|
|
|
];
|
|
|
|
|
2019-01-11 10:46:01 +00:00
|
|
|
postPatch = ''
|
2020-10-01 23:31:58 +01:00
|
|
|
patchShebangs \
|
|
|
|
scripts/extract-release-date-from-doap-file.py
|
2019-01-11 10:46:01 +00:00
|
|
|
'';
|
2019-10-02 18:03:37 +01:00
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2019-10-02 18:03:37 +01:00
|
|
|
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
|
|
|
}
|