mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-31 09:14:28 +00:00
Merge branch 'master' of github.com:NixOS/nixpkgs
This commit is contained in:
commit
f80e897add
@ -2,7 +2,7 @@ let lists = import ./lists.nix; in
|
||||
|
||||
rec {
|
||||
gnu = linux; /* ++ hurd ++ kfreebsd ++ ... */
|
||||
linux = ["i686-linux" "x86_64-linux" "armv5tel-linux" "armv7l-linux" "mips64el-linux"];
|
||||
linux = ["i686-linux" "x86_64-linux" "armv5tel-linux" "armv6l-linux" "armv7l-linux" "mips64el-linux"];
|
||||
darwin = ["x86_64-darwin"];
|
||||
freebsd = ["i686-freebsd" "x86_64-freebsd"];
|
||||
openbsd = ["i686-openbsd" "x86_64-openbsd"];
|
||||
|
@ -214,6 +214,7 @@
|
||||
./services/networking/cjdns.nix
|
||||
./services/networking/cntlm.nix
|
||||
./services/networking/connman.nix
|
||||
./services/networking/consul.nix
|
||||
./services/networking/ddclient.nix
|
||||
./services/networking/dhcpcd.nix
|
||||
./services/networking/dhcpd.nix
|
||||
|
166
nixos/modules/services/networking/consul.nix
Normal file
166
nixos/modules/services/networking/consul.nix
Normal file
@ -0,0 +1,166 @@
|
||||
{ config, lib, pkgs, utils, ... }:
|
||||
|
||||
with lib;
|
||||
let
|
||||
|
||||
dataDir = "/var/lib/consul";
|
||||
cfg = config.services.consul;
|
||||
|
||||
configOptions = {
|
||||
data_dir = dataDir;
|
||||
rejoin_after_leave = true;
|
||||
}
|
||||
// (if cfg.webUi then { ui_dir = "${pkgs.consul.ui}"; } else { })
|
||||
// cfg.extraConfig;
|
||||
|
||||
configFiles = [ "/etc/consul.json" "/etc/consul-addrs.json" ]
|
||||
++ cfg.extraConfigFiles;
|
||||
|
||||
devices = attrValues (filterAttrs (_: i: i != null) cfg.interface);
|
||||
systemdDevices = flip map devices
|
||||
(i: "sys-subsystem-net-devices-${utils.escapeSystemdPath i}.device");
|
||||
in
|
||||
{
|
||||
options = {
|
||||
|
||||
services.consul = {
|
||||
|
||||
enable = mkOption {
|
||||
type = types.bool;
|
||||
default = false;
|
||||
description = ''
|
||||
Enables the consul daemon.
|
||||
'';
|
||||
};
|
||||
|
||||
webUi = mkOption {
|
||||
type = types.bool;
|
||||
default = false;
|
||||
description = ''
|
||||
Enables the web interface on the consul http port.
|
||||
'';
|
||||
};
|
||||
|
||||
interface = {
|
||||
|
||||
advertise = mkOption {
|
||||
type = types.nullOr types.str;
|
||||
default = null;
|
||||
description = ''
|
||||
The name of the interface to pull the advertise_addr from.
|
||||
'';
|
||||
};
|
||||
|
||||
bind = mkOption {
|
||||
type = types.nullOr types.str;
|
||||
default = null;
|
||||
description = ''
|
||||
The name of the interface to pull the bind_addr from.
|
||||
'';
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
forceIpv4 = mkOption {
|
||||
type = types.bool;
|
||||
default = false;
|
||||
description = ''
|
||||
Whether we should force the interfaces to only pull ipv4 addresses.
|
||||
'';
|
||||
};
|
||||
|
||||
dropPrivileges = mkOption {
|
||||
type = types.bool;
|
||||
default = true;
|
||||
description = ''
|
||||
Whether the consul agent should be run as a non-root consul user.
|
||||
'';
|
||||
};
|
||||
|
||||
extraConfig = mkOption {
|
||||
default = { };
|
||||
description = ''
|
||||
Extra configuration options which are serialized to json and added
|
||||
to the config.json file.
|
||||
'';
|
||||
};
|
||||
|
||||
extraConfigFiles = mkOption {
|
||||
default = [ ];
|
||||
type = types.listOf types.str;
|
||||
description = ''
|
||||
Additional configuration files to pass to consul
|
||||
NOTE: These will not trigger the service to be restarted when altered.
|
||||
'';
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
|
||||
users.extraUsers."consul" = {
|
||||
description = "Consul agent daemon user";
|
||||
uid = config.ids.uids.consul;
|
||||
};
|
||||
|
||||
environment = {
|
||||
etc."consul.json".text = builtins.toJSON configOptions;
|
||||
systemPackages = with pkgs; [ consul ];
|
||||
};
|
||||
|
||||
systemd.services.consul = {
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
after = [ "network.target" ] ++ systemdDevices;
|
||||
bindsTo = systemdDevices;
|
||||
restartTriggers = [ config.environment.etc."consul.json".source ];
|
||||
|
||||
serviceConfig = {
|
||||
ExecStart = "@${pkgs.consul}/bin/consul consul agent"
|
||||
+ concatMapStrings (n: " -config-file ${n}") configFiles;
|
||||
ExecStop = "${pkgs.consul}/bin/consul leave";
|
||||
ExecReload = "${pkgs.consul}/bin/consul reload";
|
||||
PermissionsStartOnly = true;
|
||||
User = if cfg.dropPrivileges then "consul" else null;
|
||||
};
|
||||
|
||||
path = with pkgs; [ iproute gnugrep gawk ];
|
||||
preStart = ''
|
||||
mkdir -m 0700 -p ${dataDir}
|
||||
chown -R consul ${dataDir}
|
||||
|
||||
# Determine interface addresses
|
||||
getAddrOnce () {
|
||||
ip addr show dev "$1" \
|
||||
| grep 'inet${optionalString (cfg.forceIpv4) " "}.*scope global' \
|
||||
| awk -F '[ /\t]*' '{print $3}' | head -n 1
|
||||
}
|
||||
getAddr () {
|
||||
ADDR="$(getAddrOnce $1)"
|
||||
LEFT=60 # Die after 1 minute
|
||||
while [ -z "$ADDR" ]; do
|
||||
sleep 1
|
||||
LEFT=$(expr $LEFT - 1)
|
||||
if [ "$LEFT" -eq "0" ]; then
|
||||
echo "Address lookup timed out"
|
||||
exit 1
|
||||
fi
|
||||
ADDR="$(getAddrOnce $1)"
|
||||
done
|
||||
echo "$ADDR"
|
||||
}
|
||||
echo "{" > /etc/consul-addrs.json
|
||||
''
|
||||
+ concatStrings (flip mapAttrsToList cfg.interface (name: i:
|
||||
optionalString (i != null) ''
|
||||
echo " \"${name}_addr\": \"$(getAddr "${i}")\"," >> /etc/consul-addrs.json
|
||||
''))
|
||||
+ ''
|
||||
echo " \"\": \"\"" >> /etc/consul-addrs.json
|
||||
echo "}" >> /etc/consul-addrs.json
|
||||
'';
|
||||
};
|
||||
|
||||
};
|
||||
}
|
@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
|
||||
description = "SAGA - System for Automated Geoscientific Analyses";
|
||||
homepage = http://www.saga-gis.org;
|
||||
license = stdenv.lib.licenses.gpl2Plus;
|
||||
maintainer = stdenv.lib.maintainers.michelk;
|
||||
maintainers = [ stdenv.lib.maintainers.michelk ];
|
||||
platforms = with stdenv.lib.platforms; linux;
|
||||
broken = true;
|
||||
};
|
||||
|
@ -1,26 +1,22 @@
|
||||
{ stdenv, fetchurl, pkgconfig, gtk, libpng, exiv2, lcms
|
||||
, intltool, gettext, libchamplain_0_6, fbida }:
|
||||
{ stdenv, fetchurl, pkgconfig, autoconf, automake, gtk, libpng, exiv2, lcms
|
||||
, intltool, gettext, libchamplain, fbida }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "geeqie-1.1";
|
||||
name = "geeqie-${version}";
|
||||
version = "1.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/geeqie/${name}.tar.gz";
|
||||
sha256 = "1kzy39z9505xkayyx7rjj2wda76xy3ch1s5z35zn8yli54ffhi2m";
|
||||
url = "https://gitorious.org/geeqie/geeqie/archive/v${version}.tar.gz";
|
||||
sha256 = "13sgf20h0z8dz1075vmyh8vbxgchq30cqrl15zfv9h8hp271vpfj";
|
||||
};
|
||||
|
||||
preConfigure =
|
||||
# XXX: Trick to have Geeqie use the version we have.
|
||||
'' sed -i "configure" \
|
||||
-e 's/champlain-0.4/champlain-0.6/g ;
|
||||
s/champlain-gtk-0.4/champlain-gtk-0.6/g'
|
||||
'';
|
||||
preConfigure = "./autogen.sh";
|
||||
|
||||
configureFlags = [ "--enable-gps" ];
|
||||
|
||||
buildInputs =
|
||||
[ pkgconfig gtk libpng exiv2 lcms intltool gettext
|
||||
libchamplain_0_6
|
||||
[ pkgconfig autoconf automake gtk libpng exiv2 lcms intltool gettext
|
||||
libchamplain
|
||||
];
|
||||
|
||||
postInstall =
|
||||
@ -31,7 +27,7 @@ stdenv.mkDerivation rec {
|
||||
-e '1 a export PATH=${exiv2}/bin:${fbida}/bin:$PATH'
|
||||
'';
|
||||
|
||||
meta = {
|
||||
meta = with stdenv.lib; {
|
||||
description = "Lightweight GTK+ based image viewer";
|
||||
|
||||
longDescription =
|
||||
@ -45,11 +41,11 @@ stdenv.mkDerivation rec {
|
||||
initially based on GQview.
|
||||
'';
|
||||
|
||||
license = stdenv.lib.licenses.gpl2Plus;
|
||||
license = licenses.gpl2Plus;
|
||||
|
||||
homepage = http://geeqie.sourceforge.net;
|
||||
|
||||
maintainers = [ ];
|
||||
platforms = stdenv.lib.platforms.gnu;
|
||||
maintainers = with maintainers; [ pSub ];
|
||||
platforms = platforms.gnu;
|
||||
};
|
||||
}
|
||||
|
@ -5,11 +5,11 @@
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "calibre-2.3.0";
|
||||
name = "calibre-2.4.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/calibre/${name}.tar.xz";
|
||||
sha256 = "13ny8d569hl7yv8m89216fmg0qdqqy6l9vgzf3cmbbb8i3l1lpxf";
|
||||
sha256 = "0rgfq7178mlaf6scpm1zvn2vsfls55rdb8apwbmskmnw5wk1q6hq";
|
||||
};
|
||||
|
||||
inherit python;
|
||||
|
@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
|
||||
'';
|
||||
homepage = http://www.insilmaril.de/vym/;
|
||||
license = licenses.gpl2;
|
||||
maintainer = [ maintainers.AndersonTorres ];
|
||||
maintainers = [ maintainers.AndersonTorres ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
|
@ -2,12 +2,12 @@
|
||||
m4, glib_networking, gsettings_desktop_schemas, dconf }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "dwb-2014-07-03";
|
||||
name = "dwb-2014-09-20";
|
||||
|
||||
src = fetchgit {
|
||||
url = "https://bitbucket.org/portix/dwb.git";
|
||||
rev = "6224470489eb5ba92987e01396269f8b7cd78ada";
|
||||
sha256 = "04p9frsnh1qz067cw36anvr41an789fba839svdjrdva0f2751g8";
|
||||
rev = "6a0e483533021157fa83ce7533c1b25c71254f00";
|
||||
sha256 = "0l8ryz4aqcw6ax6w7y22yl9bh8fs3gxnlppbas1jq7q7hjk1qs31";
|
||||
};
|
||||
|
||||
buildInputs = [ pkgconfig makeWrapper gsettings_desktop_schemas libsoup webkitgtk2 gtk2 gnutls json_c m4 ];
|
||||
|
@ -2,11 +2,11 @@
|
||||
, pkgconfig }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "qbittorrent-3.1.3";
|
||||
name = "qbittorrent-3.1.10";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/qbittorrent/${name}.tar.xz";
|
||||
sha256 = "16m3l8qjcj63brzrdn82cbijvz8fcxfgpibi4g5g6sbissjkwsww";
|
||||
sha256 = "0xhqli191r5v9b5x6wj1wsjlj6svf6ldgzl7jza39q3ipr5c2pg6";
|
||||
};
|
||||
|
||||
buildInputs = [ qt4 which dbus_libs boost libtorrentRasterbar
|
||||
@ -17,9 +17,11 @@ stdenv.mkDerivation rec {
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = {
|
||||
meta = with stdenv.lib; {
|
||||
description = "Free Software alternative to µtorrent";
|
||||
homepage = http://www.qbittorrent.org/;
|
||||
maintainers = with stdenv.lib.maintainers; [ viric ];
|
||||
license = licenses.gpl2;
|
||||
maintainers = with maintainers; [ viric ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
|
@ -1,30 +1,22 @@
|
||||
{ stdenv, fetchurl, pkgconfig, gtk, libglade, libgnomecanvas, fribidi
|
||||
, libpng, popt, libgsf, enchant, wv, librsvg, bzip2, libjpeg
|
||||
{ stdenv, fetchurl, pkgconfig, gtk3, libglade, libgnomecanvas, fribidi
|
||||
, libpng, popt, libgsf, enchant, wv, librsvg, bzip2, libjpeg, perl
|
||||
, boost, libxslt
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "abiword-2.8.6";
|
||||
stdenv.mkDerivation rec {
|
||||
name = "abiword-${version}";
|
||||
version = "3.0.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = http://www.abisource.org/downloads/abiword/2.8.6/source/abiword-2.8.6.tar.gz;
|
||||
sha256 = "059sd2apxdmcacc4pll880i7vm18h0kyjsq299m1mz3c7ak8k46r";
|
||||
url = "http://www.abisource.org/downloads/abiword/${version}/source/${name}.tar.gz";
|
||||
sha256 = "00dc3w48k2z3l1hh5b0jhzfrskqxic4lp6g7w19v6kpz02632zni";
|
||||
};
|
||||
|
||||
prePatch = ''
|
||||
sed -i -e '/#include <glib\/gerror.h>/d' src/af/util/xp/ut_go_file.h
|
||||
sed -i -e 's|#include <glib/gmacros.h>|#include <glib.h>|' \
|
||||
goffice-bits/goffice/app/goffice-app.h
|
||||
sed -i -e 's/ptr->jmpbuf/jmpbuf(png_ptr)/' src/af/util/xp/ut_png.cpp
|
||||
sed -i -e 's/\(m_pPNG\)->\(jmpbuf\)/png_\2(\1)/' \
|
||||
src/wp/impexp/gtk/ie_impGraphic_GdkPixbuf.cpp
|
||||
sed -i -e 's/--no-undefined //' src/Makefile*
|
||||
'';
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
buildInputs =
|
||||
[ pkgconfig gtk libglade librsvg bzip2 libgnomecanvas fribidi libpng popt
|
||||
libgsf enchant wv libjpeg
|
||||
[ pkgconfig gtk3 libglade librsvg bzip2 libgnomecanvas fribidi libpng popt
|
||||
libgsf enchant wv libjpeg perl boost libxslt
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
@ -32,5 +24,6 @@ stdenv.mkDerivation {
|
||||
homepage = http://www.abisource.com/;
|
||||
license = licenses.gpl3;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ pSub ];
|
||||
};
|
||||
}
|
||||
|
@ -21,6 +21,7 @@
|
||||
, bs2bSupport ? false, libbs2b ? null
|
||||
# For screenshots
|
||||
, libpngSupport ? true, libpng ? null
|
||||
, libjpegSupport ? true, libjpeg ? null
|
||||
, useUnfreeCodecs ? false
|
||||
}:
|
||||
|
||||
@ -46,6 +47,7 @@ assert jackaudioSupport -> jack2 != null;
|
||||
assert pulseSupport -> pulseaudio != null;
|
||||
assert bs2bSupport -> libbs2b != null;
|
||||
assert libpngSupport -> libpng != null;
|
||||
assert libjpegSupport -> libjpeg != null;
|
||||
|
||||
let
|
||||
|
||||
@ -121,6 +123,7 @@ stdenv.mkDerivation rec {
|
||||
++ optional vdpauSupport libvdpau
|
||||
++ optional speexSupport speex
|
||||
++ optional libpngSupport libpng
|
||||
++ optional libjpegSupport libjpeg
|
||||
++ optional bs2bSupport libbs2b
|
||||
;
|
||||
|
||||
|
@ -15,6 +15,7 @@
|
||||
, bs2bSupport ? false, libbs2b ? null
|
||||
# For screenshots
|
||||
, libpngSupport ? true, libpng ? null
|
||||
, libjpegSupport ? true, libjpeg ? null
|
||||
, useUnfreeCodecs ? false
|
||||
}:
|
||||
|
||||
@ -32,6 +33,7 @@ assert jackaudioSupport -> jack2 != null;
|
||||
assert pulseSupport -> pulseaudio != null;
|
||||
assert bs2bSupport -> libbs2b != null;
|
||||
assert libpngSupport -> libpng != null;
|
||||
assert libjpegSupport -> libjpeg != null;
|
||||
|
||||
let
|
||||
|
||||
@ -96,6 +98,7 @@ stdenv.mkDerivation rec {
|
||||
++ optional speexSupport speex
|
||||
++ optional bs2bSupport libbs2b
|
||||
++ optional libpngSupport libpng
|
||||
++ optional libjpegSupport libjpeg
|
||||
;
|
||||
|
||||
nativeBuildInputs = [ yasm python3 ];
|
||||
@ -110,8 +113,8 @@ stdenv.mkDerivation rec {
|
||||
${optionalString (stdenv.isi686 || stdenv.isx86_64) "--enable-runtime-cpudetection"}
|
||||
${optionalString dvdnavSupport "--extra-ldflags=-ldvdread"}
|
||||
${if xvSupport then "--enable-xv" else "--disable-xv"}
|
||||
${if x11Support then "--enable-x11 --enable-gl --extra-cflags=-I{libx11}/include"
|
||||
else "--disable-x11 --disable-gl"}
|
||||
${if x11Support then "--enable-x11 --enable-gl --extra-cflags=-I${libX11}/include"
|
||||
else "--disable-x11 --disable-gl"}
|
||||
--disable-xvid
|
||||
--disable-ossaudio
|
||||
'';
|
||||
|
@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
|
||||
license = licenses.mit;
|
||||
description = "A lightweight GTK2-based systray for UNIX desktop";
|
||||
platforms = platforms.linux;
|
||||
maintainer = with maintainers; [ pSub ];
|
||||
maintainers = with maintainers; [ pSub ];
|
||||
};
|
||||
}
|
||||
|
||||
|
@ -6,8 +6,8 @@ assert zlibSupport -> zlib != null;
|
||||
|
||||
let
|
||||
|
||||
majorVersion = "2.3";
|
||||
version = "${majorVersion}.1";
|
||||
majorVersion = "2.4";
|
||||
version = "${majorVersion}.0";
|
||||
pythonVersion = "2.7";
|
||||
libPrefix = "pypy${majorVersion}";
|
||||
|
||||
@ -18,7 +18,7 @@ let
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://bitbucket.org/pypy/pypy/get/release-${version}.tar.bz2";
|
||||
sha256 = "0fg4l48c7n59n5j3b1dgcsr927xzylkfny4a6pnk6z0pq2bhvl9z";
|
||||
sha256 = "1lhk86clnkj305dxa6xr9wjib6ckf6xxl6qj0bq20vqh80nfq3by";
|
||||
};
|
||||
|
||||
buildInputs = [ bzip2 openssl pkgconfig pythonFull libffi ncurses expat sqlite tk tcl x11 libX11 makeWrapper ]
|
||||
@ -70,7 +70,8 @@ let
|
||||
# disable sqlite3 due to https://bugs.pypy.org/issue1740
|
||||
# disable test_multiprocessing due to transient errors
|
||||
# disable test_os because test_urandom_failure fails
|
||||
./pypy-c ./pypy/test_all.py --pypy=./pypy-c -k '-test_sqlite -test_socket -test_os -test_shutil -test_mhlib -test_multiprocessing' lib-python
|
||||
# disable test_urllib2net and test_urllibnet because it requires networking (example.com)
|
||||
./pypy-c ./pypy/test_all.py --pypy=./pypy-c -k 'not (test_sqlite or test_urllib2net or test_urllibnet or test_socket or test_os or test_shutil or test_mhlib or test_multiprocessing)' lib-python
|
||||
'';
|
||||
|
||||
installPhase = ''
|
@ -1,12 +1,12 @@
|
||||
addPythonPath() {
|
||||
addToSearchPathWithCustomDelimiter : PYTHONPATH $1/lib/pypy2.3/site-packages
|
||||
addToSearchPathWithCustomDelimiter : PYTHONPATH $1/lib/pypy2.4/site-packages
|
||||
}
|
||||
|
||||
toPythonPath() {
|
||||
local paths="$1"
|
||||
local result=
|
||||
for i in $paths; do
|
||||
p="$i/lib/pypy2.3/site-packages"
|
||||
p="$i/lib/pypy2.4/site-packages"
|
||||
result="${result}${result:+:}$p"
|
||||
done
|
||||
echo $result
|
@ -38,7 +38,7 @@ stdenv.mkDerivation rec {
|
||||
description = "A prototype-based dynamic object-oriented programming language, environment, and virtual machine";
|
||||
homepage = "http://selflanguage.org/";
|
||||
license = stdenv.lib.licenses.bsd3;
|
||||
maintainer = [ stdenv.lib.maintainers.doublec ];
|
||||
maintainers = [ stdenv.lib.maintainers.doublec ];
|
||||
platforms = with stdenv.lib.platforms; linux;
|
||||
};
|
||||
}
|
||||
|
@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
|
||||
description = "Turn quickly bulky LAS files into compact LAZ files without information loss";
|
||||
homepage = http://www.laszip.org;
|
||||
license = stdenv.lib.licenses.lgpl2;
|
||||
maintainer = stdenv.lib.maintainers.michelk;
|
||||
maintainers = [ stdenv.lib.maintainers.michelk ];
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
|
@ -0,0 +1,213 @@
|
||||
|
||||
Context:
|
||||
|
||||
[Updated code to reflect changes to Agda.
|
||||
Nils Anders Danielsson <nils.anders.danielsson@gmail.com>**20140425121055
|
||||
Ignore-this: 54d80fd647cb897eef85f57e9172f7db
|
||||
]
|
||||
|
||||
[Workaround for (possible) Agda bug.
|
||||
Nils Anders Danielsson <nils.anders.danielsson@gmail.com>**20140228200347
|
||||
Ignore-this: b17884ad17a3bdb7faff678622365a8
|
||||
]
|
||||
|
||||
[Updated code to reflect changes to library API.
|
||||
Nils Anders Danielsson <nils.anders.danielsson@gmail.com>**20130307134644
|
||||
Ignore-this: 50d070a22a6796b9acdf19d44ba5de16
|
||||
]
|
||||
|
||||
[Updated code to reflect changes to Agda and the library API.
|
||||
Nils Anders Danielsson <nils.anders.danielsson@gmail.com>**20130228122951
|
||||
Ignore-this: 761dc4d85683a59cc3667a8706c88093
|
||||
]
|
||||
|
||||
[Turned _◇_ into a constructor.
|
||||
Nils Anders Danielsson <nils.anders.danielsson@gmail.com>**20120316125431
|
||||
Ignore-this: 41b492c3106a575f28f146253f78a5ae
|
||||
]
|
||||
|
||||
[Updated code to reflect changes to Agda.
|
||||
Nils Anders Danielsson <nils.anders.danielsson@gmail.com>**20120316125416
|
||||
Ignore-this: e77d817d8b391c3b4806119d10848eb3
|
||||
]
|
||||
|
||||
[Updated code to reflect changes to Agda.
|
||||
Nils Anders Danielsson <nils.anders.danielsson@gmail.com>**20120215103344
|
||||
Ignore-this: 467716429d5553cd122722108ea82a08
|
||||
]
|
||||
|
||||
[Modified a comment.
|
||||
Nils Anders Danielsson <nils.anders.danielsson@gmail.com>**20120215103319
|
||||
Ignore-this: e57d4911f692f8a96a80017d910efc5f
|
||||
]
|
||||
|
||||
[Updated code to reflect change to library API.
|
||||
Nils Anders Danielsson <nils.anders.danielsson@gmail.com>**20111006160229
|
||||
Ignore-this: 5359da54e7e6e0f92983fa3ecaccebf3
|
||||
]
|
||||
|
||||
[Updated code to reflect changes to Agda and the library API.
|
||||
Nils Anders Danielsson <nils.anders.danielsson@gmail.com>**20111003170117
|
||||
Ignore-this: cbdd35172e372779e12642985cf17268
|
||||
]
|
||||
|
||||
[Rolled back addition of inversion lemmas.
|
||||
Nils Anders Danielsson <nils.anders.danielsson@gmail.com>**20110930150912
|
||||
Ignore-this: 9c9b083f0afcf95aaaa55a01d871274e
|
||||
]
|
||||
|
||||
[Added inversion lemmas, implemented other lemmas using these lemmas.
|
||||
Nils Anders Danielsson <nils.anders.danielsson@gmail.com>**20110930150842
|
||||
Ignore-this: 19b832c3f9e14d1e713b5911c094a130
|
||||
+ This change was a response to a change to Agda's pattern matching
|
||||
machinery. Subsequently the machinery was made more liberal again,
|
||||
making this change unnecessary.
|
||||
]
|
||||
|
||||
[Updated code to reflect changes to library API.
|
||||
Nils Anders Danielsson <nils.anders.danielsson@gmail.com>**20110517220158
|
||||
Ignore-this: ea9771a5014a25cb20afc2118638f8b5
|
||||
]
|
||||
|
||||
[Updated code to reflect changes to Agda.
|
||||
Nils Anders Danielsson <nils.anders.danielsson@gmail.com>**20110512124425
|
||||
Ignore-this: 97b154661679f574f6ab914583b14580
|
||||
]
|
||||
|
||||
[Proved that many constructions preserve various preorders.
|
||||
Nils Anders Danielsson <nils.anders.danielsson@gmail.com>**20110313012617
|
||||
Ignore-this: 8008efaff967c228448baa33b82edb81
|
||||
]
|
||||
|
||||
[Updated code to reflect changes to library API.
|
||||
Nils Anders Danielsson <nils.anders.danielsson@gmail.com>**20110313002106
|
||||
Ignore-this: 94799ba1ae411e59fd8c6c7eac3b8dfb
|
||||
]
|
||||
|
||||
[Simplified TotalRecognisers.LeftRecursion.MatchingParentheses.
|
||||
Nils Anders Danielsson <nils.anders.danielsson@gmail.com>**20110118102159
|
||||
Ignore-this: 1e01a8092b0c0124979ffc5fe17a245c
|
||||
]
|
||||
|
||||
[Added TotalRecognisers.LeftRecursion.MatchingParentheses.
|
||||
Nils Anders Danielsson <nils.anders.danielsson@gmail.com>**20110118102146
|
||||
Ignore-this: 13a3bc91425364e26c3047561655bb25
|
||||
]
|
||||
|
||||
[Added a simplifying backend.
|
||||
Nils Anders Danielsson <nils.anders.danielsson@gmail.com>**20101229012716
|
||||
Ignore-this: 9ac7ae21cd44c099633678a994fb9a3
|
||||
]
|
||||
|
||||
[Fixed another "bug" in the deep simplifier.
|
||||
Nils Anders Danielsson <nils.anders.danielsson@gmail.com>**20101229010854
|
||||
Ignore-this: e258adf963436ef715242db23c6808e
|
||||
+ Sometimes the first layer of bind's right-hand argument was not
|
||||
simplified.
|
||||
]
|
||||
|
||||
[Made simplify₁ public and changed its type.
|
||||
Nils Anders Danielsson <nils.anders.danielsson@gmail.com>**20101228235603
|
||||
Ignore-this: d39b8453a15089126261e098080223c6
|
||||
]
|
||||
|
||||
[Deep simplification no longer adds casts.
|
||||
Nils Anders Danielsson <nils.anders.danielsson@gmail.com>**20101228192850
|
||||
Ignore-this: 2ba016825adfa3a1e36922869eabfd39
|
||||
]
|
||||
|
||||
[The first constructor in a simplified parser can no longer be a cast.
|
||||
Nils Anders Danielsson <nils.anders.danielsson@gmail.com>**20101228175822
|
||||
Ignore-this: ce3e38cc0b9a096aa436655c9013ae97
|
||||
]
|
||||
|
||||
[Modified the outline.
|
||||
Nils Anders Danielsson <nils.anders.danielsson@gmail.com>**20101228173414
|
||||
Ignore-this: f8866e69f6d1a344e79fb6f708dfa4c
|
||||
]
|
||||
|
||||
[Added an example: a right recursive expression grammar.
|
||||
Nils Anders Danielsson <nils.anders.danielsson@gmail.com>**20101228173159
|
||||
Ignore-this: 9a4d732b451cca08ba19aac5d115c678
|
||||
]
|
||||
|
||||
[Rearranged the code.
|
||||
Nils Anders Danielsson <nils.anders.danielsson@gmail.com>**20101228172209
|
||||
Ignore-this: 50fa29406d0f150669ff3feec4dbe513
|
||||
]
|
||||
|
||||
[Renamed same-bag/set to (initial-bag-)cong.
|
||||
Nils Anders Danielsson <nils.anders.danielsson@gmail.com>**20101228170706
|
||||
Ignore-this: dd3ce43d77dde74cc2428d2568dd2d30
|
||||
]
|
||||
|
||||
[Added TotalParserCombinators.Force.
|
||||
Nils Anders Danielsson <nils.anders.danielsson@gmail.com>**20101228153638
|
||||
Ignore-this: 3b6ff6ea20df0c1293494f06845d17eb
|
||||
]
|
||||
|
||||
[Proved that uses of subst can be erased.
|
||||
Nils Anders Danielsson <nils.anders.danielsson@gmail.com>**20101228153621
|
||||
Ignore-this: f503ba495b923ae521718b6957167128
|
||||
]
|
||||
|
||||
[The deep simplifier no longer skips layers.
|
||||
Nils Anders Danielsson <nils.anders.danielsson@gmail.com>**20101228141138
|
||||
Ignore-this: 733a4a4a9aa0f890ad1740ecfc6a599f
|
||||
]
|
||||
|
||||
[Documented that the deep simplifier misses every second layer.
|
||||
Nils Anders Danielsson <nils.anders.danielsson@gmail.com>**20101228121910
|
||||
Ignore-this: 8a0baf25b12f63f8748dbc1d16affacf
|
||||
]
|
||||
|
||||
[The simplifier now applies the token-bind rule more often.
|
||||
Nils Anders Danielsson <nils.anders.danielsson@gmail.com>**20101227165413
|
||||
Ignore-this: 40132fa6f19602886bbe29aadd8a683c
|
||||
]
|
||||
|
||||
[Switched back to deep simplification, now with a proper proof.
|
||||
Nils Anders Danielsson <nils.anders.danielsson@gmail.com>**20101227125434
|
||||
Ignore-this: ccc46e82f6f9c6c2a27ddb43d315f7dd
|
||||
]
|
||||
|
||||
[Simplified the soundness proof.
|
||||
Nils Anders Danielsson <nils.anders.danielsson@gmail.com>**20101227123839
|
||||
Ignore-this: fb6826dd9836e34fc3bfdce2928ba13d
|
||||
]
|
||||
|
||||
[Made some _≈[_]P_ constructors conditionally coinductive.
|
||||
Nils Anders Danielsson <nils.anders.danielsson@gmail.com>**20101227123827
|
||||
Ignore-this: f521f70475403697229051b62343a080
|
||||
+ The structure of the soundness proof was also changed.
|
||||
]
|
||||
|
||||
[Unified And, AsymmetricChoice and Not.
|
||||
Nils Anders Danielsson <nils.anders.danielsson@gmail.com>**20101225103109
|
||||
Ignore-this: 5ae8b80e1505fe6e707bb2307d22688c
|
||||
]
|
||||
|
||||
[Modified some comments.
|
||||
Nils Anders Danielsson <nils.anders.danielsson@gmail.com>**20101225101051
|
||||
Ignore-this: e812d8c3e9720895c368f7a286f8315c
|
||||
]
|
||||
|
||||
[Modified a comment.
|
||||
Nils Anders Danielsson <nils.anders.danielsson@gmail.com>**20101223202647
|
||||
Ignore-this: 16ea5dc01a4cbe0fe38714b2e4b7ff6
|
||||
]
|
||||
|
||||
[Updated code to reflect changes to library API.
|
||||
Nils Anders Danielsson <nils.anders.danielsson@gmail.com>**20101107162658
|
||||
Ignore-this: 9e38a10a9997c9825ece6ad9f871b673
|
||||
]
|
||||
|
||||
[Added an alternative backend for TotalRecognisers.Simple.
|
||||
Nils Anders Danielsson <nils.anders.danielsson@gmail.com>**20101020183743
|
||||
Ignore-this: a111a89e0c237e132b649561000f53d6
|
||||
]
|
||||
|
||||
[TAG Code corresponding to the paper "Total Parser Combinators" (4).
|
||||
Nils Anders Danielsson <nils.anders.danielsson@gmail.com>**20100928013815
|
||||
Ignore-this: 45ccc28373ed3974047315613eb14833
|
||||
]
|
@ -0,0 +1,25 @@
|
||||
{ stdenv, agda, fetchdarcs, AgdaStdlib }:
|
||||
|
||||
agda.mkDerivation (self: rec {
|
||||
version = "2014-09-27";
|
||||
name = "TotalParserCombinators-${version}";
|
||||
|
||||
src = fetchdarcs {
|
||||
url = "http://www.cse.chalmers.se/~nad/repos/parser-combinators.code/";
|
||||
context = ./contextfile;
|
||||
sha256 = "1rb8prqqp4dnz9s83ays7xfvpqs0n20vl1bg2zlg5si171j9rd4i";
|
||||
};
|
||||
|
||||
buildDepends = [ AgdaStdlib ];
|
||||
everythingFile = "TotalParserCombinators.agda";
|
||||
sourceDirectories = [];
|
||||
topSourceDirectories = [ "../$sourceRoot" ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "http://www.cse.chalmers.se/~nad/publications/danielsson-parser-combinators.html";
|
||||
description = "A monadic parser combinator library which guarantees termination of parsing";
|
||||
license = stdenv.lib.licenses.mit;
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
maintainers = with maintainers; [ fuuzetsu ];
|
||||
};
|
||||
})
|
@ -0,0 +1,26 @@
|
||||
{ stdenv, agda, fetchsvn }:
|
||||
|
||||
agda.mkDerivation (self: rec {
|
||||
version = "18437";
|
||||
name = "aaron-stump-stdlib-${version}";
|
||||
|
||||
src = fetchsvn {
|
||||
url = "https://svn.divms.uiowa.edu/repos/clc/projects/agda/lib";
|
||||
rev = version;
|
||||
sha256 = "1g6pwvrcir53ppf6wd8s62gizc3qy35mp229b66mh53abg4brik2";
|
||||
};
|
||||
|
||||
sourceDirectories = [ "./." ];
|
||||
buildPhase = ''
|
||||
patchShebangs find-deps.sh
|
||||
make
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = "https://svn.divms.uiowa.edu/repos/clc/projects/agda/lib/";
|
||||
description = "A standard library by Aaron Stump";
|
||||
license = stdenv.lib.licenses.free;
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
maintainers = with stdenv.lib.maintainers; [ fuuzetsu ];
|
||||
};
|
||||
})
|
23
pkgs/development/libraries/agda/agda-prelude/default.nix
Normal file
23
pkgs/development/libraries/agda/agda-prelude/default.nix
Normal file
@ -0,0 +1,23 @@
|
||||
{ stdenv, agda, fetchgit }:
|
||||
|
||||
agda.mkDerivation (self: rec {
|
||||
version = "d598f35d88596c5a63766a7188a0c0144e467c8c";
|
||||
name = "agda-prelude-${version}";
|
||||
|
||||
src = fetchgit {
|
||||
url = "https://github.com/UlfNorell/agda-prelude.git";
|
||||
rev = version;
|
||||
sha256 = "bdcffb675d0ad1bafa2b47f581b6a9b90347ae739b6218f89f365fda2cc4f8c8";
|
||||
};
|
||||
|
||||
topSourceDirectories = [ "src" ];
|
||||
everythingFile = "src/Prelude.agda";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "https://github.com/UlfNorell/agda-prelude";
|
||||
description = "Programming library for Agda";
|
||||
license = stdenv.lib.licenses.mit;
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
maintainers = with maintainers; [ fuuzetsu ];
|
||||
};
|
||||
})
|
7
pkgs/development/libraries/agda/pretty/contextfile
Normal file
7
pkgs/development/libraries/agda/pretty/contextfile
Normal file
@ -0,0 +1,7 @@
|
||||
|
||||
Context:
|
||||
|
||||
[TAG Correct-by-Construction Pretty-Printing (2013-06-14)
|
||||
Nils Anders Danielsson <nils.anders.danielsson@gmail.com>**20130614153155
|
||||
Ignore-this: a64ae32de9e22d60d64ef3da19847e00
|
||||
]
|
25
pkgs/development/libraries/agda/pretty/default.nix
Normal file
25
pkgs/development/libraries/agda/pretty/default.nix
Normal file
@ -0,0 +1,25 @@
|
||||
{ stdenv, agda, fetchdarcs, AgdaStdlib }:
|
||||
|
||||
agda.mkDerivation (self: rec {
|
||||
version = "2014-09-27";
|
||||
name = "pretty-${version}";
|
||||
|
||||
src = fetchdarcs {
|
||||
url = "http://www.cse.chalmers.se/~nad/repos/pretty/";
|
||||
context = ./contextfile;
|
||||
sha256 = "067pv55r3wlchbgjpx3ha5hyzr29y6xsix0ywwgirm8njcc8nv16";
|
||||
};
|
||||
|
||||
buildDepends = [ AgdaStdlib ];
|
||||
everythingFile = "Pretty.agda";
|
||||
sourceDirectories = [];
|
||||
topSourceDirectories = [ "../$sourceRoot" ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "http://www.cse.chalmers.se/~nad/publications/danielsson-correct-pretty.html";
|
||||
description = "Correct-by-Construction Pretty-Printing";
|
||||
license = stdenv.lib.licenses.mit;
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
maintainers = with maintainers; [ fuuzetsu ];
|
||||
};
|
||||
})
|
108
pkgs/development/libraries/ffmpeg/2.3.x.nix
Normal file
108
pkgs/development/libraries/ffmpeg/2.3.x.nix
Normal file
@ -0,0 +1,108 @@
|
||||
{ stdenv, fetchurl, config, pkgconfig, yasm, zlib, bzip2, alsaLib, texinfo, perl
|
||||
, lame, speex, libass, libtheora, libvorbis, libvpx, x264, xvidcore, libopus
|
||||
, libvdpau, libva, faac, libdc1394, libXext, libXfixes, SDL
|
||||
, freetype, fontconfig, fdk_aac, gnutls
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "2.3.3";
|
||||
name = "ffmpeg-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://www.ffmpeg.org/releases/${name}.tar.bz2";
|
||||
sha256 = "0ik4c06anh49r5b0d3rq9if4zl6ysjsa341655kzw22fl880sk5v";
|
||||
};
|
||||
|
||||
subtitleSupport = config.ffmpeg.subtitle or true;
|
||||
mp3Support = config.ffmpeg.mp3 or true;
|
||||
speexSupport = config.ffmpeg.speex or true;
|
||||
theoraSupport = config.ffmpeg.theora or true;
|
||||
vorbisSupport = config.ffmpeg.vorbis or true;
|
||||
vpxSupport = config.ffmpeg.vpx or true;
|
||||
x264Support = config.ffmpeg.x264 or true;
|
||||
xvidSupport = config.ffmpeg.xvid or true;
|
||||
opusSupport = config.ffmpeg.opus or true;
|
||||
vdpauSupport = config.ffmpeg.vdpau or true;
|
||||
vaapiSupport = config.ffmpeg.vaapi or true;
|
||||
faacSupport = config.ffmpeg.faac or false;
|
||||
fdkAACSupport = config.ffmpeg.fdk or false;
|
||||
dc1394Support = config.ffmpeg.dc1394 or false;
|
||||
x11grabSupport = config.ffmpeg.x11grab or false;
|
||||
playSupport = config.ffmpeg.play or true;
|
||||
freetypeSupport = config.ffmpeg.freetype or true;
|
||||
gnutlsSupport = config.ffmpeg.gnutls or true;
|
||||
|
||||
# `--enable-gpl' (as well as the `postproc' and `swscale') mean that
|
||||
# the resulting library is GPL'ed, so it can only be used in GPL'ed
|
||||
# applications.
|
||||
configureFlags = [
|
||||
"--enable-gpl"
|
||||
"--enable-postproc"
|
||||
"--enable-swscale"
|
||||
"--enable-shared"
|
||||
"--enable-avresample"
|
||||
"--enable-runtime-cpudetect"
|
||||
]
|
||||
++ stdenv.lib.optional (!stdenv.isDarwin && subtitleSupport) "--enable-libass"
|
||||
++ stdenv.lib.optional mp3Support "--enable-libmp3lame"
|
||||
++ stdenv.lib.optional speexSupport "--enable-libspeex"
|
||||
++ stdenv.lib.optional theoraSupport "--enable-libtheora"
|
||||
++ stdenv.lib.optional vorbisSupport "--enable-libvorbis"
|
||||
++ stdenv.lib.optional vpxSupport "--enable-libvpx"
|
||||
++ stdenv.lib.optional x264Support "--enable-libx264"
|
||||
++ stdenv.lib.optional xvidSupport "--enable-libxvid"
|
||||
++ stdenv.lib.optional opusSupport "--enable-libopus"
|
||||
++ stdenv.lib.optional vdpauSupport "--enable-vdpau"
|
||||
++ stdenv.lib.optional faacSupport "--enable-libfaac --enable-nonfree"
|
||||
++ stdenv.lib.optional dc1394Support "--enable-libdc1394"
|
||||
++ stdenv.lib.optional x11grabSupport "--enable-x11grab"
|
||||
++ stdenv.lib.optional (!stdenv.isDarwin && playSupport) "--enable-ffplay"
|
||||
++ stdenv.lib.optional freetypeSupport "--enable-libfreetype --enable-fontconfig"
|
||||
++ stdenv.lib.optional fdkAACSupport "--enable-libfdk_aac --enable-nonfree"
|
||||
++ stdenv.lib.optional gnutlsSupport "--enable-gnutls";
|
||||
|
||||
buildInputs = [ pkgconfig lame yasm zlib bzip2 texinfo perl ]
|
||||
++ stdenv.lib.optional mp3Support lame
|
||||
++ stdenv.lib.optional speexSupport speex
|
||||
++ stdenv.lib.optional theoraSupport libtheora
|
||||
++ stdenv.lib.optional vorbisSupport libvorbis
|
||||
++ stdenv.lib.optional vpxSupport libvpx
|
||||
++ stdenv.lib.optional x264Support x264
|
||||
++ stdenv.lib.optional xvidSupport xvidcore
|
||||
++ stdenv.lib.optional opusSupport libopus
|
||||
++ stdenv.lib.optional vdpauSupport libvdpau
|
||||
++ stdenv.lib.optional vaapiSupport libva
|
||||
++ stdenv.lib.optional faacSupport faac
|
||||
++ stdenv.lib.optional dc1394Support libdc1394
|
||||
++ stdenv.lib.optionals x11grabSupport [ libXext libXfixes ]
|
||||
++ stdenv.lib.optional (!stdenv.isDarwin && playSupport) SDL
|
||||
++ stdenv.lib.optionals freetypeSupport [ freetype fontconfig ]
|
||||
++ stdenv.lib.optional fdkAACSupport fdk_aac
|
||||
++ stdenv.lib.optional gnutlsSupport gnutls
|
||||
++ stdenv.lib.optional (!stdenv.isDarwin && subtitleSupport) libass
|
||||
++ stdenv.lib.optional (!stdenv.isDarwin) alsaLib;
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
crossAttrs = {
|
||||
dontSetConfigureCross = true;
|
||||
configureFlags = configureFlags ++ [
|
||||
"--cross-prefix=${stdenv.cross.config}-"
|
||||
"--enable-cross-compile"
|
||||
"--target_os=linux"
|
||||
"--arch=${stdenv.cross.arch}"
|
||||
];
|
||||
};
|
||||
|
||||
passthru = {
|
||||
inherit vdpauSupport;
|
||||
};
|
||||
|
||||
meta = {
|
||||
homepage = http://www.ffmpeg.org/;
|
||||
description = "A complete, cross-platform solution to record, convert and stream audio and video";
|
||||
license = if (fdkAACSupport || faacSupport) then stdenv.lib.licenses.unfree else stdenv.lib.licenses.gpl2Plus;
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
maintainers = with stdenv.lib.maintainers; [ fuuzetsu ];
|
||||
};
|
||||
}
|
@ -1,37 +0,0 @@
|
||||
{ fetchurl, stdenv, pkgconfig, glib, gtk, cairo, clutter, sqlite
|
||||
, clutter_gtk_0_10, libsoup /*, libmenphis */ }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "libchamplain-0.6.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/libchamplain/0.6/${name}.tar.gz";
|
||||
sha256 = "1l1in4khnral157j46aq2d26nviz23icnm353587vcwjhdbw86sg";
|
||||
};
|
||||
|
||||
buildInputs = [ pkgconfig ];
|
||||
|
||||
# These all appear in `champlain{,-gtk}-0.6.pc'.
|
||||
propagatedBuildInputs =
|
||||
[ glib gtk cairo clutter clutter_gtk_0_10 sqlite libsoup ];
|
||||
|
||||
configureFlags = [ "--disable-introspection" ]; # not needed anywhere AFAIK
|
||||
|
||||
meta = {
|
||||
homepage = http://projects.gnome.org/libchamplain/;
|
||||
license = stdenv.lib.licenses.lgpl2Plus;
|
||||
|
||||
description = "libchamplain, a C library providing a ClutterActor to display maps";
|
||||
|
||||
longDescription =
|
||||
'' libchamplain is a C library providing a ClutterActor to display
|
||||
maps. It also provides a Gtk+ widget to display maps in Gtk+
|
||||
applications. Python and Perl bindings are also available. It
|
||||
supports numerous free map sources such as OpenStreetMap,
|
||||
OpenCycleMap, OpenAerialMap, and Maps for free.
|
||||
'';
|
||||
|
||||
maintainers = [ ];
|
||||
platforms = stdenv.lib.platforms.gnu; # arbitrary choice
|
||||
};
|
||||
}
|
@ -13,6 +13,6 @@ stdenv.mkDerivation rec {
|
||||
homepage = http://libmpeg2.sourceforge.net/;
|
||||
description = "A free library for decoding mpeg-2 and mpeg-1 video streams";
|
||||
license = stdenv.lib.licenses.gpl2;
|
||||
maintainer = with stdenv.lib.maintainers; [ fuuzetsu ];
|
||||
maintainers = with stdenv.lib.maintainers; [ fuuzetsu ];
|
||||
};
|
||||
}
|
||||
|
@ -22,6 +22,10 @@ stdenv.mkDerivation rec {
|
||||
mkdir -pv $out
|
||||
tar xf $src
|
||||
mv */* $out
|
||||
|
||||
# so that it doesn't fail because of read-only permissions set
|
||||
patch -p1 -d $out < ${ ./make-standalone-toolchain.patch }
|
||||
|
||||
find $out \( \
|
||||
\( -type f -a -name "*.so*" \) -o \
|
||||
\( -type f -a -perm +0100 \) \
|
||||
|
@ -0,0 +1,13 @@
|
||||
diff -ru android-ndk-r9d.old/build/tools/make-standalone-toolchain.sh android-ndk-r9d/build/tools/make-standalone-toolchain.sh
|
||||
--- android-ndk-r9d.old/build/tools/make-standalone-toolchain.sh 2014-09-25 11:42:09.990500975 +0200
|
||||
+++ android-ndk-r9d/build/tools/make-standalone-toolchain.sh 2014-09-25 11:43:06.097501636 +0200
|
||||
@@ -252,6 +252,9 @@
|
||||
# Now copy the GCC toolchain prebuilt binaries
|
||||
run copy_directory "$TOOLCHAIN_PATH" "$TMPDIR"
|
||||
|
||||
+# Making it writable again
|
||||
+chmod -R +w "$TMPDIR"
|
||||
+
|
||||
# Replace soft-link mcld by real file
|
||||
ALL_LDS=`find $TMPDIR -name "*mcld"`
|
||||
for LD in $ALL_LDS; do
|
@ -4,6 +4,8 @@ let
|
||||
ocaml_version = (builtins.parseDrvName ocaml.name).version;
|
||||
in
|
||||
|
||||
assert stdenv.lib.versionAtLeast ocaml_version "3.12";
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "cryptokit-1.9";
|
||||
|
||||
|
@ -1,63 +0,0 @@
|
||||
diff -Naur ocamlnet-3.6.3.ori/configure ocamlnet-3.6.3/configure
|
||||
--- ocamlnet-3.6.3.ori/configure 2013-01-14 00:04:59.000000000 +0000
|
||||
+++ ocamlnet-3.6.3/configure 2013-06-02 21:33:08.000000000 +0000
|
||||
@@ -642,59 +642,6 @@
|
||||
exit 1
|
||||
fi
|
||||
|
||||
- printf "%s" "Checking whether lablgtk2 has GMain.Io.remove... "
|
||||
- mkdir -p tmp
|
||||
- cat <<EOF >tmp/gtk.ml
|
||||
-let _ = GMain.Io.remove;;
|
||||
-EOF
|
||||
-
|
||||
- if ocamlfind ocamlc -package lablgtk2 -c tmp/gtk.ml >/dev/null 2>/dev/null;
|
||||
- then
|
||||
- echo "yes"
|
||||
- else
|
||||
- echo "no"
|
||||
- echo "Your version of lablgtk2 is too old!"
|
||||
- exit 1
|
||||
- fi
|
||||
-
|
||||
- printf "%s" "Checking whether lablgtk2 has GMain.Io.add_watch with list support... "
|
||||
- mkdir -p tmp
|
||||
- cat <<'EOF' >tmp/gtk.ml
|
||||
-open GMain.Io
|
||||
-let _ = (add_watch : cond:condition list -> callback:(condition list -> bool) -> ?prio:int -> channel -> id);;
|
||||
-exit 0
|
||||
-EOF
|
||||
- # Note: this newer API is never broken in the sense checked below, i.e.
|
||||
- # such lablgtk2 versions do not exist.
|
||||
- if ocamlfind ocamlc -package unix,lablgtk2 -linkpkg -o tmp/gtk tmp/gtk.ml >/dev/null 2>/dev/null && tmp/gtk; then
|
||||
- echo "yes"
|
||||
- gtk2_io_add_watch_supports_lists="-ppopt -DGTK2_IO_ADD_WATCH_SUPPORTS_LISTS"
|
||||
- else
|
||||
- echo "no"
|
||||
- printf "%s" "Checking whether lablgtk2's GMain.Io.add_watch is broken... "
|
||||
- mkdir -p tmp
|
||||
- cat <<'EOF' >tmp/gtk.ml
|
||||
-GMain.Main.init();;
|
||||
-let ch = GMain.Io.channel_of_descr (Unix.stdout) in
|
||||
-let w = GMain.Io.add_watch
|
||||
- ~cond:`OUT ~callback:(fun () -> true) ch in
|
||||
-(* add_watch is broken when it just returns Val_unit, and ok when it
|
||||
- * returns a positive int
|
||||
- *)
|
||||
-if (Obj.magic w : int) > 0 then
|
||||
- exit 0
|
||||
-else
|
||||
- exit 1
|
||||
-EOF
|
||||
- if ocamlfind ocamlc -package unix,lablgtk2 -linkpkg -o tmp/gtk tmp/gtk.ml >/dev/null 2>/dev/null && tmp/gtk; then
|
||||
- echo "no"
|
||||
- else
|
||||
- echo "yes"
|
||||
- echo "You should apply the patch-ab-ml_glib.c to lablgtk2 to fix this!"
|
||||
- exit 1
|
||||
- fi
|
||||
- fi
|
||||
-
|
||||
for f in Makefile uq_gtk.ml uq_gtk.mli uq_gtk_helper.ml; do
|
||||
rm -f src/equeue-gtk2/$f
|
||||
ln -s ../equeue-gtk1/$f src/equeue-gtk2
|
@ -5,19 +5,17 @@ let
|
||||
in
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "ocamlnet-3.7.3";
|
||||
name = "ocamlnet-3.7.6";
|
||||
|
||||
src = fetchurl {
|
||||
url = http://download.camlcity.org/download/ocamlnet-3.7.3.tar.gz;
|
||||
sha256 = "0s24icyrxkqqai91rgxpf52s1fx70j7p12c8vq9vcmvdhll6kp2d";
|
||||
url = http://download.camlcity.org/download/ocamlnet-3.7.6.tar.gz;
|
||||
sha256 = "0z17kxn1cyn1x5wgajw737m9rsjwji823rxdwvv8a5239xd1whji";
|
||||
};
|
||||
|
||||
buildInputs = [ncurses ocaml findlib ocaml_pcre camlzip openssl ocaml_ssl cryptokit];
|
||||
|
||||
propagatedbuildInputs = [ncurses ocaml_pcre camlzip openssl ocaml_ssl cryptokit];
|
||||
|
||||
patches = [ ./configure.patch ];
|
||||
|
||||
createFindlibDestdir = true;
|
||||
|
||||
dontAddPrefix = true;
|
||||
|
@ -1,6 +1,5 @@
|
||||
{ stdenv, fetchgit, pkgconfig, makeWrapper, python27
|
||||
, retroarch, fluidsynth, mesa, SDL, libav, libpng, libjpeg, libvorbis
|
||||
, zlib }:
|
||||
{ stdenv, fetchgit, pkgconfig, makeWrapper, python27, retroarch
|
||||
, fluidsynth, mesa, SDL, ffmpeg, libpng, libjpeg, libvorbis, zlib }:
|
||||
|
||||
let
|
||||
|
||||
@ -179,7 +178,7 @@ in
|
||||
};
|
||||
description = "ppsspp libretro port";
|
||||
|
||||
extraBuildInputs = [ mesa libav ];
|
||||
extraBuildInputs = [ mesa ffmpeg ];
|
||||
}).override{
|
||||
buildPhase = "cd libretro && make";
|
||||
};
|
||||
|
@ -36,6 +36,6 @@ stdenv.mkDerivation rec {
|
||||
X session.
|
||||
'';
|
||||
platforms = with stdenv.lib.platforms; allBut cygwin;
|
||||
maintainers = stdenv.lib.maintainers.ftrvxmtrx;
|
||||
maintainers = [ stdenv.lib.maintainers.ftrvxmtrx ];
|
||||
};
|
||||
}
|
||||
|
@ -2,11 +2,11 @@
|
||||
, libXinerama, glib, cairo, xdotool }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "keynav-0.20101014.3067";
|
||||
name = "keynav-0.20110708.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://semicomplete.googlecode.com/files/${name}.tar.gz";
|
||||
sha256 = "05jpq17xqccv97mrqq2rgm4jwq4s8lkyq49rfaq7sz4gbnq1832k";
|
||||
sha256 = "1gizjhji3yspxxxvb90js3z1bv18rbf5phxg8rciixpj3cccff8z";
|
||||
};
|
||||
|
||||
buildInputs = [ pkgconfig libX11 xextproto libXtst libXi libXext libXinerama
|
||||
|
@ -30,7 +30,7 @@ stdenv.mkDerivation rec {
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://github.com/jamielinux/bashmount;
|
||||
description = "A menu-driven bash script for the management of removable media with udisks";
|
||||
maintainers = maintainers.koral;
|
||||
maintainers = [ maintainers.koral ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
||||
|
@ -27,6 +27,6 @@ stdenv.mkDerivation rec {
|
||||
homepage = "http://binwalk.org";
|
||||
description = "A tool for searching a given binary image for embedded files";
|
||||
platforms = platforms.all;
|
||||
maintainers = maintainers.koral;
|
||||
maintainers = [ maintainers.koral ];
|
||||
};
|
||||
}
|
||||
|
@ -3880,7 +3880,7 @@ let
|
||||
python33 = callPackage ../development/interpreters/python/3.3 { };
|
||||
python34 = hiPrio (callPackage ../development/interpreters/python/3.4 { });
|
||||
|
||||
pypy = callPackage ../development/interpreters/pypy/2.3 { };
|
||||
pypy = callPackage ../development/interpreters/pypy/2.4 { };
|
||||
|
||||
python26Full = callPackage ../development/interpreters/python/wrapper.nix {
|
||||
extraLibs = [];
|
||||
@ -4850,6 +4850,8 @@ let
|
||||
vpxSupport = !stdenv.isMips;
|
||||
};
|
||||
|
||||
ffmpeg_2_3 = callPackage ../development/libraries/ffmpeg/2.3.x.nix { };
|
||||
|
||||
ffmpeg_2 = callPackage ../development/libraries/ffmpeg/2.x.nix { };
|
||||
|
||||
ffmpeg = ffmpeg_2;
|
||||
@ -5380,8 +5382,6 @@ let
|
||||
inherit (gnome) libsoup;
|
||||
};
|
||||
|
||||
libchamplain_0_6 = callPackage ../development/libraries/libchamplain/0.6.nix {};
|
||||
|
||||
libchardet = callPackage ../development/libraries/libchardet { };
|
||||
|
||||
libchop = callPackage ../development/libraries/libchop { };
|
||||
@ -6784,6 +6784,8 @@ let
|
||||
|
||||
### DEVELOPMENT / LIBRARIES / AGDA
|
||||
|
||||
aaronStumpStdlib = callPackage ../development/libraries/agda/aaron-stump-stdlib {};
|
||||
|
||||
agda = callPackage ../build-support/agda {
|
||||
glibcLocales = if pkgs.stdenv.isLinux then pkgs.glibcLocales else null;
|
||||
extension = self : super : {};
|
||||
@ -6791,6 +6793,8 @@ let
|
||||
inherit writeScriptBin;
|
||||
};
|
||||
|
||||
agdaPrelude = callPackage ../development/libraries/agda/agda-prelude {};
|
||||
|
||||
AgdaStdlib = callPackage ../development/compilers/agda/stdlib.nix {
|
||||
inherit (haskellPackages) ghc filemanip;
|
||||
};
|
||||
@ -6801,6 +6805,10 @@ let
|
||||
|
||||
categories = callPackage ../development/libraries/agda/categories {};
|
||||
|
||||
pretty = callPackage ../development/libraries/agda/pretty {};
|
||||
|
||||
TotalParserCombinators = callPackage ../development/libraries/agda/TotalParserCombinators {};
|
||||
|
||||
### DEVELOPMENT / LIBRARIES / JAVA
|
||||
|
||||
atermjava = callPackage ../development/libraries/java/aterm {
|
||||
@ -10405,7 +10413,9 @@ let
|
||||
inherit (xlibs) libX11;
|
||||
};
|
||||
|
||||
vlc = callPackage ../applications/video/vlc { };
|
||||
vlc = callPackage ../applications/video/vlc {
|
||||
ffmpeg = ffmpeg_2_3;
|
||||
};
|
||||
|
||||
vmpk = callPackage ../applications/audio/vmpk { };
|
||||
|
||||
|
@ -433,12 +433,11 @@ let
|
||||
|
||||
|
||||
area53 = buildPythonPackage (rec {
|
||||
name = "area53-b2c9cdcabd";
|
||||
name = "Area53-0.94";
|
||||
|
||||
src = fetchgit {
|
||||
url = git://github.com/bigmlcom/Area53.git;
|
||||
rev = "b2c9cdcabd";
|
||||
sha256 = "b0c12b8c48ed9180c7475fab18de50d63e1b517cfb46da4d2c66fc406fe902bc";
|
||||
src = fetchurl {
|
||||
url = "https://pypi.python.org/packages/source/A/Area53/${name}.tar.gz";
|
||||
sha256 = "0v9b7f8b6v21y410anx5sr52k2ac8jrzdf19q6m6p0zsdsf9vr42";
|
||||
};
|
||||
|
||||
# error: invalid command 'test'
|
||||
@ -5247,12 +5246,12 @@ let
|
||||
});
|
||||
|
||||
nose = buildPythonPackage rec {
|
||||
version = "1.3.3";
|
||||
version = "1.3.4";
|
||||
name = "nose-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://pypi.python.org/packages/source/n/nose/${name}.tar.gz";
|
||||
sha256 = "09h3a74hzw1cfx4ic19ibxq8kg6sl1n64px2mmb57f5yd3r2y35l";
|
||||
sha256 = "00qymfgwg4iam4xi0w9bnv7lcb3fypq1hzfafzgs1rfmwaj67g3n";
|
||||
};
|
||||
|
||||
buildInputs = [ coverage ];
|
||||
@ -9276,12 +9275,12 @@ let
|
||||
};
|
||||
|
||||
|
||||
werkzeug = buildPythonPackage {
|
||||
name = "werkzeug-0.9.4";
|
||||
werkzeug = buildPythonPackage rec {
|
||||
name = "Werkzeug-0.9.6";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://pypi.python.org/packages/source/W/Werkzeug/Werkzeug-0.9.4.tar.gz";
|
||||
md5 = "670fad41f57c13b71a6816765765a3dd";
|
||||
url = "http://pypi.python.org/packages/source/W/Werkzeug/${name}.tar.gz";
|
||||
md5 = "f7afcadc03b0f2267bdc156c34586043";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ itsdangerous ];
|
||||
|
Loading…
Reference in New Issue
Block a user