2021-05-07 23:18:14 +02:00
|
|
|
{ lib, stdenv, fetchurl, pkg-config, glib, vala, libcanberra, gobject-introspection, libtool, gnome }:
|
2016-09-18 21:35:23 +02:00
|
|
|
|
2018-12-25 23:47:20 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2018-03-03 09:03:38 +01:00
|
|
|
pname = "gsound";
|
|
|
|
version = "1.0.2";
|
2016-09-18 21:35:23 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-01-21 18:00:13 +01:00
|
|
|
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
2017-10-04 23:50:14 +02:00
|
|
|
sha256 = "bba8ff30eea815037e53bee727bbd5f0b6a2e74d452a7711b819a7c444e78e53";
|
2016-09-18 21:35:23 +02:00
|
|
|
};
|
|
|
|
|
2021-01-19 07:50:56 +01:00
|
|
|
nativeBuildInputs = [ pkg-config gobject-introspection libtool vala ];
|
2017-12-17 02:56:31 +01:00
|
|
|
buildInputs = [ glib libcanberra ];
|
2016-09-18 21:35:23 +02:00
|
|
|
|
2018-03-03 09:03:38 +01:00
|
|
|
passthru = {
|
2021-05-07 23:18:14 +02:00
|
|
|
updateScript = gnome.updateScript {
|
2018-03-03 09:03:38 +01:00
|
|
|
packageName = pname;
|
2021-03-21 00:57:24 +01:00
|
|
|
versionPolicy = "odd-unstable";
|
2018-03-03 09:03:38 +01:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2021-01-21 18:00:13 +01:00
|
|
|
meta = with lib; {
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://wiki.gnome.org/Projects/GSound";
|
2016-09-18 21:35:23 +02:00
|
|
|
description = "Small library for playing system sounds";
|
2020-04-01 14:40:51 +02:00
|
|
|
maintainers = teams.gnome.members;
|
2016-09-18 21:35:23 +02:00
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|