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
+6 -6
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, pkgconfig, python3, bluez
{ lib, stdenv, fetchurl, pkgconfig, python3, bluez
, alsaSupport ? stdenv.isLinux, alsaLib ? null
, systemdSupport ? stdenv.isLinux, systemd ? null }:
@@ -15,8 +15,8 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ pkgconfig python3.pkgs.cython ];
buildInputs = [ bluez ]
++ stdenv.lib.optional alsaSupport alsaLib
++ stdenv.lib.optional systemdSupport systemd;
++ lib.optional alsaSupport alsaLib
++ lib.optional systemdSupport systemd;
meta = {
description = "Access software for a blind person using a braille display";
@@ -27,9 +27,9 @@ stdenv.mkDerivation rec {
Some speech capability has also been incorporated.
'';
homepage = "http://www.brltty.com/";
license = stdenv.lib.licenses.gpl2;
maintainers = [ stdenv.lib.maintainers.bramd ];
platforms = stdenv.lib.platforms.all;
license = lib.licenses.gpl2;
maintainers = [ lib.maintainers.bramd ];
platforms = lib.platforms.all;
};
makeFlags = [ "PYTHON_PREFIX=$(out)" ];