mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
46420bbaa3
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
40 lines
1 KiB
Nix
40 lines
1 KiB
Nix
{ stdenv, fetchurl, fetchpatch, meson, ninja
|
|
, pkgconfig, python, gst-plugins-base, libxml2
|
|
, flex, perl, gettext, gobject-introspection
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "gstreamer-editing-services";
|
|
version = "1.16.0";
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Library for creation of audio/video non-linear editors";
|
|
homepage = "https://gstreamer.freedesktop.org";
|
|
license = licenses.lgpl2Plus;
|
|
platforms = platforms.unix;
|
|
};
|
|
|
|
src = fetchurl {
|
|
url = "${meta.homepage}/src/gstreamer-editing-services/${pname}-${version}.tar.xz";
|
|
sha256 = "1las94jkx83sxmzi5w6b0xm89dqqwzpdsb6h9w9ixndhnbpzm8w2";
|
|
};
|
|
|
|
outputs = [ "out" "dev" ];
|
|
|
|
nativeBuildInputs = [ meson ninja pkgconfig gettext gobject-introspection python flex perl ];
|
|
|
|
propagatedBuildInputs = [ gst-plugins-base libxml2 ];
|
|
|
|
mesonFlags = [
|
|
"-Dgtk_doc=disabled"
|
|
];
|
|
|
|
patches = [
|
|
./fix_pkgconfig_includedir.patch
|
|
];
|
|
|
|
postPatch = ''
|
|
sed -i -r -e 's/p(bad|good) = .*/p\1 = pbase/' tests/check/meson.build
|
|
'';
|
|
}
|