2018-12-02 11:41:15 +00:00
|
|
|
{ stdenv, fetchurl, pkgconfig, glib, libcanberra, gobject-introspection, libtool, gnome3 }:
|
2016-09-18 20:35:23 +01:00
|
|
|
|
2018-12-25 22:47:20 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2018-03-03 08:03:38 +00:00
|
|
|
pname = "gsound";
|
|
|
|
version = "1.0.2";
|
2016-09-18 20:35:23 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-12-25 22:47:20 +00:00
|
|
|
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
2017-10-04 22:50:14 +01:00
|
|
|
sha256 = "bba8ff30eea815037e53bee727bbd5f0b6a2e74d452a7711b819a7c444e78e53";
|
2016-09-18 20:35:23 +01:00
|
|
|
};
|
|
|
|
|
2018-12-02 11:41:15 +00:00
|
|
|
nativeBuildInputs = [ pkgconfig gobject-introspection libtool gnome3.vala ];
|
2017-12-17 01:56:31 +00:00
|
|
|
buildInputs = [ glib libcanberra ];
|
2016-09-18 20:35:23 +01:00
|
|
|
|
2018-03-03 08:03:38 +00:00
|
|
|
passthru = {
|
|
|
|
updateScript = gnome3.updateScript {
|
|
|
|
packageName = pname;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2016-09-18 20:35:23 +01:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://wiki.gnome.org/Projects/GSound;
|
|
|
|
description = "Small library for playing system sounds";
|
|
|
|
maintainers = gnome3.maintainers;
|
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|