git.iko.soy/typeable/cabal2nix
on master help sign in
Name.hs: Add some mappings for system libraries.
commit12a6747975830b5fc3f8073f111765d9aa6bf027 authorPeter Simons <simons@cryp.to> dateSat 17 Jan 2015, 21:13 (12 years ago) parent81312cc
1 file changed+9−1
src/Cabal2Nix/Name.hs+9−1
src/Cabal2Nix/Name.hs+9−1
@@ -40,8 +40,8 @@ libNixName "crypto" = return "openssl"
4040libNixName "crypt" = [] -- provided by glibc
4141libNixName "c++" = [] -- What is that?
4242libNixName "dl" = [] -- provided by glibc
43−libNixName "gconf" = return "GConf"
4443libNixName "gconf-2.0" = return "GConf"
44+libNixName "gconf" = return "GConf"
4545libNixName "gdk-2.0" = return "gtk"
4646libNixName "gdk-pixbuf-2.0" = return "gdk_pixbuf"
4747libNixName "gdk-x11-2.0" = return "gdk_x11"
@@ -75,9 +75,11 @@ libNixName "icui18n" = return "icu"
7575libNixName "icuuc" = return "icu"
7676libNixName "idn" = return "libidn"
7777libNixName "IL" = return "libdevil"
78+libNixName "Imlib2" = return "imlib2"
7879libNixName "iw" = return "wirelesstools"
7980libNixName "jack" = return "jack2"
8081libNixName "jpeg" = return "libjpeg"
82+libNixName "ldap" = return "openldap"
8183libNixName "libglade-2.0" = return "libglade"
8284libNixName "libgsasl" = return "gsasl"
8385libNixName "librsvg-2.0" = return "librsvg"
@@ -89,7 +91,9 @@ libNixName "libzip" = return "libzip"
8991libNixName "libzmq" = return "zeromq"
9092libNixName "m" = [] -- in stdenv
9193libNixName "mono-2.0" = return "mono"
94+libNixName "mpi" = return "openmpi"
9295libNixName "ncursesw" = return "ncurses"
96+libNixName "netsnmp" = return "net_snmp"
9397libNixName "notify" = return "libnotify"
9498libNixName "odbc" = return "unixODBC"
9599libNixName "panelw" = return "ncurses"
@@ -103,6 +107,7 @@ libNixName "portaudio-2.0" = return "portaudio"
103107libNixName "pq" = return "postgresql"
104108libNixName "pthread" = []
105109libNixName "python-3.3" = return "python3"
110+libNixName "rt" = return [] -- in glibc
106111libNixName "ruby1.8" = return "ruby"
107112libNixName "sane-backends" = return "saneBackends"
108113libNixName "SDL2-2.0" = return "SDL2"
@@ -113,14 +118,17 @@ libNixName "ssl" = return "openssl"
113118libNixName "stdc++.dll" = [] -- What is that?
114119libNixName "stdc++" = [] -- What is that?
115120libNixName "systemd-journal" = return "systemd"
121+libNixName "udev" = return "systemd";
116122libNixName "uuid" = return "libossp_uuid";
117123libNixName "vte-2.90" = return "vte"
118124libNixName "webkit-1.0" = return "webkit"
119125libNixName "webkitgtk-3.0" = return "webkit"
120126libNixName "webkitgtk" = return "webkit"
121127libNixName "X11" = return "libX11"
128+libNixName "xerces-c" = return "xercesc"
122129libNixName "Xext" = return "libXext"
123130libNixName "xft" = return "libXft"
131+libNixName "Xinerama" = return "libXinerama"
124132libNixName "Xi" = return "libXi"
125133libNixName "xml2" = return "libxml2"
126134libNixName "Xpm" = return "libXpm"