mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 06:14:26 +03:00
Merge branch 'misc-gvolicon' of git://github.com/bennofs/nixpkgs
new expression: gvolicon
This commit is contained in:
commit
fc0ea57efc
@ -15,6 +15,7 @@
|
|||||||
astsmtl = "Alexander Tsamutali <astsmtl@yandex.ru>";
|
astsmtl = "Alexander Tsamutali <astsmtl@yandex.ru>";
|
||||||
aszlig = "aszlig <aszlig@redmoonstudios.org>";
|
aszlig = "aszlig <aszlig@redmoonstudios.org>";
|
||||||
bbenoist = "Baptist BENOIST <return_0@live.com>";
|
bbenoist = "Baptist BENOIST <return_0@live.com>";
|
||||||
|
bennofs = "Benno Fünfstück <benno.fuenfstueck@gmail.com>";
|
||||||
bjg = "Brian Gough <bjg@gnu.org>";
|
bjg = "Brian Gough <bjg@gnu.org>";
|
||||||
bjornfor = "Bjørn Forsman <bjorn.forsman@gmail.com>";
|
bjornfor = "Bjørn Forsman <bjorn.forsman@gmail.com>";
|
||||||
bluescreen303 = "Mathijs Kwik <mathijs@bluescreen303.nl>";
|
bluescreen303 = "Mathijs Kwik <mathijs@bluescreen303.nl>";
|
||||||
|
27
pkgs/tools/audio/gvolicon/default.nix
Normal file
27
pkgs/tools/audio/gvolicon/default.nix
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
{ stdenv, makeWrapper, alsaLib, pkgconfig, fetchgit, gnome3, hicolor_icon_theme, gdk_pixbuf, librsvg }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation {
|
||||||
|
name = "gvolicon";
|
||||||
|
src = fetchgit {
|
||||||
|
url = "https://github.com/Unia/gvolicon";
|
||||||
|
rev = "26343415de836e0b05aa0b480c0c69cc2ed9e419";
|
||||||
|
sha256 = "68858840a45b5f74803e85116c6219f805d6d944c00354662889549910856cdd";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ pkgconfig makeWrapper alsaLib gnome3.gtk ];
|
||||||
|
propagatedBuildInputs = [ gnome3.gnome_icon_theme gnome3.gnome_icon_theme_symbolic hicolor_icon_theme gdk_pixbuf librsvg ];
|
||||||
|
installPhase = ''
|
||||||
|
make install PREFIX=$out
|
||||||
|
wrapProgram "$out/bin/gvolicon" \
|
||||||
|
--set GDK_PIXBUF_MODULE_FILE "$GDK_PIXBUF_MODULE_FILE" \
|
||||||
|
--prefix XDG_DATA_DIRS : "${gnome3.gtk}/share:${gnome3.gnome_themes_standard}/share:${gnome3.gsettings_desktop_schemas}/share:$out/share:$out/share/gvolicon:$XDG_ICON_DIRS"
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "A simple and lightweight volume icon that sits in your system tray.";
|
||||||
|
homepage = "https://github.com/Unia/gvolicon";
|
||||||
|
platforms = stdenv.lib.platforms.linux;
|
||||||
|
license = stdenv.lib.licenses.gpl3Plus;
|
||||||
|
maintainer = stdenv.lib.maintainers.bennofs;
|
||||||
|
};
|
||||||
|
}
|
@ -1150,6 +1150,8 @@ let
|
|||||||
inherit openssl gmp nettools iproute;
|
inherit openssl gmp nettools iproute;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
gvolicon = callPackage ../tools/audio/gvolicon {};
|
||||||
|
|
||||||
gzip = callPackage ../tools/compression/gzip { };
|
gzip = callPackage ../tools/compression/gzip { };
|
||||||
|
|
||||||
gzrt = callPackage ../tools/compression/gzrt { };
|
gzrt = callPackage ../tools/compression/gzrt { };
|
||||||
|
Loading…
Reference in New Issue
Block a user