pkgs/data: stdenv.lib -> lib

This commit is contained in:
Ben Siraphob
2021-01-15 14:29:18 +07:00
parent 0e49ba1b64
commit 4eb185bd6a
52 changed files with 132 additions and 132 deletions
+6 -6
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, unzip, zip, libiconv, perl, aspell, dos2unix
{ lib, stdenv, fetchFromGitHub, unzip, zip, libiconv, perl, aspell, dos2unix
, singleWordlist ? null
}:
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
'';
nativeBuildInputs = [ unzip zip perl aspell dos2unix ];
buildInputs = stdenv.lib.optional (!stdenv.isLinux) libiconv;
buildInputs = lib.optional (!stdenv.isLinux) libiconv;
NIX_CFLAGS_COMPILE = "-Wno-narrowing";
@@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
export PERL5LIB="$PERL5LIB''${PERL5LIB:+:}$PWD/varcon"
'';
postBuild = stdenv.lib.optionalString (singleWordlist == null) ''
postBuild = lib.optionalString (singleWordlist == null) ''
(
cd scowl/speller
make aspell
@@ -104,9 +104,9 @@ stdenv.mkDerivation rec {
meta = {
inherit version;
description = "Spell checker oriented word lists";
license = stdenv.lib.licenses.mit;
maintainers = [stdenv.lib.maintainers.raskin];
platforms = stdenv.lib.platforms.unix;
license = lib.licenses.mit;
maintainers = [lib.maintainers.raskin];
platforms = lib.platforms.unix;
homepage = "http://wordlist.aspell.net/";
};
}