nixpkgs/pkgs/development/libraries/gsound/default.nix

30 lines
891 B
Nix
Raw Normal View History

2021-09-26 11:44:56 +01:00
{ lib, stdenv, fetchurl, pkg-config, glib, vala, libcanberra, gobject-introspection, libtool, gnome, meson, ninja }:
2018-12-25 22:47:20 +00:00
stdenv.mkDerivation rec {
2018-03-03 08:03:38 +00:00
pname = "gsound";
2021-09-26 11:44:56 +01:00
version = "1.0.3";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
2021-09-26 11:44:56 +01:00
sha256 = "06l80xgykj7x1kqkjvcq06pwj2rmca458zvs053qc55x3sg06bfa";
};
2021-09-26 11:44:56 +01:00
nativeBuildInputs = [ pkg-config meson ninja gobject-introspection libtool vala ];
2017-12-17 01:56:31 +00:00
buildInputs = [ glib libcanberra ];
2018-03-03 08:03:38 +00:00
passthru = {
updateScript = gnome.updateScript {
2018-03-03 08:03:38 +00:00
packageName = pname;
versionPolicy = "odd-unstable";
2018-03-03 08:03:38 +00:00
};
};
meta = with lib; {
homepage = "https://wiki.gnome.org/Projects/GSound";
description = "Small library for playing system sounds";
maintainers = teams.gnome.members;
license = licenses.gpl2;
platforms = platforms.linux;
};
}