gnome3.gnome-video-effects: add updateScript

This commit is contained in:
Jan Tojnar 2018-03-03 06:56:19 +01:00
parent 24cf244a18
commit a9719c6be2
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4

View File

@ -1,17 +1,26 @@
{ stdenv, fetchurl, pkgconfig, intltool, gnome3 }:
stdenv.mkDerivation rec {
name = "gnome-video-effects-${version}";
let
pname = "gnome-video-effects";
version = "0.4.3";
in stdenv.mkDerivation rec {
name = "${pname}-${version}";
src = fetchurl {
url = "mirror://gnome/sources/gnome-video-effects/0.4/${name}.tar.xz";
url = "mirror://gnome/sources/${pname}/${gnome3.versionBranch version}/${name}.tar.xz";
sha256 = "06c2f1kihyhawap1s3zg5w7q7fypsybkp7xry4hxkdz4mpsy0zjs";
};
nativeBuildInputs = [ pkgconfig intltool ];
passthru = {
updateScript = gnome3.updateScript {
packageName = pname;
attrPath = "gnome3.${pname}";
};
};
meta = with stdenv.lib; {
description = "A collection of GStreamer effects to be used in different GNOME Modules";
homepage = https://wiki.gnome.org/Projects/GnomeVideoEffects;
platforms = platforms.linux;
maintainers = gnome3.maintainers;