pkgs/development/libraries: stdenv.lib -> lib
This commit is contained in:
committed by
Jonathan Ringer
parent
046d24424e
commit
66e44425c6
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, fetchpatch, fetchzip, perl
|
||||
{ lib, stdenv, fetchurl, fetchpatch, fetchzip, perl
|
||||
, searchNixProfiles ? true
|
||||
}:
|
||||
|
||||
@@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "1wi60ankalmh8ds7nplz434jd7j94gdvbahdwsr539rlad8pxdzr";
|
||||
};
|
||||
|
||||
patches = stdenv.lib.optional searchNixProfiles ./data-dirs-from-nix-profiles.patch;
|
||||
patches = lib.optional searchNixProfiles ./data-dirs-from-nix-profiles.patch;
|
||||
|
||||
postPatch = ''
|
||||
patch interfaces/cc/aspell.h < ${./clang.patch}
|
||||
@@ -51,8 +51,8 @@ stdenv.mkDerivation rec {
|
||||
meta = {
|
||||
description = "Spell checker for many languages";
|
||||
homepage = "http://aspell.net/";
|
||||
license = stdenv.lib.licenses.lgpl2Plus;
|
||||
license = lib.licenses.lgpl2Plus;
|
||||
maintainers = [ ];
|
||||
platforms = with stdenv.lib.platforms; all;
|
||||
platforms = with lib.platforms; all;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -49,7 +49,7 @@ let
|
||||
|
||||
meta = {
|
||||
description = "Aspell dictionary for ${fullName}";
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
platforms = lib.platforms.all;
|
||||
} // (args.meta or {});
|
||||
} // removeAttrs args [ "meta" ]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user