1 { lib, stdenv, fetchurl, pkg-config, glib, vala, libcanberra, gobject-introspection, libtool, gnome, meson, ninja }:
3 stdenv.mkDerivation rec {
8 url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
9 sha256 = "06l80xgykj7x1kqkjvcq06pwj2rmca458zvs053qc55x3sg06bfa";
13 depsBuildBuild = [ pkg-config ];
14 nativeBuildInputs = [ pkg-config meson ninja gobject-introspection libtool vala ];
15 buildInputs = [ glib libcanberra ];
18 "-Dintrospection=${lib.boolToString (stdenv.buildPlatform == stdenv.hostPlatform)}"
19 "-Denable_vala=${lib.boolToString (stdenv.buildPlatform == stdenv.hostPlatform)}"
23 updateScript = gnome.updateScript {
25 versionPolicy = "odd-unstable";
30 homepage = "https://wiki.gnome.org/Projects/GSound";
31 description = "Small library for playing system sounds";
32 maintainers = teams.gnome.members;
33 license = licenses.gpl2;
34 platforms = platforms.unix;