treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938 meta = with stdenv.lib; is a widely used pattern. We want to slowly remove the `stdenv.lib` indirection and encourage people to use `lib` directly. Thus let’s start with the meta field. This used a rewriting script to mostly automatically replace all occurances of this pattern, and add the `lib` argument to the package header if it doesn’t exist yet. The script in its current form is available at https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub, pkgconfig, which, docutils, freetype, pango }:
|
||||
{ lib, stdenv, fetchFromGitHub, pkgconfig, which, docutils, freetype, pango }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "abcm2ps";
|
||||
@@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
buildInputs = [ freetype pango ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
homepage = "http://moinejf.free.fr/";
|
||||
license = licenses.gpl3;
|
||||
description = "A command line program which converts ABC to music sheet in PostScript or SVG format";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchzip }:
|
||||
{ lib, stdenv, fetchzip }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "abcMIDI";
|
||||
@@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
|
||||
# There is also a file called "makefile" which seems to be preferred by the standard build phase
|
||||
makefile = "Makefile";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
homepage = "http://abc.sourceforge.net/abcMIDI/";
|
||||
downloadPage = "https://ifdo.ca/~seymour/runabc/top.html";
|
||||
license = licenses.gpl2Plus;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub, libsndfile }:
|
||||
{ lib, stdenv, fetchFromGitHub, libsndfile }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "accuraterip-checksum";
|
||||
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "Program for computing the AccurateRip checksum of singletrack WAV files";
|
||||
homepage = "https://github.com/leo-bogert/accuraterip-checksum";
|
||||
license = licenses.gpl3;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, fetchpatch, cmake, pkg-config, qt4, taglib, chromaprint, ffmpeg }:
|
||||
{ lib, stdenv, fetchurl, fetchpatch, cmake, pkg-config, qt4, taglib, chromaprint, ffmpeg }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "acoustid-fingerprinter";
|
||||
@@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
|
||||
./ffmpeg.patch
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
homepage = "https://acoustid.org/fingerprinter";
|
||||
description = "Audio fingerprinting tool using chromaprint";
|
||||
license = stdenv.lib.licenses.gpl2Plus;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl
|
||||
{ lib, stdenv, fetchurl
|
||||
, alsaLib, caps
|
||||
}:
|
||||
|
||||
@@ -34,7 +34,7 @@ stdenv.mkDerivation rec {
|
||||
mkdir -p "$out/lib/alsa-lib"
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "Real-time adjustable equalizer plugin for ALSA";
|
||||
homepage = "https://thedigitalmachine.net/alsaequal.html";
|
||||
license = licenses.gpl2;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub, cmake, gtest, boost, gd, libsndfile, libmad, libid3tag }:
|
||||
{ lib, stdenv, fetchFromGitHub, cmake, gtest, boost, gd, libsndfile, libmad, libid3tag }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "audiowaveform";
|
||||
@@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
|
||||
# One test is failing, see PR #101947
|
||||
doCheck = false;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "C++ program to generate waveform data and render waveform images from audio files";
|
||||
longDescription = ''
|
||||
audiowaveform is a C++ command-line application that generates waveform data from either MP3, WAV, FLAC, or Ogg Vorbis format audio files.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub, beets, pythonPackages, flac, liboggz, mp3val }:
|
||||
{ lib, stdenv, fetchFromGitHub, beets, pythonPackages, flac, liboggz, mp3val }:
|
||||
|
||||
pythonPackages.buildPythonApplication rec {
|
||||
name = "beets-check";
|
||||
@@ -26,7 +26,7 @@ pythonPackages.buildPythonApplication rec {
|
||||
|
||||
checkPhase = "nosetests";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "Beets plugin to Verify and store checksums in your library";
|
||||
homepage = "https://github.com/geigerzaehler/beets-check";
|
||||
license = licenses.mit;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
stdenv,
|
||||
lib, stdenv,
|
||||
fetchurl,
|
||||
gnuplot,
|
||||
sox,
|
||||
@@ -32,7 +32,7 @@ stdenv.mkDerivation rec {
|
||||
wrapProgram $out/bin/bpm-graph --prefix PATH : "${path}"
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
homepage = "http://www.pogo.org.uk/~mark/bpm-tools/";
|
||||
description = "Automatically calculate BPM (tempo) of music files";
|
||||
license = licenses.gpl2;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, python, mutagen, wrapPython, opusTools, mpg123 }:
|
||||
{ lib, stdenv, fetchurl, python, mutagen, wrapPython, opusTools, mpg123 }:
|
||||
|
||||
let version = "0.12.2"; in
|
||||
stdenv.mkDerivation rec {
|
||||
@@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
postFixup = "wrapPythonPrograms";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/ehmry/dir2opus";
|
||||
maintainers = [ maintainers.ehmry ];
|
||||
license = licenses.gpl2;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl }:
|
||||
{ lib, stdenv, fetchurl }:
|
||||
let
|
||||
arch_table = {
|
||||
"x86_64-linux" = "linux-x86_64";
|
||||
@@ -31,7 +31,7 @@ in stdenv.mkDerivation rec {
|
||||
cp streaming_extractor_music $out/bin
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
homepage = "https://acousticbrainz.org/download";
|
||||
description = "AcousticBrainz audio feature extractor";
|
||||
license = licenses.agpl3Plus;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, libiconv, libshout, taglib, libxml2, pkgconfig }:
|
||||
{ lib, stdenv, fetchurl, libiconv, libshout, taglib, libxml2, pkgconfig }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "ezstream";
|
||||
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
doCheck = true;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "A command line source client for Icecast media streaming servers";
|
||||
longDescription = ''
|
||||
Ezstream is a command line source client for Icecast media
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub, cmake
|
||||
{ lib, stdenv, fetchFromGitHub, cmake
|
||||
, curl, glib, sqlite, pkgconfig }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
|
||||
nativeBuildInputs = [ cmake pkgconfig ];
|
||||
buildInputs = [ sqlite glib curl ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
license = licenses.lgpl3;
|
||||
description = "A music related metadata searchengine";
|
||||
homepage = "https://github.com/sahib/glyr";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv
|
||||
{ lib, stdenv
|
||||
, openblas
|
||||
, blas
|
||||
, lapack
|
||||
@@ -78,7 +78,7 @@ stdenv.mkDerivation {
|
||||
cp -r ../egs $out/share/kaldi
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "Speech Recognition Toolkit";
|
||||
homepage = "https://kaldi-asr.org";
|
||||
license = licenses.mit;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, makeWrapper, fetchurl, which, pkgconfig
|
||||
{ lib, stdenv, makeWrapper, fetchurl, which, pkgconfig
|
||||
, ocamlPackages
|
||||
, libao, portaudio, alsaLib, libpulseaudio, libjack2
|
||||
, libsamplerate, libmad, taglib, lame, libogg
|
||||
@@ -64,7 +64,7 @@ stdenv.mkDerivation {
|
||||
|
||||
hardeningDisable = [ "format" "fortify" ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "Swiss-army knife for multimedia streaming";
|
||||
homepage = "https://www.liquidsoap.info/";
|
||||
maintainers = with maintainers; [ ehmry ];
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl }:
|
||||
{ lib, stdenv, fetchurl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "midicsv-1.1";
|
||||
@@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
|
||||
substituteInPlace Makefile --replace /usr/local $out
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "Losslessly translate MIDI to CSV and back";
|
||||
homepage = "http://www.fourmilab.ch/webtools/midicsv/";
|
||||
license = licenses.publicDomain;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, pythonPackages, fetchFromGitHub, pkg-config, glib, alsaLib, libjack2 }:
|
||||
{ lib, stdenv, pythonPackages, fetchFromGitHub, pkg-config, glib, alsaLib, libjack2 }:
|
||||
|
||||
pythonPackages.buildPythonApplication {
|
||||
version = "2015-11-17";
|
||||
@@ -28,7 +28,7 @@ pythonPackages.buildPythonApplication {
|
||||
--replace boost_python "boost_python${major pythonPackages.python.version}${minor pythonPackages.python.version}"
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "A MIDI router and processor based on Python, supporting ALSA and JACK MIDI";
|
||||
homepage = "http://das.nasophon.de/mididings";
|
||||
license = licenses.gpl2;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub }:
|
||||
{ lib, stdenv, fetchFromGitHub }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "mp3cat";
|
||||
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
|
||||
"install_bin"
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "A command line program which concatenates MP3 files";
|
||||
longDescription = ''
|
||||
A command line program which concatenates MP3 files, mp3cat
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, buildGoModule, fetchFromGitHub }:
|
||||
{ lib, stdenv, buildGoModule, fetchFromGitHub }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "mpd-mpris";
|
||||
@@ -24,7 +24,7 @@ buildGoModule rec {
|
||||
cp mpd-mpris.service $out/lib/systemd/user
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "An implementation of the MPRIS protocol for MPD";
|
||||
homepage = "https://github.com/natsukagami/mpd-mpris";
|
||||
license = licenses.mit;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub, pkgconfig, mpd_clientlib, curl }:
|
||||
{ lib, stdenv, fetchFromGitHub, pkgconfig, mpd_clientlib, curl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "mpdas";
|
||||
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
makeFlags = [ "CONFIG=/etc" "DESTDIR=" "PREFIX=$(out)" ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "Music Player Daemon AudioScrobbler";
|
||||
homepage = "https://50hz.ws/mpdas/";
|
||||
license = licenses.bsd3;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub, autoconf, automake, libtool, pkgconfig, glib, libdaemon
|
||||
{ lib, stdenv, fetchFromGitHub, autoconf, automake, libtool, pkgconfig, glib, libdaemon
|
||||
, mpd_clientlib, curl, sqlite, bundlerEnv, libnotify, pandoc }:
|
||||
|
||||
let
|
||||
@@ -17,7 +17,7 @@ in stdenv.mkDerivation {
|
||||
sha256 = "0vdksf6lcgmizqr5mqp0bbci259k0dj7gpmhx32md41jlmw5skaw";
|
||||
};
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "A cron like daemon for mpd";
|
||||
homepage = "http://alip.github.io/mpdcron/";
|
||||
license = licenses.gpl2;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv
|
||||
{ lib, stdenv
|
||||
, autoreconfHook
|
||||
, fetchFromGitHub
|
||||
, glib
|
||||
@@ -45,7 +45,7 @@ python3.pkgs.buildPythonApplication rec {
|
||||
pygobject3
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "MPRIS 2 support for mpd";
|
||||
homepage = "https://github.com/eonpatapon/mpDris2/";
|
||||
license = licenses.gpl3;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv
|
||||
{ lib, stdenv
|
||||
, fetchFromGitHub
|
||||
, nix-update-script
|
||||
, curl
|
||||
@@ -50,7 +50,7 @@ stdenv.mkDerivation rec {
|
||||
};
|
||||
};
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "Minimalistic scrobbler for libre.fm & last.fm";
|
||||
homepage = "https://github.com/mariusor/mpris-scrobbler";
|
||||
license = licenses.mit;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, mkDerivation, fetchFromGitHub, cmake, qttools, alsaLib }:
|
||||
{ lib, stdenv, mkDerivation, fetchFromGitHub, cmake, qttools, alsaLib }:
|
||||
|
||||
mkDerivation rec {
|
||||
version = "1.5.1";
|
||||
@@ -17,7 +17,7 @@ mkDerivation rec {
|
||||
];
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "A small cross-platform editor of the OPL3 FM banks of different formats";
|
||||
homepage = src.meta.homepage;
|
||||
license = licenses.gpl3;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchgit, libpulseaudio, pkgconfig, gtk3, glibc, autoconf, automake, libnotify, libX11, xf86inputevdev }:
|
||||
{ lib, stdenv, fetchgit, libpulseaudio, pkgconfig, gtk3, glibc, autoconf, automake, libnotify, libX11, xf86inputevdev }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "pa-applet-2012-04-11";
|
||||
@@ -24,7 +24,7 @@ stdenv.mkDerivation {
|
||||
postInstall = ''
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "";
|
||||
license = licenses.gpl2;
|
||||
maintainers = with maintainers; [ domenkozar ];
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchpatch, fetchFromGitHub, pkgconfig, autoreconfHook, wrapGAppsHook
|
||||
{ lib, stdenv, fetchpatch, fetchFromGitHub, pkgconfig, autoreconfHook, wrapGAppsHook
|
||||
, gnome3, avahi, gtk3, libayatana-appindicator-gtk3, libnotify, libpulseaudio
|
||||
, xlibsWrapper, gsettings-desktop-schemas
|
||||
}:
|
||||
@@ -32,7 +32,7 @@ stdenv.mkDerivation rec {
|
||||
gsettings-desktop-schemas
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "PulseAudio system tray";
|
||||
homepage = "https://github.com/christophgysin/pasystray";
|
||||
license = licenses.lgpl21Plus;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, meson, ninja, fetchFromGitHub, glib, pkgconfig, gtk-doc, docbook_xsl, gobject-introspection }:
|
||||
{ lib, stdenv, meson, ninja, fetchFromGitHub, glib, pkgconfig, gtk-doc, docbook_xsl, gobject-introspection }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "playerctl";
|
||||
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
mesonFlags = [ "-Dbash-completions=true" ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "Command-line utility and library for controlling media players that implement MPRIS";
|
||||
homepage = "https://github.com/acrisci/playerctl";
|
||||
license = licenses.lgpl3;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub, cmake, pkgconfig, gettext, alsaLib, gtk3, glib, libnotify, libX11, pcre }:
|
||||
{ lib, stdenv, fetchFromGitHub, cmake, pkgconfig, gettext, alsaLib, gtk3, glib, libnotify, libX11, pcre }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "pnmixer";
|
||||
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
buildInputs = [ alsaLib gtk3 glib libnotify libX11 pcre ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/nicklan/pnmixer";
|
||||
description = "ALSA volume mixer for the system tray";
|
||||
license = licenses.gpl3;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub, python3, libpulseaudio }:
|
||||
{ lib, stdenv, fetchFromGitHub, python3, libpulseaudio }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "pulsemixer";
|
||||
@@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
|
||||
--replace "libpulse.so.0" "$libpulseaudio/lib/libpulse.so.0"
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "Cli and curses mixer for pulseaudio";
|
||||
homepage = "https://github.com/GeorgeFilipkin/pulsemixer";
|
||||
license = licenses.mit;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, alsaLib, libopus, ortp, bctoolbox }:
|
||||
{ lib, stdenv, fetchurl, alsaLib, libopus, ortp, bctoolbox }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "trx";
|
||||
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
|
||||
buildInputs = [ alsaLib libopus ortp bctoolbox ];
|
||||
makeFlags = [ "PREFIX=$(out)" ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "A simple toolset for broadcasting live audio using RTP/UDP and Opus";
|
||||
homepage = "http://www.pogo.org.uk/~mark/trx/";
|
||||
license = licenses.gpl2;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub, pythonPackages, opencv3 }:
|
||||
{ lib, stdenv, fetchFromGitHub, pythonPackages, opencv3 }:
|
||||
|
||||
let
|
||||
opencv3_ = pythonPackages.toPythonModule (opencv3.override {
|
||||
@@ -25,7 +25,7 @@ in pythonPackages.buildPythonApplication rec {
|
||||
install -Dm755 v2m.py $out/bin/v2m.py
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "Youtube synthesia video to midi conversion tool";
|
||||
homepage = src.meta.homepage;
|
||||
license = licenses.gpl3;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, python3Packages, fetchFromGitHub, wrapGAppsHook, gobject-introspection, libpulseaudio, glib, gtk3, pango, xorg }:
|
||||
{ lib, stdenv, python3Packages, fetchFromGitHub, wrapGAppsHook, gobject-introspection, libpulseaudio, glib, gtk3, pango, xorg }:
|
||||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "volctl";
|
||||
@@ -46,7 +46,7 @@ python3Packages.buildPythonApplication rec {
|
||||
gappsWrapperArgs+=(--prefix LD_LIBRARY_PATH : "${libpulseaudio}/lib")
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "PulseAudio enabled volume control featuring per-app sliders";
|
||||
homepage = "https://buzz.github.io/volctl/";
|
||||
license = licenses.gpl2;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ pkgs, fetchurl, stdenv, gtk3, pkgconfig, intltool, alsaLib }:
|
||||
{ pkgs, fetchurl, lib, stdenv, gtk3, pkgconfig, intltool, alsaLib }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "volumeicon";
|
||||
@@ -12,7 +12,7 @@ stdenv.mkDerivation {
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = [ gtk3 intltool alsaLib ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "A lightweight volume control that sits in your systray";
|
||||
homepage = "http://softwarebakery.com/maato/volumeicon.html";
|
||||
platforms = pkgs.lib.platforms.linux;
|
||||
|
||||
Reference in New Issue
Block a user