commit
282d03befa
@ -0,0 +1,46 @@ |
||||
{ stdenv, fetchurl, taskwarrior, perl, ncurses }: |
||||
|
||||
stdenv.mkDerivation rec { |
||||
version = "0.8"; |
||||
name = "tasknc-${version}"; |
||||
|
||||
src = fetchurl { |
||||
url = "https://github.com/mjheagle8/tasknc/archive/v${version}.tar.gz"; |
||||
sha256 = "0max5schga9hmf3vfqk2ic91dr6raxglyyjcqchzla280kxn5c28"; |
||||
}; |
||||
|
||||
# |
||||
# I know this is ugly, but the Makefile does strange things in this package, |
||||
# so we have to: |
||||
# |
||||
# 1. Remove the "doc" task dependency from the "all" target |
||||
# 2. Remove the "tasknc.1" task dependency from the "install" target |
||||
# 3. Remove the installing of the tasknc.1 file from the install target as |
||||
# we just removed the build target for it. |
||||
# |
||||
# TODO : One could also provide a patch for the doc/manual.pod file so it |
||||
# actually builds, but I'm not familiar with this, so this is the faster |
||||
# approach for me. We have no manpage, though. |
||||
# |
||||
preConfigure = '' |
||||
sed -i -r 's,(all)(.*)doc,\1\2,' Makefile |
||||
sed -i -r 's,(install)(.*)tasknc\.1,\1\2,' Makefile |
||||
sed -i -r 's,install\ -D\ -m644\ tasknc\.1\ (.*),,' Makefile |
||||
''; |
||||
|
||||
installPhase = '' |
||||
mkdir $out/bin/ -p |
||||
mkdir $out/share/man1 -p |
||||
mkdir $out/share/tasknc -p |
||||
DESTDIR=$out PREFIX= MANPREFIX=share make install |
||||
''; |
||||
|
||||
buildInputs = [ taskwarrior perl ncurses ]; |
||||
|
||||
meta = { |
||||
homepage = "https://github.com/mjheagle8/tasknc"; |
||||
description = "a ncurses wrapper around taskwarrior"; |
||||
maintainers = [ stdenv.lib.maintainers.matthiasbeyer ]; |
||||
platforms = stdenv.lib.platforms.linux; # Cannot test others |
||||
}; |
||||
} |
@ -0,0 +1,56 @@ |
||||
{ stdenv, fetchurl, xorg, gtk, glib, gdk_pixbuf, dpkg, libXext, libXfixes |
||||
, libXrender, libuuid, libXrandr, libXcomposite |
||||
}: |
||||
|
||||
with stdenv.lib; |
||||
|
||||
let |
||||
|
||||
rpathInstaller = makeLibraryPath |
||||
[gtk glib stdenv.cc.cc]; |
||||
|
||||
rpathPlugin = makeLibraryPath |
||||
[ stdenv.cc.cc gtk glib xorg.libX11 gdk_pixbuf libXext libXfixes libXrender libXrandr libuuid libXcomposite ]; |
||||
|
||||
in |
||||
|
||||
stdenv.mkDerivation rec { |
||||
name = "bluejeans-2.100.41.8"; |
||||
|
||||
version = "2.100.41.8"; |
||||
|
||||
src = fetchurl { |
||||
url = "https://swdl.bluejeans.com/skinny/bjnplugin_2.100.41.8-1_amd64.deb"; |
||||
sha256 = "013m17lpgi6nhw2df10wvrsnsjxy5n7z41ab69vj5m9h0prw9vd1"; |
||||
}; |
||||
|
||||
phases = [ "unpackPhase" "installPhase" "fixupPhase" ]; |
||||
|
||||
unpackPhase = "${dpkg}/bin/dpkg-deb -x $src ."; |
||||
|
||||
installPhase = |
||||
'' |
||||
mkdir -p $out |
||||
cp -R usr/lib $out/ |
||||
|
||||
plugins=$out/lib/mozilla/plugins |
||||
patchelf \ |
||||
--set-rpath "${rpathPlugin}" \ |
||||
$plugins/npbjnplugin_2.100.41.8.so |
||||
|
||||
patchelf \ |
||||
--set-rpath "${rpathInstaller}" \ |
||||
$plugins/npbjninstallplugin_2.100.41.8.so |
||||
''; |
||||
|
||||
dontStrip = true; |
||||
dontPatchELF = true; |
||||
|
||||
passthru.mozillaPlugin = "/lib/mozilla/plugins"; |
||||
|
||||
meta = { |
||||
homepage = http://bluejeans.com; |
||||
license = stdenv.lib.licenses.unfree; |
||||
maintainers = [ stdenv.lib.maintainers.ocharles ]; |
||||
}; |
||||
} |
@ -1,32 +1,32 @@ |
||||
{ stdenv, fetchurl, pkgconfig, gtk, perl, python, gettext |
||||
, libtool, pciutils, dbus_glib, libcanberra, libproxy |
||||
, libsexy, enchant, libnotify, openssl |
||||
, libsexy, enchant, libnotify, openssl, intltool |
||||
, desktop_file_utils, hicolor_icon_theme |
||||
}: |
||||
|
||||
stdenv.mkDerivation rec { |
||||
version = "2.9.6.1"; |
||||
version = "2.10.2"; |
||||
name = "hexchat-${version}"; |
||||
|
||||
src = fetchurl { |
||||
url = "http://dl.hexchat.net/hexchat/${name}.tar.xz"; |
||||
sha256 = "0w34jr1pqril6r011fwxv40m17bnb88q9cv5hf08mv0a9lygyrv2"; |
||||
sha256 = "0b5mw6jxa7c93nbgiwijm7j7klm6nccx6l9zyainyrbnqmjz7sw7"; |
||||
}; |
||||
|
||||
buildInputs = [ |
||||
pkgconfig gtk perl python gettext |
||||
libtool pciutils dbus_glib libcanberra libproxy |
||||
libsexy libnotify openssl |
||||
libsexy libnotify openssl intltool |
||||
desktop_file_utils hicolor_icon_theme |
||||
]; |
||||
|
||||
configureFlags = [ "--enable-shm" "--enable-textfe" ]; |
||||
|
||||
meta = { |
||||
meta = with stdenv.lib; { |
||||
description = "A popular and easy to use graphical IRC (chat) client"; |
||||
homepage = http://hexchat.github.io/; |
||||
license = stdenv.lib.licenses.gpl2; |
||||
platforms = stdenv.lib.platforms.linux; |
||||
maintainers = [ stdenv.lib.maintainers.romildo ]; |
||||
license = licenses.gpl2; |
||||
platforms = platforms.linux; |
||||
maintainers = with maintainers; [ romildo jgeerds ]; |
||||
}; |
||||
} |
||||
|
@ -0,0 +1,53 @@ |
||||
{ stdenv, fetchurl, cmake, automoc4, kf5, dvdauthor, xineLib, libmpeg2, libav, |
||||
libdvdread, libdvdnav, dvdplusrwtools }: |
||||
|
||||
stdenv.mkDerivation rec { |
||||
version = "3.0.3"; |
||||
name = "k9copy-${version}"; |
||||
|
||||
src = fetchurl { |
||||
url = "mirror://sourceforge/k9copy-reloaded/${name}.tar.gz"; |
||||
sha256 = "0dp06rwihks50c57bbv04d6bj2qc88isl91971r4lii2xp0qn7sg"; |
||||
}; |
||||
|
||||
cmakeFlags = [ |
||||
"-DQT5_BUILD=ON" |
||||
"-DCMAKE_MINIMUM_REQUIRED_VERSION=3.0" |
||||
]; |
||||
|
||||
# Hack to disable documentation |
||||
preConfigure = '' |
||||
substituteInPlace ./CMakeLists.txt \ |
||||
--replace "add_subdirectory(doc)" "" |
||||
''; |
||||
|
||||
buildInputs = [ |
||||
cmake |
||||
dvdauthor |
||||
xineLib |
||||
libmpeg2 |
||||
libav |
||||
libdvdread |
||||
libdvdnav |
||||
dvdplusrwtools |
||||
automoc4 |
||||
] ++ (with kf5; [ |
||||
extra-cmake-modules |
||||
kio |
||||
solid |
||||
scope.Phonon4Qt5 |
||||
scope.Qt5X11Extras |
||||
kiconthemes |
||||
ki18n |
||||
kdesu |
||||
kdoctools |
||||
]); |
||||
|
||||
meta = { |
||||
description = "DVD backup and DVD authoring program"; |
||||
homepage = "http://k9copy-reloaded.sourceforge.net/"; |
||||
license = stdenv.lib.licenses.gpl2; |
||||
maintainers = with stdenv.lib.maintainers; [ flosse ]; |
||||
platforms = stdenv.lib.platforms.unix; |
||||
}; |
||||
} |
@ -0,0 +1,234 @@ |
||||
diff --git a/config.def.h b/config.def.h
|
||||
index b3da7f0..ce43686 100644
|
||||
--- a/config.def.h
|
||||
+++ b/config.def.h
|
||||
@@ -1,7 +1,7 @@
|
||||
/* See LICENSE file for copyright and license details. */
|
||||
|
||||
/* appearance */
|
||||
-static const char font[] = "-*-*-medium-*-*-*-14-*-*-*-*-*-*-*";
|
||||
+static const char font[] = "monospace-9";
|
||||
static const char* normbgcolor = "#222222";
|
||||
static const char* normfgcolor = "#cccccc";
|
||||
static const char* selbgcolor = "#555555";
|
||||
diff --git a/config.mk b/config.mk
|
||||
index dd741e4..ed3a2e9 100644
|
||||
--- a/config.mk
|
||||
+++ b/config.mk
|
||||
@@ -9,7 +9,7 @@ MANPREFIX = ${PREFIX}/share/man
|
||||
|
||||
# includes and libs
|
||||
INCS = -I. -I/usr/include
|
||||
-LIBS = -L/usr/lib -lc -lX11
|
||||
+LIBS = -L/usr/lib -lc -lXft -lX11
|
||||
|
||||
# flags
|
||||
CPPFLAGS = -DVERSION=\"${VERSION}\" -D_DEFAULT_SOURCE
|
||||
diff --git a/tabbed.c b/tabbed.c
|
||||
index b15f9cb..6e50c41 100644
|
||||
--- a/tabbed.c
|
||||
+++ b/tabbed.c
|
||||
@@ -15,6 +15,7 @@
|
||||
#include <X11/Xproto.h>
|
||||
#include <X11/Xutil.h>
|
||||
#include <X11/XKBlib.h>
|
||||
+#include <X11/Xft/Xft.h>
|
||||
|
||||
#include "arg.h"
|
||||
|
||||
@@ -64,17 +65,16 @@ typedef struct {
|
||||
|
||||
typedef struct {
|
||||
int x, y, w, h;
|
||||
- unsigned long norm[ColLast];
|
||||
- unsigned long sel[ColLast];
|
||||
- unsigned long urg[ColLast];
|
||||
+ XftColor norm[ColLast];
|
||||
+ XftColor sel[ColLast];
|
||||
+ XftColor urg[ColLast];
|
||||
Drawable drawable;
|
||||
GC gc;
|
||||
struct {
|
||||
int ascent;
|
||||
int descent;
|
||||
int height;
|
||||
- XFontSet set;
|
||||
- XFontStruct *xfont;
|
||||
+ XftFont *xfont;
|
||||
} font;
|
||||
} DC; /* draw context */
|
||||
|
||||
@@ -97,7 +97,7 @@ static void unmapnotify(const XEvent *e);
|
||||
static void destroynotify(const XEvent *e);
|
||||
static void die(const char *errstr, ...);
|
||||
static void drawbar(void);
|
||||
-static void drawtext(const char *text, unsigned long col[ColLast]);
|
||||
+static void drawtext(const char *text, XftColor col[ColLast]);
|
||||
static void *ecalloc(size_t n, size_t size);
|
||||
static void *erealloc(void *o, size_t size);
|
||||
static void expose(const XEvent *e);
|
||||
@@ -107,7 +107,7 @@ static void focusonce(const Arg *arg);
|
||||
static void fullscreen(const Arg *arg);
|
||||
static char* getatom(int a);
|
||||
static int getclient(Window w);
|
||||
-static unsigned long getcolor(const char *colstr);
|
||||
+static XftColor getcolor(const char *colstr);
|
||||
static int getfirsttab(void);
|
||||
static Bool gettextprop(Window w, Atom atom, char *text, unsigned int size);
|
||||
static void initfont(const char *fontstr);
|
||||
@@ -220,12 +220,6 @@ cleanup(void) {
|
||||
free(clients);
|
||||
clients = NULL;
|
||||
|
||||
- if(dc.font.set) {
|
||||
- XFreeFontSet(dpy, dc.font.set);
|
||||
- } else {
|
||||
- XFreeFont(dpy, dc.font.xfont);
|
||||
- }
|
||||
-
|
||||
XFreePixmap(dpy, dc.drawable);
|
||||
XFreeGC(dpy, dc.gc);
|
||||
XDestroyWindow(dpy, win);
|
||||
@@ -315,7 +309,7 @@ die(const char *errstr, ...) {
|
||||
|
||||
void
|
||||
drawbar(void) {
|
||||
- unsigned long *col;
|
||||
+ XftColor *col;
|
||||
int c, cc, fc, width;
|
||||
char *name = NULL;
|
||||
|
||||
@@ -368,12 +362,13 @@ drawbar(void) {
|
||||
}
|
||||
|
||||
void
|
||||
-drawtext(const char *text, unsigned long col[ColLast]) {
|
||||
+drawtext(const char *text, XftColor col[ColLast]) {
|
||||
int i, x, y, h, len, olen;
|
||||
char buf[256];
|
||||
+ XftDraw *d;
|
||||
XRectangle r = { dc.x, dc.y, dc.w, dc.h };
|
||||
|
||||
- XSetForeground(dpy, dc.gc, col[ColBG]);
|
||||
+ XSetForeground(dpy, dc.gc, col[ColBG].pixel);
|
||||
XFillRectangles(dpy, dc.drawable, dc.gc, &r, 1);
|
||||
if(!text)
|
||||
return;
|
||||
@@ -394,13 +389,12 @@ drawtext(const char *text, unsigned long col[ColLast]) {
|
||||
for(i = len; i && i > len - 3; buf[--i] = '.');
|
||||
}
|
||||
|
||||
- XSetForeground(dpy, dc.gc, col[ColFG]);
|
||||
- if(dc.font.set) {
|
||||
- XmbDrawString(dpy, dc.drawable, dc.font.set,
|
||||
- dc.gc, x, y, buf, len);
|
||||
- } else {
|
||||
- XDrawString(dpy, dc.drawable, dc.gc, x, y, buf, len);
|
||||
- }
|
||||
+ XSetForeground(dpy, dc.gc, col[ColFG].pixel);
|
||||
+
|
||||
+ d = XftDrawCreate(dpy, dc.drawable, DefaultVisual(dpy, screen), DefaultColormap(dpy,screen));
|
||||
+
|
||||
+ XftDrawStringUtf8(d, &col[ColFG], dc.font.xfont, x, y, (XftChar8 *) buf, len);
|
||||
+ XftDrawDestroy(d);
|
||||
}
|
||||
|
||||
void *
|
||||
@@ -537,15 +531,14 @@ getclient(Window w) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
-unsigned long
|
||||
+XftColor
|
||||
getcolor(const char *colstr) {
|
||||
- Colormap cmap = DefaultColormap(dpy, screen);
|
||||
- XColor color;
|
||||
+ XftColor color;
|
||||
|
||||
- if(!XAllocNamedColor(dpy, cmap, colstr, &color, &color))
|
||||
+ if(!XftColorAllocName(dpy, DefaultVisual(dpy, screen), DefaultColormap(dpy, screen), colstr, &color))
|
||||
die("tabbed: cannot allocate color '%s'\n", colstr);
|
||||
|
||||
- return color.pixel;
|
||||
+ return color;
|
||||
}
|
||||
|
||||
int
|
||||
@@ -594,41 +587,11 @@ gettextprop(Window w, Atom atom, char *text, unsigned int size) {
|
||||
|
||||
void
|
||||
initfont(const char *fontstr) {
|
||||
- char *def, **missing, **font_names;
|
||||
- int i, n;
|
||||
- XFontStruct **xfonts;
|
||||
-
|
||||
- missing = NULL;
|
||||
- if(dc.font.set)
|
||||
- XFreeFontSet(dpy, dc.font.set);
|
||||
-
|
||||
- dc.font.set = XCreateFontSet(dpy, fontstr, &missing, &n, &def);
|
||||
- if(missing) {
|
||||
- while(n--)
|
||||
- fprintf(stderr, "tabbed: missing fontset: %s\n", missing[n]);
|
||||
- XFreeStringList(missing);
|
||||
- }
|
||||
-
|
||||
- if(dc.font.set) {
|
||||
- dc.font.ascent = dc.font.descent = 0;
|
||||
- n = XFontsOfFontSet(dc.font.set, &xfonts, &font_names);
|
||||
- for(i = 0, dc.font.ascent = 0, dc.font.descent = 0; i < n; i++) {
|
||||
- dc.font.ascent = MAX(dc.font.ascent, (*xfonts)->ascent);
|
||||
- dc.font.descent = MAX(dc.font.descent,(*xfonts)->descent);
|
||||
- xfonts++;
|
||||
- }
|
||||
- } else {
|
||||
- if(dc.font.xfont)
|
||||
- XFreeFont(dpy, dc.font.xfont);
|
||||
- dc.font.xfont = NULL;
|
||||
- if(!(dc.font.xfont = XLoadQueryFont(dpy, fontstr))
|
||||
- && !(dc.font.xfont = XLoadQueryFont(dpy, "fixed"))) {
|
||||
- die("tabbed: cannot load font: '%s'\n", fontstr);
|
||||
- }
|
||||
+ if(!(dc.font.xfont = XftFontOpenName(dpy,screen,fontstr)) && !(dc.font.xfont = XftFontOpenName(dpy,screen,"fixed")))
|
||||
+ die("error, cannot load font: '%s'\n", fontstr);
|
||||
|
||||
- dc.font.ascent = dc.font.xfont->ascent;
|
||||
- dc.font.descent = dc.font.xfont->descent;
|
||||
- }
|
||||
+ dc.font.ascent = dc.font.xfont->ascent;
|
||||
+ dc.font.descent = dc.font.xfont->descent;
|
||||
dc.font.height = dc.font.ascent + dc.font.descent;
|
||||
}
|
||||
|
||||
@@ -1000,11 +963,9 @@ setup(void) {
|
||||
dc.drawable = XCreatePixmap(dpy, root, ww, wh,
|
||||
DefaultDepth(dpy, screen));
|
||||
dc.gc = XCreateGC(dpy, root, 0, 0);
|
||||
- if(!dc.font.set)
|
||||
- XSetFont(dpy, dc.gc, dc.font.xfont->fid);
|
||||
|
||||
win = XCreateSimpleWindow(dpy, root, wx, wy, ww, wh, 0,
|
||||
- dc.norm[ColFG], dc.norm[ColBG]);
|
||||
+ dc.norm[ColFG].pixel, dc.norm[ColBG].pixel);
|
||||
XMapRaised(dpy, win);
|
||||
XSelectInput(dpy, win, SubstructureNotifyMask|FocusChangeMask|
|
||||
ButtonPressMask|ExposureMask|KeyPressMask|PropertyChangeMask|
|
||||
@@ -1070,15 +1031,9 @@ spawn(const Arg *arg) {
|
||||
|
||||
int
|
||||
textnw(const char *text, unsigned int len) {
|
||||
- XRectangle r;
|
||||
-
|
||||
- if(dc.font.set) {
|
||||
- XmbTextExtents(dc.font.set, text, len, NULL, &r);
|
||||
-
|
||||
- return r.width;
|
||||
- }
|
||||
-
|
||||
- return XTextWidth(dc.font.xfont, text, len);
|
||||
+ XGlyphInfo ext;
|
||||
+ XftTextExtentsUtf8(dpy, dc.font.xfont, (XftChar8 *) text, len, &ext);
|
||||
+ return ext.xOff;
|
||||
}
|
||||
|
||||
void
|
@ -0,0 +1,58 @@ |
||||
{ stdenv, maven, runCommand, writeText, fetchurl, lib }: |
||||
/* Takes an info file generated by mvn2nix |
||||
* (https://github.com/shlevy/mvn2nix-maven-plugin) and builds the maven |
||||
* project with it. |
||||
* |
||||
* repo: A local maven repository with the project's dependencies. |
||||
* |
||||
* settings: A settings.xml to pass to maven to use the repo. |
||||
* |
||||
* build: A simple build derivation that uses mvn compile and package to build |
||||
* the project. |
||||
*/ |
||||
infoFile: let |
||||
info = builtins.fromJSON (builtins.readFile infoFile); |
||||
|
||||
repo = runCommand "maven-repository" {} '' |
||||
${lib.concatStrings (map (dep: let |
||||
inherit (dep) url sha1 groupId artifactId version; |
||||
|
||||
fetch = fetchurl { inherit url sha1; }; |
||||
in '' |
||||
dir=$out/$(echo ${groupId} | sed 's|\.|/|g')/${artifactId}/${version} |
||||
mkdir -p $dir |
||||
ln -sv ${fetch} $dir/${fetch.name} |
||||
'') info.dependencies)} |
||||
''; |
||||
|
||||
settings = writeText "settings.xml" '' |
||||
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" |
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
||||
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 |
||||
http://maven.apache.org/xsd/settings-1.0.0.xsd"> |
||||
<localRepository>${repo}</localRepository> |
||||
</settings> |
||||
''; |
||||
|
||||
src = dirOf infoFile; |
||||
in { |
||||
inherit repo settings; |
||||
|
||||
build = stdenv.mkDerivation { |
||||
name = "${info.project.artifactId}-${info.project.version}.jar"; |
||||
|
||||
src = builtins.filterSource (path: type: |
||||
(toString path) != (toString (src + "/target")) && |
||||
(toString path) != (toString (src + "/.git")) |
||||
) src; |
||||
|
||||
buildInputs = [ maven ]; |
||||
|
||||
buildPhase = "mvn --offline --settings ${settings} compile"; |
||||
|
||||
installPhase = '' |
||||
mvn --offline --settings ${settings} package |
||||
mv target/*.jar $out |
||||
''; |
||||
}; |
||||
} |
@ -0,0 +1,20 @@ |
||||
--- a/daemon/gdm-launch-environment.c 2015-06-22 15:11:07.277474398 +0000
|
||||
+++ b/daemon/gdm-launch-environment.c 2015-06-22 15:12:31.301157665 +0000
|
||||
@@ -48,8 +48,6 @@
|
||||
#include "gdm-session-enum-types.h"
|
||||
#include "gdm-launch-environment.h"
|
||||
|
||||
-#define DBUS_LAUNCH_COMMAND BINDIR "/dbus-launch --exit-with-session"
|
||||
-
|
||||
extern char **environ;
|
||||
|
||||
#define GDM_LAUNCH_ENVIRONMENT_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), GDM_TYPE_LAUNCH_ENVIRONMENT, GdmLaunchEnvironmentPrivate))
|
||||
@@ -512,7 +510,7 @@
|
||||
gdm_session_select_program (launch_environment->priv->session, launch_environment->priv->command);
|
||||
} else {
|
||||
/* wrap it in dbus-launch */
|
||||
- char *command = g_strdup_printf ("%s %s", DBUS_LAUNCH_COMMAND, launch_environment->priv->command);
|
||||
+ char *command = g_strdup (launch_environment->priv->command);
|
||||
|
||||
gdm_session_select_program (launch_environment->priv->session, command);
|
||||
g_free (command);
|
@ -1,30 +0,0 @@ |
||||
{ stdenv, fetchurl, gdk_pixbuf, pkgconfig, gtk3, cyrus_sasl |
||||
, gnutls, gobjectIntrospection, vala, intltool, libgcrypt }: |
||||
|
||||
stdenv.mkDerivation rec { |
||||
versionMajor = "0.5"; |
||||
versionMinor = "4"; |
||||
moduleName = "gtk-vnc"; |
||||
|
||||
name = "${moduleName}-${versionMajor}.${versionMinor}"; |
||||
|
||||
src = fetchurl { |
||||
url = "mirror://gnome/sources/${moduleName}/${versionMajor}/${name}.tar.xz"; |
||||
sha256 = "1rwwdh7lb16xdmy76ca6mpqfc3zfl3a4bkcr0qb6hs6ffrxak2j8"; |
||||
}; |
||||
|
||||
buildInputs = [ pkgconfig gtk3 gdk_pixbuf gnutls cyrus_sasl |
||||
gobjectIntrospection vala intltool libgcrypt ]; |
||||
|
||||
configureFlags = [ "--with-gtk=3.0" ]; |
||||
|
||||
enableParallelBuilding = true; |
||||
|
||||
meta = with stdenv.lib; { |
||||
homepage = https://wiki.gnome.org/Projects/gtk-vnc; |
||||
description = "A VNC viewer widget for GTK+"; |
||||
license = licenses.lgpl2; |
||||
maintainers = with maintainers; [ lethalman ]; |
||||
platforms = platforms.linux; |
||||
}; |
||||
} |
@ -1,26 +0,0 @@ |
||||
{stdenv, fetchurl, coq, ssreflect}: |
||||
|
||||
stdenv.mkDerivation { |
||||
|
||||
name = "coq-mathcomp-1.5-8.5b2"; |
||||
|
||||
src = fetchurl { |
||||
url = http://ssr.msr-inria.inria.fr/FTP/mathcomp-1.5.coq85beta2.tar.gz; |
||||
sha256 = "03bnq44ym43x8shi7whc02l0g5vy6rx8f1imjw478chlgwcxazqy"; |
||||
}; |
||||
|
||||
propagatedBuildInputs = [ coq ssreflect ]; |
||||
|
||||
enableParallelBuilding = true; |
||||
|
||||
installFlags = "COQLIB=$(out)/lib/coq/${coq.coq-version}/"; |
||||
|
||||
meta = with stdenv.lib; { |
||||
homepage = http://ssr.msr-inria.inria.fr/; |
||||
license = licenses.cecill-b; |
||||
maintainers = [ maintainers.vbgl maintainers.jwiegley ]; |
||||
platforms = coq.meta.platforms; |
||||
hydraPlatforms = []; |
||||
}; |
||||
|
||||
} |
@ -1,26 +1,24 @@ |
||||
{stdenv, fetchurl, coq, ssreflect}: |
||||
{ callPackage, coq, fetchurl }: |
||||
|
||||
stdenv.mkDerivation { |
||||
let src = |
||||
if coq.coq-version == "8.4" then |
||||
|
||||
name = "coq-mathcomp-1.5"; |
||||
fetchurl { |
||||
url = http://ssr.msr-inria.inria.fr/FTP/mathcomp-1.5.tar.gz; |
||||
sha256 = "1297svwi18blrlyd8vsqilar2h5nfixlvlifdkbx47aljq4m5bam"; |
||||
} |
||||
|
||||
src = fetchurl { |
||||
url = http://ssr.msr-inria.inria.fr/FTP/mathcomp-1.5.tar.gz; |
||||
sha256 = "1297svwi18blrlyd8vsqilar2h5nfixlvlifdkbx47aljq4m5bam"; |
||||
}; |
||||
else if coq.coq-version == "8.5" then |
||||
|
||||
propagatedBuildInputs = [ coq ssreflect ]; |
||||
fetchurl { |
||||
url = http://ssr.msr-inria.inria.fr/FTP/mathcomp-1.5.coq85beta2.tar.gz; |
||||
sha256 = "03bnq44ym43x8shi7whc02l0g5vy6rx8f1imjw478chlgwcxazqy"; |
||||
} |
||||
|
||||
enableParallelBuilding = true; |
||||
else throw "No mathcomp package for Coq version ${coq.coq-version}"; |
||||
|
||||
installFlags = "COQLIB=$(out)/lib/coq/${coq.coq-version}/"; |
||||
|
||||
meta = with stdenv.lib; { |
||||
homepage = http://ssr.msr-inria.inria.fr/; |
||||
license = licenses.cecill-b; |
||||
maintainers = [ maintainers.vbgl maintainers.jwiegley ]; |
||||
platforms = coq.meta.platforms; |
||||
hydraPlatforms = []; |
||||
}; |
||||
in |
||||
|
||||
callPackage ./generic.nix { |
||||
inherit src; |
||||
} |
||||
|
@ -0,0 +1,33 @@ |
||||
{ stdenv, fetchurl, coq, ssreflect |
||||
, graphviz, ocamlPackages, withDoc ? true |
||||
, src |
||||
}: |
||||
|
||||
stdenv.mkDerivation { |
||||
|
||||
name = "coq-mathcomp-1.5-${coq.coq-version}"; |
||||
|
||||
inherit src; |
||||
|
||||
nativeBuildInputs = stdenv.lib.optionals withDoc |
||||
([ graphviz ] ++ (with ocamlPackages; [ ocaml camlp5_transitional ])); |
||||
propagatedBuildInputs = [ ssreflect ]; |
||||
|
||||
enableParallelBuilding = true; |
||||
|
||||
buildFlags = stdenv.lib.optionalString withDoc "doc"; |
||||
|
||||
installFlags = "COQLIB=$(out)/lib/coq/${coq.coq-version}/"; |
||||
|
||||
postInstall = stdenv.lib.optionalString withDoc '' |
||||
make -f Makefile.coq install-doc DOCDIR=$out/share/coq/${coq.coq-version}/ |
||||
''; |
||||
|
||||
meta = with stdenv.lib; { |
||||
homepage = http://ssr.msr-inria.inria.fr/; |
||||
license = licenses.cecill-b; |
||||
maintainers = [ maintainers.vbgl maintainers.jwiegley ]; |
||||
platforms = coq.meta.platforms; |
||||
}; |
||||
|
||||
} |
@ -1,40 +1,27 @@ |
||||
{stdenv, fetchurl, coq}: |
||||
{ callPackage, fetchurl, coq }: |
||||
|
||||
assert coq.coq-version == "8.4"; |
||||
if coq.coq-version == "8.4" then |
||||
|
||||
stdenv.mkDerivation { |
||||
|
||||
name = "coq-ssreflect-1.5"; |
||||
callPackage ./generic.nix { |
||||
|
||||
src = fetchurl { |
||||
url = http://ssr.msr-inria.inria.fr/FTP/ssreflect-1.5.tar.gz; |
||||
sha256 = "0hm1ha7sxqfqhc7iwhx6zdz3nki4rj5nfd3ab24hmz8v7mlpinds"; |
||||
}; |
||||
|
||||
buildInputs = [ coq.ocaml coq.camlp5 ]; |
||||
propagatedBuildInputs = [ coq ]; |
||||
|
||||
enableParallelBuilding = true; |
||||
|
||||
patchPhase = '' |
||||
# Permit building of the ssrcoq statically-bound executable |
||||
sed -i 's/^#-custom/-custom/' Make |
||||
sed -i 's/^#SSRCOQ/SSRCOQ/' Make |
||||
''; |
||||
} |
||||
|
||||
installFlags = "COQLIB=$(out)/lib/coq/${coq.coq-version}/"; |
||||
else if coq.coq-version == "8.5" then |
||||
|
||||
postInstall = '' |
||||
mkdir -p $out/bin |
||||
cp -p bin/ssrcoq $out/bin |
||||
cp -p bin/ssrcoq.byte $out/bin |
||||
''; |
||||
callPackage ./generic.nix { |
||||
|
||||
meta = with stdenv.lib; { |
||||
homepage = http://ssr.msr-inria.inria.fr/; |
||||
license = licenses.cecill-b; |
||||
maintainers = with maintainers; [ vbgl jwiegley ]; |
||||
platforms = coq.meta.platforms; |
||||
src = fetchurl { |
||||
url = http://ssr.msr-inria.inria.fr/FTP/ssreflect-1.5.coq85beta2.tar.gz; |
||||
sha256 = "084l9xd5vgb8jml0dkm66g8cil5rsf04w821pjhn2qk9mdbwaagf"; |
||||
}; |
||||
|
||||
patches = [ ./threads.patch ]; |
||||
|
||||
} |
||||
|
||||
else throw "No ssreflect package for Coq version ${coq.coq-version}" |
||||
|
@ -0,0 +1,23 @@ |
||||
{ stdenv, fetchFromGitHub, cmake }: |
||||
|
||||
stdenv.mkDerivation rec { |
||||
version = "1.0.5"; |
||||
name = "liblaxjson-${version}"; |
||||
|
||||
src = fetchFromGitHub { |
||||
owner = "andrewrk"; |
||||
repo = "liblaxjson"; |
||||
rev = "${version}"; |
||||
sha256 = "01iqbpbhnqfifhv82m6hi8190w5sdim4qyrkss7z1zyv3gpchc5s"; |
||||
}; |
||||
|
||||
buildInputs = [ cmake ]; |
||||
|
||||
meta = with stdenv.lib; { |
||||
description = "Library for parsing JSON config files"; |
||||
homepage = https://github.com/andrewrk/liblaxjson; |
||||
license = licenses.mit; |
||||
platforms = platforms.unix; |
||||
maintainers = [ maintainers.andrewrk ]; |
||||
}; |
||||
} |
@ -0,0 +1,11 @@ |
||||
{ callPackage, fetchurl, tcl, ... } @ args: |
||||
|
||||
callPackage ./generic.nix (args // rec { |
||||
|
||||
src = fetchurl { |
||||
url = "mirror://sourceforge/tcl/tk${tcl.version}-src.tar.gz"; |
||||
sha256 = "0an3wqkjzlyyq6l9l3nawz76axsrsppbyylx0zk9lkv7llrala03"; |
||||
}; |
||||
|
||||
}) |
||||
|
@ -0,0 +1,13 @@ |
||||
{ callPackage, fetchurl, tcl, ... } @ args: |
||||
|
||||
callPackage ./generic.nix (args // rec { |
||||
|
||||
src = fetchurl { |
||||
url = "mirror://sourceforge/tcl/tk${tcl.version}-src.tar.gz"; |
||||
sha256 = "1h96vp15zl5xz0d4qp6wjyrchqmrmdm3q5k22wkw9jaxbvw9vy88"; |
||||
}; |
||||
|
||||
patches = [ ./different-prefix-with-tcl.patch ]; |
||||
|
||||
}) |
||||
|
@ -1,14 +1,9 @@ |
||||
{ stdenv, fetchurl, pkgconfig, tcl, libXft, fontconfig }: |
||||
{ stdenv, src, pkgconfig, tcl, libXft, fontconfig, patches ? [], ... }: |
||||
|
||||
stdenv.mkDerivation { |
||||
name = "tk-${tcl.version}"; |
||||
|
||||
src = fetchurl { |
||||
url = "mirror://sourceforge/tcl/tk${tcl.version}-src.tar.gz"; |
||||
sha256 = "1h96vp15zl5xz0d4qp6wjyrchqmrmdm3q5k22wkw9jaxbvw9vy88"; |
||||
}; |
||||
|
||||
patches = [ ./different-prefix-with-tcl.patch ]; |
||||
inherit src patches; |
||||
|
||||
postInstall = '' |
||||
ln -s $out/bin/wish* $out/bin/wish |
@ -0,0 +1,41 @@ |
||||
{ stdenv, fetchurl, ncurses, gettext |
||||
, withLibrary ? false, libtool |
||||
, unicodeSupport ? true |
||||
}: |
||||
|
||||
let optional = stdenv.lib.optional; |
||||
optStr = stdenv.lib.optionalString; |
||||
buildShared = !stdenv.isDarwin; |
||||
in |
||||
|
||||
assert withLibrary -> libtool != null; |
||||
assert unicodeSupport -> ncurses.unicode && ncurses != null; |
||||
|
||||
stdenv.mkDerivation rec { |
||||
name = "dialog-${version}"; |
||||
version = "1.2-20150225"; |
||||
|
||||
src = fetchurl { |
||||
url = "ftp://invisible-island.net/dialog/${name}.tgz"; |
||||
sha256 = "6844b13a7a1fea568a8d5bb3004e1af90888cd4a5e8c2ded2c38f34fcc7397ff"; |
||||
}; |
||||
|
||||
buildInputs = [ ncurses ]; |
||||
|
||||
configureFlags = '' |
||||
--disable-rpath-hacks |
||||
${optStr withLibrary "--with-libtool"} |
||||
--with-libtool-opts=${optStr buildShared "-shared"} |
||||
--with-ncurses${optStr unicodeSupport "w"} |
||||
''; |
||||
|
||||
installTargets = "install${optStr withLibrary "-full"}"; |
||||
|
||||
meta = { |
||||
homepage = http://invisible-island.net/dialog/dialog.html; |
||||
description = "Display dialog boxes from shell"; |
||||
license = stdenv.lib.licenses.lgpl21Plus; |
||||
maintainers = [ stdenv.lib.maintainers.spacefrogg ]; |
||||
platforms = stdenv.lib.platforms.all; |
||||
}; |
||||
} |
@ -0,0 +1,23 @@ |
||||
{ stdenv, fetchFromGitHub, liblaxjson, cmake, freeimage }: |
||||
|
||||
stdenv.mkDerivation rec { |
||||
version = "3.1.0"; |
||||
name = "rucksack-${version}"; |
||||
|
||||
src = fetchFromGitHub { |
||||
owner = "andrewrk"; |
||||
repo = "rucksack"; |
||||
rev = "${version}"; |
||||
sha256 = "0bcm20hqxqnq1j0zghb9i7z9frri6bbf7rmrv5g8dd626sq07vyv"; |
||||
}; |
||||
|
||||
buildInputs = [ cmake liblaxjson freeimage ]; |
||||
|
||||
meta = with stdenv.lib; { |
||||
description = "Texture packer and resource bundler"; |
||||
platforms = platforms.unix; |
||||
homepage = https://github.com/andrewrk/rucksack; |
||||
license = licenses.mit; |
||||
maintainers = [ maintainers.andrewrk ]; |
||||
}; |
||||
} |
@ -0,0 +1,36 @@ |
||||
{ stdenv, fetchgit, perl, xkeyboard_config }: |
||||
|
||||
stdenv.mkDerivation rec { |
||||
name = "ckbcomp-${version}"; |
||||
version = "1.129"; |
||||
|
||||
src = fetchgit { |
||||
url = "git://anonscm.debian.org/d-i/console-setup.git"; |
||||
rev = "refs/tags/${version}"; |
||||
sha256 = "1shbqnjhdmy7qwz2kwfhrdxbjw1vv98rpz1x7wlgqxr812aqcfdd"; |
||||
}; |
||||
|
||||
buildInputs = [ perl ]; |
||||
|
||||
patchPhase = '' |
||||
substituteInPlace Keyboard/ckbcomp --replace "/usr/share/X11/xkb" "${xkeyboard_config}/share/X11/xkb" |
||||
substituteInPlace Keyboard/ckbcomp --replace "rules = 'xorg'" "rules = 'base'" |
||||
''; |
||||
|
||||
dontBuild = true; |
||||
|
||||
installPhase = '' |
||||
mkdir -p "$out"/bin |
||||
cp Keyboard/ckbcomp "$out"/bin/ |
||||
mkdir -p "$out"/share/man/man1 |
||||
cp man/ckbcomp.1 "$out"/share/man/man1 |
||||
''; |
||||
|
||||
meta = with stdenv.lib; { |
||||
description = "Compiles a XKB keyboard description to a keymap suitable for loadkeys"; |
||||
homepage = http://anonscm.debian.org/cgit/d-i/console-setup.git; |
||||
license = licenses.gpl2Plus; |
||||
maintainers = with stdenv.lib.maintainers; [ dezgeg ]; |
||||
platforms = platforms.linux; |
||||
}; |
||||
} |
@ -0,0 +1,30 @@ |
||||
{ stdenv, fetchurl, cmake, gengetopt, imlib2, libXrandr, libXfixes |
||||
, cppcheck}: |
||||
|
||||
stdenv.mkDerivation rec { |
||||
name = "maim-${version}"; |
||||
version = "3.3.41"; |
||||
|
||||
src = fetchurl { |
||||
url = "https://github.com/naelstrof/maim/archive/v${version}.tar.gz"; |
||||
sha256 = "12p9zd4skxds26hicy6hrxkxnhbqv1c5ys1h6jchaypvwdggcgnc"; |
||||
}; |
||||
|
||||
buildInputs = [ cmake gengetopt imlib2 libXrandr libXfixes ] |
||||
++ stdenv.lib.optional doCheck cppcheck; |
||||
|
||||
doCheck = false; |
||||
|
||||
meta = with stdenv.lib; { |
||||
homepage = https://github.com/naelstrof/maim; |
||||
description = "A command-line screenshot utility"; |
||||
longDescription = '' |
||||
maim (make image) takes screenshots of your desktop. It has options to |
||||
take only a region, and relies on slop to query for regions. maim is |
||||
supposed to be an improved scrot. |
||||
''; |
||||
platforms = stdenv.lib.platforms.all; |
||||
license = stdenv.lib.licenses.gpl3Plus; |
||||
maintainers = with maintainers; [ mbakke ]; |
||||
}; |
||||
} |
@ -0,0 +1,29 @@ |
||||
{ stdenv, fetchurl, ibus, ibus-table, pkgconfig, python3 }: |
||||
|
||||
stdenv.mkDerivation rec { |
||||
name = "ibus-table-others-${version}"; |
||||
version = "1.3.7"; |
||||
|
||||
src = fetchurl { |
||||
url = "https://github.com/moebiuscurve/ibus-table-others/releases/download/${version}/${name}.tar.gz"; |
||||
sha256 = "0vmz82il796062jbla5pawsr5dqyhs7ald7xjp84zfccc09dg9kx"; |
||||
}; |
||||
|
||||
buildInputs = [ ibus ibus-table pkgconfig python3 ]; |
||||
|
||||
preBuild = '' |
||||
export HOME=/tmp/ibus-table-others |
||||
''; |
||||
|
||||
postFixup = '' |
||||
rm -rf /tmp/ibus-table-others |
||||
''; |
||||
|
||||
meta = with stdenv.lib; { |
||||
description = "Various table-based input methods for IBus"; |
||||
homepage = https://github.com/moebiuscurve/ibus-table-others; |
||||
license = licenses.gpl3; |
||||
platforms = platforms.linux; |
||||
maintainers = with maintainers; [ mudri ]; |
||||
}; |
||||
} |
@ -0,0 +1,21 @@ |
||||
{ stdenv, fetchurl, ibus, pkgconfig, python3, pythonPackages }: |
||||
|
||||
stdenv.mkDerivation rec { |
||||
name = "ibus-table-${version}"; |
||||
version = "1.9.6"; |
||||
|
||||
src = fetchurl { |
||||
url = "https://github.com/kaio/ibus-table/releases/download/${version}/${name}.tar.gz"; |
||||
sha256 = "0xygfscmsx0x80c4d4v40k9bc7831kgdsc74mc84ljxbjg9p9lcf"; |
||||
}; |
||||
|
||||
buildInputs = [ ibus pkgconfig python3 pythonPackages.pygobject3 ]; |
||||
|
||||
meta = with stdenv.lib; { |
||||
description = "An IBus framework for table-based input methods"; |
||||
homepage = https://github.com/kaio/ibus-table/wiki; |
||||
license = licenses.lgpl21; |
||||
platforms = platforms.linux; |
||||
maintainers = with maintainers; [ mudri ]; |
||||
}; |
||||
} |
@ -0,0 +1,22 @@ |
||||
{ stdenv, fetchFromGitHub, goPackages }: |
||||
|
||||
goPackages.buildGoPackage rec { |
||||
name = "asciinema-${version}"; |
||||
version = "1.1.1"; |
||||
|
||||
goPackagePath = "github.com/asciinema/asciinema"; |
||||
|
||||
src = fetchFromGitHub { |
||||
owner = "asciinema"; |
||||
repo = "asciinema"; |
||||
rev = "d6f7cabcd085e237872f13d0ab5580964cb64fb2"; |
||||
sha256 = "0ip7wcqzf5wax99c1fjmnwd38q88z1xiyv9cfbjyk47npdqb8173"; |
||||
}; |
||||
|
||||
meta = { |
||||
homepage = https://asciinema.org/; |
||||
license = stdenv.lib.licenses.gpl3; |
||||
description = "Terminal session recorder"; |
||||
maintainers = with stdenv.lib.maintainers; [ lassulus ]; |
||||
}; |
||||
} |
@ -0,0 +1,24 @@ |
||||
{ stdenv, fetchurl, cmake, gengetopt, libX11, libXext, cppcheck}: |
||||
|
||||
stdenv.mkDerivation rec { |
||||
name = "slop-${version}"; |
||||
version = "4.1.15"; |
||||
|
||||
src = fetchurl { |
||||
url = "https://github.com/naelstrof/slop/archive/v${version}.tar.gz"; |
||||
sha256 = "e20fd47de898abcb537c8100faed859eef4955d7784dbc52470570dae403f02e"; |
||||
}; |
||||
|
||||
buildInputs = [ cmake gengetopt libX11 libXext ] |
||||
++ stdenv.lib.optional doCheck cppcheck; |
||||
|
||||
doCheck = false; |
||||
|
||||
meta = with stdenv.lib; { |
||||
homepage = https://github.com/naelstrof/slop; |
||||
description = "Queries a selection from the user and prints to stdout"; |
||||
platforms = stdenv.lib.platforms.all; |
||||
license = stdenv.lib.licenses.gpl3Plus; |
||||
maintainers = with maintainers; [ mbakke ]; |
||||
}; |
||||
} |
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue