gnome3.gnome-sound-recorder: init at 3.28.1

This commit is contained in:
Jan Tojnar 2018-07-16 21:42:46 +02:00
parent 235bd2b0cb
commit e2d9a9d4db
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4
2 changed files with 37 additions and 0 deletions

View File

@ -0,0 +1,35 @@
{ stdenv, fetchurl, pkgconfig, intltool, gobjectIntrospection, wrapGAppsHook, gjs, glib, gtk3, gdk_pixbuf, gst_all_1, gnome3 }:
let
pname = "gnome-sound-recorder";
version = "3.28.1";
in stdenv.mkDerivation rec {
name = "${pname}-${version}";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${gnome3.versionBranch version}/${name}.tar.xz";
sha256 = "0y0srj1hvr1waa35p6dj1r1mlgcsscc0i99jni50ijp4zb36fjqy";
};
nativeBuildInputs = [ pkgconfig intltool gobjectIntrospection wrapGAppsHook ];
buildInputs = [ gjs glib gtk3 gdk_pixbuf ] ++ (with gst_all_1; [ gstreamer.dev gstreamer gst-plugins-base gst-plugins-good gst-plugins-bad ]);
# TODO: fix this in gstreamer
# TODO: make stdenv.lib.getBin respect outputBin
PKG_CONFIG_GSTREAMER_1_0_TOOLSDIR = "${gst_all_1.gstreamer.dev}/bin";
passthru = {
updateScript = gnome3.updateScript {
packageName = pname;
attrPath = "gnome3.${pname}";
};
};
meta = with stdenv.lib; {
description = "A simple and modern sound recorder";
homepage = https://wiki.gnome.org/Apps/SoundRecorder;
license = licenses.gpl2Plus;
maintainers = gnome3.maintainers;
platforms = platforms.linux;
};
}

View File

@ -293,6 +293,8 @@ lib.makeScope pkgs.newScope (self: with self; {
gnome-power-manager = callPackage ./apps/gnome-power-manager { };
gnome-sound-recorder = callPackage ./apps/gnome-sound-recorder { };
gnome-weather = callPackage ./apps/gnome-weather { };
nautilus-sendto = callPackage ./apps/nautilus-sendto { };