pkgs/tools: stdenv.lib -> lib

This commit is contained in:
Ben Siraphob
2021-01-15 17:12:36 +07:00
parent 94f3683935
commit 8c5d37129f
916 changed files with 2510 additions and 2510 deletions
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake pkg-config ];
buildInputs = [ qt4 taglib chromaprint ffmpeg ];
cmakeFlags = [ "-DTAGLIB_MIN_VERSION=${stdenv.lib.getVersion taglib}" ];
cmakeFlags = [ "-DTAGLIB_MIN_VERSION=${lib.getVersion taglib}" ];
patches = [
(fetchpatch {
@@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
meta = with lib; {
homepage = "https://acoustid.org/fingerprinter";
description = "Audio fingerprinting tool using chromaprint";
license = stdenv.lib.licenses.gpl2Plus;
license = lib.licenses.gpl2Plus;
maintainers = with maintainers; [ ehmry ];
platforms = with platforms; linux;
};
@@ -19,7 +19,7 @@ pythonPackages.buildPythonApplication rec {
meta = {
description = "Beets plugin to manage external files";
homepage = "https://github.com/geigerzaehler/beets-alternatives";
maintainers = [ stdenv.lib.maintainers.aszlig ];
license = stdenv.lib.licenses.mit;
maintainers = [ lib.maintainers.aszlig ];
license = lib.licenses.mit;
};
}
@@ -28,6 +28,6 @@ pythonPackages.buildPythonApplication {
meta = {
description = "Beets plugin to move non-music files during the import process";
homepage = "https://github.com/sbarakat/beets-copyartifacts";
license = stdenv.lib.licenses.mit;
license = lib.licenses.mit;
};
}
@@ -25,6 +25,6 @@ pythonPackages.buildPythonApplication rec {
meta = {
homepage = "https://github.com/Holzhaus/beets-extrafiles";
description = "A plugin for beets that copies additional files and directories during the import process";
license = stdenv.lib.licenses.mit;
license = lib.licenses.mit;
};
}
+1 -1
View File
@@ -10,7 +10,7 @@
}:
let
path = stdenv.lib.makeBinPath [ gnuplot sox flac id3v2 vorbis-tools ];
path = lib.makeBinPath [ gnuplot sox flac id3v2 vorbis-tools ];
in
stdenv.mkDerivation rec {
pname = "bpm-tools";
+3 -3
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, pkgconfig
{ lib, stdenv, fetchurl, pkgconfig
, libjack2, alsaLib, libpulseaudio
, faac, lame, libogg, libopus, libvorbis, libsamplerate
}:
@@ -31,7 +31,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = "http://darkice.org/";
description = "Live audio streamer";
license = stdenv.lib.licenses.gpl3;
maintainers = with stdenv.lib.maintainers; [ ikervagyok fpletz ];
license = lib.licenses.gpl3;
maintainers = with lib.maintainers; [ ikervagyok fpletz ];
};
}
+4 -4
View File
@@ -1,4 +1,4 @@
{ stdenv, makeWrapper, alsaLib, pkgconfig, fetchgit, gtk3, gnome3, gdk-pixbuf, librsvg, wrapGAppsHook }:
{ lib, stdenv, makeWrapper, alsaLib, pkgconfig, fetchgit, gtk3, gnome3, gdk-pixbuf, librsvg, wrapGAppsHook }:
stdenv.mkDerivation {
name = "gvolicon-2014-04-28";
@@ -21,8 +21,8 @@ stdenv.mkDerivation {
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;
maintainers = [ stdenv.lib.maintainers.bennofs ];
platforms = lib.platforms.linux;
license = lib.licenses.gpl3Plus;
maintainers = [ lib.maintainers.bennofs ];
};
}
+1 -1
View File
@@ -23,7 +23,7 @@ pythonPackages.buildPythonApplication {
# so mididings knows where to look for config files
++ [ pyxdg ];
preBuild = with stdenv.lib.versions; ''
preBuild = with lib.versions; ''
substituteInPlace setup.py \
--replace boost_python "boost_python${major pythonPackages.python.version}${minor pythonPackages.python.version}"
'';
+4 -4
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, autoconf, automake, libtool, popt }:
{ lib, stdenv, fetchFromGitHub, autoconf, automake, libtool, popt }:
stdenv.mkDerivation {
name = "picotts-unstable-2018-10-19";
@@ -15,9 +15,9 @@ stdenv.mkDerivation {
meta = {
description = "Text to speech voice sinthesizer from SVox";
homepage = "https://github.com/naggety/picotts";
license = stdenv.lib.licenses.asl20;
maintainers = [ stdenv.lib.maintainers.canndrew ];
platforms = stdenv.lib.platforms.linux;
license = lib.licenses.asl20;
maintainers = [ lib.maintainers.canndrew ];
platforms = lib.platforms.linux;
};
}