Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

Merge branch 'master' into staging

+1149 -964
+1
lib/maintainers.nix
··· 108 108 mornfall = "Petr Ročkai <me@mornfall.net>"; 109 109 MP2E = "Cray Elliott <MP2E@archlinux.us>"; 110 110 msackman = "Matthew Sackman <matthew@wellquite.org>"; 111 + muflax = "Stefan Dorn <mail@muflax.com>"; 111 112 nathan-gs = "Nathan Bijnens <nathan@nathan.gs>"; 112 113 nckx = "Tobias Geerinckx-Rice <tobias.geerinckx.rice@gmail.com>"; 113 114 notthemessiah = "Brian Cohen <brian.cohen.88@gmail.com>";
+1 -1
nixos/doc/manual/configuration/network-manager.xml
··· 13 13 services.networkmanager.enable = true; 14 14 </programlisting> 15 15 16 - Some desktop managers (e.g., GNOME) enable NetworkManager 16 + some desktop managers (e.g., GNOME) enable NetworkManager 17 17 automatically for you.</para> 18 18 19 19 <para>All users that should have permission to change network settings
+17 -15
nixos/doc/manual/development/running-nixos-tests.xml
··· 39 39 40 40 </para> 41 41 42 - <para>It is also possible to run the test environment interactively, 43 - allowing you to experiment with the VMs. For example: 44 - 45 - <screen> 46 - $ nix-build login.nix -A driver 47 - $ ./result/bin/nixos-run-vms 48 - </screen> 49 - 50 - The script <command>nixos-run-vms</command> starts the virtual 51 - machines defined by test. The root file system of the VMs is created 52 - on the fly and kept across VM restarts in 53 - <filename>./</filename><varname>hostname</varname><filename>.qcow2</filename>.</para> 42 + <title>Running Tests interactively</title> 54 43 55 - <para>Finally, the test itself can be run interactively. This is 44 + <para>The test itself can be run interactively. This is 56 45 particularly useful when developing or debugging a test: 57 46 58 47 <screen> 59 - $ nix-build tests/ -A nfs.driver 48 + $ nix-build nixos/tests/login.nix -A driver 60 49 $ ./result/bin/nixos-test-driver 61 50 starting VDE switch for network 1 62 51 &gt; ··· 66 55 67 56 <screen> 68 57 &gt; startAll 58 + &gt; testScript 69 59 &gt; $machine->succeed("touch /tmp/foo") 70 60 </screen> 71 61 ··· 74 64 completion. This allows you to inspect the state of the VMs after the 75 65 test (e.g. to debug the test script).</para> 76 66 77 - </section> 67 + <para>To just start and experiment with the VMs, run: 68 + 69 + <screen> 70 + $ nix-build nixos/tests/login.nix -A driver 71 + $ ./result/bin/nixos-run-vms 72 + </screen> 73 + 74 + The script <command>nixos-run-vms</command> starts the virtual 75 + machines defined by test. The root file system of the VMs is created 76 + on the fly and kept across VM restarts in 77 + <filename>./</filename><varname>hostname</varname><filename>.qcow2</filename>.</para> 78 + 79 + </section>
+3 -3
nixos/doc/manual/installation/installing.xml
··· 25 25 run <command>start display-manager</command> to start KDE.</para></listitem> 26 26 27 27 <listitem><para>The boot process should have brought up networking (check 28 - <command>ifconfig</command>). Networking is necessary for the 28 + <command>ip a</command>). Networking is necessary for the 29 29 installer, since it will download lots of stuff (such as source 30 30 tarballs or Nixpkgs channel binaries). It’s best if you have a DHCP 31 31 server on your network. Otherwise configure networking manually 32 32 using <command>ifconfig</command>.</para> 33 33 <para>To manually configure the network on the graphical installer, 34 - first disable NetworkManager with 35 - <command>stop NetworkManager</command>.</para></listitem> 34 + first disable network-manager with 35 + <command>systemctl stop network-manager</command>.</para></listitem> 36 36 37 37 <listitem><para>The NixOS installer doesn’t do any partitioning or 38 38 formatting yet, so you need to that yourself. Use the following
+1 -1
nixos/modules/installer/tools/nixos-generate-config.pl
··· 235 235 # Check if we're a VirtualBox guest. If so, enable the guest 236 236 # additions. 237 237 if ($virt eq "oracle") { 238 - push @attrs, "services.virtualbox.enable = true;" 238 + push @attrs, "services.virtualboxGuest.enable = true;" 239 239 } 240 240 241 241
+1
nixos/modules/module-list.nix
··· 67 67 ./programs/ssmtp.nix 68 68 ./programs/uim.nix 69 69 ./programs/venus.nix 70 + ./programs/virtualbox-host.nix 70 71 ./programs/wvdial.nix 71 72 ./programs/freetds.nix 72 73 ./programs/zsh/zsh.nix
-1
nixos/modules/programs/environment.nix
··· 40 40 # TODO: move most of these elsewhere 41 41 environment.profileRelativeEnvVars = 42 42 { PATH = [ "/bin" "/sbin" "/lib/kde4/libexec" ]; 43 - MANPATH = [ "/man" "/share/man" ]; 44 43 INFOPATH = [ "/info" "/share/info" ]; 45 44 PKG_CONFIG_PATH = [ "/lib/pkgconfig" ]; 46 45 TERMINFO_DIRS = [ "/share/terminfo" ];
+56
nixos/modules/programs/virtualbox-host.nix
··· 1 + { config, lib, pkgs, ... }: 2 + 3 + with lib; 4 + 5 + let 6 + virtualbox = config.boot.kernelPackages.virtualbox; 7 + in 8 + 9 + { 10 + options = { 11 + services.virtualboxHost.enable = mkEnableOption "VirtualBox Host support"; 12 + }; 13 + 14 + config = mkIf config.services.virtualboxHost.enable { 15 + boot.kernelModules = [ "vboxdrv" "vboxnetadp" "vboxnetflt" ]; 16 + boot.extraModulePackages = [ virtualbox ]; 17 + environment.systemPackages = [ virtualbox ]; 18 + 19 + users.extraGroups.vboxusers.gid = config.ids.gids.vboxusers; 20 + 21 + services.udev.extraRules = 22 + '' 23 + KERNEL=="vboxdrv", OWNER="root", GROUP="vboxusers", MODE="0660", TAG+="systemd" 24 + KERNEL=="vboxdrvu", OWNER="root", GROUP="root", MODE="0666", TAG+="systemd" 25 + KERNEL=="vboxnetctl", OWNER="root", GROUP="vboxusers", MODE="0660", TAG+="systemd" 26 + SUBSYSTEM=="usb_device", ACTION=="add", RUN+="${virtualbox}/libexec/virtualbox/VBoxCreateUSBNode.sh $major $minor $attr{bDeviceClass}" 27 + SUBSYSTEM=="usb", ACTION=="add", ENV{DEVTYPE}=="usb_device", RUN+="${virtualbox}/libexec/virtualbox/VBoxCreateUSBNode.sh $major $minor $attr{bDeviceClass}" 28 + SUBSYSTEM=="usb_device", ACTION=="remove", RUN+="${virtualbox}/libexec/virtualbox/VBoxCreateUSBNode.sh --remove $major $minor" 29 + SUBSYSTEM=="usb", ACTION=="remove", ENV{DEVTYPE}=="usb_device", RUN+="${virtualbox}/libexec/virtualbox/VBoxCreateUSBNode.sh --remove $major $minor" 30 + ''; 31 + 32 + # Since we lack the right setuid binaries, set up a host-only network by default. 33 + 34 + systemd.services."vboxnet0" = 35 + { description = "VirtualBox vboxnet0 Interface"; 36 + requires = [ "dev-vboxnetctl.device" ]; 37 + after = [ "dev-vboxnetctl.device" ]; 38 + wantedBy = [ "network.target" "sys-subsystem-net-devices-vboxnet0.device" ]; 39 + path = [ virtualbox ]; 40 + serviceConfig.RemainAfterExit = true; 41 + serviceConfig.Type = "oneshot"; 42 + script = 43 + '' 44 + if ! [ -e /sys/class/net/vboxnet0 ]; then 45 + VBoxManage hostonlyif create 46 + fi 47 + ''; 48 + postStop = 49 + '' 50 + VBoxManage hostonlyif remove vboxnet0 51 + ''; 52 + }; 53 + 54 + networking.interfaces.vboxnet0.ip4 = [ { address = "192.168.56.1"; prefixLength = 24; } ]; 55 + }; 56 + }
+7 -47
nixos/modules/programs/virtualbox.nix
··· 1 - { config, lib, pkgs, ... }: 2 - 3 - with lib; 4 - 5 - let virtualbox = config.boot.kernelPackages.virtualbox; in 6 - 7 - { 8 - boot.kernelModules = [ "vboxdrv" "vboxnetadp" "vboxnetflt" ]; 9 - boot.extraModulePackages = [ virtualbox ]; 10 - environment.systemPackages = [ virtualbox ]; 11 - 12 - users.extraGroups.vboxusers.gid = config.ids.gids.vboxusers; 13 - 14 - services.udev.extraRules = 15 - '' 16 - KERNEL=="vboxdrv", OWNER="root", GROUP="vboxusers", MODE="0660", TAG+="systemd" 17 - KERNEL=="vboxdrvu", OWNER="root", GROUP="root", MODE="0666", TAG+="systemd" 18 - KERNEL=="vboxnetctl", OWNER="root", GROUP="vboxusers", MODE="0660", TAG+="systemd" 19 - SUBSYSTEM=="usb_device", ACTION=="add", RUN+="${virtualbox}/libexec/virtualbox/VBoxCreateUSBNode.sh $major $minor $attr{bDeviceClass}" 20 - SUBSYSTEM=="usb", ACTION=="add", ENV{DEVTYPE}=="usb_device", RUN+="${virtualbox}/libexec/virtualbox/VBoxCreateUSBNode.sh $major $minor $attr{bDeviceClass}" 21 - SUBSYSTEM=="usb_device", ACTION=="remove", RUN+="${virtualbox}/libexec/virtualbox/VBoxCreateUSBNode.sh --remove $major $minor" 22 - SUBSYSTEM=="usb", ACTION=="remove", ENV{DEVTYPE}=="usb_device", RUN+="${virtualbox}/libexec/virtualbox/VBoxCreateUSBNode.sh --remove $major $minor" 23 - ''; 24 - 25 - # Since we lack the right setuid binaries, set up a host-only network by default. 26 - 27 - systemd.services."vboxnet0" = 28 - { description = "VirtualBox vboxnet0 Interface"; 29 - requires = [ "dev-vboxnetctl.device" ]; 30 - after = [ "dev-vboxnetctl.device" ]; 31 - wantedBy = [ "network.target" "sys-subsystem-net-devices-vboxnet0.device" ]; 32 - path = [ virtualbox ]; 33 - serviceConfig.RemainAfterExit = true; 34 - serviceConfig.Type = "oneshot"; 35 - script = 36 - '' 37 - if ! [ -e /sys/class/net/vboxnet0 ]; then 38 - VBoxManage hostonlyif create 39 - fi 40 - ''; 41 - postStop = 42 - '' 43 - VBoxManage hostonlyif remove vboxnet0 44 - ''; 45 - }; 46 - 47 - networking.interfaces.vboxnet0.ip4 = [ { address = "192.168.56.1"; prefixLength = 24; } ]; 1 + let 2 + msg = "Importing <nixpkgs/nixos/modules/programs/virtualbox.nix> is " 3 + + "deprecated, please use `services.virtualboxHost.enable = true' " 4 + + "instead."; 5 + in { 6 + config.warnings = [ msg ]; 7 + config.services.virtualboxHost.enable = true; 48 8 }
+3
nixos/modules/rename.nix
··· 107 107 ++ obsolete [ "services" "xserver" "startOpenSSHAgent" ] [ "programs" "ssh" "startAgent" ] 108 108 ++ obsolete [ "services" "xserver" "windowManager" "xbmc" ] [ "services" "xserver" "desktopManager" "xbmc" ] 109 109 110 + # VirtualBox 111 + ++ obsolete [ "services" "virtualbox" "enable" ] [ "services" "virtualboxGuest" "enable" ] 112 + 110 113 # KDE 111 114 ++ deprecated [ "kde" "extraPackages" ] [ "environment" "kdePackages" ] 112 115 # ++ obsolete [ "environment" "kdePackages" ] [ "environment" "systemPackages" ] # !!! doesn't work!
-1
nixos/modules/security/ca.nix
··· 16 16 { SSL_CERT_FILE = "/etc/ssl/certs/ca-bundle.crt"; 17 17 # FIXME: unneeded - remove eventually. 18 18 OPENSSL_X509_CERT_FILE = "/etc/ssl/certs/ca-bundle.crt"; 19 - GIT_SSL_CAINFO = "/etc/ssl/certs/ca-bundle.crt"; 20 19 }; 21 20 22 21 };
+3 -3
nixos/modules/services/networking/networkmanager.nix
··· 177 177 systemd.services."networkmanager-init" = { 178 178 description = "NetworkManager initialisation"; 179 179 wantedBy = [ "network.target" ]; 180 - wants = [ "NetworkManager.service" ]; 181 - before = [ "NetworkManager.service" ]; 180 + wants = [ "network-manager.service" ]; 181 + before = [ "network-manager.service" ]; 182 182 script = '' 183 183 mkdir -m 700 -p /etc/NetworkManager/system-connections 184 184 mkdir -m 755 -p ${stateDirs} ··· 193 193 }; 194 194 195 195 powerManagement.resumeCommands = '' 196 - systemctl restart NetworkManager 196 + Systemctl restart network-manager 197 197 ''; 198 198 199 199 security.polkit.extraConfig = polkitConf;
+14 -7
nixos/modules/services/networking/ssh/sshd.nix
··· 17 17 18 18 knownHosts = map (h: getAttr h cfg.knownHosts) (attrNames cfg.knownHosts); 19 19 20 - knownHostsFile = pkgs.writeText "ssh_known_hosts" ( 21 - flip concatMapStrings knownHosts (h: '' 22 - ${concatStringsSep "," h.hostNames} ${if h.publicKey != null then h.publicKey else readFile h.publicKeyFile} 23 - '') 24 - ); 20 + knownHostsFile = pkgs.runCommand "ssh_known_hosts" {} '' 21 + touch "$out" 22 + ${flip concatMapStrings knownHosts (h: '' 23 + pubkeyfile=${builtins.toFile "host.pub" (if h.publicKey == null then readFile h.publicKeyFile else h.publicKey)} 24 + ${pkgs.gnused}/bin/sed 's/^/${concatStringsSep "," h.hostNames} /' $pubkeyfile >> "$out" 25 + '')} 26 + ''; 25 27 26 28 userOptions = { 27 29 ··· 254 256 description = '' 255 257 The public key data for the host. You can fetch a public key 256 258 from a running SSH server with the <command>ssh-keyscan</command> 257 - command. 259 + command. The public key should not include any host names, only 260 + the key type and the key itself. It is allowed to add several 261 + lines here, each line will be treated as type/key pair and the 262 + host names will be prepended to each line. 258 263 ''; 259 264 }; 260 265 publicKeyFile = mkOption { ··· 264 269 The path to the public key file for the host. The public 265 270 key file is read at build time and saved in the Nix store. 266 271 You can fetch a public key file from a running SSH server 267 - with the <command>ssh-keyscan</command> command. 272 + with the <command>ssh-keyscan</command> command. The content 273 + of the file should follow the same format as described for 274 + the <literal>publicKey</literal> option. 268 275 ''; 269 276 }; 270 277 };
+15
nixos/modules/services/printing/cupsd.nix
··· 90 90 ''; 91 91 }; 92 92 93 + extraConf = mkOption { 94 + type = types.lines; 95 + default = ""; 96 + example = 97 + '' 98 + BrowsePoll cups.example.com 99 + LogLevel debug 100 + ''; 101 + description = '' 102 + Extra contents of the configuration file of the CUPS daemon 103 + (<filename>cupsd.conf</filename>). 104 + ''; 105 + }; 106 + 93 107 clientConf = mkOption { 94 108 type = types.lines; 95 109 default = ""; ··· 258 272 Order deny,allow 259 273 </Limit> 260 274 </Policy> 275 + ${cfg.extraConf} 261 276 ''; 262 277 263 278 security.pam.services.cups = {};
+1 -1
nixos/modules/services/x11/desktop-managers/default.nix
··· 19 19 # E.g., if KDE is enabled, it supersedes xterm. 20 20 imports = [ 21 21 ./none.nix ./xterm.nix ./xfce.nix ./kde4.nix 22 - ./e17.nix ./e18.nix ./e19.nix ./gnome3.nix ./xbmc.nix 22 + ./e19.nix ./gnome3.nix ./xbmc.nix 23 23 ]; 24 24 25 25 options = {
-30
nixos/modules/services/x11/desktop-managers/e17.nix
··· 1 - { config, lib, pkgs, ... }: 2 - 3 - with lib; 4 - 5 - let 6 - 7 - xcfg = config.services.xserver; 8 - cfg = xcfg.desktopManager.e17; 9 - 10 - in 11 - 12 - { 13 - options = { 14 - 15 - services.xserver.desktopManager.e17.enable = mkOption { 16 - default = false; 17 - example = true; 18 - description = "Enable support for the E17 desktop environment."; 19 - }; 20 - 21 - }; 22 - 23 - 24 - config = mkIf (xcfg.enable && cfg.enable) { 25 - 26 - services.dbus.packages = [ pkgs.e17.ethumb ]; 27 - 28 - }; 29 - 30 - }
-43
nixos/modules/services/x11/desktop-managers/e18.nix
··· 1 - { config, pkgs, lib, ... }: 2 - 3 - with lib; 4 - 5 - let 6 - 7 - xcfg = config.services.xserver; 8 - cfg = xcfg.desktopManager.e18; 9 - e18_enlightenment = pkgs.e18.enlightenment.override { set_freqset_setuid = true; }; 10 - 11 - in 12 - 13 - { 14 - options = { 15 - 16 - services.xserver.desktopManager.e18.enable = mkOption { 17 - default = false; 18 - example = true; 19 - description = "Enable the E18 desktop environment."; 20 - }; 21 - 22 - }; 23 - 24 - config = mkIf (xcfg.enable && cfg.enable) { 25 - 26 - environment.systemPackages = [ 27 - pkgs.e18.efl pkgs.e18.evas pkgs.e18.emotion pkgs.e18.elementary e18_enlightenment 28 - pkgs.e18.terminology pkgs.e18.econnman 29 - ]; 30 - 31 - services.xserver.desktopManager.session = [ 32 - { name = "E18"; 33 - start = '' 34 - ${e18_enlightenment}/bin/enlightenment_start 35 - waitPID=$! 36 - ''; 37 - }]; 38 - 39 - security.setuidPrograms = [ "e18_freqset" ]; 40 - 41 - }; 42 - 43 - }
+2 -2
nixos/modules/virtualisation/virtualbox-guest.nix
··· 6 6 7 7 let 8 8 9 - cfg = config.services.virtualbox; 9 + cfg = config.services.virtualboxGuest; 10 10 kernel = config.boot.kernelPackages; 11 11 12 12 in ··· 17 17 18 18 options = { 19 19 20 - services.virtualbox = { 20 + services.virtualboxGuest = { 21 21 22 22 enable = mkOption { 23 23 default = false;
+1 -1
nixos/modules/virtualisation/virtualbox-image.nix
··· 128 128 boot.loader.grub.version = 2; 129 129 boot.loader.grub.device = "/dev/sda"; 130 130 131 - services.virtualbox.enable = true; 131 + services.virtualboxGuest.enable = true; 132 132 }; 133 133 }
+6 -7
nixos/tests/printing.nix
··· 9 9 { config, pkgs, ... }: 10 10 { services.printing.enable = true; 11 11 services.printing.listenAddresses = [ "*:631" ]; 12 - services.printing.cupsdConf = 12 + services.printing.extraConf = 13 13 '' 14 14 <Location /> 15 15 Order allow,deny ··· 40 40 $server->fail("curl --fail --connect-timeout 2 http://client:631/"); 41 41 42 42 # Add a HP Deskjet printer connected via USB to the server. 43 - $server->succeed("lpadmin -p DeskjetLocal -v usb://HP/Deskjet%205400%20series?serial=TH93I152S123XY -m 'drv:///sample.drv/deskjet.ppd' -E"); 43 + $server->succeed("lpadmin -p DeskjetLocal -E -v usb://foobar/printers/foobar"); 44 44 45 45 # Add it to the client as well via IPP. 46 - $client->succeed("lpadmin -p DeskjetRemote -v ipp://server/printers/DeskjetLocal -m 'drv:///sample.drv/deskjet.ppd' -E"); 46 + $client->succeed("lpadmin -p DeskjetRemote -E -v ipp://server/printers/DeskjetLocal"); 47 47 $client->succeed("lpadmin -d DeskjetRemote"); 48 48 49 49 # Do some status checks. ··· 55 55 $client->succeed("lpq") =~ /DeskjetRemote is ready.*no entries/s or die; 56 56 57 57 # Test printing various file types. 58 - foreach my $file ("${pkgs.groff}/share/doc/*/examples/mom/typesetting.pdf", 58 + foreach my $file ("${pkgs.groff}/share/doc/*/examples/mom/penguin.pdf", 59 59 "${pkgs.groff}/share/doc/*/meref.ps", 60 60 "${pkgs.cups}/share/doc/cups/images/cups.png", 61 61 "${pkgs.xz}/share/doc/xz/faq.txt") ··· 72 72 # (showing that the right filters have been applied). Of 73 73 # course, since there is no actual USB printer attached, the 74 74 # file will stay in the queue forever. 75 - $server->waitForFile("/var/spool/cups/d*-*"); 76 - $server->succeed("lpq -a") =~ /remroot.*$fn/ or die; 77 - $server->succeed("hexdump -C -n2 /var/spool/cups/d*-*") =~ /1b 45/ or die; # 1b 45 = printer reset 75 + $server->waitForFile("/var/spool/cups/d00001-001"); 76 + $server->succeed("lpq -a") =~ /$fn/ or die; 78 77 79 78 # Delete the job on the client. It should disappear on the 80 79 # server as well.
+28
pkgs/applications/audio/drumgizmo/default.nix
··· 1 + { stdenv, fetchurl, alsaLib, expat, glib, jack2, libX11, libpng 2 + , libpthreadstubs, libsmf, libsndfile, lv2, pkgconfig 3 + }: 4 + 5 + stdenv.mkDerivation rec { 6 + version = "0.9.6"; 7 + name = "drumgizmo-${version}"; 8 + 9 + src = fetchurl { 10 + url = "http://www.drumgizmo.org/releases/${name}/${name}.tar.gz"; 11 + sha256 = "1qs8aa1v8cw5zgfzcnr2dc4w0y5yzsgrywlnx2hfvx2si3as0mw4"; 12 + }; 13 + 14 + configureFlags = [ "--enable-lv2" ]; 15 + 16 + buildInputs = [ 17 + alsaLib expat glib jack2 libX11 libpng libpthreadstubs libsmf 18 + libsndfile lv2 pkgconfig 19 + ]; 20 + 21 + meta = with stdenv.lib; { 22 + description = "An LV2 sample based drum plugin"; 23 + homepage = http://www.drumgizmo.org; 24 + license = licenses.gpl3; 25 + platforms = platforms.linux; 26 + maintainers = [ maintainers.goibhniu ]; 27 + }; 28 + }
+60 -10
pkgs/applications/audio/faust-compiler/default.nix
··· 1 - { fetchurl, stdenv, unzip }: 1 + { fetchurl, stdenv, unzip, pkgconfig, makeWrapper, libsndfile, libmicrohttpd, vim }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 ··· 9 9 sha256 = "068vl9536zn0j4pknwfcchzi90rx5pk64wbcbd67z32w0csx8xm1"; 10 10 }; 11 11 12 - buildInputs = [ unzip ]; 12 + buildInputs = [ unzip pkgconfig makeWrapper libsndfile libmicrohttpd vim]; 13 + 14 + 15 + makeFlags="PREFIX = $(out)"; 16 + FPATH="$out"; # <- where to search 13 17 14 18 patchPhase = '' 15 - sed -i '77,101d' Makefile 16 - sed -i 's#?= $(shell uname -s)#:= Linux#g' architecture/osclib/oscpack/Makefile 17 - sed -e "s@\$FAUST_INSTALL /usr/local /usr /opt /opt/local@$out@g" -i tools/faust2appls/faustpath 19 + sed -i 's@?= $(shell uname -s)@:= Linux@g' architecture/osclib/oscpack/Makefile 20 + sed -i 's@faust/misc.h@../../architecture/faust/misc.h@g' tools/sound2faust/sound2faust.cpp 21 + sed -i 's@faust/gui/@../../architecture/faust/gui/@g' architecture/faust/misc.h 22 + ''; 23 + 24 + buildPhase = '' 25 + make -C compiler -f Makefile.unix 26 + make -C architecture/osclib 27 + g++ -O3 tools/sound2faust/sound2faust.cpp `pkg-config --cflags --static --libs sndfile` -o tools/sound2faust/sound2faust 28 + make httpd 29 + 18 30 ''; 19 31 20 - postInstallPhase = '' 21 - rm -rf $out/include/ 22 - ''; 32 + installPhase = '' 33 + 34 + echo install faust itself 35 + mkdir -p $out/bin/ 36 + mkdir -p $out/include/ 37 + mkdir -p $out/include/faust/ 38 + mkdir -p $out/include/faust/osc/ 39 + install compiler/faust $out/bin/ 23 40 24 - makeFlags = "PREFIX=$(out)"; 25 - FPATH = "$out"; # <- where to search 41 + echo install architecture and faust library files 42 + mkdir -p $out/lib/faust 43 + cp architecture/*.lib $out/lib/faust/ 44 + cp architecture/*.cpp $out/lib/faust/ 45 + 46 + echo install math documentation files 47 + cp architecture/mathdoctexts-*.txt $out/lib/faust/ 48 + cp architecture/latexheader.tex $out/lib/faust/ 49 + 50 + echo install additional binary libraries: osc, http 51 + ([ -e architecture/httpdlib/libHTTPDFaust.a ] && cp architecture/httpdlib/libHTTPDFaust.a $out/lib/faust/) || echo libHTTPDFaust not available 52 + cp architecture/osclib/*.a $out/lib/faust/ 53 + cp -r architecture/httpdlib/html/js $out/lib/faust/js 54 + ([ -e architecture/httpdlib/src/hexa/stylesheet ] && cp architecture/httpdlib/src/hexa/stylesheet $out/lib/faust/js/stylesheet.js) || echo stylesheet not available 55 + ([ -e architecture/httpdlib/src/hexa/jsscripts ] && cp architecture/httpdlib/src/hexa/jsscripts $out/lib/faust/js/jsscripts.js) || echo jsscripts not available 56 + 57 + echo install includes files for architectures 58 + cp -r architecture/faust $out/include/ 59 + 60 + echo install additional includes files for binary libraries: osc, http 61 + cp architecture/osclib/faust/faust/OSCControler.h $out/include/faust/gui/ 62 + cp architecture/osclib/faust/faust/osc/*.h $out/include/faust/osc/ 63 + cp architecture/httpdlib/src/include/*.h $out/include/faust/gui/ 64 + 65 + 66 + echo patch header and cpp files 67 + find $out/include/ -name "*.h" -type f | xargs sed "s@#include \"faust/@#include \"$out/include/faust/@g" -i 68 + find $out/lib/faust/ -name "*.cpp" -type f | xargs sed "s@#include \"faust/@#include \"$out/include/faust/@g" -i 69 + sed -i "s@../../architecture/faust/gui/@$out/include/faust/gui/@g" $out/include/faust/misc.h 70 + 71 + wrapProgram $out/bin/faust \ 72 + --set FAUSTLIB $out/lib/faust \ 73 + --set FAUST_LIB_PATH $out/lib/faust \ 74 + --set FAUSTINC $out/include/ 75 + ''; 26 76 27 77 meta = with stdenv.lib; { 28 78 description = "A functional programming language for realtime audio signal processing";
+79
pkgs/applications/audio/faust/default.nix
··· 1 + { fetchurl, stdenv, bash, alsaLib, atk, cairo, faust-compiler, fontconfig, freetype 2 + , gcc, gdk_pixbuf, glib, gtk, makeWrapper, pango, pkgconfig, unzip 3 + , gtkSupport ? true 4 + }: 5 + 6 + stdenv.mkDerivation rec { 7 + 8 + version = "0.9.67"; 9 + name = "faust-${version}"; 10 + src = fetchurl { 11 + url = "http://downloads.sourceforge.net/project/faudiostream/faust-${version}.zip"; 12 + sha256 = "068vl9536zn0j4pknwfcchzi90rx5pk64wbcbd67z32w0csx8xm1"; 13 + }; 14 + 15 + buildInputs = [ bash unzip faust-compiler gcc makeWrapper pkgconfig ] 16 + ++ stdenv.lib.optionals gtkSupport [ 17 + alsaLib atk cairo fontconfig freetype gdk_pixbuf glib gtk pango 18 + ] 19 + ; 20 + 21 + makeFlags="PREFIX=$(out)"; 22 + FPATH="$out"; # <- where to search 23 + 24 + phases = [ "unpackPhase installPhase postInstall" ]; 25 + 26 + installPhase = '' 27 + mkdir $out/bin 28 + install tools/faust2appls/faust2alsaconsole $out/bin 29 + install tools/faust2appls/faustpath $out/bin 30 + install tools/faust2appls/faustoptflags $out/bin 31 + install tools/faust2appls/faust2alsa $out/bin 32 + 33 + wrapProgram $out/bin/faust2alsaconsole \ 34 + --prefix PKG_CONFIG_PATH : ${alsaLib}/lib/pkgconfig \ 35 + --set FAUSTLIB ${faust-compiler}/lib/faust \ 36 + --set FAUSTINC ${faust-compiler}/include/ 37 + 38 + GTK_PKGCONFIG_PATHS=${gtk}/lib/pkgconfig:${pango}/lib/pkgconfig:${glib}/lib/pkgconfig:${cairo}/lib/pkgconfig:${gdk_pixbuf}/lib/pkgconfig:${atk}/lib/pkgconfig:${freetype}/lib/pkgconfig:${fontconfig}/lib/pkgconfig 39 + 40 + wrapProgram $out/bin/faust2alsa \ 41 + --prefix PKG_CONFIG_PATH : ${alsaLib}/lib/pkgconfig:$GTK_PKGCONFIG_PATHS \ 42 + --set FAUSTLIB ${faust-compiler}/lib/faust \ 43 + --set FAUSTINC ${faust-compiler}/include/ \ 44 + '' + stdenv.lib.optionalString (!gtkSupport) "rm $out/bin/faust2alsa" 45 + ; 46 + 47 + postInstall = '' 48 + find $out/bin/ -name "faust2*" -type f | xargs sed "s@/bin/bash@${bash}/bin/bash@g" -i 49 + sed -i "s@/bin/bash@${bash}/bin/bash@g" $out/bin/faustpath 50 + sed -e "s@\$FAUST_INSTALL /usr/local /usr /opt /opt/local@${faust-compiler}@g" -i $out/bin/faustpath 51 + sed -i "s@/bin/bash@${bash}/bin/bash@g" $out/bin/faustoptflags 52 + find $out/bin/ -name "faust2*" -type f | xargs sed "s@pkg-config@${pkgconfig}/bin/pkg-config@g" -i 53 + find $out/bin/ -name "faust2*" -type f | xargs sed "s@CXX=g++@CXX=${gcc}/bin/g++@g" -i 54 + find $out/bin/ -name "faust2*" -type f | xargs sed "s@faust -i -a @${faust-compiler}/bin/faust -i -a ${faust-compiler}/lib/faust/@g" -i 55 + ''; 56 + 57 + meta = with stdenv.lib; { 58 + description = "A functional programming language for realtime audio signal processing"; 59 + longDescription = '' 60 + FAUST (Functional Audio Stream) is a functional programming 61 + language specifically designed for real-time signal processing 62 + and synthesis. FAUST targets high-performance signal processing 63 + applications and audio plug-ins for a variety of platforms and 64 + standards. 65 + The Faust compiler translates DSP specifications into very 66 + efficient C++ code. Thanks to the notion of architecture, 67 + FAUST programs can be easily deployed on a large variety of 68 + audio platforms and plugin formats (jack, alsa, ladspa, maxmsp, 69 + puredata, csound, supercollider, pure, vst, coreaudio) without 70 + any change to the FAUST code. 71 + ''; 72 + homepage = http://faust.grame.fr/; 73 + downloadPage = http://sourceforge.net/projects/faudiostream/files/; 74 + license = licenses.gpl2; 75 + platforms = platforms.linux; 76 + maintainers = [ maintainers.magnetophon ]; 77 + }; 78 + } 79 +
+65
pkgs/applications/editors/neovim/default.nix
··· 1 + { stdenv, fetchgit, fetchurl, unzip, callPackage, ncurses, gettext, pkgconfig, 2 + cmake, pkgs, lpeg, lua, luajit, luaMessagePack, luabitop }: 3 + 4 + stdenv.mkDerivation rec { 5 + name = "neovim-nightly"; 6 + 7 + version = "nightly"; 8 + 9 + src = fetchgit { 10 + url = "https://github.com/neovim/neovim"; 11 + rev = "68fcd8b696dae33897303c9f8265629a31afbf17"; 12 + sha256 = "0hxkcy641jpn4qka44gfvhmb6q3dkjx6lvn9748lcl2gx2d36w4i"; 13 + }; 14 + 15 + libmsgpack = stdenv.mkDerivation rec { 16 + version = "0.5.9"; 17 + name = "libmsgpack-${version}"; 18 + 19 + src = fetchgit { 20 + rev = "ecf4b09acd29746829b6a02939db91dfdec635b4"; 21 + url = "https://github.com/msgpack/msgpack-c"; 22 + sha256 = "076ygqgxrc3vk2l20l8x2cgcv05py3am6mjjkknr418pf8yav2ww"; 23 + }; 24 + 25 + buildInputs = [ cmake ]; 26 + 27 + meta = with stdenv.lib; { 28 + description = "MessagePack implementation for C and C++"; 29 + homepage = http://msgpack.org; 30 + maintainers = [ maintainers.manveru ]; 31 + license = licenses.asl20; 32 + platforms = platforms.all; 33 + }; 34 + }; 35 + 36 + enableParallelBuilding = true; 37 + 38 + buildInputs = [ 39 + ncurses 40 + pkgconfig 41 + cmake 42 + pkgs.libuvVersions.v0_11_29 43 + luajit 44 + lua 45 + lpeg 46 + luaMessagePack 47 + luabitop 48 + libmsgpack 49 + ]; 50 + nativeBuildInputs = [ gettext ]; 51 + 52 + LUA_CPATH="${lpeg}/lib/lua/${lua.luaversion}/?.so;${luabitop}/lib/lua/5.2/?.so"; 53 + LUA_PATH="${luaMessagePack}/share/lua/5.1/?.lua"; 54 + cmakeFlags = [ 55 + "-DUSE_BUNDLED_MSGPACK=ON" 56 + ]; 57 + 58 + meta = with stdenv.lib; { 59 + description = "Aggressive refactor of Vim"; 60 + homepage = http://www.neovim.org; 61 + maintainers = with maintainers; [ manveru ]; 62 + platforms = platforms.unix; 63 + }; 64 + } 65 +
+5 -5
pkgs/applications/graphics/shotwell/default.nix
··· 1 - { fetchurl, stdenv, m4, glibc, gtk3, libexif, libgphoto2, libsoup, libxml2, vala, sqlite, webkit 1 + { fetchurl, stdenv, m4, glibc, gtk3, libexif, libgphoto2, libsoup, libxml2, vala, sqlite, webkitgtk24x 2 2 , pkgconfig, gnome3, gst_all_1, which, udev, libraw, glib, json_glib, gettext, desktop_file_utils 3 3 , lcms2, gdk_pixbuf, librsvg, makeWrapper, gnome_doc_utils }: 4 4 ··· 18 18 buildInputs = [ pkgconfig glib libsoup ]; 19 19 }; 20 20 in stdenv.mkDerivation rec { 21 - version = "0.18.0"; 21 + version = "0.20.2"; 22 22 name = "shotwell-${version}"; 23 23 24 24 src = fetchurl { 25 - url = "mirror://gnome/sources/shotwell/0.18/${name}.tar.xz"; 26 - sha256 = "0cq0zs13f3f4xyz46yvj4qfpm5nh4ypds7r53pkqm4a3n8ybf5v7"; 25 + url = "mirror://gnome/sources/shotwell/0.20/${name}.tar.xz"; 26 + sha256 = "0h5pdczsrkplvlvq54zk3am4kjmfpd6pn2sz0ky8lfq1fngwiqip"; 27 27 }; 28 28 29 29 NIX_CFLAGS_COMPILE = "-I${glib}/include/glib-2.0 -I${glib}/lib/glib-2.0/include"; ··· 47 47 ''; 48 48 49 49 50 - buildInputs = [ m4 glibc gtk3 libexif libgphoto2 libsoup libxml2 vala sqlite webkit pkgconfig 50 + buildInputs = [ m4 glibc gtk3 libexif libgphoto2 libsoup libxml2 vala sqlite webkitgtk24x pkgconfig 51 51 gst_all_1.gstreamer gst_all_1.gst-plugins-base gnome3.libgee which udev gnome3.gexiv2 52 52 libraw rest json_glib gettext desktop_file_utils glib lcms2 gdk_pixbuf librsvg 53 53 makeWrapper gnome_doc_utils ];
+3 -1
pkgs/applications/graphics/synfigstudio/default.nix
··· 45 45 }; 46 46 47 47 buildInputs = [ 48 - ETL boost cairo fontsConf gettext glibmm gtk gtkmm imagemagick intltool 48 + ETL boost cairo gettext glibmm gtk gtkmm imagemagick intltool 49 49 intltool libsigcxx libtool libxmlxx pkgconfig synfig 50 50 ]; 51 51 ··· 57 57 preBuild = '' 58 58 export FONTCONFIG_FILE=${fontsConf} 59 59 ''; 60 + 61 + enableParallelBuilding = true; 60 62 61 63 meta = with stdenv.lib; { 62 64 description = "A 2D animation program";
+29
pkgs/applications/graphics/yed/default.nix
··· 1 + { stdenv, fetchurl, makeWrapper, unzip, jre }: 2 + 3 + stdenv.mkDerivation rec { 4 + name = "yEd-3.13"; 5 + 6 + src = fetchurl { 7 + url = "http://www.yworks.com/products/yed/demo/${name}.zip"; 8 + sha256 = "1d5qs6q31k49y9gh054aafck548pv9f97b3il4iksnna1r59w5jy"; 9 + }; 10 + 11 + nativeBuildInputs = [ unzip makeWrapper ]; 12 + 13 + installPhase = '' 14 + mkdir -p $out/yed 15 + cp -r * $out/yed 16 + mkdir -p $out/bin 17 + 18 + makeWrapper ${jre}/bin/java $out/bin/yed \ 19 + --add-flags "-jar $out/yed/yed.jar --" 20 + ''; 21 + 22 + meta = with stdenv.lib; { 23 + license = licenses.unfreeRedistributable; 24 + homepage = http://www.yworks.com/en/products/yfiles/yed/; 25 + description = "A powerful desktop application that can be used to quickly and effectively generate high-quality diagrams"; 26 + platforms = jre.meta.platforms; 27 + maintainer = with maintainers; [ abbradar ]; 28 + }; 29 + }
+2 -2
pkgs/applications/misc/calibre/default.nix
··· 5 5 }: 6 6 7 7 stdenv.mkDerivation rec { 8 - name = "calibre-2.11.0"; 8 + name = "calibre-2.12.0"; 9 9 10 10 src = fetchurl { 11 11 url = "mirror://sourceforge/calibre/${name}.tar.xz"; 12 - sha256 = "19pn55yvc7yiz21gri5838zf7n88l6m2abbwzswn4x8v9915lls1"; 12 + sha256 = "1qp3aq6f6ngfy8m0bj6rzdf6p2vmk4bxycxfby2n8byfhr8gaclf"; 13 13 }; 14 14 15 15 inherit python;
+26
pkgs/applications/misc/xrandr-invert-colors/default.nix
··· 1 + { fetchurl, stdenv, libXrandr}: 2 + 3 + stdenv.mkDerivation rec { 4 + version = "v0.01"; 5 + name = "xrandr-invert-colors-${version}"; 6 + src = fetchurl { 7 + url = "https://github.com/zoltanp/xrandr-invert-colors/archive/${version}.tar.gz"; 8 + sha256 = "1z4hxn56rlflvqanb8ncqa1xqawnda85b1b37w6r2iqs8rw52d75"; 9 + }; 10 + 11 + buildInputs = [ libXrandr ]; 12 + 13 + installPhase = '' 14 + mkdir -p $out/bin 15 + mv xrandr-invert-colors.bin xrandr-invert-colors 16 + install xrandr-invert-colors $out/bin 17 + ''; 18 + 19 + meta = with stdenv.lib; { 20 + description = "Inverts the colors of your screen"; 21 + license = stdenv.lib.licenses.gpl3Plus; 22 + homepage = https://github.com/zoltanp/xrandr-invert-colors; 23 + maintainers = [stdenv.lib.maintainers.magnetophon ]; 24 + platforms = platforms.linux; 25 + }; 26 + }
+1
pkgs/applications/networking/browsers/chromium/common.nix
··· 190 190 libExecPath="${libExecPath}" 191 191 python build/linux/unbundle/replace_gyp_files.py ${gypFlags} 192 192 python build/gyp_chromium -f ninja --depth "$(pwd)" ${gypFlags} 193 + find . -iname '*.py[co]' -delete 193 194 ''; 194 195 195 196 buildPhase = let
+3 -3
pkgs/applications/networking/browsers/rekonq/default.nix
··· 3 3 assert builtins.compareVersions "4.8.3" kde4.release != 1; # https://bugs.kde.org/show_bug.cgi?id=306077 4 4 5 5 stdenv.mkDerivation rec { 6 - name = "rekonq-1.80"; # >=1.80 need kde >=4.9.0 6 + name = "rekonq-2.4.2"; # >=1.80 need kde >=4.9.0 7 7 8 8 src = fetchurl { 9 - url = "mirror://sourceforge/rekonq/${name}.tar.bz2"; 10 - sha256 = "1lzmg8psy1j1v8vrmsyw609jv9scgnigdivx97fb4spb7x6sxn4g"; 9 + url = "mirror://sourceforge/rekonq/${name}.tar.xz"; 10 + sha256 = "09jihyf4xl7bwfwahwwbx6f11h3zqljccchnpl4mijljylr5p079"; 11 11 }; 12 12 13 13 buildInputs = [ kde4.kdelibs qca2 qoauth ];
+2 -2
pkgs/applications/networking/ids/daq/default.nix
··· 1 1 {stdenv, fetchurl, flex, bison, libpcap}: 2 2 3 3 stdenv.mkDerivation rec { 4 - name = "daq-2.0.2"; 4 + name = "daq-2.0.4"; 5 5 6 6 src = fetchurl { 7 7 name = "${name}.tar.gz"; 8 8 url = "http://www.snort.org/downloads/snort/${name}.tar.gz"; 9 - sha256 = "1a39qbm9nc05yr8llawl7mz0ny1fci4acj9c2k1h4klrqikiwpfn"; 9 + sha256 = "0g15kny0s6mpqfc723jxv7mgjfh45izhwcidhjzh52fd04ysm552"; 10 10 }; 11 11 12 12 buildInputs = [ flex bison libpcap ];
+2 -2
pkgs/applications/networking/ids/snort/default.nix
··· 1 1 {stdenv, fetchurl, libpcap, pcre, libdnet, daq, zlib, flex, bison}: 2 2 3 3 stdenv.mkDerivation rec { 4 - name = "snort-2.9.6.2"; 4 + name = "snort-2.9.7.0"; 5 5 6 6 src = fetchurl { 7 7 name = "${name}.tar.gz"; 8 8 url = "http://www.snort.org/downloads/snort/${name}.tar.gz"; 9 - sha256 = "0xsxbd5h701ncnhn9sf7zkmzravlqhn1182whinphfjjw72py7cf"; 9 + sha256 = "16z4mi7bri7ygvc0j4hhl2pgcw6xwxah1h3wk5vpy2yj8pmayf4p"; 10 10 }; 11 11 12 12 buildInputs = [ libpcap pcre libdnet daq zlib flex bison ];
+2 -2
pkgs/applications/networking/instant-messengers/pidgin-plugins/otr/default.nix
··· 1 1 { stdenv, fetchurl, libotr, pidgin, intltool } : 2 2 3 3 stdenv.mkDerivation rec { 4 - name = "pidgin-otr-4.0.0"; 4 + name = "pidgin-otr-4.0.1"; 5 5 src = fetchurl { 6 6 url = "http://www.cypherpunks.ca/otr/${name}.tar.gz"; 7 - sha256 = "14a6vxvlkm8wazng9aj7p82dr12857fx5is1frcyd7my5l4kysym"; 7 + sha256 = "02pkkf86fh5jvzsdn9y78impsgzj1n0p81kc2girvk3vq941yy0v"; 8 8 }; 9 9 10 10 postInstall = "ln -s \$out/lib/pidgin \$out/share/pidgin-otr";
+3 -3
pkgs/applications/networking/instant-messengers/teamspeak/client.nix
··· 1 1 { stdenv, fetchurl, makeWrapper, zlib, glib, libpng, freetype, xorg 2 2 , fontconfig, xlibs, qt5, xkeyboard_config, alsaLib, pulseaudio ? null 3 - , libredirect, quazip 3 + , libredirect, quazip, less, which 4 4 }: 5 5 6 6 let ··· 33 33 else "1b3nbvfpd8lx3dig8z5yk6zjkbmsy6y938dhj1f562wc8adixciz"; 34 34 }; 35 35 36 - buildInputs = [ makeWrapper ]; 36 + buildInputs = [ makeWrapper less which ]; 37 37 38 38 unpackPhase = 39 39 '' 40 - yes | sh $src 40 + echo -e 'q\ny' | sh -xe $src 41 41 cd TeamSpeak* 42 42 ''; 43 43
+7 -2
pkgs/applications/version-management/git-and-tools/git/default.nix
··· 24 24 sha256 = "0mvgvr2hz25p49dhhizcw9591f2h17y2699mpmndis3kzap0c6zy"; 25 25 }; 26 26 27 - patches = [ ./docbook2texi.patch ./symlinks-in-bin.patch ./cert-path.patch ]; 27 + patches = [ 28 + ./docbook2texi.patch 29 + ./symlinks-in-bin.patch 30 + ./cert-path.patch 31 + ./ssl-cert-file.patch 32 + ]; 28 33 29 34 buildInputs = [curl openssl zlib expat gettext cpio makeWrapper] 30 35 ++ stdenv.lib.optionals withManual [ asciidoc texinfo xmlto docbook2x ··· 142 147 ''; 143 148 144 149 platforms = stdenv.lib.platforms.all; 145 - maintainers = with stdenv.lib.maintainers; [ simons the-kenny ]; 150 + maintainers = with stdenv.lib.maintainers; [ simons the-kenny wmertens ]; 146 151 }; 147 152 }
+13
pkgs/applications/version-management/git-and-tools/git/ssl-cert-file.patch
··· 1 + This patch adds support for the OpenSSL SSL_CERT_FILE environment variable. 2 + GIT_SSL_CAINFO still takes precedence. 3 + 4 + --- git-orig/http.c.orig 2014-11-25 23:27:56.000000000 +0100 5 + +++ git-orig/http.c 2014-11-25 23:28:48.000000000 +0100 6 + @@ -433,6 +433,7 @@ 7 + #if LIBCURL_VERSION_NUM >= 0x070908 8 + set_from_env(&ssl_capath, "GIT_SSL_CAPATH"); 9 + #endif 10 + + set_from_env(&ssl_cainfo, "SSL_CERT_FILE"); 11 + set_from_env(&ssl_cainfo, "GIT_SSL_CAINFO"); 12 + 13 + set_from_env(&user_agent, "GIT_HTTP_USER_AGENT");
+2 -2
pkgs/applications/version-management/src/default.nix
··· 1 1 { stdenv, fetchurl, python, rcs, git }: 2 2 3 3 stdenv.mkDerivation rec { 4 - name = "src-0.12"; 4 + name = "src-0.13"; 5 5 6 6 src = fetchurl { 7 7 url = "http://www.catb.org/~esr/src/${name}.tar.gz"; 8 - sha256 = "1w8k9z2dxim99nniid9kjsc5lzri7m4sd0n819y73aqcdi54lr1s"; 8 + sha256 = "03x0slgi6bnzgfn7f9qbl6jma0pj7357kwdh832l3v8zafk41p51"; 9 9 }; 10 10 11 11 buildInputs = [ python ];
+8 -8
pkgs/applications/version-management/src/path.patch
··· 1 - diff -Naur src-0.12-orig/src src-0.12/src 2 - --- src-0.12-orig/src 2014-11-21 08:19:59.000000000 -0500 3 - +++ src-0.12/src 2014-11-21 15:54:54.598113846 -0500 1 + diff -Naur src-0.13-orig/src src-0.13/src 2 + --- src-0.13-orig/src 2014-11-24 03:56:16.000000000 -0500 3 + +++ src-0.13/src 2014-11-26 16:32:32.925151003 -0500 4 4 @@ -1,4 +1,4 @@ 5 5 -#!/usr/bin/env python2 6 6 +#!@python@/bin/python 7 7 # 8 8 # src - simple revision control. 9 9 # 10 - @@ -58,6 +58,8 @@ 10 + @@ -51,6 +51,8 @@ 11 11 12 12 import sys, os, subprocess, time, calendar, stat, glob, shutil, hashlib 13 13 14 14 +os.environ['PATH'] = "@rcs@/bin:@git@/bin:" + os.environ['PATH'] 15 15 + 16 - version="0.12" 16 + version="0.13" 17 17 18 18 def rfc3339(t): 19 - diff -Naur src-0.12-orig/srctest src-0.12/srctest 20 - --- src-0.12-orig/srctest 2014-11-21 08:12:00.000000000 -0500 21 - +++ src-0.12/srctest 2014-11-21 15:58:31.370500990 -0500 19 + diff -Naur src-0.13-orig/srctest src-0.13/srctest 20 + --- src-0.13-orig/srctest 2014-11-21 08:12:00.000000000 -0500 21 + +++ src-0.13/srctest 2014-11-26 16:33:13.627715388 -0500 22 22 @@ -12,7 +12,7 @@ 23 23 24 24 # Set the PATH to include the current directory, so the repository
+7 -8
pkgs/applications/video/mpv/default.nix
··· 20 20 # For screenshots 21 21 , libpngSupport ? true, libpng ? null 22 22 # for Youtube support 23 - , quviSupport ? false, libquvi ? null 23 + , youtubeSupport ? false, youtubeDL ? null 24 24 , cacaSupport ? false, libcaca ? null 25 25 , vaapiSupport ? false, libva ? null 26 26 }: ··· 41 41 assert pulseSupport -> pulseaudio != null; 42 42 assert bs2bSupport -> libbs2b != null; 43 43 assert libpngSupport -> libpng != null; 44 - assert quviSupport -> libquvi != null; 44 + assert youtubeSupport -> youtubeDL != null; 45 45 assert cacaSupport -> libcaca != null; 46 46 47 47 # Purity problem: Waf needed to be is downloaded by bootstrap.py ··· 50 50 51 51 let 52 52 waf = fetchurl { 53 - url = http://ftp.waf.io/pub/release/waf-1.7.16; 54 - sha256 = "b64dc26c882572415fd450b745006107965f3fe17b357e3eb43d6676c9635a61"; 53 + url = http://ftp.waf.io/pub/release/waf-1.8.1; 54 + sha256 = "ec658116ba0b96629d91fde0b32321849e866e0819f1e835c4c2c7f7ffe1a21d"; 55 55 }; 56 56 57 57 in 58 58 59 59 stdenv.mkDerivation rec { 60 60 name = "mpv-${version}"; 61 - version = "0.6.2"; 61 + version = "0.7.0"; 62 62 63 63 src = fetchurl { 64 64 url = "https://github.com/mpv-player/mpv/archive/v${version}.tar.gz"; 65 - sha256 = "1s42i3vf8i86lx62kw00vvimjizvp8zpxdq53mqhdz1p5im2ylr0"; 65 + sha256 = "0rz8dp44yag442gamaa2vdmf69h25gqh2bgybx89prkfh8n4hy8x"; 66 66 }; 67 67 68 68 buildInputs = with stdenv.lib; ··· 82 82 ++ optional speexSupport speex 83 83 ++ optional bs2bSupport libbs2b 84 84 ++ optional libpngSupport libpng 85 - ++ optional quviSupport libquvi 85 + ++ optional youtubeSupport youtubeDL 86 86 ++ optional sdl2Support SDL2 87 87 ++ optional cacaSupport libcaca 88 88 ++ optional vaapiSupport libva ··· 126 126 } 127 127 128 128 # TODO: Wayland support 129 - # TODO: investigate libquvi problems (related to Youtube support) 130 129 # TODO: investigate caca support 131 130 # TODO: investigate lua5_sockets bug
+1 -1
pkgs/build-support/grsecurity/default.nix
··· 84 84 let boolToKernOpt = b: if b then "y" else "n"; 85 85 # Disable RANDSTRUCT under virtualbox, as it has some kind of 86 86 # breakage with the vbox guest drivers 87 - #randstruct = optionalString config.services.virtualbox.enable 87 + #randstruct = optionalString config.services.virtualboxGuest.enable 88 88 # "GRKERNSEC_RANDSTRUCT n"; 89 89 90 90 # Disable restricting links under the testing kernel, as something
-48
pkgs/desktops/e17/default.nix
··· 1 - { callPackage, pkgs }: 2 - rec { 3 - #### CORE EFL 4 - 5 - eina = callPackage ./eina { }; 6 - 7 - eet = callPackage ./eet { }; 8 - 9 - evas = callPackage ./evas { }; 10 - 11 - ecore = callPackage ./ecore { }; 12 - 13 - eio = callPackage ./eio { }; 14 - 15 - embryo = callPackage ./embryo { }; 16 - 17 - edje = callPackage ./edje { lua = pkgs.lua5; }; 18 - 19 - efreet = callPackage ./efreet { }; 20 - 21 - e_dbus = callPackage ./e_dbus { }; 22 - 23 - eeze = callPackage ./eeze { }; 24 - 25 - emotion = callPackage ./emotion { }; 26 - 27 - ethumb = callPackage ./ethumb { }; 28 - 29 - elementary = callPackage ./elementary { }; 30 - 31 - 32 - #### WINDOW MANAGER 33 - 34 - enlightenment = callPackage ./enlightenment { }; 35 - 36 - 37 - #### APPLICATIONS 38 - 39 - terminology = callPackage ./terminology { }; 40 - 41 - 42 - 43 - #### ART 44 - 45 - 46 - 47 - 48 - }
-31
pkgs/desktops/e17/e_dbus/default.nix
··· 1 - { stdenv, fetchurl, pkgconfig, zlib, libjpeg, expat, ecore, eina, evas 2 - , dbus_libs }: 3 - stdenv.mkDerivation rec { 4 - name = "e_dbus-${version}"; 5 - version = "1.7.5"; 6 - src = fetchurl { 7 - url = "http://download.enlightenment.org/releases/${name}.tar.bz2"; 8 - sha256 = "16ckrpzzw5x1cs0fwqkk8431al55xil5magihkp9l3s77g0qd26q"; 9 - }; 10 - buildInputs = [ pkgconfig zlib libjpeg expat ecore eina evas ]; 11 - propagatedBuildInputs = [ dbus_libs ]; 12 - setupHook = ./setup-hook.sh; 13 - configureFlags = '' 14 - --disable-edbus-test 15 - --disable-edbus-test-client 16 - --disable-edbus-notify-send 17 - --disable-edbus-notify-test 18 - --disable-edbus-async-test 19 - ''; 20 - meta = { 21 - description = "Enlightenment's D-Bus wrapping and glue layer library"; 22 - longDescription = '' 23 - Enlightenment's E_Dbus is a set of wrappers around DBus APIs by 24 - third party, so they can be easily used by EFL applications, 25 - automatically providing Ecore/main loop integration, as well as 26 - Eina data types. 27 - ''; 28 - homepage = http://enlightenment.org/; 29 - license = stdenv.lib.licenses.bsd2; # not sure 30 - }; 31 - }
-8
pkgs/desktops/e17/e_dbus/setup-hook.sh
··· 1 - addDbusIncludePath () { 2 - if test -d "$1/include/dbus-1.0" 3 - then 4 - export NIX_CFLAGS_COMPILE="${NIX_CFLAGS_COMPILE} -I$1/include/dbus-1.0 -I $1/lib/dbus-1.0/include" 5 - fi 6 - } 7 - 8 - envHooks+=(addDbusIncludePath)
-33
pkgs/desktops/e17/ecore/default.nix
··· 1 - { stdenv, fetchurl, pkgconfig, eina, evas, libX11, libXext, libXrender 2 - , libXcomposite, libXfixes, libXdamage }: 3 - stdenv.mkDerivation rec { 4 - name = "ecore-${version}"; 5 - version = "1.7.5"; 6 - src = fetchurl { 7 - url = "http://download.enlightenment.org/releases/${name}.tar.bz2"; 8 - sha256 = "08ljda6p0zj1h5sq3l0js6mihw8cr6ydynn42dnka36vachvmfjb"; 9 - }; 10 - buildInputs = [ pkgconfig eina evas ]; 11 - propagatedBuildInputs = [ libX11 libXext libXcomposite libXrender libXfixes 12 - libXdamage 13 - ]; 14 - meta = { 15 - description = "Enlightenment's core mainloop, display abstraction and utility library"; 16 - longDescription = '' 17 - Enlightenment's Ecore is a clean and tiny event loop library 18 - with many modules to do lots of convenient things for a 19 - programmer, to save time and effort. 20 - 21 - It's small and lean, designed to work on embedded systems all 22 - the way to large and powerful multi-cpu workstations. It 23 - serialises all system signals, events etc. into a single event 24 - queue, that is easily processed without needing to worry about 25 - concurrency. A properly written, event-driven program using this 26 - kind of programming doesn't need threads, nor has to worry about 27 - concurrency. It turns a program into a state machine, and makes 28 - it very robust and easy to follow. 29 - ''; 30 - homepage = http://enlightenment.org/; 31 - license = stdenv.lib.licenses.bsd2; # not sure 32 - }; 33 - }
-29
pkgs/desktops/e17/edje/default.nix
··· 1 - { stdenv, fetchurl, pkgconfig, lua, expat, zlib, libjpeg, eina, eet, evas 2 - , ecore, embryo }: 3 - stdenv.mkDerivation rec { 4 - name = "edje-${version}"; 5 - version = "1.7.5"; 6 - src = fetchurl { 7 - url = "http://download.enlightenment.org/releases/${name}.tar.bz2"; 8 - sha256 = "1hsyj46bk94yd9ymf9425pf4ygy36h5gdkg9fhf8qds8cnn2kcy7"; 9 - }; 10 - buildInputs = [ pkgconfig expat zlib libjpeg lua eina eet evas ecore embryo ]; 11 - patchPhase = '' 12 - substituteInPlace src/bin/edje_cc_out.c --replace '%s/embryo_cc' '${embryo}/bin/embryo_cc' 13 - substituteInPlace src/bin/edje_cc_out.c --replace 'eina_prefix_bin_get(pfx),' "" 14 - ''; 15 - meta = { 16 - description = "Enlightenment's abstract GUI layout and animation object library"; 17 - longDescription = '' 18 - Enlightenment's Edje is a complex graphical design & layout 19 - library based on Evas that provides an abstraction layer between 20 - the application code and the interface, while allowing extremely 21 - flexible dynamic layouts and animations. 22 - 23 - In more popular terms, Edje makes every application that uses it 24 - "skinable". 25 - ''; 26 - homepage = http://enlightenment.org/; 27 - license = stdenv.lib.licenses.bsd2; # not sure 28 - }; 29 - }
-29
pkgs/desktops/e17/eet/default.nix
··· 1 - { stdenv, fetchurl, pkgconfig, eina, zlib, libjpeg }: 2 - stdenv.mkDerivation rec { 3 - name = "eet-${version}"; 4 - version = "1.7.5"; 5 - src = fetchurl { 6 - url = "http://download.enlightenment.org/releases/${name}.tar.bz2"; 7 - sha256 = "0ys2579v45f9x2n47shq0k63g0sdbj1ndhh72dvfajihsgjwd767"; 8 - }; 9 - buildInputs = [ pkgconfig eina zlib libjpeg ]; 10 - meta = { 11 - description = "Enlightenment's data encode/decode and storage library"; 12 - longDescription = '' 13 - Enlightenment's EET is a tiny library designed to write an 14 - arbitary set of chunks of data to a file and optionally compress 15 - each chunk (very much like a zip file) and allow fast 16 - random-access reading of the file later on. EET files are 17 - perfect for storing data that is written once (or rarely) and 18 - read many times, especially when the program does not want to 19 - have to read all the data in at once. 20 - 21 - Use this library when you need to pack C structure and you want 22 - to retrieve it quickly with as few as possible memory use. You 23 - can also use it to serialize data quickly and exchange them 24 - between two program over ipc or network link. 25 - ''; 26 - homepage = http://enlightenment.org/; 27 - license = stdenv.lib.licenses.bsd2; # not sure 28 - }; 29 - }
-23
pkgs/desktops/e17/eeze/default.nix
··· 1 - { stdenv, fetchurl, pkgconfig, eina, ecore, udev }: 2 - stdenv.mkDerivation rec { 3 - name = "eeze-${version}"; 4 - version = "1.7.5"; 5 - src = fetchurl { 6 - url = "http://download.enlightenment.org/releases/${name}.tar.bz2"; 7 - sha256 = "0274fs4cxgw6420yyz9frrc8zhj0qqyvwczzslq3kih3sx1nikxr"; 8 - }; 9 - buildInputs = [ pkgconfig eina ecore ]; 10 - propagatedBuildInputs = [ udev ]; 11 - meta = { 12 - description = "Enlightenment's device abstraction library"; 13 - longDescription = '' 14 - Enlightenment's Eeze is a library for manipulating devices 15 - through udev with a simple and fast api. It interfaces directly 16 - with libudev, avoiding such middleman daemons as udisks/upower 17 - or hal, to immediately gather device information the instant it 18 - becomes known to the system. 19 - ''; 20 - homepage = http://enlightenment.org/; 21 - license = stdenv.lib.licenses.bsd2; # not sure 22 - }; 23 - }
-29
pkgs/desktops/e17/efreet/default.nix
··· 1 - { stdenv, fetchurl, pkgconfig, eina, eet, ecore }: 2 - stdenv.mkDerivation rec { 3 - name = "efreet-${version}"; 4 - version = "1.7.5"; 5 - src = fetchurl { 6 - url = "http://download.enlightenment.org/releases/${name}.tar.bz2"; 7 - sha256 = "1yw7qjddqcnsz1vb693pa57v9wydvzfy198dc23mz46qfqx08nlg"; 8 - }; 9 - buildInputs = [ pkgconfig eina eet ecore ]; 10 - meta = { 11 - description = "Enlightenment's standards handling for freedesktop.org standards"; 12 - longDescription = '' 13 - Enlightenment's Efreet is a library designed to help apps work 14 - several of the Freedesktop.org standards regarding Icons, 15 - Desktop files and Menus. To that end it implements the following 16 - specifications: 17 - 18 - * XDG Base Directory Specification 19 - * Icon Theme Specification 20 - * Desktop Entry Specification 21 - * Desktop Menu Specification 22 - * FDO URI Specification 23 - * Shared Mime Info Specification 24 - * Trash Specification 25 - ''; 26 - homepage = http://enlightenment.org/; 27 - license = stdenv.lib.licenses.bsd2; # not sure 28 - }; 29 - }
-18
pkgs/desktops/e17/eina/default.nix
··· 1 - { stdenv, fetchurl }: 2 - stdenv.mkDerivation rec { 3 - name = "eina-${version}"; 4 - version = "1.7.10"; 5 - src = fetchurl { 6 - url = "http://download.enlightenment.org/releases/${name}.tar.bz2"; 7 - sha256 = "06pqn17zknmxzdk5gw6df0gpbicnrdjl9g4vncw57k2wzf5icy33"; 8 - }; 9 - meta = { 10 - description = "Enlightenment's core data structure library"; 11 - longDescription = '' 12 - Enlightenment's Eina is a core data structure and common utility 13 - library. 14 - ''; 15 - homepage = http://enlightenment.org/; 16 - license = stdenv.lib.licenses.lgpl21; 17 - }; 18 - }
-24
pkgs/desktops/e17/eio/default.nix
··· 1 - { stdenv, fetchurl, pkgconfig, eet, eina, ecore }: 2 - stdenv.mkDerivation rec { 3 - name = "eio-${version}"; 4 - version = "1.7.5"; 5 - src = fetchurl { 6 - url = "http://download.enlightenment.org/releases/${name}.tar.bz2"; 7 - sha256 = "1bsam5q364kc4xwfv7pql6686gj0byhk42zwjqx9ajf70l23kss6"; 8 - }; 9 - buildInputs = [ pkgconfig eet eina ecore ]; 10 - meta = { 11 - description = "A library that integrates with EFL to provide efficient filesystem IO"; 12 - longDescription = '' 13 - Eio integrates with EFL (Ecore, Eina) to provide efficient filesystem Input/Output. 14 - It use the best techniques to achieve such purpose, like using at-variants, splice, 15 - properly handling errors and doing it in an asynchronous fashion by means of worker 16 - threads. It is also ported to Windows, so multi-platform. 17 - 18 - Whenever you need to list a directory, copy, move or delete files, Eio will do that 19 - task better than you'd achieve with naive implementations, and it is easy to use. 20 - ''; 21 - homepage = http://enlightenment.org/; 22 - license = stdenv.lib.licenses.lgpl21; 23 - }; 24 - }
-19
pkgs/desktops/e17/elementary/default.nix
··· 1 - { stdenv, fetchurl, pkgconfig, eina, eet, evas, ecore, edje }: 2 - stdenv.mkDerivation rec { 3 - name = "elementary-${version}"; 4 - version = "1.7.5"; 5 - src = fetchurl { 6 - url = "http://download.enlightenment.org/releases/${name}.tar.bz2"; 7 - sha256 = "08cb4x9639xyrb8d4vzvhl6v385qjfswl717sicm7iimh5zlm2l9"; 8 - }; 9 - buildInputs = [ pkgconfig eina eet evas ecore edje ]; 10 - meta = { 11 - description = "Enlightenment's core data structure library"; 12 - longDescription = '' 13 - Enlightenment's Eina is a core data structure and common utility 14 - library. 15 - ''; 16 - homepage = http://enlightenment.org/; 17 - license = stdenv.lib.licenses.lgpl21; 18 - }; 19 - }
-22
pkgs/desktops/e17/embryo/default.nix
··· 1 - { stdenv, fetchurl, pkgconfig, eina }: 2 - stdenv.mkDerivation rec { 3 - name = "embryo-${version}"; 4 - version = "1.7.5"; 5 - src = fetchurl { 6 - url = "http://download.enlightenment.org/releases/${name}.tar.bz2"; 7 - sha256 = "104fsa179w2dfg00sfnap7c3b4ixcps4crxa6yav755awssdcim9"; 8 - }; 9 - buildInputs = [ pkgconfig eina ]; 10 - meta = { 11 - description = "Enlightenment's small Pawn based virtual machine and compiler"; 12 - longDescription = '' 13 - Enlightenment's Embryo is a tiny library designed to interpret 14 - limited Small programs compiled by the included compiler, 15 - embryo_cc. It is mostly a cleaned up and smaller version of the 16 - original Small abstract machine. The compiler is mostly 17 - untouched. 18 - ''; 19 - homepage = http://enlightenment.org/; 20 - license = with stdenv.lib.licenses; [ bsd2.shortName bsd3.shortName ]; # not sure 21 - }; 22 - }
-19
pkgs/desktops/e17/emotion/default.nix
··· 1 - { stdenv, fetchurl, pkgconfig, ecore, evas, eet, eina, edje, vlc }: 2 - stdenv.mkDerivation rec { 3 - name = "emotion-${version}"; 4 - version = "1.7.5"; 5 - src = fetchurl { 6 - url = "http://download.enlightenment.org/releases/${name}.tar.bz2"; 7 - sha256 = "1sfw8kpj2fcqymzd6q7p51xxib1n2arvjl1hnwhqkvwhlsq2b4sw"; 8 - }; 9 - buildInputs = [ pkgconfig ecore evas eet eina edje vlc ]; 10 - meta = { 11 - description = "A library to easily integrate media playback into EFL applications"; 12 - longDescription = '' 13 - Emotion is a library to easily integrate media playback into EFL applications, 14 - it will take care of using Ecore's main loop and video display is done using Evas. 15 - ''; 16 - homepage = http://enlightenment.org/; 17 - license = stdenv.lib.licenses.lgpl21; 18 - }; 19 - }
-32
pkgs/desktops/e17/enlightenment/default.nix
··· 1 - { stdenv, fetchurl, pkgconfig, eina, eet, evas, ecore, edje, efreet, e_dbus 2 - , embryo, eio, xcbutilkeysyms, libjpeg }: 3 - stdenv.mkDerivation rec { 4 - name = "enlightenment-${version}"; 5 - version = "0.17.1"; 6 - src = fetchurl { 7 - url = "http://download.enlightenment.org/releases/${name}.tar.bz2"; 8 - sha256 = "1z2vx9r7yc55rs673jg7d685slgdv9dss45asg50wh5wxp2mfi3y"; 9 - }; 10 - buildInputs = [ pkgconfig eina eet ecore evas edje efreet e_dbus embryo 11 - eio xcbutilkeysyms libjpeg ]; 12 - configureFlags = '' 13 - --with-profile=FAST_PC 14 - --disable-illume 15 - --disable-illume2 16 - ''; 17 - meta = { 18 - description = "A window manager"; 19 - longDescription = '' 20 - The Enlightenment Desktop shell provides an efficient yet 21 - breathtaking window manager based on the Enlightenment 22 - Foundation Libraries along with other essential desktop 23 - components like a file manager, desktop icons and widgets. 24 - 25 - It boasts a un-precedented level of theme-ability while still 26 - being capable of performing on older hardware or embedded 27 - devices. 28 - ''; 29 - homepage = http://enlightenment.org/; 30 - license = stdenv.lib.licenses.bsd2; # not sure 31 - }; 32 - }
-23
pkgs/desktops/e17/ethumb/default.nix
··· 1 - { stdenv, fetchurl, pkgconfig, eina, evas, ecore, edje, eet, e_dbus, emotion, libexif }: 2 - stdenv.mkDerivation rec { 3 - name = "ethumb-${version}"; 4 - version = "1.7.5"; 5 - src = fetchurl { 6 - url = "http://download.enlightenment.org/releases/${name}.tar.bz2"; 7 - sha256 = "0prka3knz8p2n46dfrzgwn55khhhrhjny4vvnzkjcwmhvz7kgc9l"; 8 - }; 9 - buildInputs = [ pkgconfig eina evas ecore edje eet emotion libexif ]; 10 - propagatedBuildInputs = [ e_dbus libexif ]; 11 - meta = { 12 - description = "A thumbnail generation library"; 13 - longDescription = '' 14 - Ethumb - thumbnail generation library. Features: 15 - * create thumbnails with a predefined frame (possibly an edje frame); 16 - * have an option to create fdo-like thumbnails; 17 - * have a client/server utility; 18 - * TODO: make thumbnails from edje backgrounds, icons and themes; 19 - ''; 20 - homepage = http://enlightenment.org/; 21 - license = stdenv.lib.licenses.lgpl21; 22 - }; 23 - }
-25
pkgs/desktops/e17/evas/default.nix
··· 1 - { stdenv, fetchurl, pkgconfig, freetype, fontconfig, libpng, libjpeg 2 - , libX11, libXext, eina, eet }: 3 - stdenv.mkDerivation rec { 4 - name = "evas-${version}"; 5 - version = "1.7.5"; 6 - src = fetchurl { 7 - url = "http://download.enlightenment.org/releases/${name}.tar.bz2"; 8 - sha256 = "0x3k89q2wxgxjsbhdf4qws7jgpjl7rpqji98ca3nf25jf2lm1cvh"; 9 - }; 10 - buildInputs = [ pkgconfig freetype fontconfig libpng libjpeg 11 - libX11 libXext eina eet 12 - ]; 13 - meta = { 14 - description = "Enlightenment's canvas and scenegraph rendering library"; 15 - longDescription = '' 16 - Enlightenment's Evas is a clean display canvas API that 17 - implements a scene graph, not an immediate-mode rendering 18 - target, is cross-platform, for several target display systems 19 - that can draw anti-aliased text, smooth super and sub-sampled 20 - scaled images, alpha-blend objects and much more. 21 - ''; 22 - homepage = http://enlightenment.org/; 23 - license = stdenv.lib.licenses.bsd2; # not sure 24 - }; 25 - }
-17
pkgs/desktops/e17/terminology/default.nix
··· 1 - { stdenv, fetchurl, pkgconfig, elementary, eina, eet, evas, edje, emotion, ecore, ethumb, efreet }: 2 - 3 - stdenv.mkDerivation rec { 4 - name = "terminology-${version}"; 5 - version = "0.7.0"; 6 - src = fetchurl { 7 - url = "http://download.enlightenment.org/rel/apps/terminology/${name}.tar.gz"; 8 - sha256 = "1x248dh9r292r8ycvf43vrfk4l8wpli50sgywp0zy3q93f8ljgs5"; 9 - }; 10 - buildInputs = [ pkgconfig elementary eina eet evas ecore edje emotion ecore ethumb efreet ]; 11 - 12 - meta = { 13 - description = "Terminology, the E17 terminal emulator"; 14 - homepage = http://www.enlightenment.org/p.php?p=about/terminology; 15 - license = stdenv.lib.licenses.bsd2; # not sure 16 - }; 17 - }
-16
pkgs/desktops/e18/default.nix
··· 1 - { callPackage, pkgs }: 2 - rec { 3 - #### CORE EFL 4 - efl = callPackage ./efl.nix { }; 5 - evas = callPackage ./evas.nix { }; 6 - emotion = callPackage ./emotion.nix { }; 7 - elementary = callPackage ./elementary.nix { }; 8 - 9 - #### WINDOW MANAGER 10 - enlightenment = callPackage ./enlightenment.nix { }; 11 - 12 - #### APPLICATIONS 13 - econnman = callPackage ./econnman.nix { }; 14 - terminology = callPackage ./terminology.nix { }; 15 - 16 - }
-23
pkgs/desktops/e18/econnman.nix
··· 1 - { stdenv, fetchurl, pkgconfig, e18, python27, python27Packages, dbus, makeWrapper }: 2 - stdenv.mkDerivation rec { 3 - name = "econnman-${version}"; 4 - version = "1.1"; 5 - src = fetchurl { 6 - url = "http://download.enlightenment.org/rel/apps/econnman/${name}.tar.gz"; 7 - sha256 = "057pwwavlvrrq26bncqnfrf449zzaim0zq717xv86av4n940gwv0"; 8 - }; 9 - 10 - buildInputs = [ makeWrapper pkgconfig e18.efl python27 dbus ]; 11 - propagatedBuildInputs = [ python27Packages.pythonefl python27Packages.dbus e18.elementary ]; 12 - postInstall = '' 13 - wrapProgram $out/bin/econnman-bin --prefix PYTHONPATH : ${python27Packages.dbus}/lib/python2.7/site-packages:${python27Packages.pythonefl}/lib/python2.7/site-packages 14 - ''; 15 - 16 - meta = { 17 - description = "Econnman is a user interface for the connman network connection manager"; 18 - homepage = http://enlightenment.org/; 19 - maintainers = [ stdenv.lib.maintainers.matejc ]; 20 - platforms = stdenv.lib.platforms.linux; 21 - license = stdenv.lib.licenses.lgpl3; 22 - }; 23 - }
-23
pkgs/desktops/e18/efl.nix
··· 1 - { stdenv, fetchurl, pkgconfig, openssl, libjpeg, zlib, freetype, fontconfig, fribidi, SDL, mesa, giflib, libpng, libtiff, glib, gst_all_1, pulseaudio, libsndfile, xlibs, wayland, libdrm, libxkbcommon, udev, utillinuxCurses, dbus, bullet, luajit, python27Packages }: 2 - stdenv.mkDerivation rec { 3 - name = "efl-${version}"; 4 - version = "1.10.2"; 5 - src = fetchurl { 6 - url = "http://download.enlightenment.org/rel/libs/efl/${name}.tar.gz"; 7 - sha256 = "0py8x0kv2hgl5v983xb6653fvmvn20im6picpc0hqfyxy09g1b24"; 8 - }; 9 - buildInputs = [ pkgconfig openssl zlib freetype fontconfig fribidi SDL mesa giflib libpng libtiff glib gst_all_1.gstreamer gst_all_1.gst-plugins-base gst_all_1.gst-libav pulseaudio libsndfile xlibs.libXcursor xlibs.printproto xlibs.libX11 libdrm udev utillinuxCurses luajit ]; 10 - propagatedBuildInputs = [ wayland libxkbcommon python27Packages.dbus dbus libjpeg xlibs.libXcomposite xlibs.libXdamage xlibs.libXinerama xlibs.libXp xlibs.libXtst xlibs.libXi xlibs.libXext bullet xlibs.libXScrnSaver ]; 11 - configureFlags = [ "--with-opengl=full" "--with-tests=none" "--enable-wayland" "--enable-sdl" "--enable-drm" ]; 12 - preConfigure = '' 13 - export NIX_CFLAGS_COMPILE="-I${xlibs.libXtst} $NIX_CFLAGS_COMPILE" 14 - export PKG_CONFIG_PATH="${gst_all_1.gst-plugins-base}/lib/pkgconfig/gstreamer-video-0.10.pc:$PKG_CONFIG_PATH" 15 - ''; 16 - meta = { 17 - description = "Enlightenment Core libraries"; 18 - homepage = http://enlightenment.org/; 19 - maintainers = [ stdenv.lib.maintainers.matejc ]; 20 - platforms = stdenv.lib.platforms.linux; 21 - license = stdenv.lib.licenses.lgpl3; 22 - }; 23 - }
-20
pkgs/desktops/e18/elementary.nix
··· 1 - { stdenv, fetchurl, pkgconfig, e18 }: 2 - stdenv.mkDerivation rec { 3 - name = "elementary-${version}"; 4 - version = "1.10.2"; 5 - src = fetchurl { 6 - url = "http://download.enlightenment.org/rel/libs/elementary/${name}.tar.gz"; 7 - sha256 = "0y3knvmabl9adc8pd54p7qxpf7gvciixc1rk40hqppwhdgbgpz28"; 8 - }; 9 - buildInputs = [ pkgconfig e18.efl ]; 10 - preConfigure = '' 11 - export NIX_CFLAGS_COMPILE="-I${e18.efl}/include/ethumb-1 $NIX_CFLAGS_COMPILE" 12 - ''; 13 - meta = { 14 - description = "Widget set/toolkit"; 15 - homepage = http://enlightenment.org/; 16 - maintainers = [ stdenv.lib.maintainers.matejc ]; 17 - platforms = stdenv.lib.platforms.linux; 18 - license = stdenv.lib.licenses.lgpl2; 19 - }; 20 - }
-20
pkgs/desktops/e18/emotion.nix
··· 1 - { stdenv, fetchurl, pkgconfig, e18, vlc }: 2 - stdenv.mkDerivation rec { 3 - name = "emotion_generic_players-${version}"; 4 - version = "1.10.0"; 5 - src = fetchurl { 6 - url = "http://download.enlightenment.org/rel/libs/emotion_generic_players/${name}.tar.gz"; 7 - sha256 = "1nwlrk9inrhiv6jpzji10ikcdlhzhz7f2b5qhi2ai8bb6j61ryyc"; 8 - }; 9 - buildInputs = [ pkgconfig e18.efl vlc ]; 10 - preConfigure = '' 11 - export NIX_CFLAGS_COMPILE="-I${e18.efl}/include/eo-1 $NIX_CFLAGS_COMPILE" 12 - ''; 13 - meta = { 14 - description = "Extra video decoders"; 15 - homepage = http://enlightenment.org/; 16 - maintainers = [ stdenv.lib.maintainers.matejc ]; 17 - platforms = stdenv.lib.platforms.linux; 18 - license = stdenv.lib.licenses.bsd2; 19 - }; 20 - }
-35
pkgs/desktops/e18/enlightenment.nix
··· 1 - { stdenv, fetchurl, pkgconfig, e18, xlibs, libffi, pam, alsaLib, luajit, bzip2, set_freqset_setuid ? false }: 2 - 3 - stdenv.mkDerivation rec { 4 - name = "enlightenment-${version}"; 5 - version = "0.18.8"; 6 - src = fetchurl { 7 - url = "http://download.enlightenment.org/rel/apps/enlightenment/${name}.tar.gz"; 8 - sha256 = "1fsigbrknkwy909p1gqwxag1bar3p413s4f6fq3qnbsd6gjbvj8l"; 9 - }; 10 - buildInputs = [ pkgconfig e18.efl e18.elementary xlibs.libxcb xlibs.xcbutilkeysyms xlibs.libXrandr libffi pam alsaLib luajit bzip2 ]; 11 - preConfigure = '' 12 - export NIX_CFLAGS_COMPILE="-I${e18.efl}/include/eo-1 -I${e18.efl}/include/ecore-imf-1 -I${e18.efl}/include/ethumb-client-1 -I${e18.efl}/include/ethumb-1 $NIX_CFLAGS_COMPILE" 13 - ''; 14 - 15 - # this is a hack and without this cpufreq module is not working: 16 - # when set_freqset_setuid is true and "e18_freqset" is set in setuidPrograms (this is taken care of in e18 NixOS module), 17 - # then this postInstall does the folowing: 18 - # 1. moves the "freqset" binary to "e18_freqset", 19 - # 2. linkes "e18_freqset" to enlightenment/bin so that, 20 - # 3. setuidPrograms detects it and makes appropriate stuff to /var/setuid-wrappers/e18_freqset, 21 - # 4. and finaly, linkes /var/setuid-wrappers/e18_freqset to original destination where enlightenment wants it 22 - postInstall = if set_freqset_setuid then '' 23 - export CPUFREQ_DIRPATH=`readlink -f $out/lib/enlightenment/modules/cpufreq/linux-gnu-*`; 24 - mv $CPUFREQ_DIRPATH/freqset $CPUFREQ_DIRPATH/e18_freqset 25 - ln -sv $CPUFREQ_DIRPATH/e18_freqset $out/bin/e18_freqset 26 - ln -sv /var/setuid-wrappers/e18_freqset $CPUFREQ_DIRPATH/freqset 27 - '' else ""; 28 - meta = { 29 - description = "The Compositing Window Manager and Desktop Shell"; 30 - homepage = http://enlightenment.org/; 31 - maintainers = [ stdenv.lib.maintainers.matejc ]; 32 - platforms = stdenv.lib.platforms.linux; 33 - license = stdenv.lib.licenses.bsd2; 34 - }; 35 - }
-17
pkgs/desktops/e18/evas.nix
··· 1 - { stdenv, fetchurl, pkgconfig, e18, zlib }: 2 - stdenv.mkDerivation rec { 3 - name = "evas_generic_loaders-${version}"; 4 - version = "1.10.0"; 5 - src = fetchurl { 6 - url = "http://download.enlightenment.org/rel/libs/evas_generic_loaders/${name}.tar.gz"; 7 - sha256 = "0qx44g7a8pzcgspx8q10zjiwzafis301fhpchd4pskfxhqd4qagm"; 8 - }; 9 - buildInputs = [ pkgconfig e18.efl zlib ]; 10 - meta = { 11 - description = "Extra image decoders"; 12 - homepage = http://enlightenment.org/; 13 - maintainers = [ stdenv.lib.maintainers.matejc ]; 14 - platforms = stdenv.lib.platforms.linux; 15 - license = stdenv.lib.licenses.gpl2; 16 - }; 17 - }
-23
pkgs/desktops/e18/terminology.nix
··· 1 - { stdenv, fetchurl, pkgconfig, e18 }: 2 - stdenv.mkDerivation rec { 3 - name = "terminology-${version}"; 4 - version = "0.6.1"; 5 - src = fetchurl { 6 - url = "http://download.enlightenment.org/rel/apps/terminology/${name}.tar.gz"; 7 - sha256 = "1wi9njyfs95y4nb9jd30032qqka5cg7k0wacck8s1yqxwg5ng38x"; 8 - }; 9 - buildInputs = [ pkgconfig e18.efl e18.elementary ]; 10 - preConfigure = '' 11 - export NIX_CFLAGS_COMPILE="-I${e18.efl}/include/eo-1 $NIX_CFLAGS_COMPILE" 12 - export NIX_CFLAGS_COMPILE="-I${e18.efl}/include/ecore-con-1 $NIX_CFLAGS_COMPILE" 13 - export NIX_CFLAGS_COMPILE="-I${e18.efl}/include/eldbus-1 $NIX_CFLAGS_COMPILE" 14 - export NIX_CFLAGS_COMPILE="-I${e18.efl}/include/ethumb-1 $NIX_CFLAGS_COMPILE" 15 - ''; 16 - meta = { 17 - description = "The best terminal emulator written with the EFL"; 18 - homepage = http://enlightenment.org/; 19 - maintainers = [ stdenv.lib.maintainers.matejc ]; 20 - platforms = stdenv.lib.platforms.linux; 21 - license = stdenv.lib.licenses.bsd2; 22 - }; 23 - }
+35 -37
pkgs/development/compilers/ccl/default.nix
··· 1 - a : 2 - let 3 - buildInputs = with a; [ 4 - 5 - ]; 6 - in 7 - rec { 8 - version = "1.8"; 9 - name = "ccl-${version}"; 1 + { stdenv, fetchsvn, gcc, glibc, m4 }: 10 2 11 - /* There are also MacOS and FreeBSD and Windows versions */ 12 - src = a.fetchurl { 13 - url = "ftp://ftp.clozure.com/pub/release/${version}/${name}-linuxx86.tar.gz"; 14 - sha256 = "1dgg6a8i2csa6xidsq66hbw7zx62gm2178hpkp88yyzgxylszp01"; 3 + /* TODO: there are also MacOS, FreeBSD and Windows versions */ 4 + assert stdenv.system == "x86_64-linux" || stdenv.system == "i686-linux"; 5 + 6 + stdenv.mkDerivation rec { 7 + name = "ccl-${version}"; 8 + version = "1.10"; 9 + revision = "16313"; 10 + 11 + src = fetchsvn { 12 + url = http://svn.clozure.com/publicsvn/openmcl/release/1.10/linuxx86/ccl; 13 + rev = revision; 14 + sha256 = "11lmdvzj1mbm7mbr22vjbcrsvinyz8n32a91ms324xqdqpr82ifb"; 15 15 }; 16 - 17 - inherit buildInputs; 18 - configureFlags = []; 16 + 17 + buildInputs = [ gcc glibc m4 ]; 19 18 20 - /* doConfigure should be removed if not needed */ 21 - phaseNames = ["doUnpack" "doPatchElf" "doCopy"]; 19 + CCL_RUNTIME = if stdenv.system == "x86_64-linux" then "lx86cl64" else "lx86cl"; 20 + CCL_KERNEL = if stdenv.system == "x86_64-linux" then "linuxx8664" else "linuxx8632"; 22 21 23 - doCopy = a.fullDepEntry '' 22 + buildPhase = '' 23 + sed -i lisp-kernel/${CCL_KERNEL}/Makefile -e's/svnversion/echo ${revision}/g' 24 + 25 + make -C lisp-kernel/${CCL_KERNEL} clean 26 + make -C lisp-kernel/${CCL_KERNEL} all 27 + 28 + ./${CCL_RUNTIME} -n -b -e '(ccl:rebuild-ccl :full t)' -e '(ccl:quit)' 29 + ''; 30 + 31 + installPhase = '' 24 32 mkdir -p "$out/share" 25 - cp -r . "$out/share/ccl-installation" 33 + cp -r . "$out/share/ccl-installation" 26 34 27 35 mkdir -p "$out/bin" 28 - for i in $(find . -maxdepth 1 -type f -perm +111); do 29 - echo -e '#! /bin/sh\n'"$out/share/ccl-installation/$(basename "$i")"'"$@"\n' > "$out"/bin/"$(basename "$i")" 30 - chmod a+x "$out"/bin/"$(basename "$i")" 31 - done 32 - '' ["minInit" "doUnpack" "defEnsureDir"]; 36 + echo -e '#!/bin/sh\n'"$out/share/ccl-installation/${CCL_RUNTIME}"' "$@"\n' > "$out"/bin/"${CCL_RUNTIME}" 37 + chmod a+x "$out"/bin/"${CCL_RUNTIME}" 38 + ''; 33 39 34 - doPatchElf = a.fullDepEntry '' 35 - patchelfFile="$(type -P patchelf)" 36 - goodInterp="$(patchelf --print-interpreter "$patchelfFile")" 37 - find . -type f -perm +111 -exec patchelf --set-interpreter "$goodInterp" '{}' ';' 38 - '' ["minInit" "doUnpack"]; 39 - 40 40 meta = { 41 41 description = "Clozure Common Lisp"; 42 - maintainers = [ 43 - a.lib.maintainers.raskin 44 - ]; 45 - platforms = with a.lib.platforms; 46 - linux; 42 + homepage = http://ccl.clozure.com/; 43 + maintainers = with stdenv.lib.maintainers; [ raskin muflax ]; 44 + platforms = stdenv.lib.platforms.linux; 45 + license = stdenv.lib.licenses.lgpl21; 47 46 }; 48 47 } 49 -
+2 -2
pkgs/development/interpreters/groovy/default.nix
··· 4 4 5 5 stdenv.mkDerivation rec { 6 6 name = "groovy-${version}"; 7 - version = "2.3.7"; 7 + version = "2.3.8"; 8 8 9 9 src = fetchurl { 10 10 url = "http://dl.bintray.com/groovy/maven/groovy-binary-${version}.zip"; 11 - sha256 = "09957vi33c8bgk6z4wnidch5sz3s183yh6xba8cdjy5f7jpzmmiq"; 11 + sha256 = "0fgsn1s7vhxcrwb2wa6zvrdzff7zbb2s6f7xj6c9x7gl9mdfcwpn"; 12 12 }; 13 13 14 14 installPhase = ''
+20
pkgs/development/libraries/audio/libsmf/default.nix
··· 1 + { lib, stdenv, fetchurl, glib, pkgconfig }: 2 + 3 + stdenv.mkDerivation rec { 4 + version = "1.3"; 5 + name = "libsmf-${version}"; 6 + src = fetchurl { 7 + url = "https://github.com/stump/libsmf/archive/${name}.tar.gz"; 8 + sha256 = "1527pcc1vd0l5iks2yw8m0bymcrnih2md5465lwpzw0wgy4rky7n"; 9 + }; 10 + 11 + buildInputs = [ glib pkgconfig ]; 12 + 13 + meta = with stdenv.lib; { 14 + description = "A C library for reading and writing Standard MIDI Files"; 15 + homepage = https://github.com/stump/libsmf; 16 + license = licenses.bsd2; 17 + maintainers = [ maintainers.goibhniu ]; 18 + platforms = platforms.linux; 19 + }; 20 + }
+15
pkgs/development/libraries/haskell/GenericPretty/default.nix
··· 1 + # This file was auto-generated by cabal2nix. Please do NOT edit manually! 2 + 3 + { cabal }: 4 + 5 + cabal.mkDerivation (self: { 6 + pname = "GenericPretty"; 7 + version = "1.2.1"; 8 + sha256 = "0bb70mic7srr7x8k83d1i0m0a32gm72zr78ccdf3ckchj9136php"; 9 + meta = { 10 + homepage = "https://github.com/RazvanRanca/GenericPretty"; 11 + description = "A generic, derivable, haskell pretty printer"; 12 + license = self.stdenv.lib.licenses.bsd3; 13 + platforms = self.ghc.meta.platforms; 14 + }; 15 + })
+27
pkgs/development/libraries/haskell/aws-ec2/default.nix
··· 1 + # This file was auto-generated by cabal2nix. Please do NOT edit manually! 2 + 3 + { cabal, aeson, aws, base16Bytestring, base64Bytestring 4 + , blazeBuilder, byteable, conduitExtra, cryptohash, httpConduit 5 + , httpTypes, mtl, optparseApplicative, resourcet, scientific, text 6 + , time, unorderedContainers, vector, xmlConduit 7 + }: 8 + 9 + cabal.mkDerivation (self: { 10 + pname = "aws-ec2"; 11 + version = "0.2.2"; 12 + sha256 = "1jlm6a4mb3mzzvql8llnvci4qd8imf58m681iqhcw1qq6hy56srl"; 13 + isLibrary = true; 14 + isExecutable = true; 15 + buildDepends = [ 16 + aeson aws base16Bytestring base64Bytestring blazeBuilder byteable 17 + conduitExtra cryptohash httpConduit httpTypes mtl 18 + optparseApplicative resourcet scientific text time 19 + unorderedContainers vector xmlConduit 20 + ]; 21 + meta = { 22 + homepage = "https://github.com/zalora/aws-ec2"; 23 + description = "AWS EC2/VPC, ELB and CloudWatch client library for Haskell"; 24 + license = self.stdenv.lib.licenses.bsd3; 25 + platforms = self.ghc.meta.platforms; 26 + }; 27 + })
+27
pkgs/development/libraries/haskell/handa-gdata/default.nix
··· 1 + # This file was auto-generated by cabal2nix. Please do NOT edit manually! 2 + 3 + { cabal, base64Bytestring, binary, caseInsensitive, cmdargs 4 + , dataDefault, filepath, GenericPretty, HTTP, httpConduit, json 5 + , network, pureMD5, random, regexPosix, resourcet, split, time 6 + , unixCompat, utf8String, xml 7 + }: 8 + 9 + cabal.mkDerivation (self: { 10 + pname = "handa-gdata"; 11 + version = "0.7.0.1"; 12 + sha256 = "1azjfhwcirf6nv7pym8lcrghvjbrb1hh1y2w43g7qxxdmk54n8g7"; 13 + isLibrary = true; 14 + isExecutable = true; 15 + buildDepends = [ 16 + base64Bytestring binary caseInsensitive cmdargs dataDefault 17 + filepath GenericPretty HTTP httpConduit json network pureMD5 random 18 + regexPosix resourcet split time unixCompat utf8String xml 19 + ]; 20 + doCheck = false; 21 + meta = { 22 + homepage = "http://code.google.com/p/hgdata"; 23 + description = "Library and command-line utility for accessing Google services and APIs"; 24 + license = self.stdenv.lib.licenses.mit; 25 + platforms = self.ghc.meta.platforms; 26 + }; 27 + })
+23
pkgs/development/libraries/haskell/hsbencher-fusion/default.nix
··· 1 + # This file was auto-generated by cabal2nix. Please do NOT edit manually! 2 + 3 + { cabal, criterion, csv, dataDefault, filepath, handaGdata 4 + , hsbencher, httpConduit, mtl, network, statistics, text, time 5 + }: 6 + 7 + cabal.mkDerivation (self: { 8 + pname = "hsbencher-fusion"; 9 + version = "0.3.3"; 10 + sha256 = "0vp1biv5jwac3bhj7qxl8x3bw73436qn284fippmlr6f54c15yw8"; 11 + isLibrary = true; 12 + isExecutable = true; 13 + buildDepends = [ 14 + criterion csv dataDefault filepath handaGdata hsbencher httpConduit 15 + mtl network statistics text time 16 + ]; 17 + doCheck = false; 18 + meta = { 19 + description = "Backend for uploading benchmark data to Google Fusion Tables"; 20 + license = self.stdenv.lib.licenses.bsd3; 21 + platforms = self.ghc.meta.platforms; 22 + }; 23 + })
+22
pkgs/development/libraries/haskell/hsbencher/default.nix
··· 1 + # This file was auto-generated by cabal2nix. Please do NOT edit manually! 2 + 3 + { cabal, async, dataDefault, filepath, GenericPretty, HUnit 4 + , ioStreams, mtl, random, testFramework, testFrameworkHunit, text 5 + , time 6 + }: 7 + 8 + cabal.mkDerivation (self: { 9 + pname = "hsbencher"; 10 + version = "1.20.0.3"; 11 + sha256 = "1qnj4zhq6j4cvnxcparm2xr9qc6l9q7j72h4dr5jz04lz8c2fkcl"; 12 + buildDepends = [ 13 + async dataDefault filepath GenericPretty ioStreams mtl random time 14 + ]; 15 + testDepends = [ HUnit testFramework testFrameworkHunit text time ]; 16 + doCheck = false; 17 + meta = { 18 + description = "Launch and gather data from Haskell and non-Haskell benchmarks"; 19 + license = self.stdenv.lib.licenses.bsd3; 20 + platforms = self.ghc.meta.platforms; 21 + }; 22 + })
+24
pkgs/development/libraries/haskell/lzma-conduit/default.nix
··· 1 + # This file was auto-generated by cabal2nix. Please do NOT edit manually! 2 + 3 + { cabal, bindingsDSL, conduit, HUnit, lzma, QuickCheck, resourcet 4 + , testFramework, testFrameworkHunit, testFrameworkQuickcheck2 5 + , transformers 6 + }: 7 + 8 + cabal.mkDerivation (self: { 9 + pname = "lzma-conduit"; 10 + version = "1.1.1"; 11 + sha256 = "1i1khkxpia5hp3f0p7h656yvbgwsxffpl2czxjbkiw6iz31rapwg"; 12 + buildDepends = [ bindingsDSL conduit resourcet transformers ]; 13 + testDepends = [ 14 + conduit HUnit QuickCheck resourcet testFramework testFrameworkHunit 15 + testFrameworkQuickcheck2 16 + ]; 17 + extraLibraries = [ lzma ]; 18 + meta = { 19 + homepage = "http://github.com/alphaHeavy/lzma-conduit"; 20 + description = "Conduit interface for lzma/xz compression"; 21 + license = self.stdenv.lib.licenses.bsd3; 22 + platforms = self.ghc.meta.platforms; 23 + }; 24 + })
+15
pkgs/development/libraries/haskell/network-data/default.nix
··· 1 + # This file was auto-generated by cabal2nix. Please do NOT edit manually! 2 + 3 + { cabal, cereal, prettyclass }: 4 + 5 + cabal.mkDerivation (self: { 6 + pname = "network-data"; 7 + version = "0.5.2"; 8 + sha256 = "0vbmg1m4qylzbmj3z5746srfkiwvh32qi9zyc39gc87bfw2gzn8s"; 9 + buildDepends = [ cereal prettyclass ]; 10 + meta = { 11 + description = "Library for network data structures and their serialization"; 12 + license = self.stdenv.lib.licenses.bsd3; 13 + platforms = self.ghc.meta.platforms; 14 + }; 15 + })
+2 -2
pkgs/development/libraries/haskell/snap-error-collector/default.nix
··· 6 6 7 7 cabal.mkDerivation (self: { 8 8 pname = "snap-error-collector"; 9 - version = "1.0.0"; 10 - sha256 = "1rywfbc489kgbcm7svgrim3zihma5j9vy6cwhlc6dgvsb1rb37j2"; 9 + version = "1.1.0"; 10 + sha256 = "06pqlv93qgibl5gbrp7p1vg6x421nrpkvhazbrcipdpbawrsgaj2"; 11 11 buildDepends = [ 12 12 async MonadCatchIOTransformers monadLoops snap stm time 13 13 transformers
+19
pkgs/development/libraries/haskell/vk-aws-route53/default.nix
··· 1 + # This file was auto-generated by cabal2nix. Please do NOT edit manually! 2 + 3 + { cabal, aws, httpConduit, httpTypes, resourcet, text, time 4 + , xmlConduit, xmlHamlet 5 + }: 6 + 7 + cabal.mkDerivation (self: { 8 + pname = "vk-aws-route53"; 9 + version = "0.1.2"; 10 + sha256 = "0sblvj89bb7vxgy09m88gcphqc9w2mpawg8kdz0r77y7db0vzb4x"; 11 + buildDepends = [ 12 + aws httpConduit httpTypes resourcet text time xmlConduit xmlHamlet 13 + ]; 14 + meta = { 15 + description = "Amazon Route53 DNS service plugin for the aws package"; 16 + license = self.stdenv.lib.licenses.bsd3; 17 + platforms = self.ghc.meta.platforms; 18 + }; 19 + })
+18
pkgs/development/libraries/haskell/vk-posix-pty/default.nix
··· 1 + # This file was auto-generated by cabal2nix. Please do NOT edit manually! 2 + 3 + { cabal }: 4 + 5 + cabal.mkDerivation (self: { 6 + pname = "vk-posix-pty"; 7 + version = "0.2.0.2"; 8 + sha256 = "0dp9kpn1qzfqykmyq20sg0snyk8zrqa2g8c5xp9rfp0zfgmh37dh"; 9 + isLibrary = true; 10 + isExecutable = true; 11 + meta = { 12 + homepage = "https://bitbucket.org/merijnv/posix-pty 13 + https://github.com/proger/posix-pty/tree/fork"; 14 + description = "Pseudo terminal interaction with subprocesses"; 15 + license = self.stdenv.lib.licenses.bsd3; 16 + platforms = self.ghc.meta.platforms; 17 + }; 18 + })
+2 -1
pkgs/development/libraries/libc++abi/default.nix
··· 16 16 17 17 postUnpack = '' 18 18 unpackFile ${libcxx.src} 19 + cp -r libcxx-*/include libcxxabi*/ 19 20 '' + lib.optionalString stdenv.isDarwin '' 20 21 export TRIPLE=x86_64-apple-darwin 21 22 # Hack: NIX_CFLAGS_COMPILE doesn't work here because clang++ isn't ··· 44 45 homepage = http://libcxxabi.llvm.org/; 45 46 description = "A new implementation of low level support for a standard C++ library"; 46 47 license = "BSD"; 47 - maintainers = [ stdenv.lib.maintainers.shlevy ]; 48 + maintainers = with stdenv.lib.maintainers; [ shlevy vlstill ]; 48 49 platforms = stdenv.lib.platforms.unix; 49 50 }; 50 51 }
+2 -2
pkgs/development/libraries/libksba/default.nix
··· 1 1 { stdenv, fetchurl, libgpgerror }: 2 2 3 3 stdenv.mkDerivation rec { 4 - name = "libksba-1.3.1"; 4 + name = "libksba-1.3.2"; 5 5 6 6 src = fetchurl { 7 7 url = "mirror://gnupg/libksba/${name}.tar.bz2"; 8 - sha256 = "1ya6mcd6pk2v1pylvlk6wv3869aslz2mr2xw2gs6faxx2ravk5mw"; 8 + sha256 = "01l4hvcknk9nb4bvyb6aqaid19jg0wv3ik54j1b89hnzamwm75gb"; 9 9 }; 10 10 11 11 propagatedBuildInputs = [ libgpgerror ];
+42
pkgs/development/ocaml-modules/uucp/default.nix
··· 1 + { stdenv, fetchurl, ocaml, findlib, opam }: 2 + 3 + let 4 + inherit (stdenv.lib) getVersion versionAtLeast; 5 + 6 + pname = "uucp"; 7 + version = "0.9.0"; 8 + webpage = "http://erratique.ch/software/${pname}"; 9 + in 10 + 11 + assert versionAtLeast (getVersion ocaml) "4.00"; 12 + 13 + stdenv.mkDerivation { 14 + 15 + name = "ocaml-${pname}-${version}"; 16 + 17 + src = fetchurl { 18 + url = "${webpage}/releases/${pname}-${version}.tbz"; 19 + sha256 = "1cwjr16cg03h30r97lnb32g725qi7ma76kr2aly5smc3m413dhqy"; 20 + }; 21 + 22 + buildInputs = [ ocaml findlib opam ]; 23 + 24 + createFindlibDestdir = true; 25 + 26 + unpackCmd = "tar xjf $src"; 27 + 28 + buildPhase = "ocaml pkg/build.ml native=true native-dynlink=true"; 29 + 30 + installPhase = '' 31 + opam-installer --script --prefix=$out ${pname}.install | sh 32 + ln -s $out/lib/${pname} $out/lib/ocaml/${getVersion ocaml}/site-lib/${pname} 33 + ''; 34 + 35 + meta = with stdenv.lib; { 36 + description = "An OCaml library providing efficient access to a selection of character properties of the Unicode character database"; 37 + homepage = "${webpage}"; 38 + platforms = ocaml.meta.platforms; 39 + license = licenses.bsd3; 40 + maintainers = [ maintainers.vbgl ]; 41 + }; 42 + }
+8 -11
pkgs/development/python-modules/pygame/default.nix
··· 1 - { stdenv, fetchurl, python, pkgconfig 2 - , SDL, SDL_image, SDL_mixer, SDL_ttf, libpng, libjpeg 1 + { stdenv, fetchurl, buildPythonPackage, pkgconfig, smpeg, libX11 2 + , SDL, SDL_image, SDL_mixer, SDL_ttf, libpng, libjpeg, portmidi 3 3 }: 4 4 5 - stdenv.mkDerivation { 5 + buildPythonPackage { 6 6 name = "pygame-1.9.1"; 7 7 8 8 src = fetchurl { ··· 11 11 }; 12 12 13 13 buildInputs = [ 14 - python pkgconfig SDL SDL_image SDL_mixer SDL_ttf libpng libjpeg 14 + pkgconfig SDL SDL_image SDL_mixer SDL_ttf libpng libjpeg 15 + smpeg portmidi libX11 15 16 ]; 16 17 17 18 patches = [ ./pygame-v4l.patch ]; 18 19 19 - configurePhase = '' 20 - for i in ${SDL_image} ${SDL_mixer} ${SDL_ttf} ${libpng} ${libjpeg}; do 20 + preConfigure = '' 21 + for i in ${SDL_image} ${SDL_mixer} ${SDL_ttf} ${libpng} ${libjpeg} ${portmidi} ${libX11}; do 21 22 sed -e "/origincdirs =/a'$i/include'," -i config_unix.py 22 23 sed -e "/origlibdirs =/aoriglibdirs += '$i/lib'," -i config_unix.py 23 24 done 24 25 25 - yes Y | LOCALBASE=/ python config.py 26 + LOCALBASE=/ python config.py 26 27 ''; 27 - 28 - buildPhase = "python setup.py build"; 29 - 30 - installPhase = "python setup.py install --prefix=$out"; 31 28 32 29 meta = { 33 30 description = "Python library for games";
+2 -2
pkgs/development/tools/analysis/checkstyle/default.nix
··· 1 1 { stdenv, fetchurl }: 2 2 3 3 stdenv.mkDerivation rec { 4 - version = "6.1"; 4 + version = "6.1.1"; 5 5 name = "checkstyle-${version}"; 6 6 7 7 src = fetchurl { 8 8 url = "mirror://sourceforge/checkstyle/${version}/${name}-bin.tar.gz"; 9 - sha256 = "0g5ywnc64v2c4zlamm3l2x0l1z79199mcjz0xzv3j5wx7rsyasrc"; 9 + sha256 = "07qickjgayakzfq54nwb9rpxydjkymxw6lnhzxri36mxspq9pzda"; 10 10 }; 11 11 12 12 installPhase = ''
+2 -1
pkgs/development/tools/rust/racer/default.nix
··· 21 21 wrapProgram $out/bin/racer --set RUST_SRC_PATH "${rustSrc}/src" 22 22 ''; 23 23 24 - meta = { 24 + meta = with stdenv.lib; { 25 25 description = "A utility intended to provide rust code completion for editors and IDEs."; 26 26 homepage = https://github.com/phildawes/racer; 27 27 license = stdenv.lib.licenses.mit; 28 + maintainers = [ maintainers.jagajaga ]; 28 29 }; 29 30 }
+4 -4
pkgs/os-specific/linux/kernel/patches.nix
··· 61 61 62 62 grsecurity_stable = grsecPatch 63 63 { kversion = "3.14.25"; 64 - revision = "201411231452"; 64 + revision = "201411260106"; 65 65 branch = "stable"; 66 - sha256 = "033i7lgc0qp63d772xgikb3bh9hp78xapdaqwi85lgbzi39ak2gz"; 66 + sha256 = "19131hkbf8zrqq31iiw99hslb5g29yqfl67jzlc4y4c8092s7fdm"; 67 67 }; 68 68 69 69 grsecurity_unstable = grsecPatch 70 70 { kversion = "3.17.4"; 71 - revision = "201411231452"; 71 + revision = "201411260107"; 72 72 branch = "test"; 73 - sha256 = "1ns8im11lbqyvk2kmaz88ymw1b1ni1h4byb763rbrnxclrid1f2d"; 73 + sha256 = "1ynwmgm5c2fcd2dr76s3sqap3bv9b04p7qvf92pa1p4hgj2lva2n"; 74 74 }; 75 75 76 76 grsec_fix_path =
+1 -1
pkgs/servers/monitoring/bosun/default.nix
··· 40 40 ''; 41 41 homepage = http://bosun.org; 42 42 license = licenses.mit; 43 - platforms = stdenv.lib.platforms.linux; 43 + platforms = ["x86_64-linux"]; 44 44 }; 45 45 }
+27
pkgs/tools/X11/sselp/default.nix
··· 1 + { stdenv, fetchurl, libX11 }: 2 + 3 + stdenv.mkDerivation rec { 4 + version = "0.2"; 5 + name = "sselp-${version}"; 6 + 7 + src = fetchurl { 8 + url = "http://dl.suckless.org/tools/${name}.tar.gz"; 9 + sha256 = "08mqp00lrh1chdrbs18qr0xv63h866lkmfj87kfscwdm1vn9a3yd"; 10 + }; 11 + 12 + buildInputs = [ libX11 ]; 13 + 14 + patchPhase = '' 15 + sed -i "s@/usr/local@$out@g" config.mk 16 + sed -i "s@/usr/X11R6/include@${libX11}/include@g" config.mk 17 + sed -i "s@/usr/X11R6/lib@${libX11}/lib@g" config.mk 18 + ''; 19 + 20 + meta = { 21 + homepage = "http://tools.suckless.org/sselp"; 22 + description = "Prints the X selection to stdout, usefull in scripts"; 23 + license = stdenv.lib.licenses.mit; 24 + maintainers = [stdenv.lib.maintainers.magnetophon ]; 25 + platforms = stdenv.lib.platforms.linux; 26 + }; 27 + }
+2 -2
pkgs/tools/filesystems/btrfsprogs/default.nix
··· 1 1 { stdenv, fetchurl, attr, acl, zlib, libuuid, e2fsprogs, lzo 2 2 , asciidoc, xmlto, docbook_xml_dtd_45, docbook_xsl, libxslt }: 3 3 4 - let version = "3.17.1"; in 4 + let version = "3.17.2"; in 5 5 6 6 stdenv.mkDerivation rec { 7 7 name = "btrfs-progs-${version}"; 8 8 9 9 src = fetchurl { 10 10 url = "mirror://kernel/linux/kernel/people/kdave/btrfs-progs/btrfs-progs-v${version}.tar.xz"; 11 - sha256 = "1axazaw6ps5gy4l6j2jrivxqx8ysva3v1cynmrd1g345gff5f0bc"; 11 + sha256 = "1ijn8kd13hliqph9vijfl9zzvnkb6d6i7fqggbiwjvhslhjcgv2h"; 12 12 }; 13 13 14 14 buildInputs = [
+34
pkgs/tools/graphics/qrcode/default.nix
··· 1 + {stdenv, fetchgit}: 2 + let 3 + s = 4 + rec { 5 + baseName = "qrcode"; 6 + date = "2014-01-01"; 7 + version = "git-${date}"; 8 + name = "${baseName}-${version}"; 9 + url = "https://github.com/qsantos/qrcode"; 10 + rev = "2843cbada3b768f60ee1ae13c65160083558cc03"; 11 + sha256 = "0x321xhzxk6ldvpr2090w14khj9n2gfay9db5vvvli16affpcrvb"; 12 + }; 13 + buildInputs = [ 14 + ]; 15 + in 16 + stdenv.mkDerivation { 17 + inherit (s) name version; 18 + inherit buildInputs; 19 + src = fetchgit { 20 + inherit (s) rev url sha256; 21 + }; 22 + installPhase = '' 23 + mkdir -p "$out"/{bin,share/doc/qrcode} 24 + cp qrcode "$out/bin" 25 + cp DOCUMENTATION LICENCE "$out/share/doc/qrcode" 26 + ''; 27 + meta = { 28 + inherit (s) version; 29 + description = ''A small QR-code tool''; 30 + license = stdenv.lib.licenses.gpl3Plus; 31 + maintainers = [stdenv.lib.maintainers.raskin]; 32 + platforms = stdenv.lib.platforms.linux; 33 + }; 34 + }
+39
pkgs/tools/graphics/quirc/default.nix
··· 1 + {stdenv, fetchgit, SDL_gfx, SDL, libjpeg, pkgconfig}: 2 + let 3 + s = 4 + rec { 5 + date = "2014-11-01"; 6 + version = "git-${date}"; 7 + baseName = "quirc"; 8 + name = "${baseName}-${version}"; 9 + url = "https://github.com/dlbeer/quirc"; 10 + rev = "3a3df0d1d6adc59fdc2cadecfaed91650b84cacb"; 11 + sha256 = "0wk2lmnw1k6m12dxs5a684mrm05x362h5kr3dwkfj8pyvdw3am18"; 12 + }; 13 + buildInputs = [ 14 + SDL SDL_gfx libjpeg pkgconfig 15 + ]; 16 + in 17 + stdenv.mkDerivation { 18 + inherit (s) name version; 19 + inherit buildInputs; 20 + src = fetchgit { 21 + inherit (s) url sha256 rev; 22 + }; 23 + NIX_CFLAGS_COMPILE="-I${SDL}/include/SDL"; 24 + configurePhase = '' 25 + sed -e 's/-[og] root//g' -i Makefile 26 + ''; 27 + preInstall = '' 28 + mkdir -p "$out"/{bin,lib,include} 29 + find . -maxdepth 1 -type f -perm +111 -exec cp '{}' "$out"/bin ';' 30 + ''; 31 + makeFlags = "PREFIX=$(out)"; 32 + meta = { 33 + inherit (s) version; 34 + description = ''A small QR code decoding library''; 35 + license = stdenv.lib.licenses.isc; 36 + maintainers = [stdenv.lib.maintainers.raskin]; 37 + platforms = stdenv.lib.platforms.linux; 38 + }; 39 + }
+153 -2
pkgs/tools/misc/opentsdb/default.nix
··· 1 - { stdenv, autoconf, automake, fetchurl, curl, jdk, jre, makeWrapper, nettools, python }: 1 + { stdenv, autoconf, automake, curl, fetchurl, jdk, jre, makeWrapper, nettools, python }: 2 2 with stdenv.lib; 3 - stdenv.mkDerivation rec { 3 + let 4 + thirdPartyDeps = { 5 + guava = { 6 + "guava-18.0.jar" = fetchurl { 7 + url = http://repo1.maven.org/maven2/com/google/guava/guava/18.0/guava-18.0.jar; 8 + md5 = "947641f6bb535b1d942d1bc387c45290"; 9 + }; 10 + }; 11 + gwt = { 12 + "gwt-dev-2.6.0.jar" = fetchurl { 13 + url = http://central.maven.org/maven2/com/google/gwt/gwt-dev/2.6.0/gwt-dev-2.6.0.jar; 14 + md5 = "23d8bf52709230c2c7e6dd817261f9ee"; 15 + }; 16 + "gwt-user-2.6.0.jar" = fetchurl { 17 + url = http://repo1.maven.org/maven2/com/google/gwt/gwt-user/2.6.0/gwt-user-2.6.0.jar; 18 + md5 = "99226fc2764f2b8fd6db6e05d0847659"; 19 + }; 20 + }; 21 + hamcrest = { 22 + "hamcrest-core-1.3.jar" = fetchurl { 23 + url = http://central.maven.org/maven2/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar; 24 + md5 = "6393363b47ddcbba82321110c3e07519"; 25 + }; 26 + }; 27 + hbase = { 28 + "asynchbase-1.6.0.jar" = fetchurl { 29 + url = http://central.maven.org/maven2/org/hbase/asynchbase/1.6.0/asynchbase-1.6.0.jar; 30 + md5 = "6738dd73fd48d30cbf5c78f62bc18852"; 31 + }; 32 + }; 33 + jackson = { 34 + "jackson-annotations-2.4.3.jar" = fetchurl { 35 + url = http://repo1.maven.org/maven2/com/fasterxml/jackson/core/jackson-annotations/2.4.3/jackson-annotations-2.4.3.jar; 36 + md5 = "31ef4fa866f9d24960a6807c9c299e98"; 37 + }; 38 + "jackson-core-2.4.3.jar" = fetchurl { 39 + url = http://central.maven.org/maven2/com/fasterxml/jackson/core/jackson-core/2.4.3/jackson-core-2.4.3.jar; 40 + md5 = "750ef3d86f04fe0d6d14d6ae904a6d2d"; 41 + }; 42 + "jackson-databind-2.4.3.jar" = fetchurl { 43 + url = http://repo1.maven.org/maven2/com/fasterxml/jackson/core/jackson-databind/2.4.3/jackson-databind-2.4.3.jar; 44 + md5 = "4fcb9f74280eaa21de10191212c65b11"; 45 + }; 46 + }; 47 + javassist = { 48 + "javassist-3.18.1-GA.jar" = fetchurl { 49 + url = http://central.maven.org/maven2/org/javassist/javassist/3.18.1-GA/javassist-3.18.1-GA.jar; 50 + md5 = "5bb83868c87334320562af7eded65cc2"; 51 + }; 52 + }; 53 + junit = { 54 + "junit-4.11.jar" = fetchurl { 55 + url = http://repo1.maven.org/maven2/junit/junit/4.11/junit-4.11.jar; 56 + md5 = "3c42be5ea7cbf3635716abbb429cb90d"; 57 + }; 58 + }; 59 + logback = { 60 + "logback-classic-1.0.13.jar" = fetchurl { 61 + url = https://opentsdb.googlecode.com/files/logback-classic-1.0.13.jar; 62 + md5 = "b4dc8eb42150aafd6d9fd3d211807621"; 63 + }; 64 + "logback-core-1.0.13.jar" = fetchurl { 65 + url = https://opentsdb.googlecode.com/files/logback-core-1.0.13.jar; 66 + md5 = "3d5f8ce8dca36e493d39177b71958bd4"; 67 + }; 68 + }; 69 + mockito = { 70 + "mockito-1.9.0.jar" = fetchurl { 71 + url = https://opentsdb.googlecode.com/files/mockito-1.9.0.jar; 72 + md5 = "cab21b44958a173a5b1d55a6aff0ab54"; 73 + }; 74 + "mockito-core-1.9.5.jar" = fetchurl { 75 + url = https://opentsdb.googlecode.com/files/mockito-core-1.9.5.jar; 76 + md5 = "98f3076e2a691d1ac291624e5a46b80b"; 77 + }; 78 + }; 79 + netty = { 80 + "netty-3.9.4.Final.jar" = fetchurl { 81 + url = http://central.maven.org/maven2/io/netty/netty/3.9.4.Final/netty-3.9.4.Final.jar; 82 + md5 = "b3701ef46c7518d0d63705e2f092dbe5"; 83 + }; 84 + }; 85 + objenesis = { 86 + "objenesis-1.3.jar" = fetchurl { 87 + url = http://repo1.maven.org/maven2/org/objenesis/objenesis/1.3/objenesis-1.3.jar; 88 + md5 = "2d649907bd6203f2661f70d430a6ade8"; 89 + }; 90 + }; 91 + powermock = { 92 + "powermock-mockito-release-full-1.5.4-full.jar" = fetchurl { 93 + url = http://repo1.maven.org/maven2/org/powermock/powermock-mockito-release-full/1.5.4/powermock-mockito-release-full-1.5.4-full.jar; 94 + md5 = "5dee1dce6952bb7338d4d053157ae647"; 95 + }; 96 + }; 97 + protobuf = { 98 + "protobuf-java-2.5.0.jar" = fetchurl { 99 + url = http://repo1.maven.org/maven2/com/google/protobuf/protobuf-java/2.5.0/protobuf-java-2.5.0.jar; 100 + md5 = "a44473b98947e2a54c54e0db1387d137"; 101 + }; 102 + }; 103 + slf4j = { 104 + "log4j-over-slf4j-1.7.7.jar" = fetchurl { 105 + url = http://repo1.maven.org/maven2/org/slf4j/log4j-over-slf4j/1.7.7/log4j-over-slf4j-1.7.7.jar; 106 + md5 = "93ab42a5216afd683c35988c6b6fc3d8"; 107 + }; 108 + "slf4j-api-1.7.7.jar" = fetchurl { 109 + url = http://repo1.maven.org/maven2/org/slf4j/slf4j-api/1.7.7/slf4j-api-1.7.7.jar; 110 + md5 = "ca4280bf93d64367723ae5c8d42dd0b9"; 111 + }; 112 + }; 113 + suasync = { 114 + "suasync-1.4.0.jar" = fetchurl { 115 + url = https://opentsdb.googlecode.com/files/suasync-1.4.0.jar; 116 + md5 = "289ce3f3e6a9bb17857981eacf6d74b6"; 117 + }; 118 + }; 119 + validation-api = { 120 + "validation-api-1.0.0.GA.jar" = fetchurl { 121 + url = http://repo1.maven.org/maven2/javax/validation/validation-api/1.0.0.GA/validation-api-1.0.0.GA.jar; 122 + md5 = "40c1ee909493066397a6d4d9f8d375d8"; 123 + }; 124 + "validation-api-1.0.0.GA-sources.jar" = fetchurl { 125 + url = http://repo1.maven.org/maven2/javax/validation/validation-api/1.0.0.GA/validation-api-1.0.0.GA-sources.jar; 126 + md5 = "f816682933b59c5ffe32bdb4ab4bf628"; 127 + }; 128 + }; 129 + zookeeper = { 130 + "zookeeper-3.3.6.jar" = fetchurl { 131 + url = https://opentsdb.googlecode.com/files/zookeeper-3.3.6.jar; 132 + md5 = "02786e11c19d1671640992f1bda4a858"; 133 + }; 134 + }; 135 + }; 136 + 137 + in stdenv.mkDerivation rec { 4 138 name = "opentsdb-2.1.0-rc1"; 5 139 6 140 src = fetchurl { ··· 11 145 buildInputs = [ autoconf automake curl jdk makeWrapper nettools python ]; 12 146 13 147 configurePhase = '' 148 + echo > build-aux/fetchdep.sh.in 14 149 ./bootstrap 15 150 mkdir build 16 151 cd build 17 152 ../configure --prefix=$out 153 + patchShebangs ./build-aux/ 18 154 ''; 19 155 156 + buildPhase = 157 + concatStringsSep 158 + "\n" 159 + (mapAttrsToList 160 + (folder: jars: 161 + "mkdir -p third_party/${folder}\n" + 162 + (concatStringsSep 163 + "\n" 164 + (mapAttrsToList 165 + (jar: src: 166 + "ln -s ${src} third_party/${folder}/${jar}") 167 + jars))) 168 + thirdPartyDeps); 169 + 20 170 installPhase = '' 21 171 make install 22 172 wrapProgram $out/bin/tsdb \ ··· 29 179 homepage = http://opentsdb.net; 30 180 license = licenses.lgpl21Plus; 31 181 platforms = stdenv.lib.platforms.linux; 182 + maintainers = [ maintainers.ocharles ]; 32 183 }; 33 184 }
+2 -2
pkgs/tools/misc/parcellite/default.nix
··· 1 1 { stdenv, fetchurl, pkgconfig, intltool, gtk2 }: 2 2 3 3 stdenv.mkDerivation rec { 4 - name = "parcellite-1.1.7"; 4 + name = "parcellite-1.1.9"; 5 5 6 6 src = fetchurl { 7 7 url = "mirror://sourceforge/parcellite/${name}.tar.gz"; 8 - sha256 = "0pszw3yd4a08p6jsz7asayr7jir08bxbwvfb16k01cj7ya4kf3w7"; 8 + sha256 = "1m0igxny8f8hlbwcbsr4vg08808sqwy05h61ia2bxsrf122rba6b"; 9 9 }; 10 10 11 11 buildInputs = [ pkgconfig intltool gtk2 ];
+2 -2
pkgs/tools/misc/youtube-dl/default.nix
··· 1 1 { stdenv, fetchurl, python, zip }: 2 2 3 3 let 4 - version = "2014.11.16"; 4 + version = "2014.11.27"; 5 5 in 6 6 stdenv.mkDerivation rec { 7 7 name = "youtube-dl-${version}"; 8 8 9 9 src = fetchurl { 10 10 url = "http://youtube-dl.org/downloads/${version}/${name}.tar.gz"; 11 - sha256 = "0i0j5dzmwil5x5qh6bghqy7zmj8wqqilp5m9sq95vqmsxpjfgw3q"; 11 + sha256 = "0bmjlp3jk5nd2i9jpbqbv2smh5rdxcjajv7fccfinmi6v2bjm1aa"; 12 12 }; 13 13 14 14 buildInputs = [ python ];
+2 -2
pkgs/tools/misc/yubico-piv-tool/default.nix
··· 1 1 { stdenv, fetchurl, pkgconfig, openssl, pcsclite }: 2 2 3 3 stdenv.mkDerivation rec { 4 - name = "yubico-piv-tool-0.1.0"; 4 + name = "yubico-piv-tool-0.1.2"; 5 5 6 6 src = fetchurl { 7 7 url = "https://developers.yubico.com/yubico-piv-tool/Releases/${name}.tar.gz"; 8 - sha256 = "1m573f0vn3xgzsl29ps679iykp5krwd0fnr4nhm1fw2hm5zahrhf"; 8 + sha256 = "0sqakrlw4j60xhlmp2fq6ccj3lqf13kwvmahsrj3xr5qdi7h0fza"; 9 9 }; 10 10 11 11 buildInputs = [ pkgconfig openssl pcsclite ];
+2 -2
pkgs/tools/misc/yubikey-personalization/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "yubikey-personalization-${version}"; 5 - version = "1.16.0"; 5 + version = "1.16.1"; 6 6 7 7 src = fetchurl { 8 8 url = "https://developers.yubico.com/yubikey-personalization/Releases/ykpers-${version}.tar.gz"; 9 - sha256 = "1zspbb10k9x9mjv8hadmwwgzjlign372al3zshypj9ri55ky0xs3"; 9 + sha256 = "1zivikg1ndxziwdmy2x66f9x0jxwbl0km4vxr5wgjsk94q6h45li"; 10 10 }; 11 11 12 12 buildInputs = [ pkgconfig libusb libyubikey json_c ];
+1 -1
pkgs/tools/networking/network-manager-applet/default.nix
··· 15 15 16 16 src = fetchurl { 17 17 url = "mirror://gnome/sources/${pn}/${major}/${name}.tar.xz"; 18 - sha256 = "1sx97cp9nb5p82kg2dl6dmqri7wichpjqchhx7bk77limngby7jq"; 18 + sha256 = "1jz0vawfixzm892m6plrzhsybgdxwv96pfwld9p85lb7wshykzj6"; 19 19 }; 20 20 21 21 buildInputs = [
+7 -3
pkgs/tools/networking/network-manager/default.nix
··· 5 5 6 6 stdenv.mkDerivation rec { 7 7 name = "network-manager-${version}"; 8 - version = "0.9.8.8"; 8 + version = "0.9.8.10"; 9 9 10 10 src = fetchurl { 11 11 url = "mirror://gnome/sources/NetworkManager/0.9/NetworkManager-${version}.tar.xz"; 12 - sha256 = "0mbsl6x3aavdnam8i87p0zz8fvvgi96g199s35wgg5r8rplks2la"; 12 + sha256 = "0wn9qh8r56r8l19dqr68pdl1rv3zg1dv47rfy6fqa91q7li2fk86"; 13 13 }; 14 14 15 15 preConfigure = '' ··· 64 64 # FIXME: Workaround until NixOS' dbus+systemd supports at_console policy 65 65 substituteInPlace $out/etc/dbus-1/system.d/org.freedesktop.NetworkManager.conf --replace 'at_console="true"' 'group="networkmanager"' 66 66 67 + # rename to network-manager to be in style 68 + mv $out/etc/systemd/system/NetworkManager.service $out/etc/systemd/system/network-manager.service 69 + echo "Alias=NetworkManager.service" >> $out/etc/systemd/system/dbus-org.freedesktop.nm-dispatcher.service 70 + 67 71 # systemd in NixOS doesn't use `systemctl enable`, so we need to establish 68 72 # aliases ourselves. 69 73 ln -s $out/etc/systemd/system/NetworkManager-dispatcher.service $out/etc/systemd/system/dbus-org.freedesktop.nm-dispatcher.service 70 - ln -s $out/etc/systemd/system/NetworkManager.service $out/etc/systemd/system/dbus-org.freedesktop.NetworkManager.service 74 + ln -s $out/etc/systemd/system/network-manager.service $out/etc/systemd/system/dbus-org.freedesktop.NetworkManager.service 71 75 ''; 72 76 73 77 meta = with stdenv.lib; {
-30
pkgs/tools/networking/network-manager/nixos-purity.patch
··· 28 28 NULL 29 29 }; 30 30 const char **path = dhcpcd_paths; 31 - diff --git a/src/dns-manager/nm-dns-dnsmasq.c b/src/dns-manager/nm-dns-dnsmasq.c 32 - index 8e216f4..6e00210 100644 33 - --- a/src/dns-manager/nm-dns-dnsmasq.c 34 - +++ b/src/dns-manager/nm-dns-dnsmasq.c 35 - @@ -52,9 +52,7 @@ static inline const char * 36 - find_dnsmasq (void) 37 - { 38 - static const char *paths[] = { 39 - - "/usr/local/sbin/dnsmasq", 40 - - "/usr/sbin/dnsmasq", 41 - - "/sbin/dnsmasq", 42 - + "@dnsmasq@/bin/dnsmasq", 43 - NULL 44 - }; 45 - const char **binary = paths; 46 - diff --git a/src/dnsmasq-manager/nm-dnsmasq-manager.c b/src/dnsmasq-manager/nm-dnsmasq-manager.c 47 - index ca2f9dc..ce718d0 100644 48 - --- a/src/dnsmasq-manager/nm-dnsmasq-manager.c 49 - +++ b/src/dnsmasq-manager/nm-dnsmasq-manager.c 50 - @@ -170,9 +170,7 @@ static inline const char * 51 - nm_find_dnsmasq (void) 52 - { 53 - static const char *dnsmasq_binary_paths[] = { 54 - - "/usr/local/sbin/dnsmasq", 55 - - "/usr/sbin/dnsmasq", 56 - - "/sbin/dnsmasq", 57 - + "@dnsmasq@/bin/dnsmasq", 58 - NULL 59 - }; 60 - 61 31 diff --git a/src/nm-device.c b/src/nm-device.c 62 32 index 1dc94ee..e60f3c8 100644 63 33 --- a/src/nm-device.c
+2 -2
pkgs/tools/networking/nzbget/default.nix
··· 2 2 , gnutls, libgcrypt }: 3 3 4 4 stdenv.mkDerivation rec { 5 - name = "nzbget-14.0"; 5 + name = "nzbget-14.1"; 6 6 7 7 src = fetchurl { 8 8 url = "mirror://sourceforge/nzbget/${name}.tar.gz"; 9 - sha256 = "1r9qdp17px8vq3mh18fzxhm5cqd37wcz2vv7hsxdq8rmgxhl7lj1"; 9 + sha256 = "062bvf0r290qi3xgbvvwgxxmnka7raa71dz9fg1mq0zpc5mq2sx1"; 10 10 }; 11 11 12 12 buildInputs = [ pkgconfig libxml2 ncurses libsigcxx libpar2 gnutls libgcrypt ];
+27 -12
pkgs/top-level/all-packages.nix
··· 2937 2937 chickenEggs = callPackage ../development/tools/egg2nix/chicken-eggs.nix { }; 2938 2938 }; 2939 2939 2940 - ccl = builderDefsPackage ../development/compilers/ccl {}; 2940 + ccl = callPackage ../development/compilers/ccl { }; 2941 2941 2942 2942 clang = wrapGCC llvmPackages.clang; 2943 2943 ··· 3762 3762 sawja = callPackage ../development/ocaml-modules/sawja { }; 3763 3763 3764 3764 uucd = callPackage ../development/ocaml-modules/uucd { }; 3765 + uucp = callPackage ../development/ocaml-modules/uucp { }; 3765 3766 uunf = callPackage ../development/ocaml-modules/uunf { }; 3766 3767 uutf = callPackage ../development/ocaml-modules/uutf { }; 3767 3768 ··· 4721 4722 splint = callPackage ../development/tools/analysis/splint { 4722 4723 flex = flex_2_5_35; 4723 4724 }; 4725 + 4726 + sselp = callPackage ../tools/X11/sselp{ }; 4724 4727 4725 4728 stm32flash = callPackage ../development/tools/misc/stm32flash { }; 4726 4729 ··· 6751 6754 6752 6755 librdf = callPackage ../development/libraries/librdf { }; 6753 6756 6757 + libsmf = callPackage ../development/libraries/audio/libsmf { }; 6758 + 6754 6759 lilv = callPackage ../development/libraries/audio/lilv { }; 6755 6760 6756 6761 lv2 = callPackage ../development/libraries/audio/lv2 { }; ··· 9280 9285 9281 9286 doodle = callPackage ../applications/search/doodle { }; 9282 9287 9288 + drumgizmo = callPackage ../applications/audio/drumgizmo { inherit (xlibs) libX11; }; 9289 + 9283 9290 dunst = callPackage ../applications/misc/dunst { }; 9284 9291 9285 9292 dvb_apps = callPackage ../applications/video/dvb-apps { }; ··· 10229 10236 lua = lua5_1; 10230 10237 lua5_sockets = lua5_1_sockets; 10231 10238 bs2bSupport = config.mpv.bs2bSupport or true; 10232 - quviSupport = config.mpv.quviSupport or false; 10239 + youtubeSupport = config.mpv.youtubeSupport or true; 10233 10240 cacaSupport = config.mpv.cacaSupport or true; 10234 10241 vaapiSupport = config.mpv.vaapiSupport or false; 10235 10242 }; ··· 10508 10515 10509 10516 qmmp = callPackage ../applications/audio/qmmp { }; 10510 10517 10518 + qrcode = callPackage ../tools/graphics/qrcode {}; 10519 + 10511 10520 qsampler = callPackage ../applications/audio/qsampler { }; 10512 10521 10513 10522 qsynth = callPackage ../applications/audio/qsynth { }; ··· 10517 10526 qtpfsgui = callPackage ../applications/graphics/qtpfsgui { }; 10518 10527 10519 10528 qtractor = callPackage ../applications/audio/qtractor { }; 10529 + 10530 + quirc = callPackage ../tools/graphics/quirc {}; 10520 10531 10521 10532 quodlibet = callPackage ../applications/audio/quodlibet { 10522 10533 inherit (pythonPackages) mutagen; ··· 10953 10964 10954 10965 vimpc = callPackage ../applications/audio/vimpc { }; 10955 10966 10967 + neovim = callPackage ../applications/editors/neovim { 10968 + inherit (lua52Packages) lpeg luaMessagePack luabitop; 10969 + }; 10970 + 10956 10971 virtviewer = callPackage ../applications/virtualization/virt-viewer { 10957 10972 gtkvnc = gtkvnc.override { enableGTK3 = true; }; 10958 10973 spice_gtk = spice_gtk.override { enableGTK3 = true; }; ··· 11295 11310 qt = qt4; 11296 11311 }; 11297 11312 11313 + yed = callPackage ../applications/graphics/yed {}; 11314 + 11298 11315 ykpers = callPackage ../applications/misc/ykpers {}; 11299 11316 11300 11317 yoshimi = callPackage ../applications/audio/yoshimi { ··· 11718 11735 11719 11736 enlightenment = callPackage ../desktops/enlightenment { }; 11720 11737 11721 - e17 = recurseIntoAttrs ( 11722 - let callPackage = newScope pkgs.e17; in 11723 - import ../desktops/e17 { inherit callPackage pkgs; } 11724 - ); 11725 - 11726 - e18 = recurseIntoAttrs ( 11727 - let callPackage = newScope pkgs.e18; in 11728 - import ../desktops/e18 { inherit callPackage pkgs; } 11729 - ); 11730 - 11731 11738 e19 = recurseIntoAttrs ( 11732 11739 let callPackage = newScope pkgs.e19; in 11733 11740 import ../desktops/e19 { inherit callPackage pkgs; } ··· 11959 11966 xfce = xfce4_10; 11960 11967 xfce4_10 = recurseIntoAttrs (import ../desktops/xfce { inherit config pkgs newScope; }); 11961 11968 11969 + xrandr-invert-colors = callPackage ../applications/misc/xrandr-invert-colors { }; 11962 11970 11963 11971 ### SCIENCE 11964 11972 ··· 12393 12401 electricsheep = callPackage ../misc/screensavers/electricsheep { }; 12394 12402 12395 12403 fakenes = callPackage ../misc/emulators/fakenes { }; 12404 + 12405 + 12406 + faust = callPackage ../applications/audio/faust { }; 12396 12407 12397 12408 faust-compiler = callPackage ../applications/audio/faust-compiler { }; 12398 12409 ··· 12692 12703 vimprobable2Wrapper = wrapFirefox 12693 12704 { browser = vimprobable2; browserName = "vimprobable2"; desktopName = "Vimprobable2"; 12694 12705 }; 12706 + 12707 + rekonqWrapper = wrapFirefox { 12708 + browser = kde4.rekonq; browserName = "rekonq"; desktopName = "Rekonq"; 12709 + }; 12695 12710 12696 12711 vimb = callPackage ../applications/networking/browsers/vimb { 12697 12712 webkit = webkitgtk2;
+18
pkgs/top-level/haskell-packages.nix
··· 214 214 215 215 aws = callPackage ../development/libraries/haskell/aws {}; 216 216 217 + awsEc2 = callPackage ../development/libraries/haskell/aws-ec2 {}; 218 + 217 219 authenticate = callPackage ../development/libraries/haskell/authenticate {}; 218 220 219 221 authenticateOauth = callPackage ../development/libraries/haskell/authenticate-oauth {}; ··· 898 900 899 901 genericDeriving = callPackage ../development/libraries/haskell/generic-deriving {}; 900 902 903 + GenericPretty = callPackage ../development/libraries/haskell/GenericPretty {}; 904 + 901 905 genericsSop = callPackage ../development/libraries/haskell/generics-sop {}; 902 906 903 907 ghcCore = callPackage ../development/libraries/haskell/ghc-core {}; ··· 1142 1146 1143 1147 hackageDb = callPackage ../development/libraries/haskell/hackage-db {}; 1144 1148 1149 + handaGdata = callPackage ../development/libraries/haskell/handa-gdata {}; 1150 + 1145 1151 haskellForMaths = callPackage ../development/libraries/haskell/HaskellForMaths {}; 1146 1152 1147 1153 haxl = callPackage ../development/libraries/haskell/haxl {}; ··· 1245 1251 1246 1252 hS3 = callPackage ../development/libraries/haskell/hS3 {}; 1247 1253 1254 + hsbencher = callPackage ../development/libraries/haskell/hsbencher {}; 1255 + 1256 + hsbencherFusion = callPackage ../development/libraries/haskell/hsbencher-fusion {}; 1257 + 1248 1258 hsBibutils = callPackage ../development/libraries/haskell/hs-bibutils {}; 1249 1259 1250 1260 hsc3 = callPackage ../development/libraries/haskell/hsc3 {}; ··· 1574 1584 1575 1585 lushtags = callPackage ../development/libraries/haskell/lushtags {}; 1576 1586 1587 + lzmaConduit = callPackage ../development/libraries/haskell/lzma-conduit {}; 1588 + 1577 1589 lzmaEnumerator = callPackage ../development/libraries/haskell/lzma-enumerator {}; 1578 1590 1579 1591 maccatcher = callPackage ../development/libraries/haskell/maccatcher {}; ··· 1765 1777 1766 1778 networkConduit = callPackage ../development/libraries/haskell/network-conduit {}; 1767 1779 networkConduitTls = callPackage ../development/libraries/haskell/network-conduit-tls {}; 1780 + 1781 + networkData = callPackage ../development/libraries/haskell/network-data {}; 1768 1782 1769 1783 networkFancy = callPackage ../development/libraries/haskell/network-fancy {}; 1770 1784 ··· 2706 2720 vectorThUnbox = callPackage ../development/libraries/haskell/vector-th-unbox {}; 2707 2721 2708 2722 vinyl = callPackage ../development/libraries/haskell/vinyl {}; 2723 + 2724 + vkAwsRoute53 = callPackage ../development/libraries/haskell/vk-aws-route53 {}; 2725 + 2726 + vkPosixPty = callPackage ../development/libraries/haskell/vk-posix-pty {}; 2709 2727 2710 2728 void = callPackage ../development/libraries/haskell/void {}; 2711 2729
+37
pkgs/top-level/lua-packages.nix
··· 218 218 }; 219 219 }; 220 220 221 + lpeg = buildLuaPackage rec { 222 + name = "lpeg-${version}"; 223 + version = "0.12"; 224 + src = fetchurl { 225 + url = "http://www.inf.puc-rio.br/~roberto/lpeg/${name}.tar.gz"; 226 + sha256 = "0xlbfw1w7l65a5qhnx5sfw327hkq1zcj8xmg4glfw6fj9ha4b9gg"; 227 + }; 228 + buildInputs = [ unzip ]; 229 + 230 + installPhase = '' 231 + mkdir -p $out/lib/lua/${lua.luaversion} 232 + install -p lpeg.so $out/lib/lua/${lua.luaversion} 233 + install -p re.lua $out/lib/lua/${lua.luaversion} 234 + ''; 235 + 236 + meta = { 237 + homepage = "http://www.inf.puc-rio.br/~roberto/lpeg/"; 238 + hydraPlatforms = stdenv.lib.platforms.linux; 239 + license = stdenv.lib.licenses.mit; 240 + }; 241 + }; 242 + 243 + luaMessagePack = buildLuaPackage rec { 244 + name = "lua-MessagePack-${version}"; 245 + version = "0.3.1"; 246 + src = fetchurl { 247 + url = "https://github.com/fperrad/lua-MessagePack/archive/${version}.tar.gz"; 248 + sha256 = "185mrd6bagwwm94jxzanq01l72ama3x4hf160a7yw7hgim2y5h9c"; 249 + }; 250 + buildInputs = [ unzip ]; 251 + 252 + meta = { 253 + homepage = "http://fperrad.github.io/lua-MessagePack/index.html"; 254 + hydraPlatforms = stdenv.lib.platforms.linux; 255 + license = stdenv.lib.licenses.mit; 256 + }; 257 + }; 221 258 }; in self
+2 -21
pkgs/top-level/python-packages.nix
··· 6203 6203 6204 6204 propagatedBuildInputs = with self; [ pycrypto ecdsa ]; 6205 6205 6206 - doCheck = !isPyPy; 6206 + # https://github.com/paramiko/paramiko/issues/449 6207 + doCheck = !(isPyPy || isPy33); 6207 6208 checkPhase = '' 6208 6209 ${python}/bin/${python.executable} test.py --no-sftp --no-big-file 6209 6210 ''; ··· 11817 11818 export NIX_CFLAGS_COMPILE="-I${pkgs.e19.efl}/include/eo-1 -I${pkgs.e19.efl}/include/eina-1 -I${pkgs.e19.efl}/include/eina-1/eina -I${pkgs.e19.efl}/include/evas-1 -I${self.dbus}/include/dbus-1.0 -I${pkgs.e19.efl}/include/efl-1 -I${pkgs.e19.efl}/include/eet-1 -I${pkgs.e19.efl}/include/ecore-1 -I${pkgs.e19.efl}/include/ecore-evas-1 -I${pkgs.e19.efl}/include/ecore-file-1 -I${pkgs.e19.efl}/include/ecore-input-1 -I${pkgs.e19.efl}/include/ecore-imf-1 -I${pkgs.e19.efl}/include/ecore-con-1 -I${pkgs.e19.efl}/include/edje-1 -I${pkgs.e19.efl}/include/eldbus-1 -I${pkgs.e19.efl}/include/efreet-1 -I${pkgs.e19.efl}/include/ethumb-client-1 -I${pkgs.e19.efl}/include/ethumb-1 -I${pkgs.e19.efl}/include/ecore-x-1 $NIX_CFLAGS_COMPILE" 11818 11819 ''; 11819 11820 buildInputs = with self; [ pkgs.pkgconfig pkgs.e19.efl pkgs.e19.elementary ]; 11820 - meta = { 11821 - description = "Python bindings for EFL and Elementary."; 11822 - homepage = http://enlightenment.org/; 11823 - maintainers = [ stdenv.lib.maintainers.matejc ]; 11824 - platforms = stdenv.lib.platforms.linux; 11825 - license = stdenv.lib.licenses.gpl3; 11826 - }; 11827 - }; 11828 - 11829 - pythonefl = buildPythonPackage rec { 11830 - name = "python-efl-${version}"; 11831 - version = "1.10.0"; 11832 - src = pkgs.fetchurl { 11833 - url = "http://download.enlightenment.org/rel/bindings/python/${name}.tar.gz"; 11834 - sha256 = "1inv2qalnm9paifdwyh9q3ffxcp9bjj92phvfw1rgkaildvfji5i"; 11835 - }; 11836 - preConfigure = '' 11837 - export NIX_CFLAGS_COMPILE="-I${pkgs.e18.efl}/include/eo-1 -I${pkgs.e18.efl}/include/eina-1 -I${pkgs.e18.efl}/include/eina-1/eina -I${pkgs.e18.efl}/include/evas-1 -I${self.dbus}/include/dbus-1.0 -I${pkgs.e18.efl}/include/efl-1 -I${pkgs.e18.efl}/include/eet-1 -I${pkgs.e18.efl}/include/ecore-1 -I${pkgs.e18.efl}/include/ecore-evas-1 -I${pkgs.e18.efl}/include/ecore-file-1 -I${pkgs.e18.efl}/include/ecore-input-1 -I${pkgs.e18.efl}/include/ecore-imf-1 -I${pkgs.e18.efl}/include/ecore-con-1 -I${pkgs.e18.efl}/include/edje-1 -I${pkgs.e18.efl}/include/eldbus-1 -I${pkgs.e18.efl}/include/efreet-1 -I${pkgs.e18.efl}/include/ethumb-client-1 -I${pkgs.e18.efl}/include/ethumb-1 -I${pkgs.e18.efl}/include/ecore-x-1 $NIX_CFLAGS_COMPILE" 11838 - ''; 11839 - buildInputs = with self; [ pkgs.pkgconfig pkgs.e18.efl pkgs.e18.elementary ]; 11840 11821 meta = { 11841 11822 description = "Python bindings for EFL and Elementary."; 11842 11823 homepage = http://enlightenment.org/;