summaryrefslogtreecommitdiff
path: root/siguix/packages/volctl.scm
blob: 36bb89112788fb0a58d8b46a02655e05678cc405 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2021 Simon Streit <simon@netpanic.org>
;;;
;;; This file is NOT part of GNU Guix.
;;;
;;; GNU Guix is free software; you can redistribute it and/or modify it
;;; under the terms of the GNU General Public License as published by
;;; the Free Software Foundation; either version 3 of the License, or (at
;;; your option) any later version.
;;;
;;; GNU Guix is distributed in the hope that it will be useful, but
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
;;; GNU General Public License for more details.
;;;
;;; You should have received a copy of the GNU General Public License
;;; along with GNU Guix.  If not, see <http://www.gnu.org/licenses/>.

(define-module (siguix packages volctl)
  #:use-module ((guix licenses) #:prefix license:)
  #:use-module (gnu packages glib)
  #:use-module (gnu packages gnome)
  #:use-module (gnu packages gtk)
  #:use-module (gnu packages pulseaudio)
  #:use-module (gnu packages python-xyz)
  #:use-module (gnu packages xorg)
  #:use-module (guix build-system python)
  #:use-module (guix download)
  #:use-module (guix git-download)
  #:use-module (guix hg-download)
  #:use-module (guix packages)
  #:use-module (siguix packages python-pulsectl)
  #:use-module (siguix packages statusnotifier))

(define-public volctl
  (package
    (name "volctl")
    (version "0.9.2")
    (source (origin
              (method git-fetch)
              (uri (git-reference
                    (url "https://github.com/buzz/volctl")
                    (commit (string-append "v" version))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0vxikmvf3qlv571c71qqb7b3nm3ks2hg7qdwjpxh305b1app8nca"))))
    (build-system python-build-system)
    (inputs (list gtk+ libxfixes pulseaudio python-pulsectl
                  statusnotifier))
    (propagated-inputs (list python-click python-pycairo python-pygobject
                             python-pyyaml))
    (home-page "https://buzz.github.io/volctl/")
    (synopsis
     "Per-application volume control and on-screen display (OSD) for graphical desktops")
    (description
     "Volctl is a PulseAudio-enabled tray icon volume control and OSD
applet for graphical desktops.  It's not meant to be an replacement
for a full-featured mixer application.  If you're looking for that
check out the excellent pavucontrol.")
    ;; XXX: 'setup.py' says "GPLv2" but nothing says "version 2 only".  Is
    ;; GPLv2+ intended?
    (license license:gpl2)))