about summary refs log tree commit diff
path: root/pkgs/development/libraries/libiconv/default.nix
AgeCommit message (Collapse)AuthorFilesLines
2024-06-09treewide: Remove indefinite article from meta.descriptionAlexis Hildebrandt1-1/+1
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-04-27libiconv: expose setup hooks for use by other libiconv implementationsRandy Eckenrode1-0/+2
2024-03-28libiconv: use --replace-fail instead of --replaceRandy Eckenrode1-6/+6
2024-01-05libiconvReal: 1.16 -> 1.17R. Ryantm1-2/+2
2023-09-08treewide: replace libc == "msvcrt" with isMinGWMoritz Angermann1-1/+1
msvcrt is only one of the libcs in MinGW. We therefore replace explictly testing for msvcrt with the isMinGW predicate. This lays the foundation for ucrt64 support.
2023-06-21libiconvReal: implement ABI compatibility on DarwinRandy Eckenrode1-0/+28
This commit prepares libiconvReal to replace darwin.libiconv, allowing it to be used with binary derivations that patch out references to the system libiconv with one from nixpkgs. Apple’s libiconv is based on GNU libiconv 1.11 (the last version before it switched to LGPLv3+). Any newer releases by Apple appear to be build system tweaks. The core sources are barely updated. This means that Darwin users won’t get any fixes from upstream updates, and maintaining darwin.libiconv requires dealing with a separate and different build system (because Apple now builds it with Xcode). Fortunately, it is possible to build upstream libiconv in a way that is compatible with Apple’s distribution of it. There are two things that need to happen to produce an ABI-compatible build of libiconv: * Existing symbols need to be exported with the `iconv_` prefix instead of the `libiconv_` prefix. New symbols can have the `libiconv` prefix, and one symbol in Apple’s distribution does, but older ones must have the older prefix; and * Reexport `libcharset.dylib` from `libiconv.dylib`. This is explained by Apple as the result of a bug in their transition to an Xcode-based build system. Both these these are doable and have been done by this commit. I have tested it with building GHC, which downloads a binary distribution as part of its bootstrap and replaces references to the system libiconv with darwin.libiconv. Using this patch, libiconvReal is able to work without any changes to the GHC derivation. Note that this patch does not actually deprecate or remove darwin.libiconv yet. That will be done in a future patch after Darwin support is added for aliases and deprecating packages in the `darwin` attrset.
2022-05-25treewide: add enableParallelBuilding's to bootstrap packages so hashes stay ↵Artturin1-0/+2
the same when enableParallelBuildingByDefault is enabled verified with `nix-diff $(nix eval ".#gcc-unwrapped.drvPath") $(nix eval --expr 'with import ./. { config = { enableParallelBuildingByDefault = true; }; }; gcc-unwrapped.drvPath' --impure)`
2022-05-18Revert "Add mingwW64-llvm cross-system."Janne Heß1-1/+1
2022-05-06cross: Allow Windows toolchains to use ucrt as libc.Shea Levy1-1/+1
2022-05-04treewide: add meta.mainProgram to some librariesMalo Bourgon1-0/+1
where a single bin is provided and someone might actually want to run it
2021-01-03treewide: Start to break up static overlayJohn Ericson1-2/+2
We can use use `stdenv.hostPlatform.isStatic` instead, and move the logic per package. The least opionated benefit of this is that it makes it much easier to replace packages with modified ones, as there is no longer any issue of overlay order. CC @FRidh @matthewbauer
2020-04-10treewide: Per RFC45, remove all unquoted URLsMichael Reilly1-1/+1
2019-08-15treewide: name -> pname (easy cases) (#66585)volth1-2/+2
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
2019-05-01libiconvReal: 1.15 -> 1.16R. RyanTM1-2/+2
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/libiconv/versions
2018-12-02Treewide: use HTTPS on GNU domainsc0bw3b1-1/+1
HTTP -> HTTPS for : - http://gnu.org/ - http://www.gnu.org/ - http://elpa.gnu.org/ - http://lists.gnu.org/ - http://gcc.gnu.org/ - http://ftp.gnu.org/ (except in fetchurl mirrors) - http://bugs.gnu.org/
2018-08-30treewide: Remove usage of remaining redundant platform compatability stuffJohn Ericson1-3/+2
Want to get this out of here for 18.09, so it can be deprecated thereafter.
2018-07-03libiconv: use enableFeature for static/sharedMatthew Bauer1-3/+4
This makes things more predictable w.r.t. what is actually being built.
2018-06-25libiconv: add "enableShared" optionMatthew Bauer1-2/+7
When false, shared libraries will be disabled. also adds patch to *really* disable shared libiconv.
2018-05-07treewide: Use pkgs/build-support/roles.bash to remove copy pastaJohn Ericson1-1/+4
Also fix some setup hooks that unnecessarily used environment hooks, which revolted in the same variable being modified too many times.
2018-03-22libiconv: add setup-hookMatthew Bauer1-0/+2
2018-02-27libiconv, ncurses: Add optional flags for minimal android variantJohn Ericson1-2/+3
2018-02-26libiconv: don't use deprecated crossAttrs, re-enabling cross-strippingWill Dietz1-6/+0
Fixes retained references to bootstrap compiler in cross.
2018-02-13libiconv: disable overly strict asssertion in libiconvWill Dietz1-1/+1
2017-06-28Merge accepted cross compilation PRs into stagingJohn Ericson1-3/+5
2017-06-28libiconv: Don't use stdenv ? crosshsloan1-3/+5
2017-06-26libiconv: remove old cygwin hacksDavid McFarland1-11/+1
2017-04-19libiconv: 1.14 -> 1.15John Ericson1-2/+3
2016-07-26iconv: fix build for mips-linuxAlexey Shmalko1-1/+1
2016-04-21libiconv: fix on mingwVladimír Čunát1-1/+7
2016-01-02tree-wide: various cleanupsVladimír Čunát1-7/+8
It's mainly refactoring and mass-rebuild simplifications without any real impact (besides better readability).
2016-01-01FreeBSD supportjanus1-1/+2
2015-05-28cygwin: libiconv and gettext for x86_64Marko Durkovic1-1/+6
2014-11-22nokogiri: use libiconvOrEmpty. assert libiconv is not used on linuxDomen Kožar1-0/+2
2014-10-19libiconv: update to 1.14 (close #4419)Vincent Laporte1-2/+2
2014-08-24Fix many package descriptionsBjørn Forsman1-1/+1
(My OCD kicked in today...) Remove repeated package names, capitalize first word, remove trailing periods and move overlong descriptions to longDescription. I also simplified some descriptions as well, when they were particularly long or technical, often based on Arch Linux' package descriptions. I've tried to stay away from generated expressions (and I think I succeeded). Some specifics worth mentioning: * cron, has "Vixie Cron" in its description. The "Vixie" part is not mentioned anywhere else. I kept it in a parenthesis at the end of the description. * ctags description started with "Exuberant Ctags ...", and the "exuberant" part is not mentioned elsewhere. Kept it in a parenthesis at the end of description. * nix has the description "The Nix Deployment System". Since that doesn't really say much what it is/does (especially after removing the package name!), I changed that to "Powerful package manager that makes package management reliable and reproducible" (borrowed from nixos.org). * Tons of "GNU Foo, Foo is a [the important bits]" descriptions is changed to just [the important bits]. If the package name doesn't contain GNU I don't think it's needed to say it in the description either.
2014-07-28Turn some license strings into lib.licenses valuesMateusz Kowalczyk1-1/+1
2013-11-05Fix some meta.platforms attributes to build more stuff on DarwinEelco Dolstra1-1/+1
2013-08-16unmaintain several packagesLudovic Courtès1-1/+1
2013-03-29libiconv: disable stripping when cross-compilingLudovic Courtès1-0/+6
2012-11-29Remove support for the obsolete powerpc-darwin and i686-darwin platformsEelco Dolstra1-12/+8
2012-05-29GNU libiconv: Build the static library on Cygwin.Ludovic Courtès1-1/+11
svn path=/nixpkgs/trunk/; revision=34269
2009-09-19Add GNU libiconv as a stand-alone package.Ludovic Courtès1-0/+32
svn path=/nixpkgs/trunk/; revision=17282