git.iko.soy/typeable/cabal2nix
on master help sign in
Name.hs: Add some mappings for system libraries.
12a6747Peter Simons
src/Cabal2Nix/Name.hs+9−1
@@ -40,8 +40,8 @@ libNixName "crypto" = return "openssl"
40libNixName "crypt" = [] -- provided by glibc
40libNixName "crypt" = [] -- provided by glibc
41libNixName "c++" = [] -- What is that?
41libNixName "c++" = [] -- What is that?
42libNixName "dl" = [] -- provided by glibc
42libNixName "dl" = [] -- provided by glibc
43−libNixName "gconf" = return "GConf"
44libNixName "gconf-2.0" = return "GConf"
43libNixName "gconf-2.0" = return "GConf"
44+libNixName "gconf" = return "GConf"
45libNixName "gdk-2.0" = return "gtk"
45libNixName "gdk-2.0" = return "gtk"
46libNixName "gdk-pixbuf-2.0" = return "gdk_pixbuf"
46libNixName "gdk-pixbuf-2.0" = return "gdk_pixbuf"
47libNixName "gdk-x11-2.0" = return "gdk_x11"
47libNixName "gdk-x11-2.0" = return "gdk_x11"
@@ -75,9 +75,11 @@ libNixName "icui18n" = return "icu"
75libNixName "icuuc" = return "icu"
75libNixName "icuuc" = return "icu"
76libNixName "idn" = return "libidn"
76libNixName "idn" = return "libidn"
77libNixName "IL" = return "libdevil"
77libNixName "IL" = return "libdevil"
78+libNixName "Imlib2" = return "imlib2"
78libNixName "iw" = return "wirelesstools"
79libNixName "iw" = return "wirelesstools"
79libNixName "jack" = return "jack2"
80libNixName "jack" = return "jack2"
80libNixName "jpeg" = return "libjpeg"
81libNixName "jpeg" = return "libjpeg"
82+libNixName "ldap" = return "openldap"
81libNixName "libglade-2.0" = return "libglade"
83libNixName "libglade-2.0" = return "libglade"
82libNixName "libgsasl" = return "gsasl"
84libNixName "libgsasl" = return "gsasl"
83libNixName "librsvg-2.0" = return "librsvg"
85libNixName "librsvg-2.0" = return "librsvg"
@@ -89,7 +91,9 @@ libNixName "libzip" = return "libzip"
89libNixName "libzmq" = return "zeromq"
91libNixName "libzmq" = return "zeromq"
90libNixName "m" = [] -- in stdenv
92libNixName "m" = [] -- in stdenv
91libNixName "mono-2.0" = return "mono"
93libNixName "mono-2.0" = return "mono"
94+libNixName "mpi" = return "openmpi"
92libNixName "ncursesw" = return "ncurses"
95libNixName "ncursesw" = return "ncurses"
96+libNixName "netsnmp" = return "net_snmp"
93libNixName "notify" = return "libnotify"
97libNixName "notify" = return "libnotify"
94libNixName "odbc" = return "unixODBC"
98libNixName "odbc" = return "unixODBC"
95libNixName "panelw" = return "ncurses"
99libNixName "panelw" = return "ncurses"
@@ -103,6 +107,7 @@ libNixName "portaudio-2.0" = return "portaudio"
103libNixName "pq" = return "postgresql"
107libNixName "pq" = return "postgresql"
104libNixName "pthread" = []
108libNixName "pthread" = []
105libNixName "python-3.3" = return "python3"
109libNixName "python-3.3" = return "python3"
110+libNixName "rt" = return [] -- in glibc
106libNixName "ruby1.8" = return "ruby"
111libNixName "ruby1.8" = return "ruby"
107libNixName "sane-backends" = return "saneBackends"
112libNixName "sane-backends" = return "saneBackends"
108libNixName "SDL2-2.0" = return "SDL2"
113libNixName "SDL2-2.0" = return "SDL2"
@@ -113,14 +118,17 @@ libNixName "ssl" = return "openssl"
113libNixName "stdc++.dll" = [] -- What is that?
118libNixName "stdc++.dll" = [] -- What is that?
114libNixName "stdc++" = [] -- What is that?
119libNixName "stdc++" = [] -- What is that?
115libNixName "systemd-journal" = return "systemd"
120libNixName "systemd-journal" = return "systemd"
121+libNixName "udev" = return "systemd";
116libNixName "uuid" = return "libossp_uuid";
122libNixName "uuid" = return "libossp_uuid";
117libNixName "vte-2.90" = return "vte"
123libNixName "vte-2.90" = return "vte"
118libNixName "webkit-1.0" = return "webkit"
124libNixName "webkit-1.0" = return "webkit"
119libNixName "webkitgtk-3.0" = return "webkit"
125libNixName "webkitgtk-3.0" = return "webkit"
120libNixName "webkitgtk" = return "webkit"
126libNixName "webkitgtk" = return "webkit"
121libNixName "X11" = return "libX11"
127libNixName "X11" = return "libX11"
128+libNixName "xerces-c" = return "xercesc"
122libNixName "Xext" = return "libXext"
129libNixName "Xext" = return "libXext"
123libNixName "xft" = return "libXft"
130libNixName "xft" = return "libXft"
131+libNixName "Xinerama" = return "libXinerama"
124libNixName "Xi" = return "libXi"
132libNixName "Xi" = return "libXi"
125libNixName "xml2" = return "libxml2"
133libNixName "xml2" = return "libxml2"
126libNixName "Xpm" = return "libXpm"
134libNixName "Xpm" = return "libXpm"