Merge master into x-updates
Conflicts (re-created on master, preserved): pkgs/development/compilers/llvm/3.3/more-memory-for-bugpoint.patch
This commit is contained in:
commit
7e0b78f7b2
@ -35,6 +35,7 @@
|
|||||||
ktosiek = "Tomasz Kontusz <tomasz.kontusz@gmail.com>";
|
ktosiek = "Tomasz Kontusz <tomasz.kontusz@gmail.com>";
|
||||||
lovek323 = "Jason O'Conal <jason@oconal.id.au>";
|
lovek323 = "Jason O'Conal <jason@oconal.id.au>";
|
||||||
ludo = "Ludovic Courtès <ludo@gnu.org>";
|
ludo = "Ludovic Courtès <ludo@gnu.org>";
|
||||||
|
madjar = "Georges Dubus <georges.dubus@compiletoi.net>";
|
||||||
marcweber = "Marc Weber <marco-oweber@gmx.de>";
|
marcweber = "Marc Weber <marco-oweber@gmx.de>";
|
||||||
matejc = "Matej Cotman <cotman.matej@gmail.com>";
|
matejc = "Matej Cotman <cotman.matej@gmail.com>";
|
||||||
modulistic = "Pablo Costa <modulistic@gmail.com>";
|
modulistic = "Pablo Costa <modulistic@gmail.com>";
|
||||||
@ -57,6 +58,7 @@
|
|||||||
shlevy = "Shea Levy <shea@shealevy.com>";
|
shlevy = "Shea Levy <shea@shealevy.com>";
|
||||||
simons = "Peter Simons <simons@cryp.to>";
|
simons = "Peter Simons <simons@cryp.to>";
|
||||||
smironov = "Sergey Mironov <ierton@gmail.com>";
|
smironov = "Sergey Mironov <ierton@gmail.com>";
|
||||||
|
sprock = "Roger Mason <rmason@mun.ca>";
|
||||||
thammers = "Tobias Hammerschmidt <jawr@gmx.de>";
|
thammers = "Tobias Hammerschmidt <jawr@gmx.de>";
|
||||||
the-kenny = "Moritz Ulrich <moritz@tarn-vedra.de>";
|
the-kenny = "Moritz Ulrich <moritz@tarn-vedra.de>";
|
||||||
tomberek = "Thomas Bereknyei <tomberek@gmail.com>";
|
tomberek = "Thomas Bereknyei <tomberek@gmail.com>";
|
||||||
|
@ -14,7 +14,7 @@ rec {
|
|||||||
addMetaAttrs {description = "Bla blah";} somePkg
|
addMetaAttrs {description = "Bla blah";} somePkg
|
||||||
*/
|
*/
|
||||||
addMetaAttrs = newAttrs: drv:
|
addMetaAttrs = newAttrs: drv:
|
||||||
drv // { meta = (if drv ? meta then drv.meta else {}) // newAttrs; };
|
drv // { meta = (drv.meta or {}) // newAttrs; };
|
||||||
|
|
||||||
|
|
||||||
/* Change the symbolic name of a package for presentation purposes
|
/* Change the symbolic name of a package for presentation purposes
|
||||||
|
@ -1 +0,0 @@
|
|||||||
improvements to vsftpd module
|
|
@ -495,6 +495,8 @@ sub waitForX {
|
|||||||
my ($self, $regexp) = @_;
|
my ($self, $regexp) = @_;
|
||||||
$self->nest("waiting for the X11 server", sub {
|
$self->nest("waiting for the X11 server", sub {
|
||||||
retry sub {
|
retry sub {
|
||||||
|
my ($status, $out) = $self->execute("journalctl -bu systemd-logind | grep Linked");
|
||||||
|
return 0 if $status != 0;
|
||||||
my ($status, $out) = $self->execute("xwininfo -root > /dev/null 2>&1");
|
my ($status, $out) = $self->execute("xwininfo -root > /dev/null 2>&1");
|
||||||
return 1 if $status == 0;
|
return 1 if $status == 0;
|
||||||
}
|
}
|
||||||
|
@ -168,6 +168,7 @@
|
|||||||
./services/networking/ifplugd.nix
|
./services/networking/ifplugd.nix
|
||||||
./services/networking/iodined.nix
|
./services/networking/iodined.nix
|
||||||
./services/networking/ircd-hybrid/default.nix
|
./services/networking/ircd-hybrid/default.nix
|
||||||
|
./services/networking/kippo.nix
|
||||||
./services/networking/minidlna.nix
|
./services/networking/minidlna.nix
|
||||||
./services/networking/nat.nix
|
./services/networking/nat.nix
|
||||||
./services/networking/networkmanager.nix
|
./services/networking/networkmanager.nix
|
||||||
@ -200,6 +201,7 @@
|
|||||||
./services/scheduling/fcron.nix
|
./services/scheduling/fcron.nix
|
||||||
./services/search/elasticsearch.nix
|
./services/search/elasticsearch.nix
|
||||||
./services/security/clamav.nix
|
./services/security/clamav.nix
|
||||||
|
./services/security/haveged.nix
|
||||||
./services/security/fprot.nix
|
./services/security/fprot.nix
|
||||||
./services/security/frandom.nix
|
./services/security/frandom.nix
|
||||||
./services/security/tor.nix
|
./services/security/tor.nix
|
||||||
@ -213,6 +215,7 @@
|
|||||||
./services/torrent/transmission.nix
|
./services/torrent/transmission.nix
|
||||||
./services/ttys/gpm.nix
|
./services/ttys/gpm.nix
|
||||||
./services/ttys/agetty.nix
|
./services/ttys/agetty.nix
|
||||||
|
./services/ttys/kmscon.nix
|
||||||
./services/web-servers/apache-httpd/default.nix
|
./services/web-servers/apache-httpd/default.nix
|
||||||
./services/web-servers/jboss/default.nix
|
./services/web-servers/jboss/default.nix
|
||||||
./services/web-servers/lighttpd/default.nix
|
./services/web-servers/lighttpd/default.nix
|
||||||
@ -231,6 +234,7 @@
|
|||||||
./services/x11/hardware/multitouch.nix
|
./services/x11/hardware/multitouch.nix
|
||||||
./services/x11/hardware/synaptics.nix
|
./services/x11/hardware/synaptics.nix
|
||||||
./services/x11/hardware/wacom.nix
|
./services/x11/hardware/wacom.nix
|
||||||
|
./services/x11/mesa.nix
|
||||||
./services/x11/window-managers/awesome.nix
|
./services/x11/window-managers/awesome.nix
|
||||||
#./services/x11/window-managers/compiz.nix
|
#./services/x11/window-managers/compiz.nix
|
||||||
./services/x11/window-managers/default.nix
|
./services/x11/window-managers/default.nix
|
||||||
|
@ -113,6 +113,11 @@ in zipModules ([]
|
|||||||
# !!! this hardcodes bash, could we detect from config which shell is actually used?
|
# !!! this hardcodes bash, could we detect from config which shell is actually used?
|
||||||
++ obsolete [ "environment" "promptInit" ] [ "programs" "bash" "promptInit" ]
|
++ obsolete [ "environment" "promptInit" ] [ "programs" "bash" "promptInit" ]
|
||||||
|
|
||||||
|
++ obsolete [ "services" "xserver" "driSupport" ] [ "services" "mesa" "driSupport" ]
|
||||||
|
++ obsolete [ "services" "xserver" "driSupport32Bit" ] [ "services" "mesa" "driSupport32Bit" ]
|
||||||
|
++ obsolete [ "services" "xserver" "s3tcSupport" ] [ "services" "mesa" "s3tcSupport" ]
|
||||||
|
++ obsolete [ "services" "xserver" "videoDrivers" ] [ "services" "mesa" "videoDrivers" ]
|
||||||
|
|
||||||
# Options that are obsolete and have no replacement.
|
# Options that are obsolete and have no replacement.
|
||||||
++ obsolete' [ "boot" "loader" "grub" "bootDevice" ]
|
++ obsolete' [ "boot" "loader" "grub" "bootDevice" ]
|
||||||
++ obsolete' [ "boot" "initrd" "luks" "enable" ]
|
++ obsolete' [ "boot" "initrd" "luks" "enable" ]
|
||||||
|
115
nixos/modules/services/networking/kippo.nix
Normal file
115
nixos/modules/services/networking/kippo.nix
Normal file
@ -0,0 +1,115 @@
|
|||||||
|
# NixOS module for kippo honeypot ssh server
|
||||||
|
# See all the options for configuration details.
|
||||||
|
#
|
||||||
|
# Default port is 2222. Recommend using something like this for port redirection to default SSH port:
|
||||||
|
# networking.firewall.extraCommands = ''
|
||||||
|
# iptables -t nat -A PREROUTING -i IN_IFACE -p tcp --dport 22 -j REDIRECT --to-port 2222'';
|
||||||
|
#
|
||||||
|
# Lastly: use this service at your own risk. I am working on a way to run this inside a VM.
|
||||||
|
{ pkgs, config, ... }:
|
||||||
|
with pkgs.lib;
|
||||||
|
let
|
||||||
|
cfg = config.services.kippo;
|
||||||
|
in
|
||||||
|
rec {
|
||||||
|
options = {
|
||||||
|
services.kippo = {
|
||||||
|
enable = mkOption {
|
||||||
|
default = false;
|
||||||
|
type = types.uniq types.bool;
|
||||||
|
description = ''Enable the kippo honeypot ssh server.'';
|
||||||
|
};
|
||||||
|
port = mkOption {
|
||||||
|
default = 2222;
|
||||||
|
type = types.uniq types.int;
|
||||||
|
description = ''TCP port number for kippo to bind to.'';
|
||||||
|
};
|
||||||
|
hostname = mkOption {
|
||||||
|
default = "nas3";
|
||||||
|
type = types.string;
|
||||||
|
description = ''Hostname for kippo to present to SSH login'';
|
||||||
|
};
|
||||||
|
varPath = mkOption {
|
||||||
|
default = "/var/lib/kippo";
|
||||||
|
type = types.string;
|
||||||
|
description = ''Path of read/write files needed for operation and configuration.'';
|
||||||
|
};
|
||||||
|
logPath = mkOption {
|
||||||
|
default = "/var/log/kippo";
|
||||||
|
type = types.string;
|
||||||
|
description = ''Path of log files needed for operation and configuration.'';
|
||||||
|
};
|
||||||
|
pidPath = mkOption {
|
||||||
|
default = "/run/kippo";
|
||||||
|
type = types.string;
|
||||||
|
description = ''Path of pid files needed for operation.'';
|
||||||
|
};
|
||||||
|
extraConfig = mkOption {
|
||||||
|
default = "";
|
||||||
|
type = types.string;
|
||||||
|
description = ''Extra verbatim configuration added to the end of kippo.cfg.'';
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
};
|
||||||
|
config = mkIf cfg.enable {
|
||||||
|
environment.systemPackages = with pkgs.pythonPackages; [
|
||||||
|
python twisted pycrypto pyasn1 ];
|
||||||
|
|
||||||
|
environment.etc."kippo.cfg".text = ''
|
||||||
|
# Automatically generated by NixOS.
|
||||||
|
# See ${pkgs.kippo}/src/kippo.cfg for details.
|
||||||
|
[honeypot]
|
||||||
|
log_path = ${cfg.logPath}
|
||||||
|
download_path = ${cfg.logPath}/dl
|
||||||
|
filesystem_file = ${cfg.varPath}/honeyfs
|
||||||
|
filesystem_file = ${cfg.varPath}/fs.pickle
|
||||||
|
data_path = ${cfg.varPath}/data
|
||||||
|
txtcmds_path = ${cfg.varPath}/txtcmds
|
||||||
|
public_key = ${cfg.varPath}/keys/public.key
|
||||||
|
private_key = ${cfg.varPath}/keys/private.key
|
||||||
|
ssh_port = ${toString cfg.port}
|
||||||
|
hostname = ${cfg.hostname}
|
||||||
|
${cfg.extraConfig}
|
||||||
|
'';
|
||||||
|
|
||||||
|
users.extraUsers = singleton {
|
||||||
|
name = "kippo";
|
||||||
|
description = "kippo web server privilege separation user";
|
||||||
|
};
|
||||||
|
users.extraGroups = singleton { name = "kippo"; };
|
||||||
|
|
||||||
|
systemd.services.kippo = with pkgs; {
|
||||||
|
description = "Kippo Web Server";
|
||||||
|
after = [ "network.target" ];
|
||||||
|
wantedBy = [ "multi-user.target" ];
|
||||||
|
environment.PYTHONPATH = "${pkgs.kippo}/src/:${pkgs.pythonPackages.pycrypto}/lib/python2.7/site-packages/:${pkgs.pythonPackages.pyasn1}/lib/python2.7/site-packages/:${pkgs.pythonPackages.python}/lib/python2.7/site-packages/:${pkgs.pythonPackages.twisted}/lib/python2.7/site-packages/:.";
|
||||||
|
preStart = ''
|
||||||
|
if [ ! -d ${cfg.varPath}/ ] ; then
|
||||||
|
mkdir -p ${cfg.pidPath}
|
||||||
|
mkdir -p ${cfg.logPath}/tty
|
||||||
|
mkdir -p ${cfg.logPath}/dl
|
||||||
|
mkdir -p ${cfg.varPath}/keys
|
||||||
|
cp ${pkgs.kippo}/src/honeyfs ${cfg.varPath} -r
|
||||||
|
cp ${pkgs.kippo}/src/fs.pickle ${cfg.varPath}/fs.pickle
|
||||||
|
cp ${pkgs.kippo}/src/data ${cfg.varPath} -r
|
||||||
|
cp ${pkgs.kippo}/src/txtcmds ${cfg.varPath} -r
|
||||||
|
|
||||||
|
chmod u+rw ${cfg.varPath} -R
|
||||||
|
chmod u+rw ${cfg.pidPath}
|
||||||
|
chown kippo.kippo ${cfg.varPath} -R
|
||||||
|
chown kippo.kippo ${cfg.pidPath}
|
||||||
|
chown kippo.kippo ${cfg.logPath} -R
|
||||||
|
chmod u+rw ${cfg.logPath} -R
|
||||||
|
fi
|
||||||
|
'';
|
||||||
|
|
||||||
|
serviceConfig.ExecStart = "${pkgs.pythonPackages.twisted}/bin/twistd -y ${pkgs.kippo}/src/kippo.tac --syslog --rundir=${cfg.varPath}/ --pidfile=${cfg.pidPath}/kippo.pid --prefix=kippo -n";
|
||||||
|
serviceConfig.PermissionsStartOnly = true;
|
||||||
|
serviceConfig.User = "kippo";
|
||||||
|
serviceConfig.Group = "kippo";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
|
63
nixos/modules/services/security/haveged.nix
Normal file
63
nixos/modules/services/security/haveged.nix
Normal file
@ -0,0 +1,63 @@
|
|||||||
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
|
with pkgs.lib;
|
||||||
|
|
||||||
|
let
|
||||||
|
|
||||||
|
cfg = config.services.haveged;
|
||||||
|
|
||||||
|
in
|
||||||
|
|
||||||
|
|
||||||
|
{
|
||||||
|
|
||||||
|
###### interface
|
||||||
|
|
||||||
|
options = {
|
||||||
|
|
||||||
|
services.haveged = {
|
||||||
|
|
||||||
|
enable = mkOption {
|
||||||
|
type = types.bool;
|
||||||
|
default = false;
|
||||||
|
description = ''
|
||||||
|
Whether to enable to haveged entropy daemon, which refills
|
||||||
|
/dev/random when low.
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
|
refill_threshold = mkOption {
|
||||||
|
type = types.int;
|
||||||
|
default = 1024;
|
||||||
|
description = ''
|
||||||
|
The number of bits of available entropy beneath which
|
||||||
|
haveged should refill the entropy pool.
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
###### implementation
|
||||||
|
|
||||||
|
config = mkIf cfg.enable {
|
||||||
|
|
||||||
|
systemd.services.haveged =
|
||||||
|
{ description = "Entropy Harvesting Daemon";
|
||||||
|
unitConfig.documentation = "man:haveged(8)";
|
||||||
|
wantedBy = [ "multi-user.target" ];
|
||||||
|
|
||||||
|
path = [ pkgs.haveged ];
|
||||||
|
|
||||||
|
serviceConfig =
|
||||||
|
{ Type = "forking";
|
||||||
|
ExecStart = "${pkgs.haveged}/sbin/haveged -w ${toString cfg.refill_threshold} -v 1";
|
||||||
|
PIDFile = "/run/haveged.pid";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
78
nixos/modules/services/ttys/kmscon.nix
Normal file
78
nixos/modules/services/ttys/kmscon.nix
Normal file
@ -0,0 +1,78 @@
|
|||||||
|
{ config, pkgs, ... }:
|
||||||
|
let
|
||||||
|
inherit (pkgs.lib) mkOption types mkIf optionalString;
|
||||||
|
|
||||||
|
cfg = config.services.kmscon;
|
||||||
|
|
||||||
|
configDir = pkgs.writeTextFile { name = "kmscon-config"; destination = "/kmscon.conf"; text = cfg.extraConfig; };
|
||||||
|
in {
|
||||||
|
options = {
|
||||||
|
services.kmscon = {
|
||||||
|
enable = mkOption {
|
||||||
|
description = ''
|
||||||
|
Use kmscon as the virtual console instead of gettys.
|
||||||
|
kmscon is a kms/dri-based userspace virtual terminal implementation.
|
||||||
|
It supports a richer feature set than the standard linux console VT,
|
||||||
|
including full unicode support, and when the video card supports drm
|
||||||
|
should be much faster.
|
||||||
|
'';
|
||||||
|
type = types.bool;
|
||||||
|
default = false;
|
||||||
|
};
|
||||||
|
|
||||||
|
hwRender = mkOption {
|
||||||
|
description = "Whether to use 3D hardware acceleration to render the console.";
|
||||||
|
type = types.bool;
|
||||||
|
default = false;
|
||||||
|
};
|
||||||
|
|
||||||
|
extraConfig = mkOption {
|
||||||
|
description = "Extra contents of the kmscon.conf file.";
|
||||||
|
type = types.lines;
|
||||||
|
default = "";
|
||||||
|
example = "font-size=14";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
config = mkIf cfg.enable {
|
||||||
|
# Largely copied from unit provided with kmscon source
|
||||||
|
systemd.units."kmsconvt@.service".text = ''
|
||||||
|
[Unit]
|
||||||
|
Description=KMS System Console on %I
|
||||||
|
Documentation=man:kmscon(1)
|
||||||
|
After=systemd-user-sessions.service
|
||||||
|
After=plymouth-quit-wait.service
|
||||||
|
After=systemd-logind.service
|
||||||
|
Requires=systemd-logind.service
|
||||||
|
Before=getty.target
|
||||||
|
Conflicts=getty@%i.service
|
||||||
|
OnFailure=getty@%i.service
|
||||||
|
IgnoreOnIsolate=yes
|
||||||
|
ConditionPathExists=/dev/tty0
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
ExecStart=${pkgs.kmscon}/bin/kmscon "--vt=%I" --seats=seat0 --no-switchvt --configdir ${configDir} --login -- ${pkgs.shadow}/bin/login -p
|
||||||
|
UtmpIdentifier=%I
|
||||||
|
TTYPath=/dev/%I
|
||||||
|
TTYReset=yes
|
||||||
|
TTYVHangup=yes
|
||||||
|
TTYVTDisallocate=yes
|
||||||
|
|
||||||
|
X-RestartIfChanged=false
|
||||||
|
'';
|
||||||
|
|
||||||
|
systemd.units."autovt@.service".linkTarget = "${config.systemd.units."kmsconvt@.service".unit}/kmsconvt@.service";
|
||||||
|
|
||||||
|
systemd.services."systemd-vconsole-setup".restartIfChanged = false;
|
||||||
|
|
||||||
|
systemd.units."kmsconvt@tty1.service".extraConfig.wait-for-vconsole-setup = "After=systemd-vconsole-setup.service";
|
||||||
|
|
||||||
|
services.kmscon.extraConfig = mkIf cfg.hwRender ''
|
||||||
|
drm
|
||||||
|
hwaccel
|
||||||
|
'';
|
||||||
|
|
||||||
|
services.mesa.enable = mkIf cfg.hwRender true;
|
||||||
|
};
|
||||||
|
}
|
@ -103,6 +103,11 @@ let
|
|||||||
|
|
||||||
${cfg.displayManager.sessionCommands}
|
${cfg.displayManager.sessionCommands}
|
||||||
|
|
||||||
|
# Allow the user to execute commands at the beginning of the X session.
|
||||||
|
if test -f ~/.xprofile; then
|
||||||
|
source ~/.xprofile
|
||||||
|
fi
|
||||||
|
|
||||||
# Allow the user to setup a custom session type.
|
# Allow the user to setup a custom session type.
|
||||||
if test -x ~/.xsession; then
|
if test -x ~/.xsession; then
|
||||||
exec ~/.xsession
|
exec ~/.xsession
|
||||||
|
117
nixos/modules/services/x11/mesa.nix
Normal file
117
nixos/modules/services/x11/mesa.nix
Normal file
@ -0,0 +1,117 @@
|
|||||||
|
{ config, pkgs, pkgs_i686, ... }:
|
||||||
|
let
|
||||||
|
inherit (pkgs.lib) mkOption types mkIf optional optionals elem optionalString optionalAttrs;
|
||||||
|
|
||||||
|
cfg = config.services.mesa;
|
||||||
|
|
||||||
|
kernelPackages = config.boot.kernelPackages;
|
||||||
|
in {
|
||||||
|
options = {
|
||||||
|
services.mesa.enable = mkOption {
|
||||||
|
description = "Whether this configuration requires mesa.";
|
||||||
|
type = types.bool;
|
||||||
|
default = false;
|
||||||
|
internal = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
services.mesa.driSupport = mkOption {
|
||||||
|
type = types.bool;
|
||||||
|
default = true;
|
||||||
|
description = ''
|
||||||
|
Whether to enable accelerated OpenGL rendering through the
|
||||||
|
Direct Rendering Interface (DRI).
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
|
services.mesa.driSupport32Bit = mkOption {
|
||||||
|
type = types.bool;
|
||||||
|
default = false;
|
||||||
|
description = ''
|
||||||
|
On 64-bit systems, whether to support Direct Rendering for
|
||||||
|
32-bit applications (such as Wine). This is currently only
|
||||||
|
supported for the <literal>nvidia</literal> driver and for
|
||||||
|
<literal>mesa</literal>.
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
|
services.mesa.s3tcSupport = mkOption {
|
||||||
|
type = types.bool;
|
||||||
|
default = false;
|
||||||
|
description = ''
|
||||||
|
Make S3TC(S3 Texture Compression) via libtxc_dxtn available
|
||||||
|
to OpenGL drivers. It is essential for many games to work
|
||||||
|
with FOSS GPU drivers.
|
||||||
|
|
||||||
|
Using this library may require a patent license depending on your location.
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
services.mesa.videoDrivers = mkOption {
|
||||||
|
type = types.listOf types.str;
|
||||||
|
# !!! We'd like "nv" here, but it segfaults the X server.
|
||||||
|
default = [ "ati" "cirrus" "intel" "vesa" "vmware" ];
|
||||||
|
example = [ "vesa" ];
|
||||||
|
description = ''
|
||||||
|
The names of the video drivers that the mesa should
|
||||||
|
support. Mesa will try all of the drivers listed
|
||||||
|
here until it finds one that supports your video card.
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
config = mkIf cfg.enable {
|
||||||
|
system.activationScripts.setup-opengl.deps = [];
|
||||||
|
system.activationScripts.setup-opengl.text = ''
|
||||||
|
rm -f /run/opengl-driver{,-32}
|
||||||
|
${optionalString (!cfg.driSupport32Bit) "ln -sf opengl-driver /run/opengl-driver-32"}
|
||||||
|
|
||||||
|
${# !!! The OpenGL driver depends on what's detected at runtime.
|
||||||
|
if elem "nvidia" cfg.videoDrivers then
|
||||||
|
''
|
||||||
|
ln -sf ${kernelPackages.nvidia_x11} /run/opengl-driver
|
||||||
|
${optionalString cfg.driSupport32Bit
|
||||||
|
"ln -sf ${pkgs_i686.linuxPackages.nvidia_x11.override { libsOnly = true; kernel = null; } } /run/opengl-driver-32"}
|
||||||
|
''
|
||||||
|
else if elem "nvidiaLegacy173" cfg.videoDrivers then
|
||||||
|
"ln -sf ${kernelPackages.nvidia_x11_legacy173} /run/opengl-driver"
|
||||||
|
else if elem "nvidiaLegacy304" cfg.videoDrivers then
|
||||||
|
''
|
||||||
|
ln -sf ${kernelPackages.nvidia_x11_legacy304} /run/opengl-driver
|
||||||
|
${optionalString cfg.driSupport32Bit
|
||||||
|
"ln -sf ${pkgs_i686.linuxPackages.nvidia_x11_legacy304.override { libsOnly = true; kernel = null; } } /run/opengl-driver-32"}
|
||||||
|
''
|
||||||
|
else if elem "ati_unfree" cfg.videoDrivers then
|
||||||
|
"ln -sf ${kernelPackages.ati_drivers_x11} /run/opengl-driver"
|
||||||
|
else
|
||||||
|
''
|
||||||
|
${optionalString cfg.driSupport "ln -sf ${pkgs.mesa_drivers} /run/opengl-driver"}
|
||||||
|
${optionalString cfg.driSupport32Bit
|
||||||
|
"ln -sf ${pkgs_i686.mesa_drivers} /run/opengl-driver-32"}
|
||||||
|
''
|
||||||
|
}
|
||||||
|
'';
|
||||||
|
|
||||||
|
environment.variables.LD_LIBRARY_PATH =
|
||||||
|
[ "/run/opengl-driver/lib" "/run/opengl-driver-32/lib" ]
|
||||||
|
++ optional cfg.s3tcSupport "${pkgs.libtxc_dxtn}/lib"
|
||||||
|
++ optional (cfg.s3tcSupport && cfg.driSupport32Bit) "${pkgs_i686.libtxc_dxtn}/lib";
|
||||||
|
|
||||||
|
boot.extraModulePackages =
|
||||||
|
optional (elem "nvidia" cfg.videoDrivers) kernelPackages.nvidia_x11 ++
|
||||||
|
optional (elem "nvidiaLegacy173" cfg.videoDrivers) kernelPackages.nvidia_x11_legacy173 ++
|
||||||
|
optional (elem "nvidiaLegacy304" cfg.videoDrivers) kernelPackages.nvidia_x11_legacy304 ++
|
||||||
|
optional (elem "virtualbox" cfg.videoDrivers) kernelPackages.virtualboxGuestAdditions ++
|
||||||
|
optional (elem "ati_unfree" cfg.videoDrivers) kernelPackages.ati_drivers_x11;
|
||||||
|
|
||||||
|
boot.blacklistedKernelModules =
|
||||||
|
optionals (elem "nvidia" cfg.videoDrivers) [ "nouveau" "nvidiafb" ];
|
||||||
|
|
||||||
|
environment.etc = (optionalAttrs (elem "ati_unfree" cfg.videoDrivers) {
|
||||||
|
"ati".source = "${kernelPackages.ati_drivers_x11}/etc/ati";
|
||||||
|
})
|
||||||
|
// (optionalAttrs (elem "nvidia" cfg.videoDrivers) {
|
||||||
|
"OpenCL/vendors/nvidia.icd".source = "${kernelPackages.nvidia_x11}/lib/vendors/nvidia.icd";
|
||||||
|
});
|
||||||
|
};
|
||||||
|
}
|
@ -22,8 +22,7 @@ let
|
|||||||
virtualbox = { modules = [ kernelPackages.virtualboxGuestAdditions ]; driverName = "vboxvideo"; };
|
virtualbox = { modules = [ kernelPackages.virtualboxGuestAdditions ]; driverName = "vboxvideo"; };
|
||||||
};
|
};
|
||||||
|
|
||||||
driverNames =
|
driverNames = config.services.mesa.videoDrivers;
|
||||||
optional (cfg.videoDriver != null) cfg.videoDriver ++ cfg.videoDrivers;
|
|
||||||
|
|
||||||
drivers = flip map driverNames
|
drivers = flip map driverNames
|
||||||
(name: { inherit name; driverName = name; } //
|
(name: { inherit name; driverName = name; } //
|
||||||
@ -182,19 +181,7 @@ in
|
|||||||
description = ''
|
description = ''
|
||||||
The name of the video driver for your graphics card. This
|
The name of the video driver for your graphics card. This
|
||||||
option is obsolete; please set the
|
option is obsolete; please set the
|
||||||
<option>videoDrivers</option> instead.
|
<option>services.mesa.videoDrivers</option> instead.
|
||||||
'';
|
|
||||||
};
|
|
||||||
|
|
||||||
videoDrivers = mkOption {
|
|
||||||
type = types.listOf types.str;
|
|
||||||
# !!! We'd like "nv" here, but it segfaults the X server.
|
|
||||||
default = [ "ati" "cirrus" "intel" "vesa" "vmware" ];
|
|
||||||
example = [ "vesa" ];
|
|
||||||
description = ''
|
|
||||||
The names of the video drivers that the X server should
|
|
||||||
support. The X server will try all of the drivers listed
|
|
||||||
here until it finds one that supports your video card.
|
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -207,38 +194,6 @@ in
|
|||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
driSupport = mkOption {
|
|
||||||
type = types.bool;
|
|
||||||
default = true;
|
|
||||||
description = ''
|
|
||||||
Whether to enable accelerated OpenGL rendering through the
|
|
||||||
Direct Rendering Interface (DRI).
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
|
|
||||||
driSupport32Bit = mkOption {
|
|
||||||
type = types.bool;
|
|
||||||
default = false;
|
|
||||||
description = ''
|
|
||||||
On 64-bit systems, whether to support Direct Rendering for
|
|
||||||
32-bit applications (such as Wine). This is currently only
|
|
||||||
supported for the <literal>nvidia</literal> driver and for
|
|
||||||
<literal>mesa</literal>.
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
|
|
||||||
s3tcSupport = mkOption {
|
|
||||||
type = types.bool;
|
|
||||||
default = false;
|
|
||||||
description = ''
|
|
||||||
Make S3TC(S3 Texture Compression) via libtxc_dxtn available
|
|
||||||
to OpenGL drivers. It is essential for many games to work
|
|
||||||
with FOSS GPU drivers.
|
|
||||||
|
|
||||||
Using this library may require a patent license depending on your location.
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
|
|
||||||
startOpenSSHAgent = mkOption {
|
startOpenSSHAgent = mkOption {
|
||||||
type = types.bool;
|
type = types.bool;
|
||||||
default = true;
|
default = true;
|
||||||
@ -426,6 +381,8 @@ in
|
|||||||
###### implementation
|
###### implementation
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
|
services.mesa.enable = true;
|
||||||
|
services.mesa.videoDrivers = mkIf (cfg.videoDriver != null) [ cfg.videoDriver ];
|
||||||
|
|
||||||
assertions =
|
assertions =
|
||||||
[ { assertion = !(cfg.startOpenSSHAgent && cfg.startGnuPGAgent);
|
[ { assertion = !(cfg.startOpenSSHAgent && cfg.startGnuPGAgent);
|
||||||
@ -440,21 +397,6 @@ in
|
|||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
boot.extraModulePackages =
|
|
||||||
optional (elem "nvidia" driverNames) kernelPackages.nvidia_x11 ++
|
|
||||||
optional (elem "nvidiaLegacy173" driverNames) kernelPackages.nvidia_x11_legacy173 ++
|
|
||||||
optional (elem "nvidiaLegacy304" driverNames) kernelPackages.nvidia_x11_legacy304 ++
|
|
||||||
optional (elem "virtualbox" driverNames) kernelPackages.virtualboxGuestAdditions ++
|
|
||||||
optional (elem "ati_unfree" driverNames) kernelPackages.ati_drivers_x11;
|
|
||||||
|
|
||||||
boot.blacklistedKernelModules =
|
|
||||||
optionals (elem "nvidia" driverNames) [ "nouveau" "nvidiafb" ];
|
|
||||||
|
|
||||||
environment.variables.LD_LIBRARY_PATH =
|
|
||||||
[ "/run/opengl-driver/lib" "/run/opengl-driver-32/lib" ]
|
|
||||||
++ pkgs.lib.optional cfg.s3tcSupport "${pkgs.libtxc_dxtn}/lib"
|
|
||||||
++ pkgs.lib.optional (cfg.s3tcSupport && cfg.driSupport32Bit) "${pkgs_i686.libtxc_dxtn}/lib";
|
|
||||||
|
|
||||||
environment.etc =
|
environment.etc =
|
||||||
(optionals cfg.exportConfiguration
|
(optionals cfg.exportConfiguration
|
||||||
[ { source = "${configFile}";
|
[ { source = "${configFile}";
|
||||||
@ -464,21 +406,7 @@ in
|
|||||||
{ source = "${pkgs.xkeyboard_config}/etc/X11/xkb";
|
{ source = "${pkgs.xkeyboard_config}/etc/X11/xkb";
|
||||||
target = "X11/xkb";
|
target = "X11/xkb";
|
||||||
}
|
}
|
||||||
])
|
]);
|
||||||
++ (optionals (elem "ati_unfree" driverNames) [
|
|
||||||
|
|
||||||
# according toiive on #ati you don't need the pcs, it is like registry... keeps old stuff to make your
|
|
||||||
# life harder ;) Still it seems to be required
|
|
||||||
{ source = "${kernelPackages.ati_drivers_x11}/etc/ati";
|
|
||||||
target = "ati";
|
|
||||||
}
|
|
||||||
])
|
|
||||||
++ (optionals (elem "nvidia" driverNames) [
|
|
||||||
|
|
||||||
{ source = "${kernelPackages.nvidia_x11}/lib/vendors/nvidia.icd";
|
|
||||||
target = "OpenCL/vendors/nvidia.icd";
|
|
||||||
}
|
|
||||||
]);
|
|
||||||
|
|
||||||
environment.systemPackages =
|
environment.systemPackages =
|
||||||
[ xorg.xorgserver
|
[ xorg.xorgserver
|
||||||
@ -529,34 +457,6 @@ in
|
|||||||
|
|
||||||
preStart =
|
preStart =
|
||||||
''
|
''
|
||||||
rm -f /run/opengl-driver{,-32}
|
|
||||||
${optionalString (!cfg.driSupport32Bit) "ln -sf opengl-driver /run/opengl-driver-32"}
|
|
||||||
|
|
||||||
${# !!! The OpenGL driver depends on what's detected at runtime.
|
|
||||||
if elem "nvidia" driverNames then
|
|
||||||
''
|
|
||||||
ln -sf ${kernelPackages.nvidia_x11} /run/opengl-driver
|
|
||||||
${optionalString cfg.driSupport32Bit
|
|
||||||
"ln -sf ${pkgs_i686.linuxPackages.nvidia_x11.override { libsOnly = true; kernel = null; } } /run/opengl-driver-32"}
|
|
||||||
''
|
|
||||||
else if elem "nvidiaLegacy173" driverNames then
|
|
||||||
"ln -sf ${kernelPackages.nvidia_x11_legacy173} /run/opengl-driver"
|
|
||||||
else if elem "nvidiaLegacy304" driverNames then
|
|
||||||
''
|
|
||||||
ln -sf ${kernelPackages.nvidia_x11_legacy304} /run/opengl-driver
|
|
||||||
${optionalString cfg.driSupport32Bit
|
|
||||||
"ln -sf ${pkgs_i686.linuxPackages.nvidia_x11_legacy304.override { libsOnly = true; kernel = null; } } /run/opengl-driver-32"}
|
|
||||||
''
|
|
||||||
else if elem "ati_unfree" driverNames then
|
|
||||||
"ln -sf ${kernelPackages.ati_drivers_x11} /run/opengl-driver"
|
|
||||||
else
|
|
||||||
''
|
|
||||||
${optionalString cfg.driSupport "ln -sf ${pkgs.mesa_drivers} /run/opengl-driver"}
|
|
||||||
${optionalString cfg.driSupport32Bit
|
|
||||||
"ln -sf ${pkgs_i686.mesa_drivers} /run/opengl-driver-32"}
|
|
||||||
''
|
|
||||||
}
|
|
||||||
|
|
||||||
${cfg.displayManager.job.preStart}
|
${cfg.displayManager.job.preStart}
|
||||||
|
|
||||||
rm -f /tmp/.X0-lock
|
rm -f /tmp/.X0-lock
|
||||||
|
@ -11,13 +11,19 @@ let
|
|||||||
systemd = cfg.package;
|
systemd = cfg.package;
|
||||||
|
|
||||||
makeUnit = name: unit:
|
makeUnit = name: unit:
|
||||||
pkgs.runCommand "unit" { inherit (unit) text; preferLocalBuild = true; }
|
pkgs.runCommand "unit" { preferLocalBuild = true; inherit (unit) text; }
|
||||||
(if unit.enable then ''
|
((if !unit.enable then ''
|
||||||
mkdir -p $out
|
|
||||||
echo -n "$text" > $out/${name}
|
|
||||||
'' else ''
|
|
||||||
mkdir -p $out
|
mkdir -p $out
|
||||||
ln -s /dev/null $out/${name}
|
ln -s /dev/null $out/${name}
|
||||||
|
'' else if unit.linkTarget != null then ''
|
||||||
|
mkdir -p $out
|
||||||
|
ln -s ${unit.linkTarget} $out/${name}
|
||||||
|
'' else if unit.text != null then ''
|
||||||
|
mkdir -p $out
|
||||||
|
echo -n "$text" > $out/${name}
|
||||||
|
'' else "") + optionalString (unit.extraConfig != {}) ''
|
||||||
|
mkdir -p $out/${name}.d
|
||||||
|
${concatStringsSep "\n" (mapAttrsToList (n: v: "echo -n \"${v}\" > $out/${name}.d/${n}") unit.extraConfig)}
|
||||||
'');
|
'');
|
||||||
|
|
||||||
upstreamUnits =
|
upstreamUnits =
|
||||||
@ -338,7 +344,7 @@ let
|
|||||||
done
|
done
|
||||||
|
|
||||||
for i in ${toString (mapAttrsToList (n: v: v.unit) cfg.units)}; do
|
for i in ${toString (mapAttrsToList (n: v: v.unit) cfg.units)}; do
|
||||||
ln -s $i/* $out/
|
ln -fs $i/* $out/
|
||||||
done
|
done
|
||||||
|
|
||||||
for i in ${toString cfg.packages}; do
|
for i in ${toString cfg.packages}; do
|
||||||
@ -362,7 +368,7 @@ let
|
|||||||
ln -s rescue.target $out/kbrequest.target
|
ln -s rescue.target $out/kbrequest.target
|
||||||
|
|
||||||
mkdir -p $out/getty.target.wants/
|
mkdir -p $out/getty.target.wants/
|
||||||
ln -s ../getty@tty1.service $out/getty.target.wants/
|
ln -s ../autovt@tty1.service $out/getty.target.wants/
|
||||||
|
|
||||||
ln -s ../local-fs.target ../remote-fs.target ../network.target ../nss-lookup.target \
|
ln -s ../local-fs.target ../remote-fs.target ../network.target ../nss-lookup.target \
|
||||||
../nss-user-lookup.target ../swap.target $out/multi-user.target.wants/
|
../nss-user-lookup.target ../swap.target $out/multi-user.target.wants/
|
||||||
@ -389,7 +395,8 @@ in
|
|||||||
options = { name, config, ... }:
|
options = { name, config, ... }:
|
||||||
{ options = {
|
{ options = {
|
||||||
text = mkOption {
|
text = mkOption {
|
||||||
type = types.str;
|
type = types.nullOr types.str;
|
||||||
|
default = null;
|
||||||
description = "Text of this systemd unit.";
|
description = "Text of this systemd unit.";
|
||||||
};
|
};
|
||||||
enable = mkOption {
|
enable = mkOption {
|
||||||
@ -416,6 +423,22 @@ in
|
|||||||
internal = true;
|
internal = true;
|
||||||
description = "The generated unit.";
|
description = "The generated unit.";
|
||||||
};
|
};
|
||||||
|
linkTarget = mkOption {
|
||||||
|
default = null;
|
||||||
|
description = "The file to symlink this target to.";
|
||||||
|
type = types.nullOr types.path;
|
||||||
|
};
|
||||||
|
extraConfig = mkOption {
|
||||||
|
default = {};
|
||||||
|
example = { "foo@1.conf" = "X-RestartIfChanged=false"; };
|
||||||
|
type = types.attrsOf types.lines;
|
||||||
|
description = ''
|
||||||
|
Extra files to be appended to the configuration for the unit.
|
||||||
|
This can be used to override configuration for a unit provided
|
||||||
|
by systemd or another package, or to override only a single instance
|
||||||
|
of a template unit.
|
||||||
|
'';
|
||||||
|
};
|
||||||
};
|
};
|
||||||
config = {
|
config = {
|
||||||
unit = makeUnit name config;
|
unit = makeUnit name config;
|
||||||
|
@ -5,7 +5,7 @@ let
|
|||||||
(map (builtins.getAttr "configLine") config.system.requiredKernelConfig))
|
(map (builtins.getAttr "configLine") config.system.requiredKernelConfig))
|
||||||
);
|
);
|
||||||
|
|
||||||
origKernel = pkgs.linuxManualConfig {
|
origKernel = pkgs.buildLinux {
|
||||||
inherit (pkgs.linux) src version;
|
inherit (pkgs.linux) src version;
|
||||||
inherit configfile;
|
inherit configfile;
|
||||||
allowImportFromDerivation = true;
|
allowImportFromDerivation = true;
|
||||||
|
@ -319,6 +319,7 @@ in {
|
|||||||
"mkfs.ext3 -L nixos /dev/sda2",
|
"mkfs.ext3 -L nixos /dev/sda2",
|
||||||
"mount LABEL=nixos /mnt",
|
"mount LABEL=nixos /mnt",
|
||||||
);
|
);
|
||||||
|
|
||||||
'';
|
'';
|
||||||
fileSystems = rootFS;
|
fileSystems = rootFS;
|
||||||
grubVersion = 1;
|
grubVersion = 1;
|
||||||
|
@ -17,6 +17,7 @@
|
|||||||
|
|
||||||
testScript =
|
testScript =
|
||||||
''
|
''
|
||||||
|
$machine->waitForX;
|
||||||
$machine->waitForWindow(qr/xfce4-panel/);
|
$machine->waitForWindow(qr/xfce4-panel/);
|
||||||
$machine->sleep(10);
|
$machine->sleep(10);
|
||||||
|
|
||||||
|
@ -2,11 +2,11 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "drumkv1-${version}";
|
name = "drumkv1-${version}";
|
||||||
version = "0.3.5";
|
version = "0.3.6";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://sourceforge/drumkv1/${name}.tar.gz";
|
url = "mirror://sourceforge/drumkv1/${name}.tar.gz";
|
||||||
sha256 = "125aa1lmmwjdbzyv13yaax4n6ni7h7v7c7clmjaz7bglzay7xq5w";
|
sha256 = "13prman3jlh3xz56675vnnnghnmmbxpq8gqdhv5llgd8ggzhmyjn";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ jackaudio libsndfile lv2 qt4 ];
|
buildInputs = [ jackaudio libsndfile lv2 qt4 ];
|
||||||
|
@ -2,12 +2,12 @@
|
|||||||
, libarchive, liblrdf , libsndfile, pkgconfig, qt4, scons, subversion }:
|
, libarchive, liblrdf , libsndfile, pkgconfig, qt4, scons, subversion }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "0.9.5";
|
version = "0.9.5.1";
|
||||||
name = "hydrogen-${version}";
|
name = "hydrogen-${version}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://sourceforge/hydrogen/hydrogen-${version}.tar.gz";
|
url = "mirror://sourceforge/hydrogen/hydrogen-${version}.tar.gz";
|
||||||
sha256 = "1hyri49va2ss26skd6p9swkx0kbr7ggifbahkrcfgj8yj7pp6g4n";
|
sha256 = "1fvyp6gfzcqcc90dmaqbm11p272zczz5pfz1z4lj33nfr7z0bqgb";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
|
@ -3,11 +3,11 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "jalv-${version}";
|
name = "jalv-${version}";
|
||||||
version = "1.4.2";
|
version = "1.4.4";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://download.drobilla.net/${name}.tar.bz2";
|
url = "http://download.drobilla.net/${name}.tar.bz2";
|
||||||
sha256 = "132cq347xpa91d9m7nnmpla7gz4xg0njfw7kzwnp0gz172k0klp7";
|
sha256 = "1iql1r52rmf87q6jkxhcxa3lpq7idzzg55ma91wphywyvh29q7lf";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
|
@ -1,17 +1,20 @@
|
|||||||
{ stdenv, fetchurl, SDL, alsaLib, cmake, fftw, jackaudio, libogg,
|
{ stdenv, fetchurl, SDL, alsaLib, cmake, fftwSinglePrec, jackaudio, libogg
|
||||||
libsamplerate, libsndfile, pkgconfig, pulseaudio, qt4 }:
|
, libsamplerate, libsndfile, pkgconfig, pulseaudio, qt4
|
||||||
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "lmms-${version}";
|
name = "lmms-${version}";
|
||||||
version = "0.4.10";
|
version = "0.4.15";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://sourceforge/lmms/${name}.tar.bz2";
|
url = "mirror://sourceforge/lmms/${name}.tar.bz2";
|
||||||
sha256 = "035cqmxcbr9ipnicdv5l7h05q2hqbavxkbaxyq06ppnv2y7fxwrb";
|
sha256 = "02q2gbsqwk3hf9kvzz58a5bxmlb4cfr2mzy41wdvbxxdm2pcl101";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ SDL alsaLib cmake fftw jackaudio libogg
|
buildInputs = [
|
||||||
libsamplerate libsndfile pkgconfig pulseaudio qt4 ];
|
SDL alsaLib cmake fftwSinglePrec jackaudio libogg libsamplerate
|
||||||
|
libsndfile pkgconfig pulseaudio qt4
|
||||||
|
];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Linux MultiMedia Studio";
|
description = "Linux MultiMedia Studio";
|
||||||
|
@ -2,11 +2,11 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "mda-lv2-${version}";
|
name = "mda-lv2-${version}";
|
||||||
version = "1.0.0";
|
version = "1.2.2";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://download.drobilla.net/${name}.tar.bz2";
|
url = "http://download.drobilla.net/${name}.tar.bz2";
|
||||||
sha256 = "1dbgvpz9qvlwsfkq9c0dx45bm223wwrzgiddlyln1agpns3qbf0f";
|
sha256 = "0hh40c5d2m0k5gb3vw031l6lqn59dg804an3mkmhkc7qv4gc6xm4";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ fftwSinglePrec lv2 pkgconfig python ];
|
buildInputs = [ fftwSinglePrec lv2 pkgconfig python ];
|
||||||
|
@ -19,5 +19,6 @@ stdenv.mkDerivation rec {
|
|||||||
description = "A Qt application to control the JACK sound server daemon";
|
description = "A Qt application to control the JACK sound server daemon";
|
||||||
homepage = http://qjackctl.sourceforge.net/;
|
homepage = http://qjackctl.sourceforge.net/;
|
||||||
license = "GPL";
|
license = "GPL";
|
||||||
|
platforms = stdenv.lib.platforms.linux;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -2,11 +2,11 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "qsynth-${version}";
|
name = "qsynth-${version}";
|
||||||
version = "0.3.6";
|
version = "0.3.8";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://sourceforge/qsynth/${name}.tar.gz";
|
url = "mirror://sourceforge/qsynth/${name}.tar.gz";
|
||||||
sha256 = "0g7vaffpgs7v2p71ml5p7fzxz50mhlaklgf9zk4wbfk1hslqv5mm";
|
sha256 = "0wmq61cq93x2l00xwr871373mj3dwamz1dg6v62x7s8m1612ndrw";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ alsaLib fluidsynth jackaudio qt4 ];
|
buildInputs = [ alsaLib fluidsynth jackaudio qt4 ];
|
||||||
@ -15,6 +15,7 @@ stdenv.mkDerivation rec {
|
|||||||
description = "Fluidsynth GUI";
|
description = "Fluidsynth GUI";
|
||||||
homepage = http://sourceforge.net/projects/qsynth;
|
homepage = http://sourceforge.net/projects/qsynth;
|
||||||
license = licenses.gpl2Plus;
|
license = licenses.gpl2Plus;
|
||||||
|
platforms = platforms.linux;
|
||||||
maintainers = [ maintainers.goibhniu ];
|
maintainers = [ maintainers.goibhniu ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -3,12 +3,12 @@
|
|||||||
, libtool, libvorbis, pkgconfig, qt4, rubberband, stdenv }:
|
, libtool, libvorbis, pkgconfig, qt4, rubberband, stdenv }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "0.5.4";
|
version = "0.5.12";
|
||||||
name = "qtractor-${version}";
|
name = "qtractor-${version}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://sourceforge/qtractor/${name}.tar.gz";
|
url = "mirror://sourceforge/qtractor/${name}.tar.gz";
|
||||||
sha256 = "08vnvjl4w6z49s5shnip0qlwib0gwixw9wrqbazkh62i328fa05l";
|
sha256 = "0yf2p9l3hj8pd550v3rbbjqkvxnvn8p6nsnm4aj2v5q4mgg2c8cc";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs =
|
buildInputs =
|
||||||
|
@ -2,11 +2,11 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "samplv1-${version}";
|
name = "samplv1-${version}";
|
||||||
version = "0.3.5";
|
version = "0.3.6";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://sourceforge/samplv1/${name}.tar.gz";
|
url = "mirror://sourceforge/samplv1/${name}.tar.gz";
|
||||||
sha256 = "1q4ggcbbz9lfrjh0ybr3grgipjkq6w5fb9gz5k5cryzz92p7ihw9";
|
sha256 = "1fgy9w3mp0p8i1v41a7gmpzzk268k7bp75d4sgzfprikjihc6ary";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ jackaudio libsndfile lv2 qt4 ];
|
buildInputs = [ jackaudio libsndfile lv2 qt4 ];
|
||||||
|
@ -14,6 +14,11 @@ stdenv.mkDerivation rec {
|
|||||||
url = "http://code.soundsoftware.ac.uk/attachments/download/194/${name}.tar.gz";
|
url = "http://code.soundsoftware.ac.uk/attachments/download/194/${name}.tar.gz";
|
||||||
sha256 = "00igf7j6s8xfyxnlkbqma0yby9pknxqzy8cmh0aw95ix80cw56fq";
|
sha256 = "00igf7j6s8xfyxnlkbqma0yby9pknxqzy8cmh0aw95ix80cw56fq";
|
||||||
};
|
};
|
||||||
|
patches = [(fetchurl {
|
||||||
|
url = http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/media-sound/sonic-visualiser/files/sonic-visualiser-1.9-gcc47.patch;
|
||||||
|
sha256 = "0dhh111crvjvhcjqp7j9jqnvs8zmd6xrcirmzqrrnca1h0vbpkay";
|
||||||
|
name = "gcc47.patch";
|
||||||
|
})];
|
||||||
|
|
||||||
buildInputs =
|
buildInputs =
|
||||||
[ libsndfile qt4 fftw /* should be fftw3f ??*/ bzip2 librdf rubberband
|
[ libsndfile qt4 fftw /* should be fftw3f ??*/ bzip2 librdf rubberband
|
||||||
|
21
pkgs/applications/audio/streamripper/default.nix
Normal file
21
pkgs/applications/audio/streamripper/default.nix
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
{ stdenv, fetchurl , glib, pkgconfig, libogg, libvorbis }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "streamripper-${version}";
|
||||||
|
version = "1.64.6";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "mirror://sourceforge/streamripper/${name}.tar.gz";
|
||||||
|
sha256 = "0hnyv3206r0rfprn3k7k6a0j959kagsfyrmyjm3gsf3vkhp5zmy1";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ pkgconfig glib libogg libvorbis ];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = http://streamripper.sourceforge.net/;
|
||||||
|
description = "Application that lets you record streaming mp3 to your hard drive";
|
||||||
|
license = licenses.gpl2;
|
||||||
|
platforms = platforms.unix;
|
||||||
|
maintainers = with maintainers; [ the-kenny ];
|
||||||
|
};
|
||||||
|
}
|
@ -2,11 +2,11 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "synthv1-${version}";
|
name = "synthv1-${version}";
|
||||||
version = "0.3.2";
|
version = "0.3.6";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://sourceforge/synthv1/${name}.tar.gz";
|
url = "mirror://sourceforge/synthv1/${name}.tar.gz";
|
||||||
sha256 = "1230yf49qfw540yvp5n7sh6mf3k8590pzwc5mragd3nd6k6apgw9";
|
sha256 = "1xj4dk1g546f9fv2c4i7g3f1axrxfrxzk9w1nidhj3686j79nyry";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ qt4 jackaudio lv2 ];
|
buildInputs = [ qt4 jackaudio lv2 ];
|
||||||
|
@ -1,19 +1,23 @@
|
|||||||
{ stdenv, fetchurl, alsaLib, boost, cmake, fftwSinglePrec, fltk
|
{ stdenv, fetchurl, alsaLib, boost, cairo, cmake, fftwSinglePrec, fltk
|
||||||
, jackaudio, libsndfile, mesa, minixml, pkgconfig, zlib }:
|
, jackaudio, libsndfile, mesa, minixml, pkgconfig, zlib
|
||||||
|
}:
|
||||||
|
|
||||||
assert stdenv ? glibc;
|
assert stdenv ? glibc;
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "yoshimi-${version}";
|
name = "yoshimi-${version}";
|
||||||
version = "0.060.12";
|
version = "1.1.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://sourceforge/yoshimi/${name}.tar.bz2";
|
url = "mirror://sourceforge/yoshimi/${name}.tar.bz2";
|
||||||
sha256 = "14javywkw6af9z9c7jr06rzdgzncyaz2ab6f0v0k6bgdndlcgslc";
|
sha256 = "0rb0q0bqsaaj3imdjgfaigj1kbjqkx1gm91nh2mdgy9i09rygsbv";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ alsaLib boost fftwSinglePrec fltk jackaudio libsndfile mesa
|
buildInputs = [
|
||||||
minixml zlib ];
|
alsaLib boost cairo fftwSinglePrec fltk jackaudio libsndfile mesa
|
||||||
|
minixml zlib
|
||||||
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake pkgconfig ];
|
nativeBuildInputs = [ cmake pkgconfig ];
|
||||||
|
|
||||||
preConfigure = "cd src";
|
preConfigure = "cd src";
|
||||||
|
@ -1,26 +1,19 @@
|
|||||||
{ stdenv, fetchurl, alsaLib, cmake, fftw, fltk13, minixml, pkgconfig, zlib }:
|
{ stdenv, fetchurl, alsaLib, cmake, jackaudio, fftw, fltk13, minixml
|
||||||
|
, pkgconfig, zlib
|
||||||
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "zynaddsubfx-${version}";
|
name = "zynaddsubfx-${version}";
|
||||||
version = "2.4.1";
|
version = "2.4.3";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://sourceforge/zynaddsubfx/ZynAddSubFX-${version}.tar.bz2";
|
url = "mirror://sourceforge/zynaddsubfx/ZynAddSubFX-${version}.tar.bz2";
|
||||||
sha256 = "1zn5lgh76rrbfj8d4jys2gc1j2pqrbdd18ywfdrk0s7jq4inwyfg";
|
sha256 = "0kgmwyh4rhyqdfrdzhbzjjk2hzggkp9c4aac6sy3xv6cc1b5jjxq";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ alsaLib fftw fltk13 minixml zlib ];
|
buildInputs = [ alsaLib jackaudio fftw fltk13 minixml zlib ];
|
||||||
nativeBuildInputs = [ cmake pkgconfig ];
|
nativeBuildInputs = [ cmake pkgconfig ];
|
||||||
|
|
||||||
patches = [
|
|
||||||
(fetchurl {
|
|
||||||
url = http://patch-tracker.debian.org/patch/series/dl/zynaddsubfx/2.4.0-1.2/09_fluid_1.3.patch;
|
|
||||||
sha256 = "06wl7fs44b24ls1fzh21596n6zzc3ywm2bcdfrkfiiwpzin3yjq6";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
#installPhase = "mkdir -pv $out/bin; cp -v zynaddsubfx $out/bin";
|
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "high quality software synthesizer";
|
description = "high quality software synthesizer";
|
||||||
homepage = http://zynaddsubfx.sourceforge.net;
|
homepage = http://zynaddsubfx.sourceforge.net;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, patchelf, makeDesktopItem, makeWrapper
|
{ stdenv, fetchurl, makeDesktopItem, makeWrapper
|
||||||
, freetype, fontconfig, libX11, libXext, libXrender, zlib
|
, freetype, fontconfig, libX11, libXext, libXrender, zlib
|
||||||
, glib, gtk, libXtst, jre
|
, glib, gtk, libXtst, jre
|
||||||
}:
|
}:
|
||||||
@ -23,7 +23,7 @@ let
|
|||||||
categories = "Application;Development;";
|
categories = "Application;Development;";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ makeWrapper patchelf ];
|
buildInputs = [ makeWrapper ];
|
||||||
|
|
||||||
buildCommand = ''
|
buildCommand = ''
|
||||||
# Unpack tarball.
|
# Unpack tarball.
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
{ fetchurl, stdenv }:
|
{ fetchurl, stdenv }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "ed-1.7";
|
name = "ed-1.9";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnu/ed/${name}.tar.gz";
|
url = "mirror://gnu/ed/${name}.tar.gz";
|
||||||
sha256 = "0c908wb5pm48rjrrfbm5dhrqzys8f1dbvi90dn0vgwjzk80l2hl9";
|
sha256 = "122syihsx2hwzj75mkf5a9ssiky2xby748kp4cc00wzhmp7p5cym";
|
||||||
};
|
};
|
||||||
|
|
||||||
/* FIXME: Tests currently fail on Darwin:
|
/* FIXME: Tests currently fail on Darwin:
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
{stdenv, fetchurl, emacs, texinfo, ctags}:
|
{stdenv, fetchurl, emacs, texinfo, ctags}:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation rec {
|
||||||
name = "bbdb-2.35";
|
name = "bbdb-2.36";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
# not using mirror:// because it produces a different file
|
# not using mirror:// because it produces a different file
|
||||||
url = http://bbdb.sourceforge.net/bbdb-2.35.tar.gz;
|
url = "http://bbdb.sourceforge.net/${name}.tar.gz";
|
||||||
sha256 = "3fb1316e2ed74d47ca61187fada550e58797467bd9e8ad67343ed16da769f916";
|
sha256 = "1rmw94l71ahfbynyy0bijfy488q9bl5ksl4zpvg7j9dbmgbh296r";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [ ./install-infodir.patch ];
|
patches = [ ./install-infodir.patch ];
|
||||||
@ -28,8 +28,8 @@ stdenv.mkDerivation {
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
homepage = "http://bbdb.sourceforge.net/";
|
||||||
description = "The Insidious Big Brother Database (BBDB), a contact management utility for Emacs";
|
description = "The Insidious Big Brother Database (BBDB), a contact management utility for Emacs";
|
||||||
homepage = http://bbdb.sourceforge.net/;
|
|
||||||
license = "GPL";
|
license = "GPL";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ clangStdenv, fetchgit, llvm, clangUnwrapped }:
|
{ clangStdenv, fetchgit, llvm, clang }:
|
||||||
|
|
||||||
clangStdenv.mkDerivation {
|
clangStdenv.mkDerivation {
|
||||||
name = "emacs-clang-complete-async-20130218";
|
name = "emacs-clang-complete-async-20130218";
|
||||||
@ -8,7 +8,7 @@ clangStdenv.mkDerivation {
|
|||||||
sha256 = "1c8zqi6axbsb951azz9iqx3j52j30nd9ypv396hvids3g02cirrf";
|
sha256 = "1c8zqi6axbsb951azz9iqx3j52j30nd9ypv396hvids3g02cirrf";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ llvm clangUnwrapped ];
|
buildInputs = [ llvm clang.clang ];
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/bin
|
mkdir -p $out/bin
|
||||||
|
@ -2,11 +2,11 @@
|
|||||||
, libXinerama, curl }:
|
, libXinerama, curl }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "feh-2.8";
|
name = "feh-2.9.3";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://feh.finalrewind.org/${name}.tar.bz2";
|
url = "http://feh.finalrewind.org/${name}.tar.bz2";
|
||||||
sha256 = "0zmslchnzvi9ydxj2mgci4x8zpv5mdfkf7kyny3nibbpajibqmrx";
|
sha256 = "1wlhfbglzc1jzsh80s4s1fawclgzyjy2105ffzx2mw9s0c1xds5l";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [x11 imlib2 giblib libjpeg libpng libXinerama curl ];
|
buildInputs = [x11 imlib2 giblib libjpeg libpng libXinerama curl ];
|
||||||
|
20
pkgs/applications/graphics/hoodle/default.nix
Normal file
20
pkgs/applications/graphics/hoodle/default.nix
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
{ cabal, cmdargs, configurator, dyre, filepath, hoodleCore, mtl }:
|
||||||
|
|
||||||
|
cabal.mkDerivation (self: {
|
||||||
|
pname = "hoodle";
|
||||||
|
version = "0.2.2.1";
|
||||||
|
sha256 = "1qkyyzfmprhniwarnq6cdmv1r6605b3h2lsc1rlalxhq6jh5gamd";
|
||||||
|
isLibrary = true;
|
||||||
|
isExecutable = true;
|
||||||
|
buildDepends = [
|
||||||
|
cmdargs configurator dyre filepath hoodleCore mtl
|
||||||
|
];
|
||||||
|
jailbreak = true;
|
||||||
|
meta = {
|
||||||
|
homepage = "http://ianwookim.org/hoodle";
|
||||||
|
description = "Executable for hoodle";
|
||||||
|
license = self.stdenv.lib.licenses.gpl3;
|
||||||
|
platforms = self.ghc.meta.platforms;
|
||||||
|
maintainers = [ self.stdenv.lib.maintainers.ianwookim ];
|
||||||
|
};
|
||||||
|
})
|
@ -13,6 +13,10 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
patches = [ ./configure-python-libs.patch ];
|
patches = [ ./configure-python-libs.patch ];
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
patch -p0 < ${./spuriouscomma.patch}
|
||||||
|
'';
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
# Python is used at run-time to execute scripts, e.g., those from
|
# Python is used at run-time to execute scripts, e.g., those from
|
||||||
# the "Effects" menu.
|
# the "Effects" menu.
|
||||||
|
@ -1,47 +0,0 @@
|
|||||||
Source: upstream revisions 10061 and 10707
|
|
||||||
|
|
||||||
--- a/src/sp-image.cpp 2011-02-21 07:59:34 +0000
|
|
||||||
+++ b/src/sp-image.cpp 2011-02-21 08:57:28 +0000
|
|
||||||
@@ -387,9 +387,13 @@
|
|
||||||
|
|
||||||
#if defined(PNG_iCCP_SUPPORTED)
|
|
||||||
{
|
|
||||||
- char* name = 0;
|
|
||||||
+ png_charp name = 0;
|
|
||||||
int compression_type = 0;
|
|
||||||
- char* profile = 0;
|
|
||||||
+#if (PNG_LIBPNG_VER < 10500)
|
|
||||||
+ png_charp profile = 0;
|
|
||||||
+#else
|
|
||||||
+ png_bytep profile = 0;
|
|
||||||
+#endif
|
|
||||||
png_uint_32 proflen = 0;
|
|
||||||
if ( png_get_iCCP(pngPtr, infoPtr, &name, &compression_type, &profile, &proflen) ) {
|
|
||||||
// g_message("Found an iCCP chunk named [%s] with %d bytes and comp %d", name, proflen, compression_type);
|
|
||||||
|
|
||||||
--- a/src/extension/internal/pdfinput/svg-builder.cpp 2011-10-27 04:55:51 +0000
|
|
||||||
+++ b/src/extension/internal/pdfinput/svg-builder.cpp 2011-10-29 20:34:00 +0000
|
|
||||||
@@ -1481,7 +1481,7 @@
|
|
||||||
return NULL;
|
|
||||||
}
|
|
||||||
// Set error handler
|
|
||||||
- if (setjmp(png_ptr->jmpbuf)) {
|
|
||||||
+ if (setjmp(png_jmpbuf(png_ptr))) {
|
|
||||||
png_destroy_write_struct(&png_ptr, &info_ptr);
|
|
||||||
return NULL;
|
|
||||||
}
|
|
||||||
|
|
||||||
--- a/src/helper/png-write.cpp 2011-08-07 10:53:12 +0000
|
|
||||||
+++ b/src/helper/png-write.cpp 2011-10-29 20:34:00 +0000
|
|
||||||
@@ -166,8 +166,8 @@
|
|
||||||
/* Set error handling. REQUIRED if you aren't supplying your own
|
|
||||||
* error hadnling functions in the png_create_write_struct() call.
|
|
||||||
*/
|
|
||||||
- if (setjmp(png_ptr->jmpbuf)) {
|
|
||||||
- /* If we get here, we had a problem reading the file */
|
|
||||||
+ if (setjmp(png_jmpbuf(png_ptr))) {
|
|
||||||
+ // If we get here, we had a problem reading the file
|
|
||||||
fclose(fp);
|
|
||||||
png_destroy_write_struct(&png_ptr, &info_ptr);
|
|
||||||
return false;
|
|
||||||
|
|
11
pkgs/applications/graphics/inkscape/spuriouscomma.patch
Normal file
11
pkgs/applications/graphics/inkscape/spuriouscomma.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- src/widgets/desktop-widget.h~ 2011-07-08 13:25:09.000000000 -0500
|
||||||
|
+++ src/widgets/desktop-widget.h 2013-02-15 16:04:45.806910365 -0600
|
||||||
|
@@ -239,7 +239,7 @@
|
||||||
|
private:
|
||||||
|
GtkWidget *tool_toolbox;
|
||||||
|
GtkWidget *aux_toolbox;
|
||||||
|
- GtkWidget *commands_toolbox,;
|
||||||
|
+ GtkWidget *commands_toolbox;
|
||||||
|
GtkWidget *snap_toolbox;
|
||||||
|
|
||||||
|
static void init(SPDesktopWidget *widget);
|
@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH''${LD_LIBRARY_PATH:+:}$PWD/build/lib"
|
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH''${LD_LIBRARY_PATH:+:}$PWD/build/lib"
|
||||||
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I$(echo ${gtkglext}/include/gtkglext-*) -I$(echo ${gtkglext}/lib/gtkglext-*/include)"
|
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -fpermissive -I$(echo ${gtkglext}/include/gtkglext-*) -I$(echo ${gtkglext}/lib/gtkglext-*/include)"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
|
@ -4,11 +4,11 @@
|
|||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "calibre-1.17.0";
|
name = "calibre-1.20.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://sourceforge/calibre/${name}.tar.xz";
|
url = "mirror://sourceforge/calibre/${name}.tar.xz";
|
||||||
sha256 = "1g0kwfr0v4hgwik7hpajdvg1ganyi7hlq6wvq4r5218yvdq5mkzn";
|
sha256 = "1i7sybl6in0js8an1zp3mzqv394xnwx79rmv1hj7g6abpsqhjpj7";
|
||||||
};
|
};
|
||||||
|
|
||||||
inherit python;
|
inherit python;
|
||||||
|
@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
|
|||||||
cd ${name}-src
|
cd ${name}-src
|
||||||
tar xf ${src}
|
tar xf ${src}
|
||||||
'';
|
'';
|
||||||
patches = [ ./goldendict-paths.diff ];
|
patches = [ ./goldendict-paths.diff ./gcc47.patch ];
|
||||||
patchFlags = "-p 0";
|
patchFlags = "-p 0";
|
||||||
configurePhase = ''
|
configurePhase = ''
|
||||||
qmake
|
qmake
|
||||||
|
40
pkgs/applications/misc/goldendict/gcc47.patch
Normal file
40
pkgs/applications/misc/goldendict/gcc47.patch
Normal file
@ -0,0 +1,40 @@
|
|||||||
|
From b00d081da20b9a6b257573c6b23a6bc640c4dab1 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Michael Palimaka <kensington@gentoo.org>
|
||||||
|
Date: Fri, 20 Jul 2012 03:27:38 +1000
|
||||||
|
Subject: [PATCH] Fix build with GCC 4.7 by adding missing includes.
|
||||||
|
|
||||||
|
---
|
||||||
|
processwrapper.cc | 4 ++++
|
||||||
|
qtsingleapplication/src/qtlocalpeer.cpp | 1 +
|
||||||
|
2 files changed, 5 insertions(+)
|
||||||
|
|
||||||
|
diff --git processwrapper.cc processwrapper.cc
|
||||||
|
index f7f3f19..86b985d 100644
|
||||||
|
--- processwrapper.cc
|
||||||
|
+++ processwrapper.cc
|
||||||
|
@@ -2,6 +2,10 @@
|
||||||
|
|
||||||
|
#include <QtCore>
|
||||||
|
|
||||||
|
+#if defined(Q_OS_UNIX)
|
||||||
|
+#include <unistd.h>
|
||||||
|
+#endif
|
||||||
|
+
|
||||||
|
#ifdef Q_OS_WIN32
|
||||||
|
|
||||||
|
#include <windows.h>
|
||||||
|
diff --git qtsingleapplication/src/qtlocalpeer.cpp qtsingleapplication/src/qtlocalpeer.cpp
|
||||||
|
index 382d182..506c142 100644
|
||||||
|
--- qtsingleapplication/src/qtlocalpeer.cpp
|
||||||
|
+++ qtsingleapplication/src/qtlocalpeer.cpp
|
||||||
|
@@ -50,6 +50,7 @@ static PProcessIdToSessionId pProcessIdToSessionId = 0;
|
||||||
|
#endif
|
||||||
|
#if defined(Q_OS_UNIX)
|
||||||
|
#include <time.h>
|
||||||
|
+#include <unistd.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
|
namespace QtLP_Private {
|
||||||
|
--
|
||||||
|
1.7.11.1
|
||||||
|
|
@ -12,6 +12,8 @@ stdenv.mkDerivation rec {
|
|||||||
qmake PREFIX=$out
|
qmake PREFIX=$out
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
patches = [ ./random.patch ];
|
||||||
|
|
||||||
buildInputs = [ bzip2 qt4 libX11 xextproto libXtst ];
|
buildInputs = [ bzip2 qt4 libX11 xextproto libXtst ];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
13
pkgs/applications/misc/keepassx/random.patch
Normal file
13
pkgs/applications/misc/keepassx/random.patch
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
--- a/src/lib/random.cpp 2014-01-21 21:15:55.829312723 +0000
|
||||||
|
+++ b/src/lib/random.cpp 2014-01-21 21:16:36.752535839 +0000
|
||||||
|
@@ -28,6 +28,10 @@
|
||||||
|
#include <wincrypt.h>
|
||||||
|
#include <QSysInfo>
|
||||||
|
#endif
|
||||||
|
+#ifndef Q_WS_WIN
|
||||||
|
+ #include <sys/types.h>
|
||||||
|
+ #include <unistd.h>
|
||||||
|
+#endif
|
||||||
|
|
||||||
|
#include <QCryptographicHash>
|
||||||
|
#include <QCursor>
|
@ -7,6 +7,7 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "1q1m4cjzz2m41pdpxnwrsiczc7990785b700lv64midjjgjnr7j6";
|
sha256 = "1q1m4cjzz2m41pdpxnwrsiczc7990785b700lv64midjjgjnr7j6";
|
||||||
};
|
};
|
||||||
buildInputs = [ gettext kdelibs kde_baseapps ];
|
buildInputs = [ gettext kdelibs kde_baseapps ];
|
||||||
|
NIX_CFLAGS_COMPILE = "-fpermissive"; # fix build with newer gcc versions
|
||||||
meta = {
|
meta = {
|
||||||
description = "Norton/Total Commander clone for KDE";
|
description = "Norton/Total Commander clone for KDE";
|
||||||
license = "GPL";
|
license = "GPL";
|
||||||
|
@ -1,21 +1,27 @@
|
|||||||
{ pkgs, fetchurl, stdenv, gtk3, udev, desktop_file_utils, shared_mime_info, intltool, pkgconfig }:
|
{ pkgs, fetchurl, stdenv, gtk3, udev, desktop_file_utils, shared_mime_info
|
||||||
|
, intltool, pkgconfig, makeWrapper
|
||||||
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
name = "spacefm-${version}";
|
|
||||||
version = "0.9.2";
|
version = "0.9.2";
|
||||||
|
|
||||||
in stdenv.mkDerivation {
|
in stdenv.mkDerivation rec {
|
||||||
inherit name;
|
name = "spacefm-${version}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url="https://github.com/IgnorantGuru/spacefm/blob/pkg/${version}/${name}.tar.xz?raw=true";
|
url = "https://github.com/IgnorantGuru/spacefm/blob/pkg/${version}/${name}.tar.xz?raw=true";
|
||||||
sha256 ="3767137d74aa78597ffb42a6121784e91a4276efcd5d718b3793b9790f82268c";
|
sha256 = "3767137d74aa78597ffb42a6121784e91a4276efcd5d718b3793b9790f82268c";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ gtk3 udev desktop_file_utils shared_mime_info intltool pkgconfig ];
|
buildInputs = [ gtk3 udev desktop_file_utils shared_mime_info intltool pkgconfig makeWrapper ];
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
wrapProgram "$out/bin/spacefm" \
|
||||||
|
--prefix XDG_DATA_DIRS : "${gtk3}/share"
|
||||||
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "SpaceFM is a multi-panel tabbed file and desktop manager for Linux with built-in VFS, udev- or HAL-based device manager, customizable menu system, and bash integration.";
|
description = "Multi-panel tabbed file and desktop manager for Linux with built-in VFS, udev- or HAL-based device manager, customizable menu system, and bash integration.";
|
||||||
platforms = pkgs.lib.platforms.linux;
|
platforms = pkgs.lib.platforms.linux;
|
||||||
license = pkgs.lib.licenses.gpl3;
|
license = pkgs.lib.licenses.gpl3;
|
||||||
};
|
};
|
||||||
|
@ -11,8 +11,8 @@
|
|||||||
sha256 = "0d0kgy160pyg472ka43gxk7n09pqhhs9nd93jyxrp9qsyllfc425";
|
sha256 = "0d0kgy160pyg472ka43gxk7n09pqhhs9nd93jyxrp9qsyllfc425";
|
||||||
};
|
};
|
||||||
stable = {
|
stable = {
|
||||||
version = "31.0.1650.57";
|
version = "32.0.1700.77";
|
||||||
url = "http://commondatastorage.googleapis.com/chromium-browser-official/chromium-31.0.1650.57.tar.xz";
|
url = "http://commondatastorage.googleapis.com/chromium-browser-official/chromium-32.0.1700.77.tar.xz";
|
||||||
sha256 = "1xv7frf47hhvqm6f3n2l308yfrs4d8ri70q6pndx7hslhyiixzl9";
|
sha256 = "1mwqa5k32d168swpw0bdcnhglxwcqdsx766fq0iz22h3hd4ccdwa";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -1,28 +1,34 @@
|
|||||||
{ stdenv, fetchurl, python, perl, ncurses, x11, bzip2, zlib, openssl
|
{ stdenv, fetchurl, perl, ncurses, x11, bzip2, zlib, openssl
|
||||||
, spidermonkey, gpm
|
, spidermonkey, gpm
|
||||||
, enableGuile ? true, guile ? null }:
|
, enableGuile ? false, guile ? null # Incompatible licenses, LGPLv3 - GPLv2
|
||||||
|
, enablePython ? false, python ? null
|
||||||
|
}:
|
||||||
|
|
||||||
assert enableGuile -> guile != null;
|
assert enableGuile -> guile != null;
|
||||||
|
assert enablePython -> python != null;
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "elinks-0.12pre5";
|
name = "elinks-0.12pre6";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = http://elinks.or.cz/download/elinks-0.12pre5.tar.bz2;
|
url = http://elinks.or.cz/download/elinks-0.12pre6.tar.bz2;
|
||||||
sha256 = "1li4vlbq8wvnigxlkzb15490y90jg6y9yzzrqpqcz2h965w5869d";
|
sha256 = "1nnakbi01g7yd3zqwprchh5yp45br8086b0kbbpmnclabcvlcdiq";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [ ./gc-init.patch ];
|
patches = [ ./gc-init.patch ];
|
||||||
|
|
||||||
buildInputs = [ python perl ncurses x11 bzip2 zlib openssl spidermonkey gpm ]
|
buildInputs = [ perl ncurses x11 bzip2 zlib openssl spidermonkey gpm ]
|
||||||
++ stdenv.lib.optional enableGuile guile;
|
++ stdenv.lib.optional enableGuile guile
|
||||||
|
++ stdenv.lib.optional enablePython python;
|
||||||
|
|
||||||
configureFlags =
|
configureFlags =
|
||||||
''
|
''
|
||||||
--enable-finger --enable-html-highlight
|
--enable-finger --enable-html-highlight
|
||||||
--with-perl --with-python --enable-gopher --enable-cgi --enable-bittorrent
|
--with-perl --enable-gopher --enable-cgi --enable-bittorrent
|
||||||
|
--with-spidermonkey=${spidermonkey}
|
||||||
--enable-nntp --with-openssl=${openssl}
|
--enable-nntp --with-openssl=${openssl}
|
||||||
'' + stdenv.lib.optionalString enableGuile " --with-guile";
|
'' + stdenv.lib.optionalString enableGuile " --with-guile"
|
||||||
|
+ stdenv.lib.optionalString enablePython " --with-python";
|
||||||
|
|
||||||
crossAttrs = {
|
crossAttrs = {
|
||||||
propagatedBuildInputs = [ ncurses.crossDrv zlib.crossDrv openssl.crossDrv ];
|
propagatedBuildInputs = [ ncurses.crossDrv zlib.crossDrv openssl.crossDrv ];
|
||||||
@ -37,5 +43,6 @@ stdenv.mkDerivation rec {
|
|||||||
meta = {
|
meta = {
|
||||||
description = "Full-featured text-mode web browser";
|
description = "Full-featured text-mode web browser";
|
||||||
homepage = http://elinks.or.cz;
|
homepage = http://elinks.or.cz;
|
||||||
|
license = "GPLv2";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -12,9 +12,9 @@ stdenv.mkDerivation {
|
|||||||
sha256 = "1baxwpdvak6nalr943g22z67r1d3fbibbkqvkvvar9xlvrs9gv20";
|
sha256 = "1baxwpdvak6nalr943g22z67r1d3fbibbkqvkvvar9xlvrs9gv20";
|
||||||
};
|
};
|
||||||
|
|
||||||
configureFlags = if sslSupport then "--with-ssl" else "";
|
configureFlags = if sslSupport then "--with-ssl=${openssl}" else "";
|
||||||
|
|
||||||
buildInputs = [ ncurses gzip ] ++ stdenv.lib.optional sslSupport openssl;
|
buildInputs = [ ncurses gzip ];
|
||||||
nativeBuildInputs = [ ncurses ];
|
nativeBuildInputs = [ ncurses ];
|
||||||
|
|
||||||
crossAttrs = {
|
crossAttrs = {
|
||||||
|
@ -3,8 +3,11 @@
|
|||||||
, glib_networking, gsettings_desktop_schemas
|
, glib_networking, gsettings_desktop_schemas
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
let
|
||||||
|
version = "0.5.7";
|
||||||
|
in
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "midori-0.5.6";
|
name = "midori-${version}";
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Lightweight WebKitGTK+ web browser";
|
description = "Lightweight WebKitGTK+ web browser";
|
||||||
@ -15,8 +18,8 @@ stdenv.mkDerivation rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "${meta.homepage}/downloads/midori_0.5.6_all_.tar.bz2";
|
url = "${meta.homepage}/downloads/midori_${version}_all_.tar.bz2";
|
||||||
sha256 = "0jpj8cw0dzamzylzslayamjhv0is0xd99dyaql4nyxrkk5fipgn5";
|
sha256 = "0k8bppicgzm97g5x8ahvpw9wvg2f1mq093qp8biwr858m0mbnx98";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
|
@ -7,7 +7,7 @@ stdenv.mkDerivation {
|
|||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
# Note: dropbox doesn't version this file. Annoying.
|
# Note: dropbox doesn't version this file. Annoying.
|
||||||
url = "https://linux.dropbox.com/packages/dropbox.py";
|
url = "https://linux.dropbox.com/packages/dropbox.py";
|
||||||
sha256 = "0p1pg8bw6mlhqi5k8y3pgs7byg0kfvq57s53sh188lb5sxvlg7yz";
|
sha256 = "0505k0xrhbmsv7g5phxxnz5wbff6m5gdsqyxkhd95wdi9d71c43c";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ coreutils python ];
|
buildInputs = [ coreutils python ];
|
||||||
|
@ -25,9 +25,9 @@ let
|
|||||||
else if stdenv.system == "i686-linux" then "ld-linux.so.2"
|
else if stdenv.system == "i686-linux" then "ld-linux.so.2"
|
||||||
else throw "Dropbox client for: ${stdenv.system} not supported!";
|
else throw "Dropbox client for: ${stdenv.system} not supported!";
|
||||||
|
|
||||||
version = "2.4.7";
|
version = "2.6.2";
|
||||||
sha256 = if stdenv.system == "x86_64-linux" then "08fh0zx9q83dvivnbx5zr1cwb69ihhlx9mkbd3ikynk1wd8df8n8"
|
sha256 = if stdenv.system == "x86_64-linux" then "0j511nglqg2xngyl78ww7xk09v8yzhghk5cnj6slr9sldy83n7g9"
|
||||||
else if stdenv.system == "i686-linux" then "0rhblpahg2axglpi8iavsglffw83rj71qy113wj2dh6q72124j2h"
|
else if stdenv.system == "i686-linux" then "0n0y0wf313yjas4b89ag613jb80skby1qmfkyy1aazgjancf7v5i"
|
||||||
else throw "Dropbox client for: ${stdenv.system} not supported!";
|
else throw "Dropbox client for: ${stdenv.system} not supported!";
|
||||||
|
|
||||||
# relative location where the dropbox libraries are stored
|
# relative location where the dropbox libraries are stored
|
||||||
|
@ -4,11 +4,11 @@ stdenv.mkDerivation {
|
|||||||
name = "esniper-2.28.0";
|
name = "esniper-2.28.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://sourceforge/esniper/esniper-2-28-0.tgz";
|
url = "mirror://sourceforge/esniper/esniper-2-28-0.tgz";
|
||||||
sha256 = "c2b0ccb757616b32f2d6cf54a4a5e367405fa7bcd6e6ed11835fe4f8a06a016b";
|
sha256 = "c2b0ccb757616b32f2d6cf54a4a5e367405fa7bcd6e6ed11835fe4f8a06a016b";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [openssl curl];
|
buildInputs = [ openssl curl ];
|
||||||
|
|
||||||
# Add support for CURL_CA_BUNDLE variable.
|
# Add support for CURL_CA_BUNDLE variable.
|
||||||
patches = [ ./find-ca-bundle.patch ];
|
patches = [ ./find-ca-bundle.patch ];
|
||||||
@ -19,12 +19,11 @@ stdenv.mkDerivation {
|
|||||||
chmod 555 "$out/bin/snipe"
|
chmod 555 "$out/bin/snipe"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = with stdenv.lib; {
|
||||||
description = "Simple, lightweight tool for sniping eBay auctions";
|
description = "Simple, lightweight tool for sniping eBay auctions";
|
||||||
homepage = "http://esnipe.rsourceforge.net";
|
homepage = http://esnipe.rsourceforge.net;
|
||||||
license = "GPLv2";
|
license = licenses.gpl2;
|
||||||
|
maintainers = with maintainers; [ lovek323 simons ];
|
||||||
platforms = stdenv.lib.platforms.all;
|
platforms = platforms.all;
|
||||||
maintainers = [ stdenv.lib.maintainers.simons ];
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -0,0 +1,22 @@
|
|||||||
|
{ stdenv, fetchgit, buildPythonPackage, pythonPackages }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
name = "mailpile-dev";
|
||||||
|
|
||||||
|
src = fetchgit {
|
||||||
|
url = "https://github.com/pagekite/Mailpile.git";
|
||||||
|
rev = "cbb3bbf1f1da653124e63e11a51a6864dcb534a0";
|
||||||
|
sha256 = "1m2qkhcygidxqnnj2ajsxv8y5wjyp5il3919sl3vyl47gx02xa8j";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = with pythonPackages; [
|
||||||
|
pillow jinja2 spambayes pythonPackages."lxml-2.3.6" python.modules.readline or null];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "A modern, fast web-mail client with user-friendly encryption and privacy features";
|
||||||
|
homepage = https://www.mailpile.is/;
|
||||||
|
license = map (getAttr "shortName") [ licenses.asl20 licenses.agpl3 ];
|
||||||
|
platforms = platforms.linux;
|
||||||
|
maintainers = [ maintainers.iElectric ];
|
||||||
|
};
|
||||||
|
}
|
@ -4,11 +4,11 @@
|
|||||||
, makeWrapper }:
|
, makeWrapper }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "gnunet-0.9.5a";
|
name = "gnunet-0.10.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnu/gnunet/${name}.tar.gz";
|
url = "mirror://gnu/gnunet/${name}.tar.gz";
|
||||||
sha256 = "1mxy1ikv44fia3cybpmiw298x5371a2qh8hr7pi55yg1xqbhfq0x";
|
sha256 = "0zqpc47kywhjrpphl0palz849khv00ra2gjrfkysp6p0gfsbvd0i";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
|
@ -61,7 +61,5 @@ stdenv.mkDerivation rec {
|
|||||||
homepage = http://www.freerdp.com/;
|
homepage = http://www.freerdp.com/;
|
||||||
|
|
||||||
license = "free-non-copyleft";
|
license = "free-non-copyleft";
|
||||||
|
|
||||||
maintainers = [ stdenv.lib.maintainers.shlevy ];
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -70,8 +70,6 @@ stdenv.mkDerivation rec {
|
|||||||
homepage = http://www.freerdp.com/;
|
homepage = http://www.freerdp.com/;
|
||||||
|
|
||||||
license = "free-non-copyleft";
|
license = "free-non-copyleft";
|
||||||
|
|
||||||
maintainers = [ stdenv.lib.maintainers.shlevy ];
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,21 +1,23 @@
|
|||||||
{ stdenv, fetchurl, pkgconfig, perl, flex, bison, libpcap, libnl, c-ares, gnutls, libgcrypt
|
{ stdenv, fetchurl, pkgconfig, perl, flex, bison, libpcap, libnl, c-ares
|
||||||
, geoip, heimdal, lua5, gtk, makeDesktopItem
|
, gnutls, libgcrypt, geoip, heimdal, lua5, gtk, makeDesktopItem, python
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let version = "1.10.5"; in
|
let version = "1.11.2"; in
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "wireshark-${version}";
|
name = "wireshark-${version}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://sourceforge/wireshark/wireshark-${version}.tar.bz2";
|
url = "mirror://sourceforge/wireshark/wireshark-${version}.tar.bz2";
|
||||||
sha256 = "1xa1l6z8n1gwnyv5mq4zmyr0afy6s0qpl9wqflg3ipbkjpd908d0";
|
sha256 = "077hjnmqn44s8dx3pc38bxps5liicjnhzrnf6ky2x60m2cp7ngr3";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs =
|
buildInputs = [
|
||||||
[ bison flex perl pkgconfig libpcap lua5 heimdal libgcrypt gnutls geoip libnl c-ares gtk ];
|
bison flex perl pkgconfig libpcap lua5 heimdal libgcrypt gnutls
|
||||||
|
geoip libnl c-ares gtk python
|
||||||
|
];
|
||||||
|
|
||||||
configureFlags = "--disable-usr-local --enable-packet-editor --with-ssl";
|
configureFlags = "--disable-usr-local --disable-silent-rules --with-gtk2 --without-gtk3 --without-qt --with-ssl";
|
||||||
|
|
||||||
desktopItem = makeDesktopItem {
|
desktopItem = makeDesktopItem {
|
||||||
name = "Wireshark";
|
name = "Wireshark";
|
||||||
@ -30,10 +32,12 @@ stdenv.mkDerivation {
|
|||||||
postInstall = ''
|
postInstall = ''
|
||||||
mkdir -p "$out"/share/applications/
|
mkdir -p "$out"/share/applications/
|
||||||
mkdir -p "$out"/share/icons/
|
mkdir -p "$out"/share/icons/
|
||||||
cp "$desktopItem"/share/applications/* "$out"/share/applications/
|
cp "$desktopItem/share/applications/"* "$out/share/applications/"
|
||||||
cp image/wsicon.svg "$out"/share/icons/wireshark.svg
|
cp image/wsicon.svg "$out"/share/icons/wireshark.svg
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = http://www.wireshark.org/;
|
homepage = http://www.wireshark.org/;
|
||||||
description = "a powerful network protocol analyzer";
|
description = "a powerful network protocol analyzer";
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
let
|
let
|
||||||
download_root = "http://homebank.free.fr/public/";
|
download_root = "http://homebank.free.fr/public/";
|
||||||
name = "homebank-4.4";
|
name = "homebank-4.5.4";
|
||||||
lastrelease = download_root + name + ".tar.gz";
|
lastrelease = download_root + name + ".tar.gz";
|
||||||
oldrelease = download_root + "old/" + name + ".tar.gz";
|
oldrelease = download_root + "old/" + name + ".tar.gz";
|
||||||
in
|
in
|
||||||
@ -12,7 +12,7 @@ stdenv.mkDerivation {
|
|||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
urls = [ lastrelease oldrelease ];
|
urls = [ lastrelease oldrelease ];
|
||||||
sha256 = "1lp7vhimn7aa2b4ik857w7d7rbbqcwlsffk8s8lw4fjyaxrr7f0k";
|
sha256 = "10xh76mxwbl56xp118gg3b4isv16yvhsvqxwqc28pqqxkpr7vpdk";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ pkgconfig gtk libofx intltool ];
|
buildInputs = [ pkgconfig gtk libofx intltool ];
|
||||||
|
28
pkgs/applications/office/todo.txt-cli/default.nix
Normal file
28
pkgs/applications/office/todo.txt-cli/default.nix
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
{ stdenv, fetchurl }:
|
||||||
|
let
|
||||||
|
version = "2.10";
|
||||||
|
in stdenv.mkDerivation {
|
||||||
|
name = "todo.txt-cli-${version}";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "https://github.com/ginatrapani/todo.txt-cli/releases/download/v${version}/todo.txt_cli-${version}.tar.gz";
|
||||||
|
sha256 = "1agn4zzbizrrylvbfi053b5mpb39bvl1gzziw08xibzfdyi1g55m";
|
||||||
|
};
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
install -vd $out/bin
|
||||||
|
install -vm 755 todo.sh $out/bin
|
||||||
|
install -vd $out/etc/bash_completion.d
|
||||||
|
install -vm 644 todo_completion $out/etc/bash_completion.d/todo
|
||||||
|
install -vd $out/etc/todo
|
||||||
|
install -vm 644 todo.cfg $out/etc/todo/config
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "Simple plaintext todo list manager";
|
||||||
|
homepage = "http://todotxt.com";
|
||||||
|
license = stdenv.lib.licenses.gpl3;
|
||||||
|
maintainers = [ stdenv.lib.maintainers.shlevy ];
|
||||||
|
platforms = stdenv.lib.platforms.all;
|
||||||
|
};
|
||||||
|
}
|
@ -65,6 +65,8 @@ stdenv.mkDerivation {
|
|||||||
)
|
)
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
installPhase = ''make DESTDIR="$out" MKDIR_P="mkdir -p" install'';
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
@ -9,11 +9,11 @@ let
|
|||||||
in
|
in
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "hol_light-20130324";
|
name = "hol_light-20140112";
|
||||||
src = fetchsvn {
|
src = fetchsvn {
|
||||||
url = http://hol-light.googlecode.com/svn/trunk;
|
url = http://hol-light.googlecode.com/svn/trunk;
|
||||||
rev = "157";
|
rev = "179";
|
||||||
sha256 = "0d0pbnkw2gb11dn30ggfl91lhdxv86kd1fyiqn170w08n0gi805f";
|
sha256 = "1j402s7142fj09bjijrkargwx03fvbdwmn0hgzzmi6s4p1y7gww0";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ ocaml findlib camlp5 ];
|
buildInputs = [ ocaml findlib camlp5 ];
|
||||||
|
23
pkgs/applications/science/math/fricas/default.nix
Normal file
23
pkgs/applications/science/math/fricas/default.nix
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
{ stdenv, fetchurl, sbcl, libX11, libXpm, libICE, libSM, libXt, libXau, libXdmcp }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "fricas-1.2.2";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "http://sourceforge.net/projects/fricas/files/fricas/1.2.2/${name}-full.tar.bz2";
|
||||||
|
sha256 = "87db64a1fd4211f3b776793acea931b4271d2e7a28396414c7d7397d833defe1";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ sbcl libX11 libXpm libICE libSM libXt libXau libXdmcp ];
|
||||||
|
|
||||||
|
dontStrip = true;
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
homepage = http://fricas.sourceforge.net/;
|
||||||
|
description = "Fricas CAS";
|
||||||
|
license = stdenv.lib.licenses.bsd3;
|
||||||
|
|
||||||
|
hydraPlatforms = stdenv.lib.platforms.linux;
|
||||||
|
maintainers = stdenv.lib.maintainers.sprock;
|
||||||
|
};
|
||||||
|
}
|
11
pkgs/applications/science/misc/root/cmake.patch
Normal file
11
pkgs/applications/science/misc/root/cmake.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- cmake/modules/RootBuildOptions.cmake 1969-12-31 20:30:01.000000000 -0330
|
||||||
|
+++ cmake/modules/RootBuildOptions.cmake 2014-01-10 14:09:29.424937408 -0330
|
||||||
|
@@ -149,7 +149,7 @@
|
||||||
|
|
||||||
|
#---General Build options----------------------------------------------------------------------
|
||||||
|
# use, i.e. don't skip the full RPATH for the build tree
|
||||||
|
-set(CMAKE_SKIP_BUILD_RPATH FALSE)
|
||||||
|
+set(CMAKE_SKIP_BUILD_RPATH TRUE)
|
||||||
|
# when building, don't use the install RPATH already (but later on when installing)
|
||||||
|
set(CMAKE_BUILD_WITH_INSTALL_RPATH FALSE)
|
||||||
|
# add the automatically determined parts of the RPATH
|
27
pkgs/applications/science/misc/root/default.nix
Normal file
27
pkgs/applications/science/misc/root/default.nix
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
{ stdenv, fetchurl, cmake, mesa, libX11, gfortran, libXpm, libXft, libXext, zlib }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "root-${version}";
|
||||||
|
version = "5.34.14";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "ftp://root.cern.ch/root/root_v${version}.source.tar.gz";
|
||||||
|
sha256 = "d5347ba1b614eb083cf08050b784d66a93c125ed89938708da1adb33323dee2b";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ cmake gfortran mesa libX11 libXpm libXft libXext zlib ];
|
||||||
|
|
||||||
|
# CMAKE_INSTALL_RPATH_USE_LINK_PATH is set to FALSE in
|
||||||
|
# <rootsrc>/cmake/modules/RootBuildOptions.cmake.
|
||||||
|
# This patch sets it to TRUE.
|
||||||
|
patches = [ ./cmake.patch ];
|
||||||
|
patchFlags = "-p0";
|
||||||
|
|
||||||
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
homepage = "http://root.cern.ch/drupal/";
|
||||||
|
description = "A data analysis framework";
|
||||||
|
platforms = stdenv.lib.platforms.mesaPlatforms;
|
||||||
|
};
|
||||||
|
}
|
@ -1,23 +1,35 @@
|
|||||||
{ stdenv, fetchurl, openssl, zlib, asciidoc, libxml2, libxslt, docbook_xml_xslt }:
|
{ stdenv, fetchurl, openssl, zlib, asciidoc, libxml2, libxslt
|
||||||
|
, docbook_xml_xslt, pkgconfig, luajit
|
||||||
|
, gzip, bzip2, xz
|
||||||
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "cgit-0.9.2";
|
name = "cgit-0.10";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://git.zx2c4.com/cgit/snapshot/${name}.tar.xz";
|
url = "http://git.zx2c4.com/cgit/snapshot/${name}.tar.xz";
|
||||||
sha256 = "0q177q1r7ssna32c760l4dx6p4aaz6kdv27zn2jb34bx98045h08";
|
sha256 = "0ynywva0lrsasdm3nlk3dmd8k5bnrd9qlvmk4n42dfw9g1xj5i4h";
|
||||||
};
|
};
|
||||||
|
|
||||||
# cgit is is tightly coupled with git and needs a git source tree to build.
|
# cgit is is tightly coupled with git and needs a git source tree to build.
|
||||||
# The cgit-0.9.2 Makefile has GIT_VER = 1.8.3, so use that version.
|
# The cgit-0.10 Makefile has GIT_VER = 1.8.5, so use that version.
|
||||||
# IMPORTANT: Remember to check which git version cgit needs on every version
|
# IMPORTANT: Remember to check which git version cgit needs on every version
|
||||||
# bump.
|
# bump.
|
||||||
gitSrc = fetchurl {
|
gitSrc = fetchurl {
|
||||||
url = https://git-core.googlecode.com/files/git-1.8.3.tar.gz;
|
url = https://git-core.googlecode.com/files/git-1.8.5.tar.gz;
|
||||||
sha256 = "0fn5xdx30dl8dl1cdpqif5hgc3qnxlqfpwyhm0sm1wgqhgbcdlzi";
|
sha256 = "08vbq8y3jx1da417hkqmrkdkysac1sqjvrjmaj1v56dmkghm43w7";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ openssl zlib asciidoc libxml2 libxslt docbook_xml_xslt ];
|
buildInputs = [
|
||||||
|
openssl zlib asciidoc libxml2 libxslt docbook_xml_xslt pkgconfig luajit
|
||||||
|
];
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
sed -e 's|"gzip"|"${gzip}/bin/gzip"|' \
|
||||||
|
-e 's|"bzip2"|"${bzip2}/bin/bzip2"|' \
|
||||||
|
-e 's|"xz"|"${xz}/bin/xz"|' \
|
||||||
|
-i ui-snapshot.c
|
||||||
|
'';
|
||||||
|
|
||||||
# Give cgit a git source tree and pass configuration parameters (as make
|
# Give cgit a git source tree and pass configuration parameters (as make
|
||||||
# variables).
|
# variables).
|
||||||
|
@ -35,7 +35,8 @@ stdenv.mkDerivation {
|
|||||||
NIX_LDFLAGS = stdenv.lib.optionalString (!stdenv.isDarwin) "-lgcc_s";
|
NIX_LDFLAGS = stdenv.lib.optionalString (!stdenv.isDarwin) "-lgcc_s";
|
||||||
|
|
||||||
makeFlags = "prefix=\${out} sysconfdir=/etc/ PERL_PATH=${perl}/bin/perl SHELL_PATH=${stdenv.shell} "
|
makeFlags = "prefix=\${out} sysconfdir=/etc/ PERL_PATH=${perl}/bin/perl SHELL_PATH=${stdenv.shell} "
|
||||||
+ (if pythonSupport then "PYTHON_PATH=${python}/bin/python" else "NO_PYTHON=1");
|
+ (if pythonSupport then "PYTHON_PATH=${python}/bin/python" else "NO_PYTHON=1")
|
||||||
|
+ (if stdenv.isSunOS then " INSTALL=install NO_INET_NTOP= NO_INET_PTON=" else "");
|
||||||
|
|
||||||
# FIXME: "make check" requires Sparse; the Makefile must be tweaked
|
# FIXME: "make check" requires Sparse; the Makefile must be tweaked
|
||||||
# so that `SPARSE_FLAGS' corresponds to the current architecture...
|
# so that `SPARSE_FLAGS' corresponds to the current architecture...
|
||||||
|
@ -1,23 +1,27 @@
|
|||||||
{ stdenv, fetchurl, SDL, ftgl, pkgconfig, libpng, libjpeg, pcre, SDL_image, glew, mesa }:
|
{ stdenv, fetchurl, SDL, ftgl, pkgconfig, libpng, libjpeg, pcre
|
||||||
|
, SDL_image, glew, mesa, boost, glm
|
||||||
|
}:
|
||||||
|
|
||||||
let
|
stdenv.mkDerivation rec {
|
||||||
name = "gource-0.40";
|
name = "gource-0.40";
|
||||||
in
|
|
||||||
stdenv.mkDerivation {
|
|
||||||
inherit name;
|
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://gource.googlecode.com/files/${name}.tar.gz";
|
url = "http://gource.googlecode.com/files/${name}.tar.gz";
|
||||||
sha256 = "04nirh07xjslqsph557as4s50nlf91bi6v2l7vmbifmkdf90m2cw";
|
sha256 = "04nirh07xjslqsph557as4s50nlf91bi6v2l7vmbifmkdf90m2cw";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [glew SDL ftgl pkgconfig libpng libjpeg pcre SDL_image mesa];
|
buildInputs = [
|
||||||
|
glew SDL ftgl pkgconfig libpng libjpeg pcre SDL_image mesa boost glm
|
||||||
|
];
|
||||||
|
|
||||||
|
configureFlags = "--with-boost-libdir=${boost}/lib";
|
||||||
|
|
||||||
|
NIX_CFLAGS_COMPILE = "-fpermissive"; # fix build with newer gcc versions
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = "http://code.google.com/p/gource/";
|
homepage = "http://code.google.com/p/gource/";
|
||||||
description = "software version control visualization tool";
|
description = "software version control visualization tool";
|
||||||
license = stdenv.lib.licenses.gpl3Plus;
|
license = stdenv.lib.licenses.gpl3Plus;
|
||||||
|
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
Software projects are displayed by Gource as an animated tree with
|
Software projects are displayed by Gource as an animated tree with
|
||||||
the root directory of the project at its centre. Directories
|
the root directory of the project at its centre. Directories
|
||||||
@ -28,8 +32,6 @@ stdenv.mkDerivation {
|
|||||||
Mercurial and Bazaar and SVN. Gource can also parse logs produced
|
Mercurial and Bazaar and SVN. Gource can also parse logs produced
|
||||||
by several third party tools for CVS repositories.
|
by several third party tools for CVS repositories.
|
||||||
'';
|
'';
|
||||||
|
platforms = stdenv.lib.platforms.linux;
|
||||||
hydraPlatforms = stdenv.lib.platforms.linux;
|
|
||||||
maintainers = [ stdenv.lib.maintainers.simons ];
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -77,6 +77,6 @@ stdenv.mkDerivation rec {
|
|||||||
description = "A version control system intended to be a compelling replacement for CVS in the open source community";
|
description = "A version control system intended to be a compelling replacement for CVS in the open source community";
|
||||||
homepage = http://subversion.apache.org/;
|
homepage = http://subversion.apache.org/;
|
||||||
maintainers = with stdenv.lib.maintainers; [ eelco lovek323 ];
|
maintainers = with stdenv.lib.maintainers; [ eelco lovek323 ];
|
||||||
platforms = stdenv.lib.platforms.linux ++ stdenv.lib.platforms.darwin;
|
hydraPlatforms = stdenv.lib.platforms.linux ++ stdenv.lib.platforms.darwin;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -50,17 +50,18 @@ let
|
|||||||
waf = fetchurl {
|
waf = fetchurl {
|
||||||
url = https://waf.googlecode.com/files/waf-1.7.13;
|
url = https://waf.googlecode.com/files/waf-1.7.13;
|
||||||
sha256 = "03cc750049350ee01cdbc584b70924e333fcc17ba4a2d04648dab1535538a873";
|
sha256 = "03cc750049350ee01cdbc584b70924e333fcc17ba4a2d04648dab1535538a873";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
version = "0.3.2";
|
||||||
|
|
||||||
in
|
in
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "mpv-20131222";
|
name = "mpv-${version}";
|
||||||
|
|
||||||
src = fetchgit {
|
src = fetchurl {
|
||||||
url = "https://github.com/mpv-player/mpv.git";
|
url = "https://github.com/mpv-player/mpv/archive/v${version}.tar.gz";
|
||||||
rev = "e6bea0ec5a";
|
sha256 = "1vzdhzry2adyp2yh2dmy1qznqhnzar7g24rhi0vv624jgd20qax2";
|
||||||
sha256 = "984c7d19b1916b7e5befc370ffb7f6c31e560c64c47090b924a115d00c35a1a8";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = with stdenv.lib;
|
buildInputs = with stdenv.lib;
|
||||||
|
@ -1,13 +0,0 @@
|
|||||||
#!/usr/bin/python -t
|
|
||||||
# this script was written to use /etc/nixos/nixpkgs/pkgs/development/python-modules/generic/wrap.sh
|
|
||||||
# which already automates python executable wrapping by extending the PATH/pythonPath
|
|
||||||
|
|
||||||
# from http://docs.python.org/library/subprocess.html
|
|
||||||
# Warning Invoking the system shell with shell=True can be a security hazard if combined with untrusted input. See the warning under Frequently Used Arguments for details.
|
|
||||||
|
|
||||||
from subprocess import Popen, PIPE, STDOUT
|
|
||||||
|
|
||||||
cmd = 'PYTHON_EXECUTABLE_PATH -t THE_CUSTOM_PATH/share/virt-manager/THE_CUSTOM_PROGRAM.py'
|
|
||||||
p = Popen(cmd, shell=True, stdin=PIPE, stdout=PIPE, stderr=STDOUT, close_fds=True)
|
|
||||||
output = p.stdout.read()
|
|
||||||
print output
|
|
@ -41,10 +41,6 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
nativeBuildInputs = [ makeWrapper pythonPackages.wrapPython ];
|
nativeBuildInputs = [ makeWrapper pythonPackages.wrapPython ];
|
||||||
|
|
||||||
# patch the runner script in order to make wrapPythonPrograms work and run the program using a syscall
|
|
||||||
# example code: /etc/nixos/nixpkgs/pkgs/development/interpreters/spidermonkey/1.8.0-rc1.nix
|
|
||||||
customRunner = ./custom_runner.py;
|
|
||||||
|
|
||||||
# TODO
|
# TODO
|
||||||
# virt-manager -> import gtk.glade -> No module named glade --> fixed by removing 'pygtk' and by only using pyGtkGlade
|
# virt-manager -> import gtk.glade -> No module named glade --> fixed by removing 'pygtk' and by only using pyGtkGlade
|
||||||
# -> import gconf -> ImportError: No module named gconf
|
# -> import gconf -> ImportError: No module named gconf
|
||||||
@ -62,21 +58,13 @@ stdenv.mkDerivation rec {
|
|||||||
# -> fixed by http://nixos.org/wiki/Solve_GConf_errors_when_running_GNOME_applications & a restart
|
# -> fixed by http://nixos.org/wiki/Solve_GConf_errors_when_running_GNOME_applications & a restart
|
||||||
# virt-manager-tui -> ImportError: No module named newt_syrup.dialogscreen
|
# virt-manager-tui -> ImportError: No module named newt_syrup.dialogscreen
|
||||||
|
|
||||||
patchPhase = ''
|
|
||||||
cat ${customRunner} > src/virt-manager.in
|
|
||||||
substituteInPlace "src/virt-manager.in" --replace "THE_CUSTOM_PATH" "$out"
|
|
||||||
substituteInPlace "src/virt-manager.in" --replace "THE_CUSTOM_PROGRAM" "virt-manager"
|
|
||||||
substituteInPlace "src/virt-manager.in" --replace "PYTHON_EXECUTABLE_PATH" "${python}/bin/python"
|
|
||||||
|
|
||||||
cat ${customRunner} > src/virt-manager-tui.in
|
|
||||||
substituteInPlace "src/virt-manager-tui.in" --replace "THE_CUSTOM_PATH" "$out"
|
|
||||||
substituteInPlace "src/virt-manager-tui.in" --replace "THE_CUSTOM_PROGRAM" "virt-manager-tui"
|
|
||||||
substituteInPlace "src/virt-manager-tui.in" --replace "PYTHON_EXECUTABLE_PATH" "${python}/bin/python"
|
|
||||||
'';
|
|
||||||
|
|
||||||
# /etc/nixos/nixpkgs/pkgs/development/python-modules/generic/wrap.sh
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
make install
|
make install
|
||||||
|
|
||||||
|
# A hack, but the most reliable method so far
|
||||||
|
echo "#!/usr/bin/env python" | cat - src/virt-manager.py > $out/bin/virt-manager
|
||||||
|
echo "#!/usr/bin/env python" | cat - src/virt-manager-tui.py > $out/bin/virt-manager-tui
|
||||||
|
|
||||||
wrapPythonPrograms
|
wrapPythonPrograms
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
@ -20,8 +20,6 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
description = "A lightweight GTK2-based systray for UNIX desktop";
|
description = "A lightweight GTK2-based systray for UNIX desktop";
|
||||||
|
|
||||||
maintainers = [ stdenv.lib.maintainers.shlevy ];
|
|
||||||
|
|
||||||
platforms = stdenv.lib.platforms.linux;
|
platforms = stdenv.lib.platforms.linux;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -59,13 +59,16 @@ doSubstitute() {
|
|||||||
local src=$1
|
local src=$1
|
||||||
local dst=$2
|
local dst=$2
|
||||||
local uselibcxx=
|
local uselibcxx=
|
||||||
|
local uselibcxxabi=
|
||||||
if test -n "$libcxx" && echo $dst | fgrep ++; then uselibcxx=$libcxx; fi
|
if test -n "$libcxx" && echo $dst | fgrep ++; then uselibcxx=$libcxx; fi
|
||||||
|
if test -n "$libcxxabi" && echo $dst | fgrep ++; then uselibcxxabi=$libcxxabi; fi
|
||||||
# Can't use substitute() here, because replace may not have been
|
# Can't use substitute() here, because replace may not have been
|
||||||
# built yet (in the bootstrap).
|
# built yet (in the bootstrap).
|
||||||
sed \
|
sed \
|
||||||
-e "s^@out@^$out^g" \
|
-e "s^@out@^$out^g" \
|
||||||
-e "s^@shell@^$shell^g" \
|
-e "s^@shell@^$shell^g" \
|
||||||
-e "s^@libcxx@^$uselibcxx^g" \
|
-e "s^@libcxx@^$uselibcxx^g" \
|
||||||
|
-e "s^@libcxxabi@^$uselibcxxabi^g" \
|
||||||
-e "s^@clang@^$clang^g" \
|
-e "s^@clang@^$clang^g" \
|
||||||
-e "s^@clangProg@^$clangProg^g" \
|
-e "s^@clangProg@^$clangProg^g" \
|
||||||
-e "s^@binutils@^$binutils^g" \
|
-e "s^@binutils@^$binutils^g" \
|
||||||
|
@ -76,11 +76,12 @@ if test "$NIX_ENFORCE_PURITY" = "1" -a -n "$NIX_STORE"; then
|
|||||||
n=$((n + 1))
|
n=$((n + 1))
|
||||||
done
|
done
|
||||||
params=("${rest[@]}")
|
params=("${rest[@]}")
|
||||||
|
NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE --sysroot=/var/empty"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test -n "@libcxx@"; then
|
if test -n "@libcxx@"; then
|
||||||
NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -isystem@libcxx@/include/c++/v1 -stdlib=libc++"
|
NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -isystem@libcxx@/include/c++/v1 -stdlib=libc++"
|
||||||
NIX_CFLAGS_LINK="$NIX_CFLAGS_LINK -L@libcxx@/lib -stdlib=libc++ -lc++abi"
|
NIX_CFLAGS_LINK="$NIX_CFLAGS_LINK -L@libcxx@/lib -stdlib=libc++ -L@libcxxabi@/lib -lc++abi"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Add the flags for the C compiler proper.
|
# Add the flags for the C compiler proper.
|
||||||
@ -137,13 +138,6 @@ if test -n "$NIX_CLANG_WRAPPER_EXEC_HOOK"; then
|
|||||||
source "$NIX_CLANG_WRAPPER_EXEC_HOOK"
|
source "$NIX_CLANG_WRAPPER_EXEC_HOOK"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# We nuke LD_LIBRARY_PATH here, because clang dynamically links to LLVM.
|
|
||||||
# Unfortunately, when such clang is used to build LLVM again, it can get in
|
|
||||||
# trouble temporarily binding to the build-directory versions of the libraries
|
|
||||||
# (the buildsystem sets LD_LIBRARY_PATH). That is very undesirable and can
|
|
||||||
# cause mysterious failures.
|
|
||||||
LD_LIBRARY_PATH=
|
|
||||||
|
|
||||||
# Call the real `clang'. Filter out warnings from stderr about unused
|
# Call the real `clang'. Filter out warnings from stderr about unused
|
||||||
# `-B' flags, since they confuse some programs. Deep bash magic to
|
# `-B' flags, since they confuse some programs. Deep bash magic to
|
||||||
# apply grep to stderr (by swapping stdin/stderr twice).
|
# apply grep to stderr (by swapping stdin/stderr twice).
|
||||||
|
@ -34,6 +34,9 @@ stdenv.mkDerivation {
|
|||||||
addFlags = ./add-flags;
|
addFlags = ./add-flags;
|
||||||
|
|
||||||
inherit nativeTools nativeLibc nativePrefix clang clangVersion libcxx;
|
inherit nativeTools nativeLibc nativePrefix clang clangVersion libcxx;
|
||||||
|
|
||||||
|
libcxxabi = libcxx.abi or null;
|
||||||
|
|
||||||
gcc = clang.gcc;
|
gcc = clang.gcc;
|
||||||
libc = if nativeLibc then null else libc;
|
libc = if nativeLibc then null else libc;
|
||||||
binutils = if nativeTools then null else binutils;
|
binutils = if nativeTools then null else binutils;
|
||||||
|
@ -32,6 +32,9 @@ if test "$NIX_ENFORCE_PURITY" = "1" -a -n "$NIX_STORE" \
|
|||||||
# We cannot skip this; barf.
|
# We cannot skip this; barf.
|
||||||
echo "impure path \`$p' used in link" >&2
|
echo "impure path \`$p' used in link" >&2
|
||||||
exit 1
|
exit 1
|
||||||
|
elif test "${p:0:9}" = "--sysroot"; then
|
||||||
|
# Our ld is not built with sysroot support (Can we fix that?)
|
||||||
|
:
|
||||||
else
|
else
|
||||||
rest=("${rest[@]}" "$p")
|
rest=("${rest[@]}" "$p")
|
||||||
fi
|
fi
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
addCVars () {
|
addCVars () {
|
||||||
if test -d $1/include; then
|
if test -d $1/include; then
|
||||||
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I$1/include"
|
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -isystem $1/include"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test -d $1/lib64; then
|
if test -d $1/lib64; then
|
||||||
@ -31,3 +31,6 @@ fi
|
|||||||
if test -n "@coreutils@"; then
|
if test -n "@coreutils@"; then
|
||||||
addToSearchPath PATH @coreutils@/bin
|
addToSearchPath PATH @coreutils@/bin
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
: ${CXX:=clang++}
|
||||||
|
export CXX
|
||||||
|
@ -66,13 +66,23 @@ else
|
|||||||
echo "$gccCFlags" > $out/nix-support/gcc-cflags
|
echo "$gccCFlags" > $out/nix-support/gcc-cflags
|
||||||
|
|
||||||
gccPath="$gcc/bin"
|
gccPath="$gcc/bin"
|
||||||
ldPath="$binutils/bin"
|
# On Illumos/Solaris we might prefer native ld
|
||||||
|
if test -n "$nativePrefix"; then
|
||||||
|
ldPath="$nativePrefix/bin"
|
||||||
|
else
|
||||||
|
ldPath="$binutils/bin"
|
||||||
|
fi;
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
doSubstitute() {
|
doSubstitute() {
|
||||||
local src=$1
|
local src=$1
|
||||||
local dst=$2
|
local dst=$2
|
||||||
|
local ld="$ldPath/ld"
|
||||||
|
if $ld -V 2>&1 |grep Solaris; then
|
||||||
|
# Use Solaris specific linker wrapper
|
||||||
|
ld="$out/bin/ld-solaris"
|
||||||
|
fi
|
||||||
# Can't use substitute() here, because replace may not have been
|
# Can't use substitute() here, because replace may not have been
|
||||||
# built yet (in the bootstrap).
|
# built yet (in the bootstrap).
|
||||||
sed \
|
sed \
|
||||||
@ -85,7 +95,7 @@ doSubstitute() {
|
|||||||
-e "s^@binutils@^$binutils^g" \
|
-e "s^@binutils@^$binutils^g" \
|
||||||
-e "s^@coreutils@^$coreutils^g" \
|
-e "s^@coreutils@^$coreutils^g" \
|
||||||
-e "s^@libc@^$libc^g" \
|
-e "s^@libc@^$libc^g" \
|
||||||
-e "s^@ld@^$ldPath/ld^g" \
|
-e "s^@ld@^$ld^g" \
|
||||||
< "$src" > "$dst"
|
< "$src" > "$dst"
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -174,6 +184,13 @@ ln -s $ldPath/as $out/bin/as
|
|||||||
doSubstitute "$ldWrapper" "$out/bin/ld"
|
doSubstitute "$ldWrapper" "$out/bin/ld"
|
||||||
chmod +x "$out/bin/ld"
|
chmod +x "$out/bin/ld"
|
||||||
|
|
||||||
|
# Copy solaris ld wrapper if needed
|
||||||
|
if $ldPath/ld -V 2>&1 |grep Solaris; then
|
||||||
|
# Use Solaris specific linker wrapper
|
||||||
|
sed -e "s^@ld@^$ldPath/ld^g" < "$ldSolarisWrapper" > "$out/bin/ld-solaris"
|
||||||
|
chmod +x "$out/bin/ld-solaris"
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
# Emit a setup hook. Also store the path to the original GCC and
|
# Emit a setup hook. Also store the path to the original GCC and
|
||||||
# Glibc.
|
# Glibc.
|
||||||
|
@ -36,6 +36,7 @@ stdenv.mkDerivation {
|
|||||||
gnatWrapper = ./gnat-wrapper.sh;
|
gnatWrapper = ./gnat-wrapper.sh;
|
||||||
gnatlinkWrapper = ./gnatlink-wrapper.sh;
|
gnatlinkWrapper = ./gnatlink-wrapper.sh;
|
||||||
ldWrapper = ./ld-wrapper.sh;
|
ldWrapper = ./ld-wrapper.sh;
|
||||||
|
ldSolarisWrapper = ./ld-solaris-wrapper.sh;
|
||||||
utils = ./utils.sh;
|
utils = ./utils.sh;
|
||||||
addFlags = ./add-flags;
|
addFlags = ./add-flags;
|
||||||
|
|
||||||
|
40
pkgs/build-support/gcc-wrapper/ld-solaris-wrapper.sh
Normal file
40
pkgs/build-support/gcc-wrapper/ld-solaris-wrapper.sh
Normal file
@ -0,0 +1,40 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -e
|
||||||
|
set -u
|
||||||
|
|
||||||
|
# I've also tried adding -z direct and -z lazyload, but it gave too many problems with C++ exceptions :'(
|
||||||
|
# Also made sure libgcc would not be lazy-loaded, as suggested here: https://www.illumos.org/issues/2534#note-3
|
||||||
|
# but still no success.
|
||||||
|
cmd="@ld@ -z ignore"
|
||||||
|
|
||||||
|
args=("$@");
|
||||||
|
|
||||||
|
# This loop makes sure all -L arguments are before -l arguments, or ld may complain it cannot find a library.
|
||||||
|
# GNU binutils does not have this problem:
|
||||||
|
# http://stackoverflow.com/questions/5817269/does-the-order-of-l-and-l-options-in-the-gnu-linker-matter
|
||||||
|
i=0;
|
||||||
|
while [[ $i -lt $# ]]; do
|
||||||
|
case "${args[$i]}" in
|
||||||
|
-L) cmd="$cmd ${args[$i]} ${args[($i+1)]}"; i=($i+1); ;;
|
||||||
|
-L*) cmd="$cmd ${args[$i]}" ;;
|
||||||
|
*) ;;
|
||||||
|
esac
|
||||||
|
i=($i+1);
|
||||||
|
done
|
||||||
|
|
||||||
|
i=0;
|
||||||
|
while [[ $i -lt $# ]]; do
|
||||||
|
case "${args[$i]}" in
|
||||||
|
-L) i=($i+1); ;;
|
||||||
|
-L*) ;;
|
||||||
|
*) cmd="$cmd ${args[$i]}" ;;
|
||||||
|
esac
|
||||||
|
i=($i+1);
|
||||||
|
done
|
||||||
|
|
||||||
|
# Trace:
|
||||||
|
set -x
|
||||||
|
exec $cmd
|
||||||
|
|
||||||
|
exit 0
|
@ -1,6 +1,6 @@
|
|||||||
addCVars () {
|
addCVars () {
|
||||||
if test -d $1/include; then
|
if test -d $1/include; then
|
||||||
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I$1/include"
|
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -isystem $1/include"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test -d $1/lib64; then
|
if test -d $1/lib64; then
|
||||||
|
35
pkgs/build-support/setup-hooks/fix-darwin-dylib-names.sh
Normal file
35
pkgs/build-support/setup-hooks/fix-darwin-dylib-names.sh
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
# On Mac OS X, binaries refer to dynamic library dependencies using
|
||||||
|
# either relative paths (e.g. "libicudata.dylib", searched relative to
|
||||||
|
# $DYLD_LIBRARY_PATH) or absolute paths
|
||||||
|
# (e.g. "/nix/store/.../lib/libicudata.dylib"). In Nix, the latter is
|
||||||
|
# preferred since it allows programs to just work. When linking
|
||||||
|
# against a library (e.g. "-licudata"), the linker uses the install
|
||||||
|
# name embedded in the dylib (which can be shown using "otool -D").
|
||||||
|
# Most packages create dylibs with absolute install names, but some do
|
||||||
|
# not. This setup hook fixes dylibs by setting their install names to
|
||||||
|
# their absolute path (using "install_name_tool -id"). It also
|
||||||
|
# rewrites references in other dylibs to absolute paths.
|
||||||
|
|
||||||
|
fixDarwinDylibNames() {
|
||||||
|
local flags=()
|
||||||
|
local old_id
|
||||||
|
|
||||||
|
for fn in "$@"; do
|
||||||
|
flags+=(-change "$(basename "$fn")" "$fn")
|
||||||
|
done
|
||||||
|
|
||||||
|
for fn in "$@"; do
|
||||||
|
if [ -L "$fn" ]; then continue; fi
|
||||||
|
echo "$fn: fixing dylib"
|
||||||
|
install_name_tool -id "$fn" "${flags[@]}" "$fn"
|
||||||
|
done
|
||||||
|
}
|
||||||
|
|
||||||
|
fixDarwinDylibNamesIn() {
|
||||||
|
local dir="$1"
|
||||||
|
fixDarwinDylibNames $(find "$dir" -name "*.dylib")
|
||||||
|
}
|
||||||
|
|
||||||
|
postFixup() {
|
||||||
|
fixDarwinDylibNamesIn "$prefix"
|
||||||
|
}
|
@ -290,7 +290,7 @@ rec {
|
|||||||
args = ["-e" (vmRunCommand qemuCommandLinux)];
|
args = ["-e" (vmRunCommand qemuCommandLinux)];
|
||||||
origArgs = attrs.args;
|
origArgs = attrs.args;
|
||||||
origBuilder = attrs.builder;
|
origBuilder = attrs.builder;
|
||||||
QEMU_OPTS = "-m ${toString (attrs.memSize or 512)}";
|
QEMU_OPTS = "${attrs.QEMU_OPTS or ""} -m ${toString (attrs.memSize or 512)}";
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
@ -766,10 +766,22 @@ rec {
|
|||||||
url = mirror://fedora/linux/releases/8/Everything/i386/os/repodata/primary.xml.gz;
|
url = mirror://fedora/linux/releases/8/Everything/i386/os/repodata/primary.xml.gz;
|
||||||
sha256 = "0kwf0jcp63pygpvgvwl4w58pph24xbcy6db6fnq2f3ly5myhz53n";
|
sha256 = "0kwf0jcp63pygpvgvwl4w58pph24xbcy6db6fnq2f3ly5myhz53n";
|
||||||
};
|
};
|
||||||
urlPrefix = mirror://fedora/linux/releases/8/Everything/i386/os;
|
urlPrefix = http://archives.fedoraproject.org/pub/archive/fedora/linux/releases/8/Everything/i386/os;
|
||||||
packages = commonFedoraPackages;
|
packages = commonFedoraPackages;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
fedora8x86_64 = {
|
||||||
|
name = "fedora-8-x86_64";
|
||||||
|
fullName = "Fedora 8 (x86_64)";
|
||||||
|
packagesList = fetchurl {
|
||||||
|
url = mirror://fedora/linux/releases/8/Everything/x86_64/os/repodata/primary.xml.gz;
|
||||||
|
sha256 = "11bfmpy3nz82zzmj5lfravvzlw514v4718adi4b06ps9zv3zpy8r";
|
||||||
|
};
|
||||||
|
urlPrefix = http://archives.fedoraproject.org/pub/archive/fedora/linux/releases/8/Everything/x86_64/os;
|
||||||
|
packages = commonFedoraPackages;
|
||||||
|
archs = ["noarch" "x86_64"];
|
||||||
|
};
|
||||||
|
|
||||||
fedora9i386 = {
|
fedora9i386 = {
|
||||||
name = "fedora-9-i386";
|
name = "fedora-9-i386";
|
||||||
fullName = "Fedora 9 (i386)";
|
fullName = "Fedora 9 (i386)";
|
||||||
@ -964,6 +976,32 @@ rec {
|
|||||||
unifiedSystemDir = true;
|
unifiedSystemDir = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
fedora20i386 = {
|
||||||
|
name = "fedora-20-i386";
|
||||||
|
fullName = "Fedora 20 (i386)";
|
||||||
|
packagesList = fetchurl {
|
||||||
|
url = mirror://fedora/linux/releases/20/Everything/i386/os/repodata/ae9c6ae73a12a64227e6b8e7b2d7e1c2a9515bd9c82f2af006c838e7a445dcb9-primary.xml.gz;
|
||||||
|
sha256 = "1ffw8njfff680vq2lby8v5dm3af2w7bv5rxqwqkl59hj7bknm75f";
|
||||||
|
};
|
||||||
|
urlPrefix = mirror://fedora/linux/releases/20/Everything/i386/os;
|
||||||
|
archs = ["noarch" "i386" "i586" "i686"];
|
||||||
|
packages = commonFedoraPackages ++ [ "cronie" "util-linux" ];
|
||||||
|
unifiedSystemDir = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
fedora20x86_64 = {
|
||||||
|
name = "fedora-20-x86_64";
|
||||||
|
fullName = "Fedora 20 (x86_64)";
|
||||||
|
packagesList = fetchurl {
|
||||||
|
url = mirror://fedora/linux/releases/20/Everything/x86_64/os/repodata/d7777ea6ec66e1c86c3fe1900adf5bf8d877fb77dd06e439bd76bbbec4e82094-primary.xml.gz;
|
||||||
|
sha256 = "1510x32bxfvnplwy81nxfzxpgn7qbgghm4717xnciqb6xjk7wxyp";
|
||||||
|
};
|
||||||
|
urlPrefix = mirror://fedora/linux/releases/20/Everything/x86_64/os;
|
||||||
|
archs = ["noarch" "x86_64"];
|
||||||
|
packages = commonFedoraPackages ++ [ "cronie" "util-linux" ];
|
||||||
|
unifiedSystemDir = true;
|
||||||
|
};
|
||||||
|
|
||||||
opensuse103i386 = {
|
opensuse103i386 = {
|
||||||
name = "opensuse-10.3-i586";
|
name = "opensuse-10.3-i586";
|
||||||
fullName = "openSUSE 10.3 (i586)";
|
fullName = "openSUSE 10.3 (i586)";
|
||||||
@ -1024,26 +1062,26 @@ rec {
|
|||||||
packages = commonOpenSUSEPackages;
|
packages = commonOpenSUSEPackages;
|
||||||
};
|
};
|
||||||
|
|
||||||
centos64i386 = {
|
centos65i386 = {
|
||||||
name = "centos-6.4-i386";
|
name = "centos-6.5-i386";
|
||||||
fullName = "CentOS 6.4 (i386)";
|
fullName = "CentOS 6.5 (i386)";
|
||||||
packagesList = fetchurl {
|
packagesList = fetchurl {
|
||||||
url = http://mirror.centos.org/centos/6.4/os/i386/repodata/87aa4c4e19f9a3ec93e3d820f1ea6b6ece8810cb45f117a16354465e57a1b50d-primary.xml.gz;
|
url = http://mirror.centos.org/centos/6.5/os/i386/repodata/a89f27cc7d3cea431f3bd605a1e9309c32d5d409abc1b51a7b5c71c05f18a0c2-primary.xml.gz;
|
||||||
sha256 = "03dml5bmwijlcfhigwa5rc88ikkfdgmg286qwf9yr8zr3574ral7";
|
sha256 = "1hm031gw0wawgcdbbhdb17adaclw63ls21fn7cgl7siwgp62g7x8";
|
||||||
};
|
};
|
||||||
urlPrefix = http://mirror.centos.org/centos/6.4/os/i386/ ;
|
urlPrefix = http://mirror.centos.org/centos/6.5/os/i386/ ;
|
||||||
archs = ["noarch" "i386"];
|
archs = ["noarch" "i386"];
|
||||||
packages = commonCentOSPackages;
|
packages = commonCentOSPackages;
|
||||||
};
|
};
|
||||||
|
|
||||||
centos64x86_64 = {
|
centos65x86_64 = {
|
||||||
name = "centos-6.4-x86_64";
|
name = "centos-6.5-x86_64";
|
||||||
fullName = "CentOS 6.4 (x86_64)";
|
fullName = "CentOS 6.5 (x86_64)";
|
||||||
packagesList = fetchurl {
|
packagesList = fetchurl {
|
||||||
url = http://mirror.centos.org/centos/6.4/os/x86_64/repodata/4d4030b92f010f466eb4f004312b9f532b9e85e60c5e6421e8b429c180ac1efe-primary.xml.gz;
|
url = http://mirror.centos.org/centos/6.5/os/x86_64/repodata/3353e378f5cb4bb6c3b3dd2ca266c6d68a1e29c36cf99f76aea3d8e158626024-primary.xml.gz;
|
||||||
sha256 = "1zhymj0c2adlx0hn8phcws2rwaskkwmk217hnip4c3q15ywk0h2d";
|
sha256 = "0930c9cf3n53mrv9zybcqclix2nnqrka4b6xng1vcjybymwf6lrk";
|
||||||
};
|
};
|
||||||
urlPrefix = http://mirror.centos.org/centos/6.4/os/x86_64/ ;
|
urlPrefix = http://mirror.centos.org/centos/6.5/os/x86_64/ ;
|
||||||
archs = ["noarch" "x86_64"];
|
archs = ["noarch" "x86_64"];
|
||||||
packages = commonCentOSPackages;
|
packages = commonCentOSPackages;
|
||||||
};
|
};
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ callPackage, self, stdenv, gettext, gvfs, libunique, overrides ? {} }:
|
{ callPackage, self, stdenv, gettext, gvfs, libunique, bison2, overrides ? {} }:
|
||||||
let overridden = set // overrides; set = with overridden; {
|
let overridden = set // overrides; set = with overridden; {
|
||||||
# Backward compatibility.
|
# Backward compatibility.
|
||||||
gtkdoc = self.gtk_doc;
|
gtkdoc = self.gtk_doc;
|
||||||
@ -19,7 +19,9 @@ let overridden = set // overrides; set = with overridden; {
|
|||||||
|
|
||||||
libglade = callPackage ./platform/libglade { };
|
libglade = callPackage ./platform/libglade { };
|
||||||
|
|
||||||
libgnomeprint = callPackage ./platform/libgnomeprint { };
|
libgnomeprint = callPackage ./platform/libgnomeprint {
|
||||||
|
bison = bison2;
|
||||||
|
};
|
||||||
|
|
||||||
libgnomeprintui = callPackage ./platform/libgnomeprintui { };
|
libgnomeprintui = callPackage ./platform/libgnomeprintui { };
|
||||||
|
|
||||||
|
27
pkgs/desktops/gnome-3/core/caribou/default.nix
Normal file
27
pkgs/desktops/gnome-3/core/caribou/default.nix
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
{ fetchurl, stdenv, pkgconfig, gnome3, clutter, dbus, pythonPackages, libxml2
|
||||||
|
, libxklavier, libXtst, gtk2, intltool, libxslt }:
|
||||||
|
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "caribou-0.4.12";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "mirror://gnome/sources/caribou/0.4/${name}.tar.xz";
|
||||||
|
sha256 = "0235sws58rg0kadxbp2nq5ha76zmhd4mr10n9qlbryf8p78qsvii";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = with gnome3;
|
||||||
|
[ glib pkgconfig gtk clutter at_spi2_core dbus pythonPackages.python pythonPackages.pygobject3
|
||||||
|
libxml2 libXtst gtk2 intltool libxslt ];
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ gnome3.libgee libxklavier ];
|
||||||
|
|
||||||
|
preBuild = ''
|
||||||
|
patchShebangs .
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
platforms = platforms.linux;
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
@ -44,8 +44,9 @@ stdenv.mkDerivation rec {
|
|||||||
# by `g_file_info_get_content_type ()'.
|
# by `g_file_info_get_content_type ()'.
|
||||||
wrapProgram "$out/bin/evince" \
|
wrapProgram "$out/bin/evince" \
|
||||||
--set GDK_PIXBUF_MODULE_FILE ${librsvg}/lib/gdk-pixbuf/loaders.cache \
|
--set GDK_PIXBUF_MODULE_FILE ${librsvg}/lib/gdk-pixbuf/loaders.cache \
|
||||||
--prefix XDG_DATA_DIRS : "${gnome3.gnome_icon_theme}/share:${gnome3.gsettings_desktop_schemas}/share:${shared_mime_info}/share:$out/share"
|
--prefix XDG_DATA_DIRS : "${gnome3.gnome_icon_theme}/share:${gnome3.gsettings_desktop_schemas}/share:${gtk3}/share:${shared_mime_info}/share:$out/share"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
doCheck = false; # would need pythonPackages.dogTail, which is missing
|
doCheck = false; # would need pythonPackages.dogTail, which is missing
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
@ -61,5 +62,6 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
license = "GPLv2+";
|
license = "GPLv2+";
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
|
maintainers = [ maintainers.vcunat ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
24
pkgs/desktops/gnome-3/core/evolution-data-server/default.nix
Normal file
24
pkgs/desktops/gnome-3/core/evolution-data-server/default.nix
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
{ fetchurl, stdenv, pkgconfig, gnome3, python, intltool, libsoup, libxml2, libsecret
|
||||||
|
, p11_kit, db4, nspr, nss, libical, gperf }:
|
||||||
|
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "evolution-data-server-3.10.2";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "mirror://gnome/sources/evolution-data-server/3.10/${name}.tar.xz";
|
||||||
|
sha256 = "1fgchc1gzrhhzgn4zf9par4yz72m82j871kf7pky458mh4c4sf0g";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = with gnome3;
|
||||||
|
[ pkgconfig glib python intltool libsoup libxml2 gtk gnome_online_accounts libsecret
|
||||||
|
gcr p11_kit db4 nspr nss libgweather libical libgdata gperf ];
|
||||||
|
|
||||||
|
# uoa irrelevant for now
|
||||||
|
configureFlags = "--disable-uoa --with-nspr-includes=${nspr}/include/nspr --with-nss-includes=${nss}/include/nss";
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
platforms = platforms.linux;
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
20
pkgs/desktops/gnome-3/core/geocode-glib/default.nix
Normal file
20
pkgs/desktops/gnome-3/core/geocode-glib/default.nix
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
{ fetchurl, stdenv, pkgconfig, gnome3, intltool, libsoup, json_glib }:
|
||||||
|
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "geocode-glib-3.10.0";
|
||||||
|
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "mirror://gnome/sources/geocode-glib/3.10/${name}.tar.xz";
|
||||||
|
sha256 = "0dx6v9n4dsskcy6630s77cyb32xlykdall0d555976warycc3v8a";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = with gnome3;
|
||||||
|
[ intltool pkgconfig glib libsoup json_glib ];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
platforms = platforms.linux;
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
21
pkgs/desktops/gnome-3/core/gjs/default.nix
Normal file
21
pkgs/desktops/gnome-3/core/gjs/default.nix
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
{ fetchurl, stdenv, pkgconfig, gnome3, gobjectIntrospection, spidermonkey_17 }:
|
||||||
|
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "gjs-1.38.1";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "mirror://gnome/sources/gjs/1.38/${name}.tar.xz";
|
||||||
|
sha256 = "0xl1zc5ncaxqs5ww5j82rzqrg429l8pdapqclxiba7dxwyh6a83b";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = with gnome3;
|
||||||
|
[ gobjectIntrospection pkgconfig glib ];
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ spidermonkey_17 ];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
platforms = platforms.linux;
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, intltool, pkgconfig, glib }:
|
{ stdenv, fetchurl, intltool, pkgconfig, glib, gobjectIntrospection }:
|
||||||
let
|
let
|
||||||
version = "3.10.1";
|
version = "3.10.1";
|
||||||
in
|
in
|
||||||
@ -10,9 +10,11 @@ stdenv.mkDerivation {
|
|||||||
sha256 = "0wcacs1vk3pld8wvrwq7fdrm11i56nrajkrp6j1da6jc4yx0m5a6";
|
sha256 = "0wcacs1vk3pld8wvrwq7fdrm11i56nrajkrp6j1da6jc4yx0m5a6";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
makeFlags = "INTROSPECTION_GIRDIR=$(out)/share/gir-1.0/ INTROSPECTION_TYPELIBDIR=$(out)/lib/girepository-1.0";
|
||||||
|
|
||||||
preBuild = "patchShebangs ./scripts";
|
preBuild = "patchShebangs ./scripts";
|
||||||
|
|
||||||
buildInputs=[ intltool pkgconfig glib ];
|
buildInputs = [ intltool pkgconfig glib gobjectIntrospection ];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = "http://www.gnome.org";
|
homepage = "http://www.gnome.org";
|
||||||
|
35
pkgs/desktops/gnome-3/core/gnome-settings-daemon/default.nix
Normal file
35
pkgs/desktops/gnome-3/core/gnome-settings-daemon/default.nix
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
{ fetchurl, stdenv, pkgconfig, gnome3, intltool, glib, libnotify, lcms2, libXtst
|
||||||
|
, libxkbfile, pulseaudio, libcanberra_gtk3, upower, colord, libgweather, polkit
|
||||||
|
, geoclue2, librsvg, xf86_input_wacom, udev, libwacom, libxslt, libtool
|
||||||
|
, docbook_xsl, docbook_xsl_ns, makeWrapper }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "gnome-settings-daemon-3.10.2";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "mirror://gnome/sources/gnome-settings-daemon/3.10/${name}.tar.xz";
|
||||||
|
sha256 = "0r42lzlgk0w40ws4d3s7yayn6n8zqlnh5b6k88gvgv1lwk39k240";
|
||||||
|
};
|
||||||
|
|
||||||
|
configureFlags = "--disable-ibus";
|
||||||
|
|
||||||
|
# fatal error: gio/gunixfdlist.h: No such file or directory
|
||||||
|
NIX_CFLAGS_COMPILE = "-I${glib}/include/gio-unix-2.0";
|
||||||
|
|
||||||
|
buildInputs = with gnome3;
|
||||||
|
[ intltool pkgconfig gtk glib gsettings_desktop_schemas libnotify gnome_desktop
|
||||||
|
lcms2 libXtst libxkbfile pulseaudio libcanberra_gtk3 upower colord libgweather
|
||||||
|
polkit geocode_glib geoclue2 librsvg xf86_input_wacom udev libwacom libxslt
|
||||||
|
libtool docbook_xsl docbook_xsl_ns makeWrapper ];
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
wrapProgram "$out/libexec/gnome-settings-daemon-localeexec" \
|
||||||
|
--prefix GI_TYPELIB_PATH : "$GI_TYPELIB_PATH" \
|
||||||
|
--prefix XDG_DATA_DIRS : "${gnome3.gtk}/share:${gnome3.gsettings_desktop_schemas}/share:$out/share"
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
platforms = platforms.linux;
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
25
pkgs/desktops/gnome-3/core/libgdata/default.nix
Normal file
25
pkgs/desktops/gnome-3/core/libgdata/default.nix
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
{ stdenv, fetchurl, pkgconfig, intltool, libxml2, glib
|
||||||
|
, gobjectIntrospection, liboauth, gnome3, p11_kit, openssl }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "libgdata-0.14.0";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "mirror://gnome/sources/libgdata/0.14/${name}.tar.xz";
|
||||||
|
sha256 = "1scjs944kjazbsh86kdj6w2vprib6yd3wzxzabcs59acmr0m4hax";
|
||||||
|
};
|
||||||
|
|
||||||
|
NIX_CFLAGS_COMPILE = "-I${gnome3.libsoup}/include/libsoup-gnome-2.4/ -I${gnome3.gcr}/include/gcr-3 -I${gnome3.gcr}/include/gck-1";
|
||||||
|
|
||||||
|
buildInputs = with gnome3;
|
||||||
|
[ pkgconfig libsoup intltool libxml2 glib gobjectIntrospection
|
||||||
|
liboauth gcr gnome_online_accounts p11_kit openssl ];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "GData API library";
|
||||||
|
maintainers = with maintainers; [ raskin ];
|
||||||
|
platforms = platforms.linux;
|
||||||
|
license = licenses.lgpl21Plus;
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
28
pkgs/desktops/gnome-3/core/mutter/default.nix
Normal file
28
pkgs/desktops/gnome-3/core/mutter/default.nix
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
{ fetchurl, stdenv, pkgconfig, gnome3, intltool, gobjectIntrospection, upower, cairo
|
||||||
|
, pango, cogl, clutter, libstartup_notification, libcanberra, zenity, libcanberra_gtk3
|
||||||
|
, libtool }:
|
||||||
|
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "mutter-3.10.2";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "mirror://gnome/sources/mutter/3.10/${name}.tar.xz";
|
||||||
|
sha256 = "000iclb96mgc4rp2q0cy72nfwyfzl6avijl9nmk87f5sgyy670a3";
|
||||||
|
};
|
||||||
|
|
||||||
|
# fatal error: gio/gunixfdlist.h: No such file or directory
|
||||||
|
NIX_CFLAGS_COMPILE = "-I${gnome3.glib}/include/gio-unix-2.0";
|
||||||
|
|
||||||
|
configureFlags = "--with-x --disable-static --enable-shape --enable-sm --enable-startup-notification --enable-xsync --enable-verbose-mode --with-libcanberra";
|
||||||
|
|
||||||
|
buildInputs = with gnome3;
|
||||||
|
[ pkgconfig intltool glib gobjectIntrospection gtk gsettings_desktop_schemas upower
|
||||||
|
gnome_desktop cairo pango cogl clutter zenity libstartup_notification libcanberra
|
||||||
|
libcanberra_gtk3 zenity libtool ];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
platforms = platforms.linux;
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
@ -9,7 +9,6 @@ rec {
|
|||||||
|
|
||||||
#### Overrides of libraries
|
#### Overrides of libraries
|
||||||
|
|
||||||
librsvg = pkgs.librsvg.override { inherit gtk2; }; # gtk2 mysteriously needed in librsvg for goffice (commented in Gentoo)
|
|
||||||
libsoup = pkgs.libsoup_2_44;
|
libsoup = pkgs.libsoup_2_44;
|
||||||
|
|
||||||
#### Core (http://ftp.acc.umu.se/pub/GNOME/core/)
|
#### Core (http://ftp.acc.umu.se/pub/GNOME/core/)
|
||||||
@ -18,27 +17,38 @@ rec {
|
|||||||
|
|
||||||
at_spi2_core = callPackage ./core/at-spi2-core { };
|
at_spi2_core = callPackage ./core/at-spi2-core { };
|
||||||
|
|
||||||
|
caribou = callPackage ./core/caribou { };
|
||||||
|
|
||||||
dconf = callPackage ./core/dconf { };
|
dconf = callPackage ./core/dconf { };
|
||||||
|
|
||||||
evince = callPackage ./core/evince { }; # ToDo: dbus would prevent compilation, enable tests
|
evince = callPackage ./core/evince { }; # ToDo: dbus would prevent compilation, enable tests
|
||||||
|
|
||||||
|
evolution_data_server = callPackage ./core/evolution-data-server { };
|
||||||
|
|
||||||
gconf = callPackage ./core/gconf { };
|
gconf = callPackage ./core/gconf { };
|
||||||
|
|
||||||
|
geocode_glib = callPackage ./core/geocode-glib { };
|
||||||
|
|
||||||
gcr = callPackage ./core/gcr { }; # ToDo: tests fail
|
gcr = callPackage ./core/gcr { }; # ToDo: tests fail
|
||||||
|
|
||||||
gdm = callPackage ./core/gdm { };
|
gdm = callPackage ./core/gdm { };
|
||||||
|
|
||||||
|
gjs = callPackage ./core/gjs { };
|
||||||
|
|
||||||
gnome_icon_theme = callPackage ./core/gnome-icon-theme { };
|
gnome_icon_theme = callPackage ./core/gnome-icon-theme { };
|
||||||
|
|
||||||
gnome-menus = callPackage ./core/gnome-menus { };
|
gnome-menus = callPackage ./core/gnome-menus { };
|
||||||
|
|
||||||
gnome_keyring = callPackage ./core/gnome-keyring { };
|
gnome_keyring = callPackage ./core/gnome-keyring { };
|
||||||
|
|
||||||
libgnome_keyring = callPackage ./core/libgnome-keyring { };
|
libgnome_keyring = callPackage ./core/libgnome-keyring { };
|
||||||
|
|
||||||
gnome_online_accounts = callPackage ./core/gnome-online-accounts { };
|
gnome_online_accounts = callPackage ./core/gnome-online-accounts { };
|
||||||
|
|
||||||
gnome_session = callPackage ./core/gnome-session { };
|
gnome_session = callPackage ./core/gnome-session { };
|
||||||
|
|
||||||
|
gnome_settings_daemon = callPackage ./core/gnome-settings-daemon { };
|
||||||
|
|
||||||
gnome_terminal = callPackage ./core/gnome-terminal { };
|
gnome_terminal = callPackage ./core/gnome-terminal { };
|
||||||
|
|
||||||
gnome_themes_standard = callPackage ./core/gnome-themes-standard { };
|
gnome_themes_standard = callPackage ./core/gnome-themes-standard { };
|
||||||
@ -53,6 +63,8 @@ rec {
|
|||||||
|
|
||||||
libgee = callPackage ./core/libgee { };
|
libgee = callPackage ./core/libgee { };
|
||||||
|
|
||||||
|
libgdata = callPackage ./core/libgdata { };
|
||||||
|
|
||||||
libgxps = callPackage ./core/libgxps { };
|
libgxps = callPackage ./core/libgxps { };
|
||||||
|
|
||||||
libpeas = callPackage ./core/libpeas {};
|
libpeas = callPackage ./core/libpeas {};
|
||||||
@ -63,6 +75,8 @@ rec {
|
|||||||
|
|
||||||
libzapojit = callPackage ./core/libzapojit { };
|
libzapojit = callPackage ./core/libzapojit { };
|
||||||
|
|
||||||
|
mutter = callPackage ./core/mutter { };
|
||||||
|
|
||||||
nautilus = callPackage ./core/nautilus { };
|
nautilus = callPackage ./core/nautilus { };
|
||||||
|
|
||||||
rest = callPackage ./core/rest { };
|
rest = callPackage ./core/rest { };
|
||||||
|
@ -32,7 +32,7 @@ stdenv.mkDerivation {
|
|||||||
});
|
});
|
||||||
|
|
||||||
patches =
|
patches =
|
||||||
[./pass-cxxcpp.patch]
|
[./pass-cxxcpp.patch ./siginfo_t.patch]
|
||||||
++ optional noSysDirs [./no-sys-dirs.patch];
|
++ optional noSysDirs [./no-sys-dirs.patch];
|
||||||
|
|
||||||
inherit noSysDirs profiledCompiler staticCompiler;
|
inherit noSysDirs profiledCompiler staticCompiler;
|
||||||
|
15
pkgs/development/compilers/gcc/4.2/siginfo_t.patch
Normal file
15
pkgs/development/compilers/gcc/4.2/siginfo_t.patch
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
https://bbs.archlinux.org/viewtopic.php?id=144949
|
||||||
|
--- a/gcc/config/i386/linux-unwind.h 2011-01-03 20:52:22.000000000 +0000
|
||||||
|
+++ b/gcc/config/i386/linux-unwind.h 2012-07-06 12:23:51.562859470 +0100
|
||||||
|
@@ -133,9 +133,9 @@
|
||||||
|
{
|
||||||
|
struct rt_sigframe {
|
||||||
|
int sig;
|
||||||
|
- struct siginfo *pinfo;
|
||||||
|
+ siginfo_t *pinfo;
|
||||||
|
void *puc;
|
||||||
|
- struct siginfo info;
|
||||||
|
+ siginfo_t info;
|
||||||
|
struct ucontext uc;
|
||||||
|
} *rt_ = context->cfa;
|
||||||
|
/* The void * cast is necessary to avoid an aliasing warning.
|
@ -29,7 +29,7 @@ assert langVhdl -> gnat != null;
|
|||||||
with stdenv.lib;
|
with stdenv.lib;
|
||||||
|
|
||||||
let
|
let
|
||||||
version = "4.3.4";
|
version = "4.3.6";
|
||||||
|
|
||||||
crossConfigureFlags =
|
crossConfigureFlags =
|
||||||
"--target=${cross.config}" +
|
"--target=${cross.config}" +
|
||||||
@ -60,19 +60,19 @@ stdenv.mkDerivation ({
|
|||||||
src =
|
src =
|
||||||
optional /*langC*/ true (fetchurl {
|
optional /*langC*/ true (fetchurl {
|
||||||
url = "mirror://gcc/releases/gcc-${version}/gcc-core-${version}.tar.bz2";
|
url = "mirror://gcc/releases/gcc-${version}/gcc-core-${version}.tar.bz2";
|
||||||
sha256 = "1yk80nwyw8vkpw8d3x7lkg3zrv3ngjqlvj0i8zslzgj7a27q729i";
|
sha256 = "0ygrfw3hgp48hkqipbl9lw38f27npigc2sm6f01g9iswpq1igbw6";
|
||||||
}) ++
|
}) ++
|
||||||
optional langCC (fetchurl {
|
optional langCC (fetchurl {
|
||||||
url = "mirror://gcc/releases/gcc-${version}/gcc-g++-${version}.tar.bz2";
|
url = "mirror://gcc/releases/gcc-${version}/gcc-g++-${version}.tar.bz2";
|
||||||
sha256 = "0d8pyk5c9zmph25f4fl63vd8vhljj6ildbxpz2hr594g5i6pplpq";
|
sha256 = "105xz3991b57zx3146xwlpchdb2sjmlknclvi1iac2gawm4mhxhf";
|
||||||
}) ++
|
}) ++
|
||||||
optional langFortran (fetchurl {
|
optional langFortran (fetchurl {
|
||||||
url = "mirror://gcc/releases/gcc-${version}/gcc-fortran-${version}.tar.bz2";
|
url = "mirror://gcc/releases/gcc-${version}/gcc-fortran-${version}.tar.bz2";
|
||||||
sha256 = "1xf2njykv1qcgxiqwj693dxjf77ss1rcxirylvnsp5hs89mdlj12";
|
sha256 = "12bqvf53hvhrwjnh101vn9frb5g8cr98cra4f11dzhzs4ppydpi1";
|
||||||
}) ++
|
}) ++
|
||||||
optional langJava (fetchurl {
|
optional langJava (fetchurl {
|
||||||
url = "mirror://gcc/releases/gcc-${version}/gcc-java-${version}.tar.bz2";
|
url = "mirror://gcc/releases/gcc-${version}/gcc-java-${version}.tar.bz2";
|
||||||
sha256 = "1v3krhxi3zyaqfj0x8dbxvg67fjp29cr1psyf71r9zf757p3vqsw";
|
sha256 = "03w6jln9gmdv149s774rlw4rzi2zhbqna54r86cd6mql8flmy7fs";
|
||||||
});
|
});
|
||||||
|
|
||||||
patches =
|
patches =
|
||||||
|
@ -31,7 +31,7 @@ assert langVhdl -> gnat != null;
|
|||||||
|
|
||||||
with stdenv.lib;
|
with stdenv.lib;
|
||||||
|
|
||||||
let version = "4.4.6";
|
let version = "4.4.7";
|
||||||
javaEcj = fetchurl {
|
javaEcj = fetchurl {
|
||||||
# The `$(top_srcdir)/ecj.jar' file is automatically picked up at
|
# The `$(top_srcdir)/ecj.jar' file is automatically picked up at
|
||||||
# `configure' time.
|
# `configure' time.
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user