Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, stdenv 2, fetchurl 3, pkg-config 4, meson 5, ninja 6, gettext 7, gnome 8}: 9 10stdenv.mkDerivation rec { 11 pname = "gnome-video-effects"; 12 version = "0.5.0"; 13 14 src = fetchurl { 15 url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 16 sha256 = "1j6h98whgkcxrh30bwvnxvyqxrxchgpdgqhl0j71xz7x72dqxijd"; 17 }; 18 19 patches = [ 20 # Fix effectsdir in .pc file 21 # https://gitlab.gnome.org/GNOME/gnome-video-effects/commit/955404195ada606819974dd63c48956f25611e14 22 ./fix-pc-file.patch 23 ]; 24 25 nativeBuildInputs = [ 26 meson 27 ninja 28 pkg-config 29 gettext 30 ]; 31 32 passthru = { 33 updateScript = gnome.updateScript { 34 packageName = pname; 35 versionPolicy = "none"; 36 }; 37 }; 38 39 meta = with lib; { 40 description = "A collection of GStreamer effects to be used in different GNOME Modules"; 41 homepage = "https://wiki.gnome.org/Projects/GnomeVideoEffects"; 42 platforms = platforms.unix; 43 maintainers = teams.gnome.members; 44 license = licenses.gpl2; 45 }; 46}