1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/libraries/haskell/rfc5051/default.nix

17 lines
546 B
Nix
Raw Normal View History

{ cabal, glibcLocales }:
2013-09-18 16:45:07 +01:00
cabal.mkDerivation (self: {
pname = "rfc5051";
version = "0.1.0.2";
sha256 = "0j009h78gw92bl61g0js6xkah76lb6gm0lv55z2sw6gxm4a1ygml";
isLibrary = true;
isExecutable = true;
preConfigure = "export LANG=en_US.UTF-8"
+ self.stdenv.lib.optionalString self.stdenv.isLinux " LOCALE_ARCHIVE=${glibcLocales}/lib/locale/locale-archive";
2013-09-18 16:45:07 +01:00
meta = {
description = "Simple unicode collation as per RFC5051";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
};
})