Merge branch 'channel-nixos' into python-merge
30
pkgs/applications/audio/abcde/abcde.patch
Normal file
@ -0,0 +1,30 @@
|
||||
Two changes:
|
||||
|
||||
* Add an alias for `which', so abcde can find things in store
|
||||
* Choose the right CDROM reader syntax for `cd-paranoia'
|
||||
|
||||
--- abcde-2.5.4/abcde~ 2012-09-18 06:09:31.000000000 -0700
|
||||
+++ abcde-2.5.4/abcde 2012-10-27 00:08:48.000862364 -0700
|
||||
@@ -17,6 +17,11 @@
|
||||
|
||||
VERSION='2.5.4'
|
||||
|
||||
+which ()
|
||||
+{
|
||||
+ type -P $1
|
||||
+}
|
||||
+
|
||||
usage ()
|
||||
{
|
||||
echo "This is abcde v$VERSION."
|
||||
@@ -3497,6 +3502,10 @@
|
||||
for DEFAULT_CDROMREADER in $DEFAULT_CDROMREADERS; do
|
||||
if new_checkexec $DEFAULT_CDROMREADER; then
|
||||
CDROMREADERSYNTAX=$DEFAULT_CDROMREADER
|
||||
+ case "$DEFAULT_CDROMREADER" in
|
||||
+ cd-paranoia) CDROMREADERSYNTAX=cdparanoia;;
|
||||
+ *) CDROMREADERSYNTAX=$DEFAULT_CDROMREADER;;
|
||||
+ esac
|
||||
break
|
||||
fi
|
||||
done
|
@ -1,16 +0,0 @@
|
||||
Choose the right CDROM reader syntax for `cd-paranoia'.
|
||||
|
||||
--- abcde-2.3.99.6/abcde 2006-08-05 21:14:00.000000000 +0200
|
||||
+++ abcde-2.3.99.6/abcde 2008-10-29 22:55:38.000000000 +0100
|
||||
@@ -3184,7 +3184,10 @@ if [ -n "$DISCID" ] || [ "$CDROMREADERSY
|
||||
if [ "$CDROMREADERSYNTAX" = "" ]; then
|
||||
for DEFAULT_CDROMREADER in $DEFAULT_CDROMREADERS; do
|
||||
if new_checkexec $DEFAULT_CDROMREADER; then
|
||||
- CDROMREADERSYNTAX=$DEFAULT_CDROMREADER
|
||||
+ case "$DEFAULT_CDROMREADER" in
|
||||
+ cd-paranoia) CDROMREADERSYNTAX=cdparanoia;;
|
||||
+ *) CDROMREADERSYNTAX=$DEFAULT_CDROMREADER;;
|
||||
+ esac
|
||||
break
|
||||
fi
|
||||
done
|
@ -1,19 +1,20 @@
|
||||
{ stdenv, fetchurl, libcdio, cddiscid, wget, bash, vorbisTools, id3v2, lame
|
||||
{ stdenv, fetchurl, libcdio, cddiscid, wget, bash, vorbisTools, id3v2, lame, flac, eject, mkcue
|
||||
, perl, DigestSHA, MusicBrainz, MusicBrainzDiscID
|
||||
, makeWrapper }:
|
||||
|
||||
let version = "2.3.99.6";
|
||||
let version = "2.5.4";
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
name = "abcde-${version}";
|
||||
src = fetchurl {
|
||||
url = "mirror://debian/pool/main/a/abcde/abcde_${version}.orig.tar.gz";
|
||||
sha256 = "1wl4ygj1cf1d6g05gwwygsd5g83l039fzi011r30ma5lnm763lyb";
|
||||
sha256 = "14g5lsgh53hza9848351kwpygc0yqpvvzp3s923aja77f2wpkdl5";
|
||||
};
|
||||
|
||||
# FIXME: This package does not support MP3 encoding (only Ogg),
|
||||
# nor `distmp3', `eject', etc.
|
||||
|
||||
patches = [ ./install.patch ./which.patch ./cd-paranoia.patch ];
|
||||
patches = [ ./abcde.patch ];
|
||||
|
||||
configurePhase = ''
|
||||
sed -i "s|^[[:blank:]]*prefix *=.*$|prefix = $out|g ;
|
||||
@ -29,25 +30,37 @@ in
|
||||
|
||||
substituteInPlace "abcde" \
|
||||
--replace "/etc/abcde.conf" "$out/etc/abcde.conf"
|
||||
|
||||
'';
|
||||
|
||||
# no ELFs in this package, only scripts
|
||||
dontStrip = true;
|
||||
dontPatchELF = true;
|
||||
|
||||
buildInputs = [ makeWrapper ];
|
||||
|
||||
postInstall = ''
|
||||
substituteInPlace "$out/bin/cddb-tool" \
|
||||
--replace '#!/bin/sh' '#!${bash}/bin/sh'
|
||||
substituteInPlace "$out/bin/abcde" \
|
||||
--replace '#!/bin/bash' '#!${bash}/bin/bash'
|
||||
# substituteInPlace "$out/bin/cddb-tool" \
|
||||
# --replace '#!/bin/sh' '#!${bash}/bin/sh'
|
||||
# substituteInPlace "$out/bin/abcde" \
|
||||
# --replace '#!/bin/bash' '#!${bash}/bin/bash'
|
||||
|
||||
# generic fixup script should be doing this, but it ignores this file for some reason
|
||||
substituteInPlace "$out/bin/abcde-musicbrainz-tool" \
|
||||
--replace '#!/usr/bin/perl' '#!${perl}/bin/perl'
|
||||
|
||||
wrapProgram "$out/bin/abcde" --prefix PATH ":" \
|
||||
"$out/bin:${libcdio}/bin:${cddiscid}/bin:${wget}/bin:${vorbisTools}/bin:${id3v2}/bin:${lame}/bin"
|
||||
|
||||
wrapProgram "$out/bin/cddb-tool" --prefix PATH ":" \
|
||||
"${wget}/bin"
|
||||
|
||||
wrapProgram "$out/bin/abcde-musicbrainz-tool" --prefix PATH ":" \
|
||||
"${wget}/bin"
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = http://www.hispalinux.es/~data/abcde.php;
|
||||
homepage = "http://lly.org/~rcw/abcde/page/";
|
||||
licence = "GPLv2+";
|
||||
description = "A Better CD Encoder (ABCDE)";
|
||||
|
||||
|
@ -1,21 +0,0 @@
|
||||
--- abcde-2.3.3/Makefile~ 2005-08-26 00:43:27.000000000 +0200
|
||||
+++ abcde-2.3.3/Makefile 2008-05-26 22:20:17.000000000 +0200
|
||||
@@ -14,13 +14,13 @@ clean:
|
||||
|
||||
install:
|
||||
$(INSTALL) -d -m 755 $(bindir)
|
||||
- $(INSTALL) -m 755 -o 0 abcde $(bindir)
|
||||
- $(INSTALL) -m 755 -o 0 cddb-tool $(bindir)
|
||||
+ $(INSTALL) -m 755 abcde $(bindir)
|
||||
+ $(INSTALL) -m 755 cddb-tool $(bindir)
|
||||
$(INSTALL) -d -m 755 $(mandir)
|
||||
- $(INSTALL) -m 644 -o 0 abcde.1 $(mandir)
|
||||
- $(INSTALL) -m 644 -o 0 cddb-tool.1 $(mandir)
|
||||
+ $(INSTALL) -m 644 abcde.1 $(mandir)
|
||||
+ $(INSTALL) -m 644 cddb-tool.1 $(mandir)
|
||||
$(INSTALL) -d -m 755 $(etcdir)
|
||||
- $(INSTALL) -m 644 -o 0 abcde.conf $(etcdir)
|
||||
+ $(INSTALL) -m 644 abcde.conf $(etcdir)
|
||||
|
||||
tarball:
|
||||
@cd .. && tar czvf abcde_$(VERSION).orig.tar.gz \
|
@ -1,16 +0,0 @@
|
||||
Add an alias for `which'.
|
||||
|
||||
--- abcde-2.3.99.6/abcde 2006-08-05 21:14:00.000000000 +0200
|
||||
+++ abcde-2.3.99.6/abcde 2008-10-29 22:49:16.000000000 +0100
|
||||
@@ -15,6 +15,11 @@
|
||||
|
||||
VERSION='2.3.99-$Revision: 222M $'
|
||||
|
||||
+which ()
|
||||
+{
|
||||
+ type -P $1
|
||||
+}
|
||||
+
|
||||
usage ()
|
||||
{
|
||||
echo "This is abcde v$VERSION."
|
24
pkgs/applications/audio/bristol/default.nix
Normal file
@ -0,0 +1,24 @@
|
||||
{ stdenv, fetchurl, alsaLib, jackaudio, pkgconfig, pulseaudio, xlibs }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "bristol-${version}";
|
||||
version = "0.60.10";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/bristol/${name}.tar.gz";
|
||||
sha256 = "070rn5zdx6vrqmq7w1rrpxig3bxlylbsw82nlmkjnhjrgm6yx753";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
alsaLib jackaudio pkgconfig pulseaudio xlibs.libX11 xlibs.libXext
|
||||
xlibs.xproto
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A range of synthesiser, electric piano and organ emulations";
|
||||
homepage = http://bristol.sourceforge.net;
|
||||
license = licenses.gpl3;
|
||||
platforms = platforms.linux;
|
||||
maintainers = [ maintainers.goibhniu ];
|
||||
};
|
||||
}
|
@ -1,7 +0,0 @@
|
||||
source $stdenv/setup
|
||||
|
||||
mkdir -p $out/emacs/site-lisp
|
||||
cd $out/emacs/site-lisp
|
||||
tar xvfz $src
|
||||
mv nxml-mode-*/* .
|
||||
rmdir nxml-mode-*
|
@ -1,8 +0,0 @@
|
||||
{stdenv, fetchurl}: stdenv.mkDerivation {
|
||||
name = "nxml-mode-20041004";
|
||||
builder = ./builder.sh;
|
||||
src = fetchurl {
|
||||
url = http://nixos.org/tarballs/nxml-mode-20041004.tar.gz;
|
||||
md5 = "ac137024cf337d6f11d8ab278d39b4db";
|
||||
};
|
||||
}
|
47
pkgs/applications/editors/geany/default.nix
Normal file
@ -0,0 +1,47 @@
|
||||
{ stdenv, fetchurl, gtk2, which, pkgconfig, intltool }:
|
||||
|
||||
let
|
||||
version = "1.22";
|
||||
in
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "geany-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://download.geany.org/${name}.tar.gz";
|
||||
md5 = "1cb7f6cea8e301c416211786cec474fa";
|
||||
};
|
||||
|
||||
buildInputs = [ gtk2 which pkgconfig intltool ];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = {
|
||||
description = "A GTK2 small and ligthweight IDE.";
|
||||
longDescription = ''
|
||||
Geany is a small and lightweight Integrated Development Environment.
|
||||
It was developed to provide a small and fast IDE, which has only a few dependencies from other packages.
|
||||
Another goal was to be as independent as possible from a special Desktop Environment like KDE or GNOME.
|
||||
Geany only requires the GTK2 runtime libraries.
|
||||
Some basic features of Geany:
|
||||
- Syntax highlighting
|
||||
- Code folding
|
||||
- Symbol name auto-completion
|
||||
- Construct completion/snippets
|
||||
- Auto-closing of XML and HTML tags
|
||||
- Call tips
|
||||
- Many supported filetypes including C, Java, PHP, HTML, Python, Perl, Pascal (full list)
|
||||
- Symbol lists
|
||||
- Code navigation
|
||||
- Build system to compile and execute your code
|
||||
- Simple project management
|
||||
- Plugin interface
|
||||
'';
|
||||
homepage = "http://www.geany.org/";
|
||||
license = "GPL";
|
||||
maintainers = [ stdenv.lib.maintainers.bbenoist ];
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
};
|
||||
}
|
@ -9,10 +9,10 @@ let
|
||||
|
||||
in stdenv.mkDerivation rec {
|
||||
|
||||
name = "gobby-0.4.93";
|
||||
name = "gobby-0.4.94";
|
||||
src = fetchurl {
|
||||
url = "http://releases.0x539.de/gobby/${name}.tar.gz";
|
||||
sha256 = "1zk6p0kdp9vcvrr3kx0kw106ln309hd7bbsq8li1g0pcnkgrf4q4";
|
||||
sha256 = "b9798808447cd94178430f0fb273d0e45d0ca30ab04560e3790bac469e03bb00";
|
||||
};
|
||||
|
||||
buildInputs = [ pkgconfig gtkmm gsasl gtksourceview libxmlxx libinf intltool ]
|
||||
|
@ -2,27 +2,16 @@
|
||||
|
||||
stdenv.mkDerivation (rec {
|
||||
pname = "nano";
|
||||
version = "2.2.3";
|
||||
version = "2.2.6";
|
||||
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnu/nano/${name}.tar.gz";
|
||||
sha256 = "1vpl993xrpj8bqi1ayga8fc0j2jag90xp6rqakzwm3bxw71hmwi2";
|
||||
sha256 = "0yp6pid67k8h7394spzw0067fl2r7rxm2b6kfccg87g8nlry2s5y";
|
||||
};
|
||||
|
||||
|
||||
buildInputs = [ ncurses gettext ];
|
||||
|
||||
configureFlags = ''
|
||||
--disable-browser
|
||||
--disable-help
|
||||
--disable-justify
|
||||
--disable-mouse
|
||||
--disable-operatingdir
|
||||
--disable-speller
|
||||
--disable-tabcomp
|
||||
--disable-wrapping
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = http://www.nano-editor.org/;
|
||||
|
@ -1,14 +1,23 @@
|
||||
{ stdenv, fetchurl }:
|
||||
{ stdenv, fetchurl, tk }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "gocr-0.44";
|
||||
name = "gocr-0.49";
|
||||
|
||||
src = fetchurl {
|
||||
url = http://prdownloads.sourceforge.net/jocr/gocr-0.44.tar.gz;
|
||||
sha256 = "0kvb7cbk6z5n4g0hhbwpdk2f3819yfamwsmkwanj99yhni6p5mr0";
|
||||
url = "www-e.uni-magdeburg.de/jschulen/ocr/gocr-0.49.tar.gz";
|
||||
sha256 = "06hpzp7rkkwfr1fvmc8kcfz9v490i9yir7f7imh13gmka0fr6afc";
|
||||
};
|
||||
|
||||
postInstall = ''
|
||||
sed -i -e 's|exec wish|exec ${tk}/bin/wish|' $out/bin/gocr.tcl
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = "http://jocr.sourceforge.net/";
|
||||
description = "GPL Optical Character Recognition";
|
||||
license = "GPLv2";
|
||||
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
maintainers = [ stdenv.lib.maintainers.simons ];
|
||||
};
|
||||
}
|
||||
|
39
pkgs/applications/misc/gmrun/default.nix
Normal file
@ -0,0 +1,39 @@
|
||||
{ stdenv, fetchurl, glib, gtk2, pkgconfig, popt }:
|
||||
|
||||
let
|
||||
version = "0.9.2";
|
||||
in
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "gmrun-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://downloads.sourceforge.net/project/gmrun/gmrun/${version}/${name}.tar.gz";
|
||||
md5 = "6cef37a968006d9496fc56a7099c603c";
|
||||
};
|
||||
|
||||
buildInputs = [ glib gtk2 pkgconfig popt ];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
patches = [
|
||||
./gcc43.patch
|
||||
./gmrun-0.9.2-xdg.patch
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Gnome Completion-Run Utility.";
|
||||
longDescription = ''
|
||||
A simple program which provides a "run program" window, featuring a bash-like TAB completion.
|
||||
It uses GTK+ interface.
|
||||
Also, supports CTRL-R / CTRL-S / "!" for searching through history.
|
||||
Running commands in a terminal with CTRL-Enter. URL handlers.
|
||||
'';
|
||||
homepage = "http://sourceforge.net/projects/gmrun/";
|
||||
license = "GPL";
|
||||
maintainers = [ stdenv.lib.maintainers.bbenoist ];
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
};
|
||||
}
|
51
pkgs/applications/misc/gmrun/gcc43.patch
Normal file
@ -0,0 +1,51 @@
|
||||
--- a/src/gtkcompletionline.cc.orig 2003-11-16 11:55:07.000000000 +0100
|
||||
+++ a/src/gtkcompletionline.cc 2008-05-08 08:51:22.000000000 +0200
|
||||
@@ -29,6 +29,7 @@
|
||||
#include <set>
|
||||
#include <sstream>
|
||||
#include <string>
|
||||
+#include <cstring>
|
||||
#include <vector>
|
||||
using namespace std;
|
||||
|
||||
--- a/src/ci_string.h.orig 2001-05-16 16:39:31.000000000 +0200
|
||||
+++ a/src/ci_string.h 2008-05-08 08:51:33.000000000 +0200
|
||||
@@ -7,6 +7,7 @@
|
||||
#define __CI_STRING_H__
|
||||
|
||||
#include <string>
|
||||
+#include <cstring>
|
||||
#include <ctype.h>
|
||||
|
||||
struct ci_char_traits : public std::char_traits<char>
|
||||
--- a/src/prefs.cc.orig 2002-08-16 12:48:22.000000000 +0200
|
||||
+++ a/src/prefs.cc 2008-05-08 08:51:54.000000000 +0200
|
||||
@@ -13,6 +13,7 @@
|
||||
#include <fstream>
|
||||
#include <iostream>
|
||||
#include <stdio.h>
|
||||
+#include <stdlib.h>
|
||||
|
||||
#include <list>
|
||||
|
||||
--- a/src/main.cc.orig 2003-11-16 11:55:07.000000000 +0100
|
||||
+++ a/src/main.cc 2008-05-08 09:03:11.000000000 +0200
|
||||
@@ -14,6 +14,7 @@
|
||||
#include <gdk/gdkkeysyms.h>
|
||||
|
||||
#include <string>
|
||||
+#include <cstring>
|
||||
#include <iostream>
|
||||
#include <sstream>
|
||||
#include <vector>
|
||||
|
||||
--- a/src/gtkcompletionline.cc.orig 2009-06-19 22:38:14.000000000 +0400
|
||||
+++ a/src/gtkcompletionline.cc 2009-06-19 22:37:14.000000000 +0400
|
||||
@@ -376,7 +377,7 @@
|
||||
return 0;
|
||||
}
|
||||
|
||||
-int my_alphasort(const void* va, const void* vb) {
|
||||
+int my_alphasort(const dirent** va, const dirent** vb) {
|
||||
const struct dirent** a = (const struct dirent**)va;
|
||||
const struct dirent** b = (const struct dirent**)vb;
|
58
pkgs/applications/misc/gmrun/gmrun-0.9.2-xdg.patch
Normal file
@ -0,0 +1,58 @@
|
||||
diff -ur a/src/history.cc src/history.cc
|
||||
--- a/src/history.cc 2002-08-17 15:19:31.000000000 +0200
|
||||
+++ a/src/history.cc 2012-06-04 23:42:35.314653414 +0200
|
||||
@@ -24,8 +24,15 @@
|
||||
HistoryFile::HistoryFile()
|
||||
{
|
||||
m_file_entries = 0;
|
||||
- m_filename = g_get_home_dir();
|
||||
- m_filename += "/.gmrun_history";
|
||||
+ const char* filename = getenv("XDG_CACHE_HOME");
|
||||
+ if (filename != 0 && *filename != '\0') {
|
||||
+ m_filename = filename;
|
||||
+ m_filename += "/gmrun_history";
|
||||
+ }
|
||||
+ else {
|
||||
+ m_filename = g_get_home_dir();
|
||||
+ m_filename += "/.gmrun_history";
|
||||
+ }
|
||||
m_current = 0;
|
||||
m_default_set = false;
|
||||
read_the_file();
|
||||
diff -ur a/src/prefs.cc src/prefs.cc
|
||||
--- a/src/prefs.cc 2012-06-04 22:35:00.671949439 +0200
|
||||
+++ a/src/prefs.cc 2012-06-04 23:24:24.184445962 +0200
|
||||
@@ -35,12 +35,29 @@
|
||||
file_name += GMRUNRC;
|
||||
init(file_name);
|
||||
|
||||
- file_name = getenv("HOME");
|
||||
- if (!file_name.empty()) {
|
||||
+ file_name.clear();
|
||||
+ const char* filename = getenv("XDG_CONFIG_HOME");
|
||||
+ if (filename != 0 && *filename != '\0') {
|
||||
+ file_name = filename;
|
||||
string::iterator i = file_name.end() - 1;
|
||||
- if (*i == '/') file_name.erase(i);
|
||||
- file_name += "/.";
|
||||
+ if (*i != '/') {
|
||||
+ file_name += '/';
|
||||
+ }
|
||||
file_name += GMRUNRC;
|
||||
+ }
|
||||
+ else {
|
||||
+ filename = getenv("HOME");
|
||||
+ if (filename != 0 && *filename != '\0') {
|
||||
+ file_name = filename;
|
||||
+ string::iterator i = file_name.end() - 1;
|
||||
+ if (*i != '/') {
|
||||
+ file_name += '/';
|
||||
+ }
|
||||
+ file_name += '.';
|
||||
+ file_name += GMRUNRC;
|
||||
+ }
|
||||
+ }
|
||||
+ if (!file_name.empty()) {
|
||||
init(file_name);
|
||||
}
|
||||
}
|
@ -1,14 +1,14 @@
|
||||
{ stdenv, fetchurl, libX11, ncurses}:
|
||||
{ stdenv, fetchurl, libX11, ncurses, libXext, libXft }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "st-0.2.1";
|
||||
name = "st-0.3";
|
||||
|
||||
src = fetchurl {
|
||||
url = http://hg.suckless.org/st/archive/0.2.1.tar.gz;
|
||||
sha256 = "15yqyys69ifjc4vrzvamrg7x0pwa60mnjpi0kap4y9ykhds83xab";
|
||||
url = http://hg.suckless.org/st/archive/0.3.tar.gz;
|
||||
sha256 = "12ypldjjpsq3nvhszgjsk4wgqkwcvz06qiqw8k5npv3rd1nbx9cl";
|
||||
};
|
||||
|
||||
buildInputs = [ libX11 ncurses ];
|
||||
buildInputs = [ libX11 ncurses libXext libXft ];
|
||||
|
||||
installPhase = ''
|
||||
TERMINFO=$out/share/terminfo make install PREFIX=$out
|
||||
|
33
pkgs/applications/misc/xfe/default.nix
Normal file
@ -0,0 +1,33 @@
|
||||
{ stdenv, fetchurl, fox_1_6, pkgconfig, gettext, x11, gcc, intltool, file, libpng }:
|
||||
|
||||
let
|
||||
version = "1.33";
|
||||
in
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "xfe-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://downloads.sourceforge.net/project/xfe/xfe/${version}/${name}.tar.gz";
|
||||
md5 = "fb089ba73add411b08a6560eeb51742d";
|
||||
};
|
||||
|
||||
buildInputs = [ fox_1_6 pkgconfig gettext x11 gcc intltool file libpng ];
|
||||
|
||||
doCheck = false;
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = {
|
||||
description = "X File Explorer (Xfe) is an MS-Explorer like file manager for X.";
|
||||
longDescription = ''
|
||||
X File Explorer (Xfe) is an MS-Explorer like file manager for X.
|
||||
It is based on the popular, but discontinued, X Win Commander, which was developed by Maxim Baranov.
|
||||
Xfe aims to be the filemanager of choice for all the Unix addicts!
|
||||
'';
|
||||
homepage = "http://sourceforge.net/projects/xfe/";
|
||||
license = "GPLv2";
|
||||
maintainers = [ stdenv.lib.maintainers.bbenoist ];
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
};
|
||||
}
|
@ -15,18 +15,24 @@ assert stdenv.gcc ? libc && stdenv.gcc.libc != null;
|
||||
|
||||
rec {
|
||||
|
||||
firefoxVersion = "15.0.1";
|
||||
firefoxVersion = "17.0";
|
||||
|
||||
xulVersion = "15.0.1"; # this attribute is used by other packages
|
||||
xulVersion = "17.0"; # this attribute is used by other packages
|
||||
|
||||
|
||||
src = fetchurl {
|
||||
url = "ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/${firefoxVersion}/source/firefox-${firefoxVersion}.source.tar.bz2";
|
||||
sha1 = "bdbc4b6656c59b926e18f99b3335484427d08641";
|
||||
urls = [
|
||||
# It is better to use this url for official releases, to take load off Mozilla's ftp server.
|
||||
"http://releases.mozilla.org/pub/mozilla.org/firefox/releases/${firefoxVersion}/source/firefox-${firefoxVersion}.source.tar.bz2"
|
||||
# Fall back to this url for versions not available at releases.mozilla.org.
|
||||
"ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/${firefoxVersion}/source/firefox-${firefoxVersion}.source.tar.bz2"
|
||||
];
|
||||
sha1 = "4f5f175c1662d67f70e78403607d8eda600efd8b";
|
||||
};
|
||||
|
||||
commonConfigureFlags =
|
||||
[ "--enable-optimize"
|
||||
#"--enable-profiling"
|
||||
"--disable-debug"
|
||||
"--enable-strip"
|
||||
"--with-system-jpeg"
|
@ -13,18 +13,18 @@ let
|
||||
in
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "opera-12.02-1578";
|
||||
name = "opera-12.11-1661";
|
||||
|
||||
src =
|
||||
if stdenv.system == "i686-linux" then
|
||||
fetchurl {
|
||||
url = "${mirror}/linux/1202/${name}.i386.linux.tar.xz";
|
||||
sha256 = "60ccef14673818a8690fe3b76f861d180e2d8d3b87513b1652e6117c6dff3e86";
|
||||
url = "${mirror}/linux/1211/${name}.i386.linux.tar.xz";
|
||||
sha256 = "0ax2kcnl0hb7fz56c9gcjia3dnwabxl2mq2hvszmbky4i399jlkk";
|
||||
}
|
||||
else if stdenv.system == "x86_64-linux" then
|
||||
fetchurl {
|
||||
url = "${mirror}/linux/1202/${name}.x86_64.linux.tar.xz";
|
||||
sha256 = "e861f14b984898b5a2c0d04915e515a5677152dc302b614a3ac1bb13da7a9b81";
|
||||
url = "${mirror}/linux/1211/${name}.x86_64.linux.tar.xz";
|
||||
sha256 = "1pnad4kdasrmm27kg6frldipyzcfy1y610rasbqic9frzb9q8dbp";
|
||||
}
|
||||
else throw "Opera is not supported on ${stdenv.system} (only i686-linux and x86_64 linux are supported)";
|
||||
|
||||
|
@ -1,19 +1,19 @@
|
||||
{stdenv, fetchurl, openssl, ncurses, pkgconfig, glib}:
|
||||
{stdenv, fetchurl, openssl, ncurses, pkgconfig, glib, loudmouth}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
|
||||
name = "mcabber-0.9.9";
|
||||
name = "mcabber-0.10.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = http://mirror.mcabber.com/files/mcabber-0.9.9.tar.bz2;
|
||||
sha256 = "2a231c9241211d33745f110f35cfa6bdb051b32791461b9579794b6623863bb1";
|
||||
url = "http://mcabber.com/files/mcabber-0.10.1.tar.bz2";
|
||||
sha256 = "1248cgci1v2ypb90wfhyipwdyp1wskn3gzh78af5ai1a4w5rrjq0";
|
||||
};
|
||||
|
||||
meta = { homepage = "http://mirror.mcabber.com/";
|
||||
meta = { homepage = "http://mcabber.com/";
|
||||
description = "Small Jabber console client";
|
||||
};
|
||||
|
||||
buildInputs = [openssl ncurses pkgconfig glib];
|
||||
buildInputs = [openssl ncurses pkgconfig glib loudmouth];
|
||||
|
||||
configureFlags = "--with-openssl=${openssl}";
|
||||
}
|
||||
|
@ -12,14 +12,14 @@
|
||||
enableOfficialBranding ? false
|
||||
}:
|
||||
|
||||
let version = "16.0.2"; in
|
||||
let version = "17.0"; in
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "thunderbird-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "ftp://ftp.mozilla.org/pub/thunderbird/releases/${version}/source/thunderbird-${version}.source.tar.bz2";
|
||||
sha1 = "842d852b31a388d4cf3ac59bc89e8611474e2ec7";
|
||||
sha1 = "ccc5f2e155364948945abf6fd27bebeb4d797aa8";
|
||||
};
|
||||
|
||||
enableParallelBuilding = true;
|
||||
@ -50,6 +50,7 @@ stdenv.mkDerivation {
|
||||
"--disable-webm"
|
||||
"--disable-tests"
|
||||
"--enable-calendar"
|
||||
"--disable-ogg"
|
||||
]
|
||||
++ stdenv.lib.optional enableOfficialBranding "--enable-official-branding";
|
||||
|
||||
|
@ -44,12 +44,12 @@ rec {
|
||||
|
||||
gitAnnex = lib.makeOverridable (import ./git-annex) {
|
||||
inherit stdenv fetchurl perl coreutils git libuuid rsync findutils curl ikiwiki which openssh;
|
||||
inherit (haskellPackages_ghc741) ghc bloomfilter dataenc editDistance hinotify hS3 hslogger HTTP
|
||||
inherit (haskellPackages) ghc bloomfilter dataenc editDistance hinotify hS3 hslogger HTTP
|
||||
blazeBuilder blazeHtml caseInsensitive IfElse json liftedBase MissingH monadControl mtl
|
||||
network pcreLight SHA stm utf8String networkInfo dbus clientsession cryptoApi dataDefault
|
||||
extensibleExceptions filepath hamlet httpTypes networkMulticast text time transformers
|
||||
transformersBase wai waiLogger warp yesod yesodDefault yesodStatic testpack QuickCheck
|
||||
SafeSemaphore networkPprotocolXmpp async dns;
|
||||
SafeSemaphore networkPprotocolXmpp async dns DAV;
|
||||
};
|
||||
|
||||
qgit = import ./qgit {
|
||||
|
@ -8,18 +8,18 @@
|
||||
, networkMulticast, pcreLight, QuickCheck, SHA, stm, text, time
|
||||
, transformers, transformersBase, utf8String, wai, waiLogger, warp
|
||||
, yesod, yesodDefault, yesodStatic, testpack, SafeSemaphore
|
||||
, networkPprotocolXmpp, async, dns
|
||||
, networkPprotocolXmpp, async, dns, DAV
|
||||
}:
|
||||
|
||||
let
|
||||
version = "3.20121112";
|
||||
version = "3.20121112-161-gb27d9eb";
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
name = "git-annex-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://git.kitenet.net/?p=git-annex.git;a=snapshot;sf=tgz;h=refs/tags/${version}";
|
||||
sha256 = "1ch91jvzm3di5p024kwx0ikgf588lk7bp36hlgj4ar9aa2fdl7yr";
|
||||
url = "http://git.kitenet.net/?p=git-annex.git;a=snapshot;h=b27d9ebd0f63bdc449440f2529224d5b655ddbb3;sf=tgz";
|
||||
sha256 = "507efc50e33566a51a6abf688920d30fc55ce984c9c35be085e6df0767686b3a";
|
||||
name = "git-annex-${version}.tar.gz";
|
||||
};
|
||||
|
||||
@ -31,7 +31,7 @@ stdenv.mkDerivation {
|
||||
networkInfo networkMulticast pcreLight QuickCheck SHA stm text time
|
||||
transformers transformersBase utf8String wai waiLogger warp yesod
|
||||
yesodDefault yesodStatic testpack SafeSemaphore networkPprotocolXmpp
|
||||
async dns ];
|
||||
async dns DAV ];
|
||||
|
||||
checkTarget = "test";
|
||||
doCheck = true;
|
||||
|
@ -21,13 +21,13 @@ assert compressionSupport -> neon.compressionSupport;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
|
||||
version = "1.7.5";
|
||||
version = "1.7.7";
|
||||
|
||||
name = "subversion-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://apache/subversion//${name}.tar.bz2";
|
||||
sha1 = "05c079762690d5ac1ccd2549742e7ef70fa45cf1";
|
||||
sha1 = "c9fc0c5992eda36ba9affd93a15929e25958a951";
|
||||
};
|
||||
|
||||
buildInputs = [ zlib apr aprutil sqlite ]
|
||||
|
@ -1,13 +0,0 @@
|
||||
let
|
||||
pkgs = import <nixpkgs> {};
|
||||
in
|
||||
rec {
|
||||
myfirstapp = import ./myfirstapp {
|
||||
inherit (pkgs) androidenv;
|
||||
};
|
||||
|
||||
emulate_myfirstapp = import ./emulate-myfirstapp {
|
||||
inherit (pkgs) androidenv;
|
||||
inherit myfirstapp;
|
||||
};
|
||||
}
|
@ -1,10 +0,0 @@
|
||||
{androidenv, myfirstapp}:
|
||||
|
||||
androidenv.emulateApp {
|
||||
name = "MyFirstApp";
|
||||
app = myfirstapp;
|
||||
platformVersion = "16";
|
||||
useGoogleAPIs = true;
|
||||
package = "com.example.my.first.app";
|
||||
activity = "MainActivity";
|
||||
}
|
@ -1,13 +0,0 @@
|
||||
{androidenv}:
|
||||
|
||||
androidenv.buildApp {
|
||||
name = "MyFirstApp";
|
||||
src = ../../src/myfirstapp;
|
||||
platformVersions = [ "16" ];
|
||||
useGoogleAPIs = true;
|
||||
/*release = true;
|
||||
keyStore = /home/sander/keystore;
|
||||
keyAlias = "sander";
|
||||
keyStorePassword = "foobar";
|
||||
keyAliasPassword = "foobar";*/
|
||||
}
|
@ -1,8 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<classpath>
|
||||
<classpathentry kind="src" path="src"/>
|
||||
<classpathentry kind="src" path="gen"/>
|
||||
<classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
|
||||
<classpathentry kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/>
|
||||
<classpathentry kind="output" path="bin/classes"/>
|
||||
</classpath>
|
@ -1,33 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<projectDescription>
|
||||
<name>My First App</name>
|
||||
<comment></comment>
|
||||
<projects>
|
||||
</projects>
|
||||
<buildSpec>
|
||||
<buildCommand>
|
||||
<name>com.android.ide.eclipse.adt.ResourceManagerBuilder</name>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
<buildCommand>
|
||||
<name>com.android.ide.eclipse.adt.PreCompilerBuilder</name>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
<buildCommand>
|
||||
<name>org.eclipse.jdt.core.javabuilder</name>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
<buildCommand>
|
||||
<name>com.android.ide.eclipse.adt.ApkBuilder</name>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
</buildSpec>
|
||||
<natures>
|
||||
<nature>com.android.ide.eclipse.adt.AndroidNature</nature>
|
||||
<nature>org.eclipse.jdt.core.javanature</nature>
|
||||
</natures>
|
||||
</projectDescription>
|
@ -1,4 +0,0 @@
|
||||
eclipse.preferences.version=1
|
||||
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
|
||||
org.eclipse.jdt.core.compiler.compliance=1.5
|
||||
org.eclipse.jdt.core.compiler.source=1.5
|
@ -1,32 +0,0 @@
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="com.example.my.first.app"
|
||||
android:versionCode="1"
|
||||
android:versionName="1.0" >
|
||||
|
||||
<uses-sdk
|
||||
android:minSdkVersion="8"
|
||||
android:targetSdkVersion="15" />
|
||||
|
||||
<application
|
||||
android:icon="@drawable/ic_launcher"
|
||||
android:label="@string/app_name"
|
||||
android:theme="@style/AppTheme" >
|
||||
<activity
|
||||
android:name=".MainActivity"
|
||||
android:label="@string/title_activity_main" >
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.MAIN" />
|
||||
|
||||
<category android:name="android.intent.category.LAUNCHER" />
|
||||
</intent-filter>
|
||||
</activity>
|
||||
<activity
|
||||
android:name=".DisplayMessageActivity"
|
||||
android:label="@string/title_activity_display_message" >
|
||||
<meta-data
|
||||
android:name="android.support.PARENT_ACTIVITY"
|
||||
android:value="com.example.my.first.app.MainActivity" />
|
||||
</activity>
|
||||
</application>
|
||||
|
||||
</manifest>
|
@ -1,6 +0,0 @@
|
||||
This is the example application taken from the Goole Android development
|
||||
introduction: "Building Your First App":
|
||||
|
||||
http://developer.android.com/training/basics/firstapp/index.html
|
||||
|
||||
|
@ -1,17 +0,0 @@
|
||||
# This file is used to override default values used by the Ant build system.
|
||||
#
|
||||
# This file must be checked into Version Control Systems, as it is
|
||||
# integral to the build system of your project.
|
||||
|
||||
# This file is only used by the Ant script.
|
||||
|
||||
# You can use this to override default values such as
|
||||
# 'source.dir' for the location of your java source folder and
|
||||
# 'out.dir' for the location of your output folder.
|
||||
|
||||
# You can also use it define how the release builds are signed by declaring
|
||||
# the following properties:
|
||||
# 'key.store' for the location of your keystore and
|
||||
# 'key.alias' for the name of the key to use.
|
||||
# The password will be asked during the build when you use the 'release' target.
|
||||
|
@ -1,92 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project name="MyFirstApp" default="help">
|
||||
|
||||
<!-- The local.properties file is created and updated by the 'android' tool.
|
||||
It contains the path to the SDK. It should *NOT* be checked into
|
||||
Version Control Systems. -->
|
||||
<property file="local.properties" />
|
||||
|
||||
<!-- The ant.properties file can be created by you. It is only edited by the
|
||||
'android' tool to add properties to it.
|
||||
This is the place to change some Ant specific build properties.
|
||||
Here are some properties you may want to change/update:
|
||||
|
||||
source.dir
|
||||
The name of the source directory. Default is 'src'.
|
||||
out.dir
|
||||
The name of the output directory. Default is 'bin'.
|
||||
|
||||
For other overridable properties, look at the beginning of the rules
|
||||
files in the SDK, at tools/ant/build.xml
|
||||
|
||||
Properties related to the SDK location or the project target should
|
||||
be updated using the 'android' tool with the 'update' action.
|
||||
|
||||
This file is an integral part of the build system for your
|
||||
application and should be checked into Version Control Systems.
|
||||
|
||||
-->
|
||||
<property file="ant.properties" />
|
||||
|
||||
<!-- if sdk.dir was not set from one of the property file, then
|
||||
get it from the ANDROID_HOME env var.
|
||||
This must be done before we load project.properties since
|
||||
the proguard config can use sdk.dir -->
|
||||
<property environment="env" />
|
||||
<condition property="sdk.dir" value="${env.ANDROID_HOME}">
|
||||
<isset property="env.ANDROID_HOME" />
|
||||
</condition>
|
||||
|
||||
<!-- The project.properties file is created and updated by the 'android'
|
||||
tool, as well as ADT.
|
||||
|
||||
This contains project specific properties such as project target, and library
|
||||
dependencies. Lower level build properties are stored in ant.properties
|
||||
(or in .classpath for Eclipse projects).
|
||||
|
||||
This file is an integral part of the build system for your
|
||||
application and should be checked into Version Control Systems. -->
|
||||
<loadproperties srcFile="project.properties" />
|
||||
|
||||
<!-- quick check on sdk.dir -->
|
||||
<fail
|
||||
message="sdk.dir is missing. Make sure to generate local.properties using 'android update project' or to inject it through the ANDROID_HOME environment variable."
|
||||
unless="sdk.dir"
|
||||
/>
|
||||
|
||||
<!--
|
||||
Import per project custom build rules if present at the root of the project.
|
||||
This is the place to put custom intermediary targets such as:
|
||||
-pre-build
|
||||
-pre-compile
|
||||
-post-compile (This is typically used for code obfuscation.
|
||||
Compiled code location: ${out.classes.absolute.dir}
|
||||
If this is not done in place, override ${out.dex.input.absolute.dir})
|
||||
-post-package
|
||||
-post-build
|
||||
-pre-clean
|
||||
-->
|
||||
<import file="custom_rules.xml" optional="true" />
|
||||
|
||||
<!-- Import the actual build file.
|
||||
|
||||
To customize existing targets, there are two options:
|
||||
- Customize only one target:
|
||||
- copy/paste the target into this file, *before* the
|
||||
<import> task.
|
||||
- customize it to your needs.
|
||||
- Customize the whole content of build.xml
|
||||
- copy/paste the content of the rules files (minus the top node)
|
||||
into this file, replacing the <import> task.
|
||||
- customize to your needs.
|
||||
|
||||
***********************
|
||||
****** IMPORTANT ******
|
||||
***********************
|
||||
In all cases you must update the value of version-tag below to read 'custom' instead of an integer,
|
||||
in order to avoid having your file be overridden by tools such as "android update project"
|
||||
-->
|
||||
<!-- version-tag: 1 -->
|
||||
<import file="${sdk.dir}/tools/ant/build.xml" />
|
||||
|
||||
</project>
|
Before Width: | Height: | Size: 36 KiB |
@ -1,20 +0,0 @@
|
||||
# To enable ProGuard in your project, edit project.properties
|
||||
# to define the proguard.config property as described in that file.
|
||||
#
|
||||
# Add project specific ProGuard rules here.
|
||||
# By default, the flags in this file are appended to flags specified
|
||||
# in ${sdk.dir}/tools/proguard/proguard-android.txt
|
||||
# You can edit the include path and order by changing the ProGuard
|
||||
# include property in project.properties.
|
||||
#
|
||||
# For more details, see
|
||||
# http://developer.android.com/guide/developing/tools/proguard.html
|
||||
|
||||
# Add any project specific keep options here:
|
||||
|
||||
# If your project uses WebView with JS, uncomment the following
|
||||
# and specify the fully qualified class name to the JavaScript interface
|
||||
# class:
|
||||
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
|
||||
# public *;
|
||||
#}
|
@ -1,14 +0,0 @@
|
||||
# This file is automatically generated by Android Tools.
|
||||
# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
|
||||
#
|
||||
# This file must be checked in Version Control Systems.
|
||||
#
|
||||
# To customize properties used by the Ant build system edit
|
||||
# "ant.properties", and override values to adapt the script to your
|
||||
# project structure.
|
||||
#
|
||||
# To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home):
|
||||
#proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt
|
||||
|
||||
# Project target.
|
||||
target=android-16
|
Before Width: | Height: | Size: 3.0 KiB |
Before Width: | Height: | Size: 2.9 KiB |
Before Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 3.0 KiB |
Before Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 3.1 KiB |
Before Width: | Height: | Size: 3.9 KiB |
@ -1,14 +0,0 @@
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent" >
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_centerVertical="true"
|
||||
android:text="@string/hello_world"
|
||||
tools:context=".DisplayMessageActivity" />
|
||||
|
||||
</RelativeLayout>
|
@ -1,19 +0,0 @@
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<EditText android:id="@+id/edit_message"
|
||||
android:layout_height="wrap_content"
|
||||
android:hint="@string/edit_message"
|
||||
android:layout_weight="1"
|
||||
android:layout_width="0dp" />
|
||||
|
||||
<Button
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/button_send"
|
||||
android:onClick="sendMessage" />
|
||||
|
||||
</LinearLayout>
|
@ -1,6 +0,0 @@
|
||||
<menu xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:id="@+id/menu_settings"
|
||||
android:title="@string/menu_settings"
|
||||
android:orderInCategory="100"
|
||||
android:showAsAction="never" />
|
||||
</menu>
|
@ -1,6 +0,0 @@
|
||||
<menu xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:id="@+id/menu_settings"
|
||||
android:title="@string/menu_settings"
|
||||
android:orderInCategory="100"
|
||||
android:showAsAction="never" />
|
||||
</menu>
|
@ -1,5 +0,0 @@
|
||||
<resources>
|
||||
|
||||
<style name="AppTheme" parent="android:Theme.Holo.Light" />
|
||||
|
||||
</resources>
|
@ -1,5 +0,0 @@
|
||||
<resources>
|
||||
|
||||
<style name="AppTheme" parent="android:Theme.Holo.Light.DarkActionBar" />
|
||||
|
||||
</resources>
|
@ -1,11 +0,0 @@
|
||||
<resources>
|
||||
|
||||
<string name="app_name">My First App</string>
|
||||
<string name="edit_message">Enter a message</string>
|
||||
<string name="button_send">Send</string>
|
||||
<string name="menu_settings">Settings</string>
|
||||
<string name="title_activity_main">MainActivity</string>
|
||||
<string name="hello_world">Hello world!</string>
|
||||
<string name="title_activity_display_message">My Message</string>
|
||||
|
||||
</resources>
|
@ -1,5 +0,0 @@
|
||||
<resources>
|
||||
|
||||
<style name="AppTheme" parent="android:Theme.Light" />
|
||||
|
||||
</resources>
|
@ -1,26 +0,0 @@
|
||||
package com.example.my.first.app;
|
||||
|
||||
import android.os.Bundle;
|
||||
import android.widget.TextView;
|
||||
import android.app.Activity;
|
||||
import android.content.Intent;
|
||||
|
||||
public class DisplayMessageActivity extends Activity {
|
||||
|
||||
@Override
|
||||
public void onCreate(Bundle savedInstanceState) {
|
||||
super.onCreate(savedInstanceState);
|
||||
|
||||
// Get the message from the intent
|
||||
Intent intent = getIntent();
|
||||
String message = intent.getStringExtra(MainActivity.EXTRA_MESSAGE);
|
||||
|
||||
// Create the text view
|
||||
TextView textView = new TextView(this);
|
||||
textView.setTextSize(40);
|
||||
textView.setText(message);
|
||||
|
||||
// Set the text view as the activity layout
|
||||
setContentView(R.layout.activity_display_message);
|
||||
}
|
||||
}
|
@ -1,35 +0,0 @@
|
||||
package com.example.my.first.app;
|
||||
|
||||
import android.os.Bundle;
|
||||
import android.app.Activity;
|
||||
import android.content.Intent;
|
||||
import android.view.Menu;
|
||||
import android.view.View;
|
||||
import android.widget.EditText;
|
||||
|
||||
public class MainActivity extends Activity {
|
||||
|
||||
public final static String EXTRA_MESSAGE = "com.example.myfirstapp.MESSAGE";
|
||||
|
||||
@Override
|
||||
public void onCreate(Bundle savedInstanceState) {
|
||||
super.onCreate(savedInstanceState);
|
||||
setContentView(R.layout.activity_main);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean onCreateOptionsMenu(Menu menu) {
|
||||
getMenuInflater().inflate(R.menu.activity_main, menu);
|
||||
return true;
|
||||
}
|
||||
|
||||
/** Called when the user clicks the Send button */
|
||||
public void sendMessage(View view) {
|
||||
// Do something in response to button
|
||||
Intent intent = new Intent(this, DisplayMessageActivity.class);
|
||||
EditText editText = (EditText) findViewById(R.id.edit_message);
|
||||
String message = editText.getText().toString();
|
||||
intent.putExtra(EXTRA_MESSAGE, message);
|
||||
startActivity(intent);
|
||||
}
|
||||
}
|
@ -1,9 +1,9 @@
|
||||
#!/bin/bash
|
||||
# construct.sh
|
||||
# example construction of JRE and JDK directories from the DLJ bundles
|
||||
#
|
||||
#
|
||||
# Copyright © 2006 Sun Microsystems, Inc.
|
||||
#
|
||||
#
|
||||
# Permission is hereby granted, free of charge, to any person obtaining
|
||||
# a copy of this software and associated documentation files (the
|
||||
# "Software"), to deal in the Software without restriction, including
|
||||
@ -11,10 +11,10 @@
|
||||
# distribute, sublicense, and/or sell copies of the Software, and to
|
||||
# permit persons to whom the Software is furnished to do so, subject to
|
||||
# the following conditions:
|
||||
#
|
||||
#
|
||||
# The above copyright notice and this permission notice shall be
|
||||
# included in all copies or substantial portions of the Software.
|
||||
#
|
||||
#
|
||||
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||
@ -22,7 +22,7 @@
|
||||
# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
||||
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
||||
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
#
|
||||
#
|
||||
# Sun, Sun Microsystems, the Sun logo and Java, Java HotSpot,
|
||||
# and JVM trademarks or registered trademarks of Sun Microsystems,
|
||||
# Inc. in the U.S. and other countries.
|
||||
@ -43,13 +43,13 @@ getargs() {
|
||||
exit 2
|
||||
fi
|
||||
# make sure javahome is the JDK
|
||||
javahome=`echo $undir/*/demo`
|
||||
javahome=`echo $undir/*/db/demo`
|
||||
if [ ! -d $javahome ]; then
|
||||
echo "${program}: unbundle directory incorrect: $undir"
|
||||
echo " expecting $undir/jdk1.5.0_xx"
|
||||
exit 2
|
||||
else
|
||||
javahome=`dirname $javahome`
|
||||
javahome=$(dirname $(dirname $javahome))
|
||||
fi
|
||||
# verify JDK dir
|
||||
jdkdirp=`dirname $jdkdir`
|
||||
@ -106,7 +106,7 @@ linkrel() {
|
||||
if [ $m -lt $c ]; then
|
||||
(( c = m ))
|
||||
fi
|
||||
for (( i = 0 ; i < c ; i++ )); do
|
||||
for (( i = 0 ; i < c ; i++ )); do
|
||||
if [ ${targetb[$i]} != ${linkb[$i]} ]; then
|
||||
# echo components differ, stopping
|
||||
break
|
||||
|
@ -28,18 +28,18 @@ in
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name =
|
||||
if installjdk then "jdk-1.6.0_32b03" else "jre-1.6.0_32b03";
|
||||
if installjdk then "jdk-1.6.0_38b04" else "jre-1.6.0_38b04";
|
||||
|
||||
src =
|
||||
if stdenv.system == "i686-linux" then
|
||||
fetchurl {
|
||||
url = http://www.java.net/download/jdk6/6u32/promoted/b03/binaries/jdk-6u32-ea-bin-b03-linux-i586-29_feb_2012.bin;
|
||||
md5 = "7c009afa399476c7d2791386235b8e3b";
|
||||
url = http://www.java.net/download/jdk6/6u38/promoted/b04/binaries/jdk-6u38-ea-bin-b04-linux-i586-31_oct_2012.bin;
|
||||
md5 = "0595473ad371981c7faa709798a5f78e";
|
||||
}
|
||||
else if stdenv.system == "x86_64-linux" then
|
||||
fetchurl {
|
||||
url = http://www.java.net/download/jdk6/6u32/promoted/b03/binaries/jdk-6u32-ea-bin-b03-linux-amd64-29_feb_2012.bin;
|
||||
md5 = "7f1a45531a04c372e5660a55c2dfdad8";
|
||||
url = http://www.java.net/download/jdk6/6u38/promoted/b04/binaries/jdk-6u38-ea-bin-b04-linux-amd64-31_oct_2012.bin;
|
||||
md5 = "b98c80a963915de32b1abe02c50385de";
|
||||
}
|
||||
else
|
||||
abort "jdk requires i686-linux or x86_64 linux";
|
||||
|
@ -1,13 +1,14 @@
|
||||
{ stdenv, fetchgit, gfortran, perl, m4, llvm, gmp, pcre, zlib
|
||||
, readline, fftwSinglePrec, fftw, libunwind, suitesparse, glpk, fetchurl
|
||||
, ncurses, libunistring, lighttpd, patchelf, openblas, liblapack
|
||||
, tcl, tk
|
||||
} :
|
||||
let
|
||||
realGcc = stdenv.gcc.gcc;
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "julia";
|
||||
date = "20121106";
|
||||
date = "20121122";
|
||||
name = "${pname}-git-${date}";
|
||||
|
||||
grisu_ver = "1.1.1";
|
||||
@ -54,8 +55,8 @@ stdenv.mkDerivation rec {
|
||||
|
||||
src = fetchgit {
|
||||
url = "git://github.com/JuliaLang/julia.git";
|
||||
rev = "8f4d073881beb42c9f272b9327efa0a5715bd31c";
|
||||
sha256 = "2df2ba800bd4fd9b0297a0b8cff53174a7c05ffbc889a7df5830a014fed8c433";
|
||||
rev = "51076ef4c1b269de738b6185865b389601627eb7";
|
||||
sha256 = "1hbhxdiymkv0pd4dhr9wbvh1566ivfffhmafsjh8jcwh2f9fz90b";
|
||||
};
|
||||
|
||||
buildInputs = [ gfortran perl m4 gmp pcre llvm readline zlib
|
||||
@ -84,17 +85,19 @@ stdenv.mkDerivation rec {
|
||||
|
||||
sed -e 's@ cpp @ gcc -E @g' -i base/Makefile
|
||||
|
||||
export LDFLAGS="-L${suitesparse}/lib"
|
||||
export LDFLAGS="-L${suitesparse}/lib -L$out/lib/julia -Wl,-rpath,$out/lib/julia"
|
||||
|
||||
export GLPK_PREFIX="${glpk}/include"
|
||||
|
||||
mkdir -p "$out/lib"
|
||||
sed -e "s@/usr/local/lib@$out/lib@g" -i deps/Makefile
|
||||
sed -e "s@/usr/lib@$out/lib@g" -i deps/Makefile
|
||||
|
||||
|
||||
export makeFlags="$makeFlags PREFIX=$out SHELL=${stdenv.shell}"
|
||||
|
||||
export dontPatchELF=1
|
||||
|
||||
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$PWD/usr/lib:$PWD/usr/lib/julia"
|
||||
'';
|
||||
|
||||
preBuild = ''
|
||||
@ -104,14 +107,11 @@ stdenv.mkDerivation rec {
|
||||
|
||||
postInstall = ''
|
||||
ld -E --whole-archive --shared ${suitesparse}/lib/lib*[a-z].a -o "$out"/lib/libsuitesparse-shared.so
|
||||
for i in umfpack cholmod amd camd colamd ; do
|
||||
for i in umfpack cholmod amd camd colamd btf cxsparse ldl rbio spqr suitesparseconfig; do
|
||||
ln -s "libsuitesparse-shared.so" "$out/lib/lib$i.so"
|
||||
done
|
||||
ln -s "${lighttpd}/sbin/lighttpd" "$out/sbin/"
|
||||
ln -s "${lighttpd}/lib/"* "$out/lib/"
|
||||
|
||||
cp -r test examples "$out/lib/julia"
|
||||
ls -R > "$out/ls-R"
|
||||
'';
|
||||
|
||||
meta = {
|
||||
|
34
pkgs/development/libraries/fox/default.nix
Normal file
@ -0,0 +1,34 @@
|
||||
{ stdenv, fetchurl, x11 }:
|
||||
|
||||
let
|
||||
version = "1.7.9";
|
||||
in
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "fox-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "ftp://ftp.fox-toolkit.org/pub/${name}.tar.gz";
|
||||
md5 = "b5897e9c664967f5042e57070037ff18";
|
||||
};
|
||||
|
||||
buildInputs = [ x11 ];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = {
|
||||
description = "FOX is a C++ based class library for building Graphical User Interfaces";
|
||||
longDescription = ''
|
||||
FOX stands for Free Objects for X.
|
||||
It is a C++ based class library for building Graphical User Interfaces.
|
||||
Initially, it was developed for LINUX, but the scope of this project has in the course of time become somewhat more ambitious.
|
||||
Current aims are to make FOX completely platform independent, and thus programs written against the FOX library will be only a compile away from running on a variety of platforms.
|
||||
'';
|
||||
homepage = "http://fox-toolkit.org";
|
||||
license = "LGPL";
|
||||
maintainers = [ stdenv.lib.maintainers.bbenoist ];
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
};
|
||||
}
|
34
pkgs/development/libraries/fox/fox-1.6.nix
Normal file
@ -0,0 +1,34 @@
|
||||
{ stdenv, fetchurl, x11 }:
|
||||
|
||||
let
|
||||
version = "1.6.9";
|
||||
in
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "fox-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "ftp://ftp.fox-toolkit.org/pub/${name}.tar.gz";
|
||||
md5 = "8ab8274237431865f57b2f5596374a65";
|
||||
};
|
||||
|
||||
buildInputs = [ x11 ];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = {
|
||||
description = "FOX is a C++ based class library for building Graphical User Interfaces";
|
||||
longDescription = ''
|
||||
FOX stands for Free Objects for X.
|
||||
It is a C++ based class library for building Graphical User Interfaces.
|
||||
Initially, it was developed for LINUX, but the scope of this project has in the course of time become somewhat more ambitious.
|
||||
Current aims are to make FOX completely platform independent, and thus programs written against the FOX library will be only a compile away from running on a variety of platforms.
|
||||
'';
|
||||
homepage = "http://fox-toolkit.org";
|
||||
license = "LGPL";
|
||||
maintainers = [ stdenv.lib.maintainers.bbenoist ];
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
};
|
||||
}
|
@ -2,8 +2,8 @@
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "Boolean";
|
||||
version = "0.1.0";
|
||||
sha256 = "1843fddsc7x3mf6h69xpg7yjkpaws4v57zg02424mj86m5x6jfgz";
|
||||
version = "0.1.1";
|
||||
sha256 = "1id075slxgz67gv382vpr7cr19i59bjajvb60iv2xrhh73gp08yv";
|
||||
meta = {
|
||||
description = "Generalized booleans";
|
||||
license = self.stdenv.lib.licenses.bsd3;
|
||||
|
22
pkgs/development/libraries/haskell/DAV/default.nix
Normal file
@ -0,0 +1,22 @@
|
||||
{ cabal, caseInsensitive, cmdargs, httpConduit, httpTypes, lens
|
||||
, liftedBase, mtl, network, resourcet, transformers, xmlConduit
|
||||
, xmlHamlet
|
||||
}:
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "DAV";
|
||||
version = "0.2";
|
||||
sha256 = "0g9b72ia4h85ykbng6103wc8f218fj9fdvm1896yx999vr95kxw4";
|
||||
isLibrary = true;
|
||||
isExecutable = true;
|
||||
buildDepends = [
|
||||
caseInsensitive cmdargs httpConduit httpTypes lens liftedBase mtl
|
||||
network resourcet transformers xmlConduit xmlHamlet
|
||||
];
|
||||
meta = {
|
||||
homepage = "http://floss.scru.org/hDAV";
|
||||
description = "RFC 4918 WebDAV support";
|
||||
license = self.stdenv.lib.licenses.gpl3;
|
||||
platforms = self.ghc.meta.platforms;
|
||||
};
|
||||
})
|
@ -1,16 +1,12 @@
|
||||
{ cabal, binary, QuickCheck, testFramework
|
||||
, testFrameworkQuickcheck2
|
||||
}:
|
||||
{ cabal, binary }:
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "SHA";
|
||||
version = "1.6.0";
|
||||
sha256 = "0i5x2irk08yr4p428wyqvdysz22jqc3q5qn08wc38pw2xhmc0zzk";
|
||||
version = "1.6.1";
|
||||
sha256 = "1v3a2skkbr64y7x1aqpq1qz03isc42l9hd1viqcsv4qlld595fgx";
|
||||
isLibrary = true;
|
||||
isExecutable = true;
|
||||
buildDepends = [
|
||||
binary QuickCheck testFramework testFrameworkQuickcheck2
|
||||
];
|
||||
buildDepends = [ binary ];
|
||||
meta = {
|
||||
description = "Implementations of the SHA suite of message digest functions";
|
||||
license = self.stdenv.lib.licenses.bsd3;
|
||||
|
@ -2,8 +2,8 @@
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "binary";
|
||||
version = "0.6.2.0";
|
||||
sha256 = "0nm4vsgyz7ml6w3lk5hrh34i7s7li32gj7bgs75w636kln338aab";
|
||||
version = "0.6.3.0";
|
||||
sha256 = "0gynhyamhvffy2z88xzi56kf57pd5d6534n7w0m11qq4188w0zai";
|
||||
meta = {
|
||||
homepage = "https://github.com/kolmodin/binary";
|
||||
description = "Binary serialisation for Haskell values using lazy ByteStrings";
|
||||
|
@ -2,8 +2,8 @@
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "cmdargs";
|
||||
version = "0.10";
|
||||
sha256 = "1xx4cks3hr2ldb0hd5hnc53dpns2zm4gc1dw25gs1vc977kga3hz";
|
||||
version = "0.10.1";
|
||||
sha256 = "0p7fzh65asn1bpzp137vfww97in2mkqfwwsk8hxzsdx32zi1nfz8";
|
||||
isLibrary = true;
|
||||
isExecutable = true;
|
||||
buildDepends = [ filepath transformers ];
|
||||
|
18
pkgs/development/libraries/haskell/comonads-fd/default.nix
Normal file
@ -0,0 +1,18 @@
|
||||
{ cabal, comonad, comonadTransformers, mtl, semigroups
|
||||
, transformers
|
||||
}:
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "comonads-fd";
|
||||
version = "3.0";
|
||||
sha256 = "1j5ymj711c49fsk2ilxfpzqr0jr117z8kb5ggyh5nlwjy16m32in";
|
||||
buildDepends = [
|
||||
comonad comonadTransformers mtl semigroups transformers
|
||||
];
|
||||
meta = {
|
||||
homepage = "http://github.com/ekmett/comonads-fd/";
|
||||
description = "Comonad transformers using functional dependencies";
|
||||
license = self.stdenv.lib.licenses.bsd3;
|
||||
platforms = self.ghc.meta.platforms;
|
||||
};
|
||||
})
|
@ -2,8 +2,8 @@
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "digest";
|
||||
version = "0.0.1.1";
|
||||
sha256 = "1m04szf9yabmm6mkjq2x7a57bjdf2i611wm2k99wdcygb5cvif3v";
|
||||
version = "0.0.1.2";
|
||||
sha256 = "04gy2zp8yzvv7j9bdfvmfzcz3sqyqa6rwslqcn4vyair2vmif5v4";
|
||||
extraLibraries = [ zlib ];
|
||||
meta = {
|
||||
description = "Various cryptographic hashes for bytestrings; CRC32 and Adler32 for now";
|
||||
|
@ -5,8 +5,8 @@
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "distributed-process-simplelocalnet";
|
||||
version = "0.2.0.7";
|
||||
sha256 = "0jxbxacvdg4pf65s6r48nck45g8dfsarks3m2pdn73gjn4cd81c7";
|
||||
version = "0.2.0.8";
|
||||
sha256 = "01kzqfbrkl9zzknw0gbdh1c1lss911lphagn2sw6nzl9xpnhjqk0";
|
||||
isLibrary = true;
|
||||
isExecutable = true;
|
||||
buildDepends = [
|
||||
|
@ -5,8 +5,8 @@
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "distributed-process";
|
||||
version = "0.4.0.2";
|
||||
sha256 = "0wjxai5z6m84blrgic1pd0jgivqcc8ymjya3m0dhqbmsljwh6ynw";
|
||||
version = "0.4.1";
|
||||
sha256 = "1ysm2rq7ldxb5w6m04vf5q3zrgvg99z7kszjqj17r17ps61v898f";
|
||||
isLibrary = true;
|
||||
isExecutable = true;
|
||||
buildDepends = [
|
||||
|
@ -2,8 +2,8 @@
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "distributed-static";
|
||||
version = "0.2.1";
|
||||
sha256 = "0cdwizm4fr2akw7hsqdrvqk06h1lybpxjiczv3kmd0lyc4cb7kyc";
|
||||
version = "0.2.1.1";
|
||||
sha256 = "08y9554x6avjwdmbf33fw1pw1wl8qmgfngmgb6vgad88krnixq1h";
|
||||
buildDepends = [ binary rank1dynamic ];
|
||||
meta = {
|
||||
homepage = "http://www.github.com/haskell-distributed/distributed-process";
|
||||
|
@ -2,8 +2,8 @@
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "email-validate";
|
||||
version = "0.2.8";
|
||||
sha256 = "04cz1nm1zkb46kdxs43pmkxli2xm5nqlh951nn0mdgy6hqhkpkqd";
|
||||
version = "0.3.2";
|
||||
sha256 = "0cshrl0if1ivn7c0ggm21r58pzsyp7l5wk3dgl86n6zla9dwdmhq";
|
||||
buildDepends = [ parsec ranges ];
|
||||
meta = {
|
||||
homepage = "http://porg.es/blog/email-address-validation-simpler-faster-more-correct";
|
||||
|
@ -9,6 +9,7 @@ cabal.mkDerivation (self: {
|
||||
buildDepends = [
|
||||
colour dlist fgl filepath polyparse text transformers wlPprintText
|
||||
];
|
||||
patchPhase = "sed -i -e 's|bytestring.*,|bytestring,|' graphviz.cabal";
|
||||
meta = {
|
||||
homepage = "http://projects.haskell.org/graphviz/";
|
||||
description = "Bindings to Graphviz for graph visualisation";
|
||||
|
@ -2,8 +2,8 @@
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "hackage-db";
|
||||
version = "1.3";
|
||||
sha256 = "17l2aw2kzjpjzyrg0c5vlaglx0vl475g3wxwavvzrd60z9lb3cp9";
|
||||
version = "1.4";
|
||||
sha256 = "12z1ak21xc9v373j956gz8l4ryj0582lgbl9ykp8q46n9b8sxfph";
|
||||
buildDepends = [ Cabal filepath tar ];
|
||||
meta = {
|
||||
homepage = "http://github.com/peti/hackage-db";
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ cabal, blazeHtml, filepath, mtl, parsec, regexPcreBuiltin }:
|
||||
{ cabal, blazeHtml, filepath, mtl, parsec, regexPcre }:
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "highlighting-kate";
|
||||
@ -6,7 +6,8 @@ cabal.mkDerivation (self: {
|
||||
sha256 = "08jxl2ba0kb4vj1qbdf4sas8bwbxzayzwsxnjvq358x57i5l302n";
|
||||
isLibrary = true;
|
||||
isExecutable = true;
|
||||
buildDepends = [ blazeHtml filepath mtl parsec regexPcreBuiltin ];
|
||||
buildDepends = [ blazeHtml filepath mtl parsec regexPcre ];
|
||||
prePatch = "sed -i -e 's|regex-pcre-builtin|regex-pcre|' highlighting-kate.cabal";
|
||||
meta = {
|
||||
homepage = "http://github.com/jgm/highlighting-kate";
|
||||
description = "Syntax highlighting";
|
||||
|
@ -8,8 +8,8 @@
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "http-conduit";
|
||||
version = "1.8.3";
|
||||
sha256 = "09lvfin2fzjzn83iz3d3d0s2yy76xq6x7k8jpan421yvjs37l1s2";
|
||||
version = "1.8.4.1";
|
||||
sha256 = "0jrsl8m0r3i1jyhi8qsadv4dhq069v67hlphzm78sfinrd083h8y";
|
||||
buildDepends = [
|
||||
asn1Data attoparsec attoparsecConduit base64Bytestring blazeBuilder
|
||||
blazeBuilderConduit caseInsensitive certificate conduit cookie
|
||||
|
@ -2,8 +2,8 @@
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "http-date";
|
||||
version = "0.0.2";
|
||||
sha256 = "18nijf3hswbvcd5amhbccqmgnanmslsmqpd2iixlvwz5hqb3ncvj";
|
||||
version = "0.0.3";
|
||||
sha256 = "12iylfzz1d0v0gl4cf31dxcmlg0x7bq5f7acacy2pb0ilrxmzsnn";
|
||||
buildDepends = [ attoparsec ];
|
||||
meta = {
|
||||
description = "HTTP Date parser/formatter";
|
||||
|
@ -2,8 +2,8 @@
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "instant-generics";
|
||||
version = "0.3.6";
|
||||
sha256 = "0rwxj30p4s8imwfsrrrb26dvxax74cr77yzrm5s9yj7hc7hr0c5p";
|
||||
version = "0.3.7";
|
||||
sha256 = "0kkfx009ij3pwga7x18vr8p0ffhahlp8sb6ykzfh8rhcqd4ryzyv";
|
||||
buildDepends = [ syb ];
|
||||
meta = {
|
||||
homepage = "http://www.cs.uu.nl/wiki/GenericProgramming/InstantGenerics";
|
||||
|
@ -2,8 +2,8 @@
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "language-haskell-extract";
|
||||
version = "0.2.1";
|
||||
sha256 = "0lmg16g3z8cx0vb037bk4j2nr3qvybfcqfsr8l6jk57b2nz3yhbf";
|
||||
version = "0.2.3";
|
||||
sha256 = "0fz1nin596ihlh77pafzpdf46br1k3pxcxyml2rvly6g0h3yjgpr";
|
||||
buildDepends = [ haskellSrcExts regexPosix ];
|
||||
meta = {
|
||||
homepage = "http://github.com/finnsson/template-helper";
|
||||
|
21
pkgs/development/libraries/haskell/lens/default.nix
Normal file
@ -0,0 +1,21 @@
|
||||
{ cabal, comonad, comonadsFd, comonadTransformers, filepath
|
||||
, hashable, mtl, parallel, semigroups, split, text, transformers
|
||||
, unorderedContainers, vector
|
||||
}:
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "lens";
|
||||
version = "3.4";
|
||||
sha256 = "19f5kmd6b1jnimvfm56dpgqzhnlpi0anar1ii9am38lg5yaqbgs4";
|
||||
buildDepends = [
|
||||
comonad comonadsFd comonadTransformers filepath hashable mtl
|
||||
parallel semigroups split text transformers unorderedContainers
|
||||
vector
|
||||
];
|
||||
meta = {
|
||||
homepage = "http://github.com/ekmett/lens/";
|
||||
description = "Lenses, Folds and Traversals";
|
||||
license = self.stdenv.lib.licenses.bsd3;
|
||||
platforms = self.ghc.meta.platforms;
|
||||
};
|
||||
})
|
@ -2,8 +2,8 @@
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "monad-peel";
|
||||
version = "0.1";
|
||||
sha256 = "0q56hdjgbj7ykpjx5z8qlqqkngmgm5wzm9vwcd7v675k2ywcl3ys";
|
||||
version = "0.1.1";
|
||||
sha256 = "0n3cxa94wd3hjvy9jgf3d8p7qfb9jaaf29simjya7rlcb673pg3l";
|
||||
buildDepends = [ extensibleExceptions transformers ];
|
||||
meta = {
|
||||
homepage = "http://andersk.mit.edu/haskell/monad-peel/";
|
||||
|
@ -2,8 +2,8 @@
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "network-transport";
|
||||
version = "0.3.0";
|
||||
sha256 = "1i6sn5x3z1r9l7xwag68s5gsii137d5dajwr0abcbv6143ph3bvm";
|
||||
version = "0.3.0.1";
|
||||
sha256 = "1iijcd864znik83smk1bjidinm199wri5fdyrhnffj0n35knrvas";
|
||||
buildDepends = [ binary transformers ];
|
||||
meta = {
|
||||
homepage = "http://github.com/haskell-distributed/distributed-process";
|
||||
|
@ -2,8 +2,8 @@
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "rank1dynamic";
|
||||
version = "0.1.0.1";
|
||||
sha256 = "18rlih5bndlm5v4nnv8g2rgvab5n22vd8mcjd0m4wq8fmqkb3x9d";
|
||||
version = "0.1.0.2";
|
||||
sha256 = "1341hhbdm6y0mj0qjda0ckqsla51fxiy1yfpbwfvsmpi2bkzgxn6";
|
||||
buildDepends = [ binary ];
|
||||
meta = {
|
||||
homepage = "http://github.com/haskell-distributed/distributed-process";
|
||||
|
@ -1,16 +0,0 @@
|
||||
{ cabal, pcre, regexBase }:
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "regex-pcre-builtin";
|
||||
version = "0.94.4.1.8.31";
|
||||
sha256 = "1g17yndavskv0v4zkpkqkl99ls03aqz028xcf5xvd3ak1q8mscx4";
|
||||
buildDepends = [ regexBase ];
|
||||
extraLibraries = [ pcre ];
|
||||
meta = {
|
||||
homepage = "http://hackage.haskell.org/package/regex-pcre";
|
||||
description = "Replaces/Enhances Text.Regex";
|
||||
license = self.stdenv.lib.licenses.bsd3;
|
||||
platforms = self.ghc.meta.platforms;
|
||||
maintainers = [ self.stdenv.lib.maintainers.andres ];
|
||||
};
|
||||
})
|
@ -2,8 +2,8 @@
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "repa-examples";
|
||||
version = "3.2.2.1";
|
||||
sha256 = "17v7ay33fwxjm0ip09jhh979rc6hzfxrrj1hkwj7x4x9gkd79yn7";
|
||||
version = "3.2.2.3";
|
||||
sha256 = "0v21f8zzn05j3pjwvnb7x08q0sd375kbf450zjgsv8fzsypclr51";
|
||||
isLibrary = false;
|
||||
isExecutable = true;
|
||||
buildDepends = [ random repa repaAlgorithms repaIo vector ];
|
||||
|
@ -3,8 +3,8 @@
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "shelly";
|
||||
version = "0.14.2.3";
|
||||
sha256 = "0yrn7sg7rjli8ai0zbiqrfb0m53sbxsq5jnygdya0n20gmsb9kr4";
|
||||
version = "0.14.3";
|
||||
sha256 = "0nlspgk5svc9zr2gry96sykhd8i7vdmqxpsvfsz22khw8climqzj";
|
||||
buildDepends = [
|
||||
mtl systemFileio systemFilepath text time unixCompat
|
||||
];
|
||||
|
@ -4,8 +4,8 @@
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "test-framework-th";
|
||||
version = "0.2.2";
|
||||
sha256 = "0nzfvxr5bnxinx41a5w5mwhyxzz2936dl0xhd80cv9plx19ylh0w";
|
||||
version = "0.2.3";
|
||||
sha256 = "1xls8034zkfnvkv2p6jd6kc1x3xrr0sm5c6hl0mp7ym2w2ww9f1w";
|
||||
buildDepends = [
|
||||
haskellSrcExts languageHaskellExtract regexPosix testFramework
|
||||
];
|
||||
|
@ -5,6 +5,7 @@ cabal.mkDerivation (self: {
|
||||
version = "2.1.2";
|
||||
sha256 = "12dhl8svy0wmdwlvkp0p0j6wr6vgv4hrjcpdv48kc5rcwjvh8xif";
|
||||
buildDepends = [ HUnit mtl QuickCheck random ];
|
||||
patches = [ ./support-recent-quickcheck.patch ];
|
||||
meta = {
|
||||
homepage = "http://hackage.haskell.org/cgi-bin/hackage-scripts/package/testpack";
|
||||
description = "Test Utililty Pack for HUnit and QuickCheck";
|
||||
|
@ -0,0 +1,22 @@
|
||||
diff --git a/src/Test/HUnit/Tools.hs b/src/Test/HUnit/Tools.hs
|
||||
index 01fac30..0de5526 100644
|
||||
--- a/src/Test/HUnit/Tools.hs
|
||||
+++ b/src/Test/HUnit/Tools.hs
|
||||
@@ -128,7 +128,7 @@ Often used like this:
|
||||
> q "Integer -> Int (safe bounds)" prop_integer_to_int_pass]
|
||||
-}
|
||||
qc2hu :: QC.Testable a => Int -> String -> a -> HU.Test
|
||||
-qc2hu maxTest = qccheck (stdArgs {maxSuccess = maxTest, maxDiscard = 20000})
|
||||
+qc2hu maxTest = qccheck (stdArgs {maxSuccess = maxTest})
|
||||
|
||||
{- | Run verbose tests. Example:
|
||||
|
||||
@@ -174,7 +174,7 @@ localquickCheckWithResult args p =
|
||||
Just (rnd,_) -> return rnd
|
||||
test MkState{ terminal = tm
|
||||
, maxSuccessTests = maxSuccess args
|
||||
- , maxDiscardedTests = maxDiscard args
|
||||
+ , maxDiscardedTests = 20000
|
||||
, computeSize = case replay args of
|
||||
Nothing -> \n d -> (n * maxSize args)
|
||||
`div` maxSuccess args
|
@ -4,8 +4,8 @@
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "tls";
|
||||
version = "1.0.1";
|
||||
sha256 = "1p0v0lrc3hkgyhczz3w9krxnnrlq1w75z4jb9vba0ygq5bxj3d53";
|
||||
version = "1.0.2";
|
||||
sha256 = "0fkbh89j4gpwq45hv88axcdy7hxhvj1wj14nf7ma8wzaga2p4m75";
|
||||
isLibrary = true;
|
||||
isExecutable = true;
|
||||
buildDepends = [
|
||||
|
14
pkgs/development/libraries/haskell/xml-hamlet/default.nix
Normal file
@ -0,0 +1,14 @@
|
||||
{ cabal, parsec, shakespeare, text, xmlConduit }:
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "xml-hamlet";
|
||||
version = "0.4.0.3";
|
||||
sha256 = "1923c2jg162jab01mcbpy52xs1pzxkrgny6sq8v0p758n8hjazwc";
|
||||
buildDepends = [ parsec shakespeare text xmlConduit ];
|
||||
meta = {
|
||||
homepage = "http://www.yesodweb.com/";
|
||||
description = "Hamlet-style quasiquoter for XML content";
|
||||
license = self.stdenv.lib.licenses.bsd3;
|
||||
platforms = self.ghc.meta.platforms;
|
||||
};
|
||||
})
|
@ -4,15 +4,15 @@
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "yaml";
|
||||
version = "0.8.1";
|
||||
sha256 = "0cirffxydjh5650s1i0mq1v839pl2dljwmrjnmjf44fcqsvanvyg";
|
||||
version = "0.8.1.1";
|
||||
sha256 = "0n2m205f0jq8v4g84bw642vdqqr68m3jklv98rr21s8r2fyy7937";
|
||||
buildDepends = [
|
||||
aeson attoparsec conduit resourcet text transformers
|
||||
unorderedContainers vector
|
||||
];
|
||||
meta = {
|
||||
homepage = "http://github.com/snoyberg/yaml/";
|
||||
description = "Low-level binding to the libyaml C library";
|
||||
description = "Support for parsing and rendering YAML documents";
|
||||
license = self.stdenv.lib.licenses.bsd3;
|
||||
platforms = self.ghc.meta.platforms;
|
||||
maintainers = [ self.stdenv.lib.maintainers.andres ];
|
||||
|
@ -6,8 +6,8 @@
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "yesod-form";
|
||||
version = "1.2.0";
|
||||
sha256 = "1p5c75dcbhcc90chwzhsk5sk86x3i2ipz6krrqrkx0zx7ykbf94m";
|
||||
version = "1.2.0.1";
|
||||
sha256 = "13zfai1r8wvs2gxh6adp5pcnrk0480fx7kp8gwarv68x4hmf0jph";
|
||||
buildDepends = [
|
||||
aeson attoparsec blazeBuilder blazeHtml blazeMarkup cryptoApi
|
||||
dataDefault emailValidate hamlet network persistent shakespeareCss
|
||||
|
@ -2,8 +2,8 @@
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "zlib-bindings";
|
||||
version = "0.1.1.1";
|
||||
sha256 = "1r502gskbm36smd5nj0f53ildv9rkm3k79zmwdmrskg6z1n7jmfh";
|
||||
version = "0.1.1.2";
|
||||
sha256 = "0p4713craq59vbyf3rr6kzv53rrfycbnlfs57i78fjrgwv6bd1ln";
|
||||
buildDepends = [ zlib ];
|
||||
meta = {
|
||||
homepage = "http://github.com/snoyberg/zlib-bindings";
|
||||
|
@ -1,8 +1,9 @@
|
||||
{ stdenv, fetchurl, cmake }:
|
||||
{ stdenv, fetchurl, cmake, pkgconfig }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "libdiscid-0.2.2";
|
||||
|
||||
buildNativeInputs = [ pkgconfig ];
|
||||
buildInputs = [ cmake ];
|
||||
|
||||
src = fetchurl {
|
||||
@ -10,6 +11,13 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "00l4ln9rk0vqf67iccwqrgc9qx1al92i05zylh85kd1zn9d5sjwp";
|
||||
};
|
||||
|
||||
# developer forgot to update his version number
|
||||
# this is propagated to pkg-config
|
||||
preConfigure = ''
|
||||
substituteInPlace "CMakeLists.txt" \
|
||||
--replace "PROJECT_VERSION 0.1.1" "PROJECT_VERSION 0.2.2"
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "A C library for creating MusicBrainz DiscIDs from audio CDs";
|
||||
homepage = http://musicbrainz.org/doc/libdiscid;
|
||||
|
@ -3,7 +3,7 @@
|
||||
, documentation ? false # build documentation
|
||||
, avahiSupport ? false # build support for Avahi in libinfinity
|
||||
, stdenv, fetchurl, pkgconfig, glib, libxml2, gnutls, gsasl
|
||||
, gtk ? null, gtkdoc ? null, avahi ? null, libdaemon ? null }:
|
||||
, gtk ? null, gtkdoc ? null, avahi ? null, libdaemon ? null, libidn, gss }:
|
||||
|
||||
let
|
||||
edf = flag: feature: (if flag then "--with-" else "--without-") + feature;
|
||||
@ -11,13 +11,13 @@ let
|
||||
|
||||
in stdenv.mkDerivation rec {
|
||||
|
||||
name = "libinfinity-0.4.1";
|
||||
name = "libinfinity-0.5.3";
|
||||
src = fetchurl {
|
||||
url = "http://releases.0x539.de/libinfinity/${name}.tar.gz";
|
||||
sha256 = "1vdyj6xvwkisrc222i84mq93gasywad4i0ismafdjq2wapxn30r6";
|
||||
sha256 = "04qa3ky2skhc9b5f9i9sc8hci3ykklqznmgy616yzs3n22bmax9j";
|
||||
};
|
||||
|
||||
buildInputs = [ pkgconfig glib libxml2 gsasl ]
|
||||
buildInputs = [ pkgconfig glib libxml2 gsasl libidn gss ]
|
||||
++ optional gtkWidgets gtk
|
||||
++ optional documentation gtkdoc
|
||||
++ optional avahiSupport avahi
|
||||
|
30
pkgs/development/libraries/libshout/default.nix
Normal file
@ -0,0 +1,30 @@
|
||||
{stdenv, fetchurl, pkgconfig
|
||||
, libvorbis, libtheora, speex}:
|
||||
|
||||
# need pkgconfig so that libshout installs ${out}/lib/pkgconfig/shout.pc
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "libshout-2.3.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://downloads.xiph.org/releases/libshout/${name}.tar.gz";
|
||||
sha256 = "cf3c5f6b4a5e3fcfbe09fb7024aa88ad4099a9945f7cb037ec06bcee7a23926e";
|
||||
};
|
||||
|
||||
buildInputs = [ libvorbis libtheora speex pkgconfig ];
|
||||
|
||||
meta = {
|
||||
description = "icecast 'c' language bindings";
|
||||
|
||||
longDescription = ''
|
||||
Libshout is a library for communicating with and sending data to an icecast
|
||||
server. It handles the socket connection, the timing of the data, and prevents
|
||||
bad data from getting to the icecast server.
|
||||
'';
|
||||
|
||||
homepage = http://www.icecast.org;
|
||||
license = stdenv.lib.licenses.gpl2;
|
||||
maintainers = with stdenv.lib.maintainers; [ jcumming ];
|
||||
|
||||
};
|
||||
}
|
@ -1,13 +1,13 @@
|
||||
{ stdenv, fetchurl }:
|
||||
|
||||
let version = "4.9.3"; in
|
||||
let version = "4.9.4"; in
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "nspr-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v${version}/src/nspr-${version}.tar.gz";
|
||||
sha256 = "1igkfb7dm3fd59swa5m961rgc53z98l3jadk42c4yy76b85z78ww";
|
||||
sha256 = "196l8123gg5knxp7pgksngfcwm9k7n3qilkl725jyzz1bg3ld43l";
|
||||
};
|
||||
|
||||
preConfigure = "cd mozilla/nsprpub";
|
||||
|
@ -1,18 +1,32 @@
|
||||
{stdenv, fetchurl, cmake, mesa, libX11, xproto, libXt }:
|
||||
{ stdenv, fetchurl, cmake, mesa, libX11, xproto, libXt
|
||||
, useQt4 ? false, qt4 }:
|
||||
|
||||
with stdenv.lib;
|
||||
|
||||
let
|
||||
os = stdenv.lib.optionalString;
|
||||
majorVersion = "5.10";
|
||||
minorVersion = "0";
|
||||
version = "${majorVersion}.${minorVersion}";
|
||||
in
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "vtk-5.4.2";
|
||||
name = "vtk-${os useQt4 "qvtk-"}${version}";
|
||||
src = fetchurl {
|
||||
url = "http://www.vtk.org/files/release/5.4/${name}.tar.gz";
|
||||
sha256 = "0gd7xlxiqww6xxcs2kicz0g6k147y3200np4jnsf10vlxs10az03";
|
||||
url = "${meta.homepage}files/release/${majorVersion}/vtk-${version}.tar.gz";
|
||||
md5 = "a0363f78910f466ba8f1bd5ab5437cb9";
|
||||
};
|
||||
buildInputs = [ cmake mesa libX11 xproto libXt ];
|
||||
buildInputs = [ cmake mesa libX11 xproto libXt ]
|
||||
++ optional useQt4 qt4;
|
||||
|
||||
cmakeFlags = optional useQt4
|
||||
[ "-DVTK_USE_QT:BOOL=ON" ];
|
||||
|
||||
meta = {
|
||||
description = "Open source libraries for 3D computer graphics, image processing and visualization";
|
||||
homepage = http://www.vtk.org/;
|
||||
license = "BSD";
|
||||
maintainers = with stdenv.lib.maintainers; [viric];
|
||||
maintainers = with stdenv.lib.maintainers; [ viric bbenoist ];
|
||||
platforms = with stdenv.lib.platforms; linux;
|
||||
};
|
||||
}
|
||||
|
36
pkgs/development/qtcreator/default.nix
Normal file
@ -0,0 +1,36 @@
|
||||
{ stdenv, fetchurl, qt4 }:
|
||||
|
||||
let
|
||||
version = "2.5.2";
|
||||
in
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "qtcreator-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://origin.releases.qt-project.org/qtcreator/${version}/qt-creator-${version}-src.tar.gz";
|
||||
md5 = "4a9c09cdf4609753283c31451c84ceb8";
|
||||
};
|
||||
|
||||
buildInputs = [ qt4 ];
|
||||
|
||||
doCheck = false;
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
preConfigure = "qmake";
|
||||
installFlags = "INSTALL_ROOT=$(out)";
|
||||
|
||||
meta = {
|
||||
description = "Qt Creator is a cross-platform IDE tailored to the needs of Qt developers.";
|
||||
longDescription = ''
|
||||
Qt Creator is a cross-platform IDE (integrated development environment) tailored to the needs of Qt developers.
|
||||
It includes features such as an advanced code editor, a visual debugger and a GUI designer.
|
||||
'';
|
||||
homepage = "http://qt-project.org/wiki/Category:Tools::QtCreator";
|
||||
license = "LGPL";
|
||||
|
||||
maintainers = [ stdenv.lib.maintainers.bbenoist ];
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
};
|
||||
}
|
@ -1,11 +1,11 @@
|
||||
{ stdenv, fetchurl, perl, gdb }:
|
||||
|
||||
stdenv.mkDerivation (rec {
|
||||
name = "valgrind-3.8.0";
|
||||
name = "valgrind-3.8.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://valgrind.org/downloads/${name}.tar.bz2";
|
||||
sha256 = "1310lxmzidrbv0l3hrf45ampkf61gv2vb8msnqm684lp41gmh5px";
|
||||
sha256 = "1nsqk70ry3221sd62s4f0njcrncppszs4xxjcak13lxyfq2y0fs7";
|
||||
};
|
||||
|
||||
# Perl is needed for `cg_annotate'.
|
||||
|
@ -2,8 +2,8 @@
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "cabal2nix";
|
||||
version = "1.40";
|
||||
sha256 = "0finmky9lyzg5gs0y95fb0gmzraszljv7l5271185jmhky4wppim";
|
||||
version = "1.42";
|
||||
sha256 = "02yg4lj2y272fvn79kgqccizs71xg5ifnjhpw4vhw5wya657a20w";
|
||||
isLibrary = false;
|
||||
isExecutable = true;
|
||||
buildDepends = [ Cabal filepath hackageDb HTTP mtl regexPosix ];
|
||||
|