pkgs/data: stdenv.lib -> lib
This commit is contained in:
@@ -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/";
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user