diff options
author | worldofpeace <worldofpeace@users.noreply.github.com> | 2018-12-25 17:47:20 -0500 |
---|---|---|
committer | worldofpeace <worldofpeace@users.noreply.github.com> | 2018-12-25 20:14:29 -0500 |
commit | 702168a67cf6aa0f70c74a5c03599e3d1edbcc5e (patch) | |
tree | bd83ba4c22dfad310d3e1f720c92df9f5a39184a /pkgs/development/libraries/gsound | |
parent | c1599d29d914faa6222915c6342ae73533523b1a (diff) |
gsound: rename from gnome3.gsound
Diffstat (limited to 'pkgs/development/libraries/gsound')
-rw-r--r-- | pkgs/development/libraries/gsound/default.nix | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/development/libraries/gsound/default.nix b/pkgs/development/libraries/gsound/default.nix new file mode 100644 index 0000000000000..337a2472babd4 --- /dev/null +++ b/pkgs/development/libraries/gsound/default.nix @@ -0,0 +1,28 @@ +{ stdenv, fetchurl, pkgconfig, glib, libcanberra, gobject-introspection, libtool, gnome3 }: + +stdenv.mkDerivation rec { + pname = "gsound"; + version = "1.0.2"; + + src = fetchurl { + url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; + sha256 = "bba8ff30eea815037e53bee727bbd5f0b6a2e74d452a7711b819a7c444e78e53"; + }; + + nativeBuildInputs = [ pkgconfig gobject-introspection libtool gnome3.vala ]; + buildInputs = [ glib libcanberra ]; + + passthru = { + updateScript = gnome3.updateScript { + packageName = pname; + }; + }; + + 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; + }; +} |