Merge remote-tracking branch 'upstream/master' into HEAD

Conflicts:
pkgs/applications/version-management/git-and-tools/git/default.nix
pkgs/top-level/all-packages.nix
pkgs/top-level/unix-tools.nix

+3150 -1859
+2 -2
lib/systems/parse.nix
··· 34 34 35 35 ################################################################################ 36 36 37 - types.openSignifiantByte = mkOptionType { 37 + types.openSignificantByte = mkOptionType { 38 38 name = "significant-byte"; 39 39 description = "Endianness"; 40 40 merge = mergeOneOption; ··· 42 42 43 43 types.significantByte = enum (attrValues significantBytes); 44 44 45 - significantBytes = setTypes types.openSignifiantByte { 45 + significantBytes = setTypes types.openSignificantByte { 46 46 bigEndian = {}; 47 47 littleEndian = {}; 48 48 };
+10
maintainers/maintainer-list.nix
··· 305 305 github = "akru"; 306 306 name = "Alexander Krupenkin "; 307 307 }; 308 + alexchapman = { 309 + name = "Alex Chapman"; 310 + email = "alex@farfromthere.net"; 311 + github = "AJChapman"; 312 + }; 308 313 alexvorobiev = { 309 314 email = "alexander.vorobiev@gmail.com"; 310 315 github = "alexvorobiev"; ··· 3405 3410 email = "grrwlf@gmail.com"; 3406 3411 github = "grwlf"; 3407 3412 name = "Sergey Mironov"; 3413 + }; 3414 + sna = { 3415 + email = "abouzahra.9@wright.edu"; 3416 + github = "s-na"; 3417 + name = "S. Nordin Abouzahra"; 3408 3418 }; 3409 3419 snyh = { 3410 3420 email = "snyh@snyh.org";
+2
nixos/modules/config/pulseaudio.nix
··· 214 214 (mkIf cfg.enable { 215 215 environment.systemPackages = [ overriddenPackage ]; 216 216 217 + sound.enable = true; 218 + 217 219 environment.etc = [ 218 220 { target = "asound.conf"; 219 221 source = alsaConf; }
+2
nixos/modules/installer/cd-dvd/channel.nix
··· 21 21 if [ ! -e $out/nixos/nixpkgs ]; then 22 22 ln -s . $out/nixos/nixpkgs 23 23 fi 24 + echo -n ${config.system.nixos.revision} > $out/nixos/.git-revision 24 25 echo -n ${config.system.nixos.versionSuffix} > $out/nixos/.version-suffix 26 + echo ${config.system.nixos.versionSuffix} | sed -e s/pre// > $out/nixos/svn-revision 25 27 ''; 26 28 27 29 in
-1
nixos/modules/installer/tools/nixos-generate-config.pl
··· 585 585 586 586 # Some programs need SUID wrappers, can be configured further or are 587 587 # started in user sessions. 588 - # programs.bash.enableCompletion = true; 589 588 # programs.mtr.enable = true; 590 589 # programs.gnupg.agent = { enable = true; enableSSHSupport = true; }; 591 590
+1
nixos/modules/module-list.nix
··· 547 547 ./services/networking/searx.nix 548 548 ./services/networking/seeks.nix 549 549 ./services/networking/skydns.nix 550 + ./services/networking/shadowsocks.nix 550 551 ./services/networking/shairport-sync.nix 551 552 ./services/networking/shout.nix 552 553 ./services/networking/sniproxy.nix
+1 -1
nixos/modules/programs/bash/bash.nix
··· 110 110 }; 111 111 112 112 enableCompletion = mkOption { 113 - default = false; 113 + default = true; 114 114 description = '' 115 115 Enable Bash completion for all interactive bash shells. 116 116 '';
+20 -1
nixos/modules/services/editors/emacs.nix
··· 15 15 fi 16 16 ''; 17 17 18 + desktopApplicationFile = pkgs.writeTextFile { 19 + name = "emacsclient.desktop"; 20 + destination = "/share/applications/emacsclient.desktop"; 21 + text = '' 22 + [Desktop Entry] 23 + Name=Emacsclient 24 + GenericName=Text Editor 25 + Comment=Edit text 26 + MimeType=text/english;text/plain;text/x-makefile;text/x-c++hdr;text/x-c++src;text/x-chdr;text/x-csrc;text/x-java;text/x-moc;text/x-pascal;text/x-tcl;text/x-tex;application/x-shellscript;text/x-c;text/x-c++; 27 + Exec=emacseditor %F 28 + Icon=emacs 29 + Type=Application 30 + Terminal=false 31 + Categories=Development;TextEditor; 32 + StartupWMClass=Emacs 33 + Keywords=Text;Editor; 34 + ''; 35 + }; 36 + 18 37 in { 19 38 20 39 options.services.emacs = { ··· 74 93 }; 75 94 } // optionalAttrs cfg.enable { wantedBy = [ "default.target" ]; }; 76 95 77 - environment.systemPackages = [ cfg.package editorScript ]; 96 + environment.systemPackages = [ cfg.package editorScript desktopApplicationFile ]; 78 97 79 98 environment.variables = { 80 99 # This is required so that GTK applications launched from Emacs
+1 -1
nixos/modules/services/hardware/trezord.nix
··· 38 38 path = []; 39 39 serviceConfig = { 40 40 Type = "simple"; 41 - ExecStart = "${pkgs.trezord}/bin/trezord -f"; 41 + ExecStart = "${pkgs.trezord}/bin/trezord-go"; 42 42 User = "trezord"; 43 43 }; 44 44 };
+1 -1
nixos/modules/services/monitoring/grafana.nix
··· 50 50 protocol = mkOption { 51 51 description = "Which protocol to listen."; 52 52 default = "http"; 53 - type = types.enum ["http" "https"]; 53 + type = types.enum ["http" "https" "socket"]; 54 54 }; 55 55 56 56 addr = mkOption {
+24 -7
nixos/modules/services/networking/dnscache.nix
··· 9 9 mkdir -p $out/{servers,ip} 10 10 11 11 ${concatMapStrings (ip: '' 12 - echo > "$out/ip/"${lib.escapeShellArg ip} 12 + touch "$out/ip/"${lib.escapeShellArg ip} 13 13 '') cfg.clientIps} 14 14 15 15 ${concatStrings (mapAttrsToList (host: ips: '' 16 16 ${concatMapStrings (ip: '' 17 - echo ${lib.escapeShellArg ip} > "$out/servers/"${lib.escapeShellArg host} 17 + echo ${lib.escapeShellArg ip} >> "$out/servers/"${lib.escapeShellArg host} 18 18 '') ips} 19 19 '') cfg.domainServers)} 20 20 ··· 34 34 35 35 options = { 36 36 services.dnscache = { 37 + 37 38 enable = mkOption { 38 39 default = false; 39 40 type = types.bool; 40 - description = "Whether to run the dnscache caching dns server"; 41 + description = "Whether to run the dnscache caching dns server."; 41 42 }; 42 43 43 44 ip = mkOption { 44 45 default = "0.0.0.0"; 45 46 type = types.str; 46 - description = "IP address on which to listen for connections"; 47 + description = "IP address on which to listen for connections."; 47 48 }; 48 49 49 50 clientIps = mkOption { 50 51 default = [ "127.0.0.1" ]; 51 52 type = types.listOf types.str; 52 - description = "client IP addresses (or prefixes) from which to accept connections"; 53 + description = "Client IP addresses (or prefixes) from which to accept connections."; 53 54 example = ["192.168" "172.23.75.82"]; 54 55 }; 55 56 56 57 domainServers = mkOption { 57 58 default = { }; 58 59 type = types.attrsOf (types.listOf types.str); 59 - description = "table of {hostname: server} pairs to use as authoritative servers for hosts (and subhosts)"; 60 + description = '' 61 + Table of {hostname: server} pairs to use as authoritative servers for hosts (and subhosts). 62 + If entry for @ is not specified predefined list of root servers is used. 63 + ''; 60 64 example = { 61 - "example.com" = ["8.8.8.8" "8.8.4.4"]; 65 + "@" = ["8.8.8.8" "8.8.4.4"]; 66 + "example.com" = ["192.168.100.100"]; 62 67 }; 63 68 }; 69 + 70 + forwardOnly = mkOption { 71 + default = false; 72 + type = types.bool; 73 + description = '' 74 + Whether to treat root servers (for @) as caching 75 + servers, requesting addresses the same way a client does. This is 76 + needed if you want to use e.g. Google DNS as your upstream DNS. 77 + ''; 78 + }; 79 + 64 80 }; 65 81 }; 66 82 ··· 82 98 ''; 83 99 script = '' 84 100 cd /var/lib/dnscache/ 101 + ${optionalString cfg.forwardOnly "export FORWARDONLY=1"} 85 102 exec ./run 86 103 ''; 87 104 };
+20 -6
nixos/modules/services/networking/prosody.nix
··· 301 301 default = "/var/lib/prosody"; 302 302 }; 303 303 304 + user = mkOption { 305 + type = types.str; 306 + default = "prosody"; 307 + description = "User account under which prosody runs."; 308 + }; 309 + 310 + group = mkOption { 311 + type = types.str; 312 + default = "prosody"; 313 + description = "Group account under which prosody runs."; 314 + }; 315 + 304 316 allowRegistration = mkOption { 305 317 type = types.bool; 306 318 default = false; ··· 427 439 428 440 environment.etc."prosody/prosody.cfg.lua".text = '' 429 441 430 - pidfile = "${cfg.dataDir}/prosody.pid" 442 + pidfile = "/run/prosody/prosody.pid" 431 443 432 444 log = "*syslog" 433 445 ··· 475 487 '') cfg.virtualHosts) } 476 488 ''; 477 489 478 - users.extraUsers.prosody = { 490 + users.extraUsers.prosody = mkIf (cfg.user == "prosody") { 479 491 uid = config.ids.uids.prosody; 480 492 description = "Prosody user"; 481 493 createHome = true; 482 - group = "prosody"; 494 + inherit (cfg) group; 483 495 home = "${cfg.dataDir}"; 484 496 }; 485 497 486 - users.extraGroups.prosody = { 498 + users.extraGroups.prosody = mkIf (cfg.group == "prosody") { 487 499 gid = config.ids.gids.prosody; 488 500 }; 489 501 ··· 494 506 wantedBy = [ "multi-user.target" ]; 495 507 restartTriggers = [ config.environment.etc."prosody/prosody.cfg.lua".source ]; 496 508 serviceConfig = { 497 - User = "prosody"; 509 + User = cfg.user; 510 + Group = cfg.group; 498 511 Type = "forking"; 499 - PIDFile = "${cfg.dataDir}/prosody.pid"; 512 + RuntimeDirectory = [ "prosody" ]; 513 + PIDFile = "/run/prosody/prosody.pid"; 500 514 ExecStart = "${cfg.package}/bin/prosodyctl start"; 501 515 }; 502 516 };
+112
nixos/modules/services/networking/shadowsocks.nix
··· 1 + { config, lib, pkgs, ... }: 2 + 3 + with lib; 4 + 5 + let 6 + cfg = config.services.shadowsocks; 7 + 8 + opts = { 9 + server = cfg.localAddress; 10 + server_port = cfg.port; 11 + method = cfg.encryptionMethod; 12 + mode = cfg.mode; 13 + user = "nobody"; 14 + fast_open = true; 15 + } // optionalAttrs (cfg.password != null) { password = cfg.password; }; 16 + 17 + configFile = pkgs.writeText "shadowsocks.json" (builtins.toJSON opts); 18 + 19 + in 20 + 21 + { 22 + 23 + ###### interface 24 + 25 + options = { 26 + 27 + services.shadowsocks = { 28 + 29 + enable = mkOption { 30 + type = types.bool; 31 + default = false; 32 + description = '' 33 + Whether to run shadowsocks-libev shadowsocks server. 34 + ''; 35 + }; 36 + 37 + localAddress = mkOption { 38 + type = types.str; 39 + default = "0.0.0.0"; 40 + description = '' 41 + Local address to which the server binds. 42 + ''; 43 + }; 44 + 45 + port = mkOption { 46 + type = types.int; 47 + default = 8388; 48 + description = '' 49 + Port which the server uses. 50 + ''; 51 + }; 52 + 53 + password = mkOption { 54 + type = types.nullOr types.str; 55 + default = null; 56 + description = '' 57 + Password for connecting clients. 58 + ''; 59 + }; 60 + 61 + passwordFile = mkOption { 62 + type = types.nullOr types.path; 63 + default = null; 64 + description = '' 65 + Password file with a password for connecting clients. 66 + ''; 67 + }; 68 + 69 + mode = mkOption { 70 + type = types.enum [ "tcp_only" "tcp_and_udp" "udp_only" ]; 71 + default = "tcp_and_udp"; 72 + description = '' 73 + Relay protocols. 74 + ''; 75 + }; 76 + 77 + encryptionMethod = mkOption { 78 + type = types.str; 79 + default = "chacha20-ietf-poly1305"; 80 + description = '' 81 + Encryption method. See <link xlink:href="https://github.com/shadowsocks/shadowsocks-org/wiki/AEAD-Ciphers"/>. 82 + ''; 83 + }; 84 + 85 + }; 86 + 87 + }; 88 + 89 + 90 + ###### implementation 91 + 92 + config = mkIf cfg.enable { 93 + assertions = singleton 94 + { assertion = cfg.password == null || cfg.passwordFile == null; 95 + message = "Cannot use both password and passwordFile for shadowsocks-libev"; 96 + }; 97 + 98 + systemd.services.shadowsocks-libev = { 99 + description = "shadowsocks-libev Daemon"; 100 + after = [ "network.target" ]; 101 + wantedBy = [ "multi-user.target" ]; 102 + path = [ pkgs.shadowsocks-libev ] ++ optional (cfg.passwordFile != null) pkgs.jq; 103 + serviceConfig.PrivateTmp = true; 104 + script = '' 105 + ${optionalString (cfg.passwordFile != null) '' 106 + cat ${configFile} | jq --arg password "$(cat "${cfg.passwordFile}")" '. + { password: $password }' > /tmp/shadowsocks.json 107 + ''} 108 + exec ss-server -c ${if cfg.passwordFile != null then "/tmp/shadowsocks.json" else configFile} 109 + ''; 110 + }; 111 + }; 112 + }
+1
nixos/modules/services/torrent/transmission.nix
··· 147 147 ${getLib pkgs.libcap}/lib/libcap*.so* mr, 148 148 ${getLib pkgs.attr}/lib/libattr*.so* mr, 149 149 ${getLib pkgs.lz4}/lib/liblz4*.so* mr, 150 + ${getLib pkgs.libkrb5}/lib/lib*.so* mr, 150 151 151 152 @{PROC}/sys/kernel/random/uuid r, 152 153 @{PROC}/sys/vm/overcommit_memory r,
+1 -1
nixos/modules/tasks/filesystems/exfat.nix
··· 5 5 { 6 6 config = mkIf (any (fs: fs == "exfat") config.boot.supportedFilesystems) { 7 7 8 - system.fsPackages = [ pkgs.exfat-utils pkgs.fuse_exfat ]; 8 + system.fsPackages = [ pkgs.exfat ]; 9 9 10 10 }; 11 11 }
+2
nixos/modules/tasks/filesystems/zfs.nix
··· 305 305 } 306 306 ]; 307 307 308 + virtualisation.lxd.zfsSupport = true; 309 + 308 310 boot = { 309 311 kernelModules = [ "spl" "zfs" ] ; 310 312 extraModulePackages = with packages; [ spl zfs ];
+4 -1
nixos/modules/virtualisation/lxc.nix
··· 74 74 systemd.tmpfiles.rules = [ "d /var/lib/lxc/rootfs 0755 root root -" ]; 75 75 76 76 security.apparmor.packages = [ pkgs.lxc ]; 77 - security.apparmor.profiles = [ "${pkgs.lxc}/etc/apparmor.d/lxc-containers" ]; 77 + security.apparmor.profiles = [ 78 + "${pkgs.lxc}/etc/apparmor.d/lxc-containers" 79 + "${pkgs.lxc}/etc/apparmor.d/usr.bin.lxc-start" 80 + ]; 78 81 }; 79 82 }
+33 -27
nixos/modules/virtualisation/lxd.nix
··· 15 15 16 16 options = { 17 17 18 - virtualisation.lxd.enable = 19 - mkOption { 18 + virtualisation.lxd = { 19 + enable = mkOption { 20 20 type = types.bool; 21 21 default = false; 22 - description = 23 - '' 24 - This option enables lxd, a daemon that manages 25 - containers. Users in the "lxd" group can interact with 26 - the daemon (e.g. to start or stop containers) using the 27 - <command>lxc</command> command line tool, among others. 28 - ''; 22 + description = '' 23 + This option enables lxd, a daemon that manages 24 + containers. Users in the "lxd" group can interact with 25 + the daemon (e.g. to start or stop containers) using the 26 + <command>lxc</command> command line tool, among others. 27 + ''; 29 28 }; 30 - 29 + zfsSupport = mkOption { 30 + type = types.bool; 31 + default = false; 32 + description = '' 33 + enables lxd to use zfs as a storage for containers. 34 + This option is enabled by default if a zfs pool is configured 35 + with nixos. 36 + ''; 37 + }; 38 + }; 31 39 }; 32 - 33 40 34 41 ###### implementation 35 42 36 43 config = mkIf cfg.enable { 37 44 38 - environment.systemPackages = 39 - [ pkgs.lxd ]; 45 + environment.systemPackages = [ pkgs.lxd ]; 40 46 41 47 security.apparmor = { 42 48 enable = true; ··· 47 53 packages = [ pkgs.lxc ]; 48 54 }; 49 55 50 - systemd.services.lxd = 51 - { description = "LXD Container Management Daemon"; 56 + systemd.services.lxd = { 57 + description = "LXD Container Management Daemon"; 52 58 53 - wantedBy = [ "multi-user.target" ]; 54 - after = [ "systemd-udev-settle.service" ]; 59 + wantedBy = [ "multi-user.target" ]; 60 + after = [ "systemd-udev-settle.service" ]; 55 61 56 - # TODO(wkennington): Add lvm2 and thin-provisioning-tools 57 - path = with pkgs; [ acl rsync gnutar xz btrfs-progs gzip dnsmasq squashfsTools iproute iptables ]; 62 + path = lib.optional cfg.zfsSupport pkgs.zfs; 58 63 59 - preStart = '' 60 - mkdir -m 0755 -p /var/lib/lxc/rootfs 61 - ''; 64 + preStart = '' 65 + mkdir -m 0755 -p /var/lib/lxc/rootfs 66 + ''; 62 67 63 - serviceConfig.ExecStart = "@${pkgs.lxd.bin}/bin/lxd lxd --syslog --group lxd"; 64 - serviceConfig.Type = "simple"; 65 - serviceConfig.KillMode = "process"; # when stopping, leave the containers alone 68 + serviceConfig = { 69 + ExecStart = "@${pkgs.lxd.bin}/bin/lxd lxd --group lxd"; 70 + Type = "simple"; 71 + KillMode = "process"; # when stopping, leave the containers alone 66 72 }; 73 + 74 + }; 67 75 68 76 users.extraGroups.lxd.gid = config.ids.gids.lxd; 69 77 ··· 71 79 subUidRanges = [ { startUid = 1000000; count = 65536; } ]; 72 80 subGidRanges = [ { startGid = 1000000; count = 65536; } ]; 73 81 }; 74 - 75 82 }; 76 - 77 83 }
+7 -2
nixos/release.nix
··· 166 166 inherit system; 167 167 }); 168 168 169 - sd_image = forMatchingSystems [ "aarch64-linux" ] (system: makeSdImage { 170 - module = ./modules/installer/cd-dvd/sd-image-aarch64.nix; 169 + sd_image = forMatchingSystems [ "armv6l-linux" "armv7l-linux" "aarch64-linux" ] (system: makeSdImage { 170 + module = { 171 + armv6l-linux = ./modules/installer/cd-dvd/sd-image-raspberrypi.nix; 172 + armv7l-linux = ./modules/installer/cd-dvd/sd-image-armv7l-multiplatform.nix; 173 + aarch64-linux = ./modules/installer/cd-dvd/sd-image-aarch64.nix; 174 + }.${system}; 171 175 inherit system; 172 176 }); 173 177 ··· 266 270 tests.couchdb = callTest tests/couchdb.nix {}; 267 271 tests.docker = callTestOnMatchingSystems ["x86_64-linux"] tests/docker.nix {}; 268 272 tests.docker-tools = callTestOnMatchingSystems ["x86_64-linux"] tests/docker-tools.nix {}; 273 + tests.docker-tools-overlay = callTestOnMatchingSystems ["x86_64-linux"] tests/docker-tools-overlay.nix {}; 269 274 tests.docker-edge = callTestOnMatchingSystems ["x86_64-linux"] tests/docker-edge.nix {}; 270 275 tests.dovecot = callTest tests/dovecot.nix {}; 271 276 tests.dnscrypt-proxy = callTestOnMatchingSystems ["x86_64-linux"] tests/dnscrypt-proxy.nix {};
+32
nixos/tests/docker-tools-overlay.nix
··· 1 + # this test creates a simple GNU image with docker tools and sees if it executes 2 + 3 + import ./make-test.nix ({ pkgs, ... }: 4 + { 5 + name = "docker-tools-overlay"; 6 + meta = with pkgs.stdenv.lib.maintainers; { 7 + maintainers = [ lnl7 ]; 8 + }; 9 + 10 + nodes = { 11 + docker = 12 + { config, pkgs, ... }: 13 + { 14 + virtualisation.docker.enable = true; 15 + virtualisation.docker.storageDriver = "overlay"; # defaults to overlay2 16 + }; 17 + }; 18 + 19 + testScript = 20 + '' 21 + $docker->waitForUnit("sockets.target"); 22 + 23 + $docker->succeed("docker load --input='${pkgs.dockerTools.examples.bash}'"); 24 + $docker->succeed("docker run --rm ${pkgs.dockerTools.examples.bash.imageName} bash --version"); 25 + 26 + # Check if the nix store has correct user permissions depending on what 27 + # storage driver is used, incorrectly built images can show up as readonly. 28 + # drw------- 3 0 0 3 Apr 14 11:36 /nix 29 + # drw------- 99 0 0 100 Apr 14 11:36 /nix/store 30 + $docker->succeed("docker run --rm -u 1000:1000 ${pkgs.dockerTools.examples.bash.imageName} bash --version"); 31 + ''; 32 + })
+3 -3
nixos/tests/docker-tools.nix
··· 3 3 import ./make-test.nix ({ pkgs, ... }: { 4 4 name = "docker-tools"; 5 5 meta = with pkgs.stdenv.lib.maintainers; { 6 - maintainers = [ ]; 6 + maintainers = [ lnl7 ]; 7 7 }; 8 8 9 9 nodes = { ··· 21 21 $docker->waitForUnit("sockets.target"); 22 22 23 23 $docker->succeed("docker load --input='${pkgs.dockerTools.examples.bash}'"); 24 - $docker->succeed("docker run --rm ${pkgs.dockerTools.examples.bash.imageName} /bin/bash --version"); 24 + $docker->succeed("docker run --rm ${pkgs.dockerTools.examples.bash.imageName} bash --version"); 25 25 $docker->succeed("docker rmi ${pkgs.dockerTools.examples.bash.imageName}"); 26 26 27 27 # Check if the nix store is correctly initialized by listing dependencies of the installed Nix binary 28 28 $docker->succeed("docker load --input='${pkgs.dockerTools.examples.nix}'"); 29 - $docker->succeed("docker run --rm ${pkgs.dockerTools.examples.nix.imageName} /bin/nix-store -qR ${pkgs.nix}"); 29 + $docker->succeed("docker run --rm ${pkgs.dockerTools.examples.nix.imageName} nix-store -qR ${pkgs.nix}"); 30 30 $docker->succeed("docker rmi ${pkgs.dockerTools.examples.nix.imageName}"); 31 31 32 32 # To test the pullImage tool
+2 -2
nixos/tests/kernel-copperhead.nix
··· 6 6 7 7 machine = { config, lib, pkgs, ... }: 8 8 { 9 - boot.kernelPackages = pkgs.linuxPackages_hardened_copperhead; 9 + boot.kernelPackages = pkgs.linuxPackages_copperhead_hardened; 10 10 }; 11 11 12 12 testScript = 13 13 '' 14 14 $machine->succeed("uname -a"); 15 15 $machine->succeed("uname -s | grep 'Linux'"); 16 - $machine->succeed("uname -a | grep '${pkgs.linuxPackages_hardened_copperhead.kernel.modDirVersion}'"); 16 + $machine->succeed("uname -a | grep '${pkgs.linuxPackages_copperhead_hardened.kernel.modDirVersion}'"); 17 17 $machine->succeed("uname -a | grep 'hardened'"); 18 18 ''; 19 19 })
+2 -2
pkgs/applications/audio/asunder/default.nix
··· 12 12 with stdenv.lib; 13 13 14 14 stdenv.mkDerivation rec { 15 - version = "2.9.2"; 15 + version = "2.9.3"; 16 16 name = "asunder-${version}"; 17 17 src = fetchurl { 18 18 url = "http://littlesvr.ca/asunder/releases/${name}.tar.bz2"; 19 - sha256 = "0vjbxrrjih4c673sc39wj5whp81xp9kmnwqxwzfnmhkky970rg5r"; 19 + sha256 = "1630i1df06y840v3fgdf75jxw1s8kwbfn5bhi0686viah0scccw5"; 20 20 }; 21 21 22 22 nativeBuildInputs = [ pkgconfig ];
+5 -1
pkgs/applications/audio/caps/default.nix
··· 9 9 10 10 patches = [ 11 11 (fetchurl { 12 - url = "https://anonscm.debian.org/cgit/pkg-multimedia/caps.git/plain/debian/patches/0001-Avoid-ambiguity-in-div-invocation.patch"; 12 + url = "https://salsa.debian.org/multimedia-team/caps/raw/9a99c225/debian/patches/0001-Avoid-ambiguity-in-div-invocation.patch"; 13 13 sha256 = "1b1pb5yfskiw8zi1lkj572l2ajpirh4amq538vggwvlpv1fqfway"; 14 + }) 15 + (fetchurl { 16 + url = "https://salsa.debian.org/multimedia-team/caps/raw/a411203d/debian/patches/0002-Use-standard-exp10f-instead-of-pow10f.patch"; 17 + sha256 = "18ciklnscabr77l8b89xmbagkk79w4iqfpzr2yhn2ywv2jp8akx9"; 14 18 }) 15 19 ]; 16 20
+10 -1
pkgs/applications/audio/eq10q/default.nix
··· 1 - { stdenv, fetchurl, cmake, fftw, gtkmm2, libxcb, lv2, pkgconfig, xorg }: 1 + { stdenv, fetchurl, fetchpatch, cmake, fftw, gtkmm2, libxcb, lv2, pkgconfig 2 + , xorg }: 2 3 stdenv.mkDerivation rec { 3 4 name = "eq10q-${version}"; 4 5 version = "2.2"; ··· 9 10 10 11 nativeBuildInputs = [ pkgconfig ]; 11 12 buildInputs = [ cmake fftw gtkmm2 libxcb lv2 xorg.libpthreadstubs xorg.libXdmcp xorg.libxshmfence ]; 13 + 14 + patches = [ 15 + (fetchpatch { 16 + # glibc 2.27 compatibility 17 + url = https://sources.debian.org/data/main/e/eq10q/2.2~repack0-2.1/debian/patches/05-pow10.patch; 18 + sha256 = "07b0wf6k4xqgigv4h095bzfaw8r218wa36r9w1817jcys13r6c5r"; 19 + }) 20 + ]; 12 21 13 22 installFlags = '' 14 23 DESTDIR=$(out)
+2 -2
pkgs/applications/audio/ncmpcpp/default.nix
··· 12 12 with stdenv.lib; 13 13 stdenv.mkDerivation rec { 14 14 name = "ncmpcpp-${version}"; 15 - version = "0.8.1"; 15 + version = "0.8.2"; 16 16 17 17 src = fetchurl { 18 18 url = "https://ncmpcpp.rybczak.net/stable/${name}.tar.bz2"; 19 - sha256 = "1zw8d07b2bkssbsybg6jnmpq001w525viajrnz4jvfml3l55gyad"; 19 + sha256 = "0m0mjb049sl62vx13h9waavysa30mk0rphacksnvf94n13la62v5"; 20 20 }; 21 21 22 22 configureFlags = [ "BOOST_LIB_SUFFIX=" ]
+2 -2
pkgs/applications/audio/spotify/default.nix
··· 9 9 # Latest version number can be found at: 10 10 # http://repository-origin.spotify.com/pool/non-free/s/spotify-client/ 11 11 # Be careful not to pick the testing version. 12 - version = "1.0.72.117.g6bd7cc73-35"; 12 + version = "1.0.77.338.g758ebd78-41"; 13 13 14 14 deps = [ 15 15 alsaLib ··· 54 54 55 55 src = fetchurl { 56 56 url = "https://repository-origin.spotify.com/pool/non-free/s/spotify-client/spotify-client_${version}_amd64.deb"; 57 - sha256 = "0yicwvg6jx8r657ff53326akq3g4ayiinlracjw5jrcs8x9whjap"; 57 + sha256 = "1971jc0431pl8yixpl37ryl2l0pqdf0xjvkg59nqdwj3vbdx5606"; 58 58 }; 59 59 60 60 buildInputs = [ dpkg makeWrapper ];
+2 -2
pkgs/applications/editors/ghostwriter/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "ghostwriter"; 5 - version = "1.6.1"; 5 + version = "1.6.2"; 6 6 name = "${pname}-${version}"; 7 7 8 8 src = fetchFromGitHub { 9 9 owner = "wereturtle"; 10 10 repo = pname; 11 11 rev = "v${version}"; 12 - sha256 = "1ihdr4xk0j83q83xknbikxb7yf9qhlkgvc89w33lhj090cv376gd"; 12 + sha256 = "0251563zy0q69fzfacvalpx43y15cshb0bhshyd4w37061gh1c12"; 13 13 }; 14 14 15 15 nativeBuildInputs = [ qmake pkgconfig ];
+4 -4
pkgs/applications/editors/sublime/3/packages.nix
··· 5 5 in 6 6 rec { 7 7 sublime3-dev = common { 8 - buildVersion = "3161"; 9 - x32sha256 = "0qrm2qmfsj71lr83c8zas2n3xk8hk9k4w8ygnasjhggmyjm3wy0q"; 10 - x64sha256 = "0cgadylm68s2jly10r038q1fvmbzmpc2nvqy86vlyq9avgqbm5pc"; 8 + buildVersion = "3162"; 9 + x32sha256 = "190il02hqvv64w17w7xc1fz2wkbhk5a5y96jb25dvafmslm46d4i"; 10 + x64sha256 = "1nsjhjs6zajhx7m3dk7i450krg6pb03zffm1n3m1v0xb9zr37xz3"; 11 11 } {}; 12 12 13 13 sublime3 = common { 14 14 buildVersion = "3143"; 15 15 x32sha256 = "0dgpx4wij2m77f478p746qadavab172166bghxmj7fb61nvw9v5i"; 16 - x64sha256 = "06b554d2cvpxc976rvh89ix3kqc7klnngvk070xrs8wbyb221qcw"; 16 + x64sha256 = "06b554d2cvpxc976rvh89ix3kqc7klnngvk070xrs8wbyb221qcw"; 17 17 } {}; 18 18 }
+4 -4
pkgs/applications/editors/vscode/default.nix
··· 2 2 makeWrapper, libXScrnSaver, libxkbfile, libsecret }: 3 3 4 4 let 5 - version = "1.22.1"; 5 + version = "1.22.2"; 6 6 channel = "stable"; 7 7 8 8 plat = { ··· 12 12 }.${stdenv.system}; 13 13 14 14 sha256 = { 15 - "i686-linux" = "1w1ywf21vcwmfq5ngag1y076nxbdqg3qav90ilxgd3dkv5j6fkjr"; 16 - "x86_64-linux" = "14phpsrkkv09dgr7phqhgjzfhm3zzbh3w2yhyng0cj3vwzysikcs"; 17 - "x86_64-darwin" = "0fqsr4ramanl7v1damf01zkmg75s9nlfkj6298h9sjvhc93pfcll"; 15 + "i686-linux" = "17iqqg6vdccbl1k4k2ks3kkgg7619j6qdvca4k27pjfqm17mvw5n"; 16 + "x86_64-linux" = "1ng2jhhaghsf7a2dmrimazh817jh0ag88whija179ywgrg3i6xam"; 17 + "x86_64-darwin" = "083hizigzxm45hcy6yqwznj9ibqdaxg2xv8rsyas4ig9x55irrcj"; 18 18 }.${stdenv.system}; 19 19 20 20 archive_fmt = if stdenv.system == "x86_64-darwin" then "zip" else "tar.gz";
+5
pkgs/applications/gis/grass/default.nix
··· 35 35 "--with-blas" 36 36 ]; 37 37 38 + # Otherwise a very confusing "Can't load GDAL library" error 39 + makeFlags = stdenv.lib.optional stdenv.isDarwin "GDAL_DYNAMIC="; 40 + 38 41 /* Ensures that the python script run at build time are actually executable; 39 42 * otherwise, patchShebangs ignores them. */ 40 43 postConfigure = '' ··· 73 76 --set GRASS_PYTHON ${python2Packages.python}/bin/${python2Packages.python.executable} \ 74 77 --suffix LD_LIBRARY_PATH ':' '${gdal}/lib' 75 78 ln -s $out/grass-*/lib $out/lib 79 + ln -s $out/grass-*/include $out/include 76 80 ''; 77 81 78 82 enableParallelBuilding = true; ··· 82 86 description = "GIS software suite used for geospatial data management and analysis, image processing, graphics and maps production, spatial modeling, and visualization"; 83 87 license = stdenv.lib.licenses.gpl2Plus; 84 88 platforms = stdenv.lib.platforms.all; 89 + maintainers = with stdenv.lib.maintainers; [mpickering]; 85 90 }; 86 91 }
+4 -2
pkgs/applications/gis/qgis/default.nix
··· 1 1 { stdenv, fetchurl, fetchpatch, gdal, cmake, qt4, flex, bison, proj, geos, xlibsWrapper, sqlite, gsl 2 2 , qwt, fcgi, python2Packages, libspatialindex, libspatialite, qscintilla, postgresql, makeWrapper 3 3 , qjson, qca2, txt2tags, openssl, darwin, pkgconfig 4 - , withGrass ? false, grass, IOKit, ApplicationServices 4 + , withGrass ? true, grass, IOKit, ApplicationServices 5 5 }: 6 6 7 7 stdenv.mkDerivation rec { ··· 58 58 '') + 59 59 (stdenv.lib.optionalString stdenv.isDarwin '' 60 60 # Necessary for QGIS to find the correct default GRASS path 61 + # Plugins look for gdal tools like deminfo on the PATH 61 62 ${stdenv.lib.optionalString withGrass "ln -sf ${grass} $out/QGIS.app/Contents/MacOS/grass"} 62 63 for file in $(find $out -type f -name "QGIS"); do 63 64 wrapProgram "$file" \ 64 65 --prefix DYLD_LIBRARY_PATH : "${qwt}/lib" \ 65 66 --prefix DYLD_LIBRARY_PATH : "${qscintilla}/lib" \ 67 + --prefix PATH : "${gdal}/bin" \ 66 68 ${stdenv.lib.optionalString withGrass "--prefix PATH : ${grass}/bin"} \ 67 69 --set PYTHONPATH $PYTHONPATH 68 70 done ··· 75 77 homepage = http://www.qgis.org; 76 78 license = stdenv.lib.licenses.gpl2Plus; 77 79 platforms = with stdenv.lib.platforms; unix; 78 - maintainers = with stdenv.lib.maintainers; [viric]; 80 + maintainers = with stdenv.lib.maintainers; [viric mpickering]; 79 81 }; 80 82 }
+28
pkgs/applications/graphics/dosage/default.nix
··· 1 + { stdenv, pythonPackages, fetchFromGitHub }: 2 + 3 + pythonPackages.buildPythonApplication rec { 4 + name = "${pname}-${version}"; 5 + pname = "dosage"; 6 + version = "2018.04.08"; 7 + PBR_VERSION = version; 8 + 9 + src = fetchFromGitHub { 10 + owner = "webcomics"; 11 + repo = "dosage"; 12 + rev = "b2fdc13feb65b93762928f7e99bac7b1b7b31591"; 13 + sha256 = "1p6vllqaf9s6crj47xqp97hkglch1kd4y8y4lxvzx3g2shhhk9hh"; 14 + }; 15 + buildInputs = with pythonPackages; [ pytest responses ]; 16 + propagatedBuildInputs = with pythonPackages; [ colorama lxml requests pbr ]; 17 + 18 + disabled = pythonPackages.pythonOlder "3.3"; 19 + 20 + checkPhase = '' 21 + py.test tests/ 22 + ''; 23 + 24 + meta = { 25 + description = "A comic strip downloader and archiver"; 26 + homepage = http://dosage.rocks/; 27 + }; 28 + }
+10 -9
pkgs/applications/graphics/k3d/default.nix
··· 1 1 { stdenv, fetchFromGitHub, fetchpatch, unzip, ftgl, glew, asciidoc 2 - , cmake, libGLU_combined, zlib, python, expat, libxml2, libsigcxx, libuuid, freetype 2 + , cmake, ninja, libGLU_combined, zlib, python, expat, libxml2, libsigcxx, libuuid, freetype 3 3 , libpng, boost, doxygen, cairomm, pkgconfig, imagemagick, libjpeg, libtiff 4 4 , gettext, intltool, perl, gtkmm2, glibmm, gtkglext, pangox_compat, libXmu }: 5 5 ··· 20 20 }) 21 21 ]; 22 22 23 - cmakeFlags = "-DK3D_BUILD_DOCS=false -DK3D_BUILD_GUIDE=false"; 23 + cmakeFlags = [ 24 + "-DK3D_BUILD_DOCS=false" 25 + "-DK3D_BUILD_GUIDE=false" 26 + ]; 24 27 25 28 preConfigure = '' 26 29 export LD_LIBRARY_PATH="$LD_LIBRARY_PATH''${LD_LIBRARY_PATH:+:}$PWD/build/lib" 27 - export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I$(echo ${gtkglext}/include/gtkglext-*) -I$(echo ${gtkglext}/lib/gtkglext-*/include)" 28 30 ''; 29 31 32 + nativeBuildInputs = [ cmake ninja gettext intltool doxygen pkgconfig perl asciidoc ]; 33 + 30 34 buildInputs = [ 31 - cmake libGLU_combined zlib python expat libxml2 libsigcxx libuuid freetype libpng 32 - boost doxygen cairomm pkgconfig imagemagick libjpeg libtiff 33 - gettext intltool perl unzip ftgl glew asciidoc 34 - gtkmm2 glibmm gtkglext pangox_compat libXmu 35 + libGLU_combined zlib python expat libxml2 libsigcxx libuuid freetype libpng 36 + boost cairomm imagemagick libjpeg libtiff 37 + ftgl glew gtkmm2 glibmm gtkglext pangox_compat libXmu 35 38 ]; 36 39 37 40 #doCheck = false; 38 - 39 - enableParallelBuilding = true; 40 41 41 42 meta = { 42 43 description = "A 3D editor with support for procedural editing";
+18 -6
pkgs/applications/graphics/paraview/default.nix
··· 1 1 { 2 - stdenv, fetchFromGitHub, cmake 2 + stdenv, fetchFromGitHub, cmake, makeWrapper 3 3 ,qtbase, qttools, python, libGLU_combined 4 4 ,libXt, qtx11extras, qtxmlpatterns 5 5 }: ··· 18 18 fetchSubmodules = true; 19 19 }; 20 20 21 - cmakeFlags = [ 22 - "-DPARAVIEW_ENABLE_PYTHON=ON" 23 - "-DPARAVIEW_INSTALL_DEVELOPMENT_FILES=ON" 24 - "-DPARAVIEW_ENABLE_EMBEDDED_DOCUMENTATION=OFF" 25 - ]; 21 + cmakeFlags = [ 22 + "-DPARAVIEW_ENABLE_PYTHON=ON" 23 + "-DPARAVIEW_INSTALL_DEVELOPMENT_FILES=ON" 24 + "-DPARAVIEW_ENABLE_EMBEDDED_DOCUMENTATION=OFF" 25 + ]; 26 26 27 27 # During build, binaries are called that rely on freshly built 28 28 # libraries. These reside in build/lib, and are not found by ··· 35 35 36 36 nativeBuildInputs = [ 37 37 cmake 38 + makeWrapper 38 39 ]; 39 40 40 41 buildInputs = [ 41 42 python 43 + python.pkgs.numpy 42 44 libGLU_combined 43 45 libXt 44 46 qtbase ··· 47 49 qtxmlpatterns 48 50 ]; 49 51 52 + # Paraview links into the Python library, resolving symbolic links on the way, 53 + # so we need to put the correct sitePackages (with numpy) back on the path 54 + postInstall = '' 55 + wrapProgram $out/bin/paraview \ 56 + --set PYTHONPATH "${python.pkgs.numpy}/${python.sitePackages}" 57 + wrapProgram $out/bin/pvbatch \ 58 + --set PYTHONPATH "${python.pkgs.numpy}/${python.sitePackages}" 59 + wrapProgram $out/bin/pvpython \ 60 + --set PYTHONPATH "${python.pkgs.numpy}/${python.sitePackages}" 61 + ''; 50 62 51 63 meta = { 52 64 homepage = http://www.paraview.org/;
+2 -2
pkgs/applications/graphics/shotwell/default.nix
··· 7 7 8 8 let 9 9 pname = "shotwell"; 10 - version = "0.28.1"; 10 + version = "0.28.2"; 11 11 in stdenv.mkDerivation rec { 12 12 name = "${pname}-${version}"; 13 13 14 14 src = fetchurl { 15 15 url = "mirror://gnome/sources/${pname}/${gnome3.versionBranch version}/${name}.tar.xz"; 16 - sha256 = "1ywikm5kdsr7q8hklh146x28rzvqkqfjs8kdpw7zcc15ri0dkzya"; 16 + sha256 = "0pa7lb33i4hdnz7hr7x938d48ilrnj47jzb99la79rmm08yyin8n"; 17 17 }; 18 18 19 19 nativeBuildInputs = [
+1
pkgs/applications/kde/default.nix
··· 84 84 incidenceeditor = callPackage ./incidenceeditor.nix {}; 85 85 k3b = callPackage ./k3b.nix {}; 86 86 kaddressbook = callPackage ./kaddressbook.nix {}; 87 + kalarm = callPackage ./kalarm.nix {}; 87 88 kalarmcal = callPackage ./kalarmcal.nix {}; 88 89 kate = callPackage ./kate.nix {}; 89 90 kcachegrind = callPackage ./kcachegrind.nix {};
+37
pkgs/applications/kde/kalarm.nix
··· 1 + { 2 + mkDerivation, lib, 3 + extra-cmake-modules, 4 + 5 + kauth, kcodecs, kcompletion, kconfig, kconfigwidgets, kdbusaddons, kdoctools, 6 + kguiaddons, ki18n, kiconthemes, kjobwidgets, kcmutils, kdelibs4support, kio, 7 + knotifications, kservice, kwidgetsaddons, kwindowsystem, kxmlgui, phonon, 8 + 9 + kimap, akonadi, akonadi-contacts, akonadi-mime, kalarmcal, kcalcore, kcalutils, 10 + kholidays, kidentitymanagement, libkdepim, mailcommon, kmailtransport, kmime, 11 + pimcommon, kpimtextedit, kdepim-apps-libs, messagelib, 12 + 13 + qtx11extras, 14 + 15 + kdepim-runtime 16 + }: 17 + 18 + mkDerivation { 19 + name = "kalarm"; 20 + meta = { 21 + license = with lib.licenses; [ gpl2 ]; 22 + maintainers = [ lib.maintainers.rittelle ]; 23 + }; 24 + nativeBuildInputs = [ extra-cmake-modules kdoctools ]; 25 + buildInputs = [ 26 + kauth kcodecs kcompletion kconfig kconfigwidgets kdbusaddons kdoctools 27 + kguiaddons ki18n kiconthemes kjobwidgets kcmutils kdelibs4support kio 28 + knotifications kservice kwidgetsaddons kwindowsystem kxmlgui phonon 29 + 30 + kimap akonadi akonadi-contacts akonadi-mime kalarmcal kcalcore kcalutils 31 + kholidays kidentitymanagement libkdepim mailcommon kmailtransport kmime 32 + pimcommon kpimtextedit kdepim-apps-libs messagelib 33 + 34 + qtx11extras 35 + ]; 36 + propagatedUserEnvPkgs = [ kdepim-runtime ]; 37 + }
+2
pkgs/applications/misc/alacritty/default.nix
··· 13 13 libXxf86vm, 14 14 libXi, 15 15 libXrandr, 16 + libGL, 16 17 xclip }: 17 18 18 19 with rustPlatform; ··· 26 27 libXcursor 27 28 libXxf86vm 28 29 libXrandr 30 + libGL 29 31 libXi 30 32 ]; 31 33 in buildRustPackage rec {
+2 -2
pkgs/applications/misc/cbatticon/default.nix
··· 3 3 stdenv.mkDerivation rec { 4 4 5 5 name = "cbatticon-${version}"; 6 - version = "1.6.7"; 6 + version = "1.6.8"; 7 7 8 8 src = fetchFromGitHub { 9 9 owner = "valr"; 10 10 repo = "cbatticon"; 11 11 rev = version; 12 - sha256 = "0rm1rpq81cxjwd4f11c3ivg5hwsd08qm47vdn16yr1cmm2cw4r2d"; 12 + sha256 = "16g26vin1693dbdr9qsnw36fdchx394lp79gvp7gcbw0w1ny9av6"; 13 13 }; 14 14 15 15 makeFlags = "PREFIX=$(out)";
+20 -58
pkgs/applications/misc/guake/default.nix
··· 1 - /* Beware! 2 - After starting Guake it will give the error message "Guake can not init! Gconf Error. Have you installed guake.schemas properly?", 3 - which will have to be resolved manually, because I have not found a way to automate this, without being impure. 4 - 5 - If you have Guake installed, you can use `nix-build -A gnome3.guake` to get the path to the build directory in the nix store, 6 - which then can be used in the following command to install the schemas file of Guake: 7 - gconftool-2 --install-schema-file /path/returned/by/nix-build/share/gconf/schemas/guake.schemas 8 - 9 - It can be removed again by the following command: 10 - gconftool-2 --recursive-unset /apps/guake 11 - */ 12 - { stdenv, fetchurl, lib 13 - , pkgconfig, libtool, intltool, makeWrapper 14 - , dbus, gtk2, gconf, python2Packages, libutempter, vte, keybinder, gnome2, gnome3 }: 15 - 16 - with lib; 1 + { stdenv, fetchFromGitHub, python3, gettext, gobjectIntrospection, wrapGAppsHook, glibcLocales 2 + , gtk3, keybinder3, libnotify, libutempter, vte }: 17 3 18 4 let 19 - inherit (python2Packages) python; 20 - inputs = [ dbus gtk2 gconf python libutempter vte keybinder gnome3.gnome-common ]; 21 - pyPath = makeSearchPathOutput "lib" python.sitePackages (attrVals [ "dbus-python" "notify" "pyGtkGlade" "pyxdg" ] python2Packages ++ [ gnome2.gnome_python ]); 22 - in stdenv.mkDerivation rec { 5 + version = "3.2.0"; 6 + in python3.pkgs.buildPythonApplication rec { 23 7 name = "guake-${version}"; 24 - version = "0.8.3"; 8 + format = "other"; 25 9 26 - src = fetchurl { 27 - url = "https://github.com/Guake/guake/archive/${version}.tar.gz"; 28 - sha256 = "1lbmdz3i9a97840h8239s360hd37nmhy3hs6kancxbzl1512ak1y"; 10 + src = fetchFromGitHub { 11 + owner = "Guake"; 12 + repo = "guake"; 13 + rev = version; 14 + sha256 = "1qghapg9sslj9fdrl2mnbi10lgqgqa36gdag74wn7as9wak4qc3d"; 29 15 }; 30 16 31 - nativeBuildInputs = [ pkgconfig libtool intltool makeWrapper ]; 17 + nativeBuildInputs = [ gettext gobjectIntrospection wrapGAppsHook python3.pkgs.pip glibcLocales ]; 32 18 33 - buildInputs = inputs ++ (with python2Packages; [ pyGtkGlade pyxdg ]); 34 - 35 - propagatedUserEnvPkgs = [ gconf.out ]; 19 + buildInputs = [ gtk3 keybinder3 libnotify python3 vte ]; 36 20 37 - patchPhase = '' 38 - patchShebangs . 39 - ''; 21 + propagatedBuildInputs = with python3.pkgs; [ dbus-python pbr pycairo pygobject3 ]; 40 22 41 - configureScript = "./autogen.sh"; 23 + LC_ALL = "en_US.UTF-8"; # fixes weird encoding error, see https://github.com/NixOS/nixpkgs/pull/38642#issuecomment-379727699 42 24 43 - configureFlags = [ 44 - "--sysconfdir=/etc" 45 - "--localstatedir=/var" 46 - "--disable-schemas-install" 47 - ]; 25 + PBR_VERSION = version; # pbr needs either .git directory, sdist, or env var 48 26 49 - installFlags = [ 50 - # Configuring the installation to not install gconf schemas is not always supported, 51 - # therefore gconftool-2 has this variable, which will make gconftool-2 not update any of the databases. 52 - "GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1" 53 - "sysconfdir=\${out}/etc" 54 - "localstatedir=\${TMPDIR}" 27 + makeFlags = [ 28 + "prefix=$(out)" 55 29 ]; 56 30 57 - postInstall = '' 58 - mkdir -p $out/share/gconf/schemas 59 - cp data/guake.schemas $out/share/gconf/schemas 31 + preFixup = '' 32 + gappsWrapperArgs+=(--prefix LD_LIBRARY_PATH : "${stdenv.lib.makeLibraryPath [ libutempter ]}") 60 33 ''; 61 34 62 - postFixup = '' 63 - for bin in $out/bin/{guake,guake-prefs}; do 64 - substituteInPlace $bin \ 65 - --replace '/usr/bin/env python2' ${python.interpreter} 66 - wrapProgram $bin \ 67 - --prefix XDG_DATA_DIRS : "$out/share:$XDG_ICON_DIRS:$GSETTINGS_SCHEMAS_PATH" \ 68 - --prefix LD_LIBRARY_PATH : ${makeLibraryPath inputs} \ 69 - --prefix PYTHONPATH : "$out/${python.sitePackages}:${pyPath}:$PYTHONPATH" 70 - done 71 - ''; 72 - 73 - meta = { 35 + meta = with stdenv.lib; { 74 36 description = "Drop-down terminal for GNOME"; 75 37 homepage = http://guake-project.org; 76 38 license = licenses.gpl2;
+2 -2
pkgs/applications/misc/masterpdfeditor/default.nix
··· 1 1 { stdenv, fetchurl, glibc, sane-backends, qtbase, qtsvg, libXext, libX11, libXdmcp, libXau, libxcb }: 2 2 let 3 - version = "4.3.82"; 3 + version = "4.3.89"; 4 4 in 5 5 stdenv.mkDerivation { 6 6 name = "masterpdfeditor-${version}"; 7 7 src = fetchurl { 8 8 url = "http://get.code-industry.net/public/master-pdf-editor-${version}_qt5.amd64.tar.gz"; 9 - sha256 = "0bfqnpg2p5jxygcahqqljyb0gd2z28hj5n1j9g1x7px8f7wwiwl4"; 9 + sha256 = "0k5bzlhqglskiiq86nmy18mnh5bf2w3mr9cq3pibrwn5pisxnxxc"; 10 10 }; 11 11 libPath = stdenv.lib.makeLibraryPath [ 12 12 stdenv.cc.cc
+2 -1
pkgs/applications/misc/slic3r-prusa3d/default.nix
··· 52 52 ClassXSAccessor 53 53 EncodeLocale 54 54 ExtUtilsMakeMaker 55 + ExtUtilsTypemapsDefault 55 56 ExtUtilsXSpp 56 57 GrowlGNTP 57 58 ImportInto ··· 62 63 MathConvexHullMonotoneChain 63 64 MathGeometryVoronoi 64 65 MathPlanePath 65 - ModuleBuild 66 + ModuleBuildWithXSpp 66 67 Moo 67 68 NetDBus 68 69 OpenGL
+6 -10
pkgs/applications/misc/terminator/default.nix
··· 1 - { stdenv, fetchurl, pythonPackages, keybinder, vte, gettext, intltool, file, gtk3, gobjectIntrospection, cairo 2 - , wrapGAppsHook, gnome3 1 + { stdenv, fetchurl, python2, keybinder3, intltool, file, gtk3, gobjectIntrospection 2 + , libnotify, wrapGAppsHook, gnome3 3 3 }: 4 4 5 - pythonPackages.buildPythonApplication rec { 5 + python2.pkgs.buildPythonApplication rec { 6 6 name = "terminator-${version}"; 7 7 version = "1.91"; 8 8 ··· 11 11 sha256 = "95f76e3c0253956d19ceab2f8da709a496f1b9cf9b1c5b8d3cd0b6da3cc7be69"; 12 12 }; 13 13 14 - nativeBuildInputs = [ file intltool wrapGAppsHook ]; 15 - buildInputs = [ gtk3 gnome3.vte gobjectIntrospection cairo ]; 16 - 17 - pythonPath = with pythonPackages; [ 18 - pygobject3 vte keybinder notify gettext psutil 19 - pycairo 20 - ]; 14 + nativeBuildInputs = [ file intltool wrapGAppsHook gobjectIntrospection ]; 15 + buildInputs = [ gtk3 gnome3.vte libnotify keybinder3 ]; 16 + propagatedBuildInputs = with python2.pkgs; [ pygobject3 psutil pycairo ]; 21 17 22 18 postPatch = '' 23 19 patchShebangs .
+2 -2
pkgs/applications/misc/xtermcontrol/default.nix
··· 1 1 { stdenv, fetchurl }: 2 2 3 3 stdenv.mkDerivation rec { 4 - version = "3.3"; 4 + version = "3.4"; 5 5 name = "xtermcontrol-${version}"; 6 6 7 7 src = fetchurl { 8 8 url = "http://thrysoee.dk/xtermcontrol/xtermcontrol-${version}.tar.gz"; 9 - sha256 = "1v2c1cnx43apmspga7icssh5ndbhzy5h82y6vm8fda40flq9mxj5"; 9 + sha256 = "1g81v9gfn08gjn1269j0qx12x36s9j6x39gl91ycay391flgzr5l"; 10 10 }; 11 11 12 12 meta = {
+2
pkgs/applications/networking/browsers/firefox-bin/default.nix
··· 174 174 175 175 passthru.ffmpegSupport = true; 176 176 passthru.gssSupport = true; 177 + # update with: 178 + # $ nix-shell maintainers/scripts/update.nix --argstr package firefox-bin-unwrapped 177 179 passthru.updateScript = import ./update.nix { 178 180 inherit name channel writeScript xidel coreutils gnused gnugrep gnupg curl; 179 181 baseUrl =
+4 -5
pkgs/applications/networking/c14/default.nix
··· 1 1 { stdenv, buildGoPackage, fetchFromGitHub }: 2 2 3 3 buildGoPackage rec { 4 - name = "c14-cli-unstable-${version}"; 5 - version = "2017-05-15"; 6 - rev = "97f437ef5133f73edd551c883db3076c76cb1f6b"; 4 + name = "c14-cli-${version}"; 5 + version = "0.3"; 7 6 8 7 goPackagePath = "github.com/online-net/c14-cli"; 9 8 10 9 src = fetchFromGitHub { 11 10 owner = "online-net"; 12 11 repo = "c14-cli"; 13 - inherit rev; 14 - sha256 = "1b44bh0zhh6rhw4d3nprnnxhjgaskl9kzp2cvwwyli5svhjxrfdj"; 12 + rev = "${version}"; 13 + sha256 = "0b1piviy6vvdbak8y8bc24rk3c1fi67vv3352pmnzvrhsar2r5yf"; 15 14 }; 16 15 17 16 goDeps = ./deps.nix;
+25
pkgs/applications/networking/cluster/heptio-ark/default.nix
··· 1 + { stdenv, buildGoPackage, fetchFromGitHub }: 2 + 3 + buildGoPackage rec { 4 + name = "heptio-ark-${version}"; 5 + version = "0.7.1"; 6 + 7 + goPackagePath = "github.com/heptio/ark"; 8 + 9 + src = fetchFromGitHub { 10 + rev = "v${version}"; 11 + owner = "heptio"; 12 + repo = "ark"; 13 + sha256 = "0j3x9zxcffxhlw0fxq2cw9ph37bqw90cbmf9xshmnj8yl9rbxp7y"; 14 + }; 15 + 16 + postInstall = "rm $bin/bin/generate"; 17 + 18 + meta = with stdenv.lib; { 19 + description = "A utility for managing disaster recovery, specifically for your Kubernetes cluster resources and persistent volumes"; 20 + homepage = https://heptio.github.io/ark/; 21 + license = licenses.asl20; 22 + maintainers = [maintainers.mbode]; 23 + platforms = platforms.unix; 24 + }; 25 + }
+2 -2
pkgs/applications/networking/instant-messengers/hipchat/default.nix
··· 4 4 5 5 let 6 6 7 - version = "4.30.3.1670"; 7 + version = "4.30.4.1672"; 8 8 9 9 rpath = stdenv.lib.makeLibraryPath [ 10 10 xdg_utils ··· 44 44 if stdenv.system == "x86_64-linux" then 45 45 fetchurl { 46 46 url = "https://atlassian.artifactoryonline.com/atlassian/hipchat-apt-client/pool/HipChat4-${version}-Linux.deb"; 47 - sha256 = "0alqzay6bvi7ybrrdk5r0xkg4sx6qjsqbgmr16bkqxncxhb215ay"; 47 + sha256 = "1xrwndhbyhcmjcg8h1ib8lp1g51f7jxdhc6p7776zmhlfw94n3rx"; 48 48 } 49 49 else 50 50 throw "HipChat is not supported on ${stdenv.system}";
+2 -2
pkgs/applications/networking/instant-messengers/nheko/default.nix
··· 47 47 in 48 48 stdenv.mkDerivation rec { 49 49 name = "nheko-${version}"; 50 - version = "0.3.0"; 50 + version = "0.3.1"; 51 51 52 52 src = fetchFromGitHub { 53 53 owner = "mujx"; 54 54 repo = "nheko"; 55 55 rev = "v${version}"; 56 - sha256 = "178z64vkl7nmr1amgsgvdcwipj8czp7vbvidxllxiwal21yvqpky"; 56 + sha256 = "1dqd698p6wicz0x1lb6mzlwcp68sjkivanb9lwz3yy1mlmy8i3jn"; 57 57 }; 58 58 59 59 # This patch is likely not strictly speaking needed, but will help detect when
+31
pkgs/applications/networking/instant-messengers/pidgin-plugins/purple-discord/default.nix
··· 1 + { stdenv, fetchFromGitHub, pkgconfig, pidgin, json_glib }: 2 + 3 + stdenv.mkDerivation rec { 4 + name = "purple-discord-${version}"; 5 + version = "unstable-2018-04-10"; 6 + 7 + src = fetchFromGitHub { 8 + owner = "EionRobb"; 9 + repo = "purple-discord"; 10 + rev = "9a97886d15a1f028de54b5e6fc54e784531063b0"; 11 + sha256 = "0dc344zh1v4yh9c8javcw5ylzwc1wpx0ih8bww8p8cjmhr8kcl32"; 12 + }; 13 + 14 + nativeBuildInputs = [ pkgconfig ]; 15 + buildInputs = [ pidgin json_glib ]; 16 + 17 + makeFlags = [ 18 + "DESTDIR=$(out)" 19 + ]; 20 + 21 + PKG_CONFIG_PURPLE_PLUGINDIR = "/lib/purple-2"; 22 + PKG_CONFIG_PURPLE_DATADIR = "/share"; 23 + 24 + meta = with stdenv.lib; { 25 + homepage = https://github.com/EionRobb/purple-discord; 26 + description = "Discord plugin for Pidgin"; 27 + license = licenses.gpl3; 28 + platforms = platforms.linux; 29 + maintainers = with maintainers; [ sna ]; 30 + }; 31 + }
+3 -3
pkgs/applications/networking/instant-messengers/pidgin-plugins/purple-hangouts/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "purple-hangouts-hg-${version}"; 5 - version = "2017-10-08"; 5 + version = "2018-03-28"; 6 6 7 7 src = fetchhg { 8 8 url = "https://bitbucket.org/EionRobb/purple-hangouts/"; 9 - rev = "5e769791d282a6e5ae4d94dc66a1ff9d6904ec9c"; 10 - sha256 = "0cs7dcd44lkc2anradyddjvmfvnl46ixw4idaf1m9fd7j35mg7b1"; 9 + rev = "0e137e6bf9e95c5a0bd282f3ad4a5bd00a6968ab"; 10 + sha256 = "04vjgz6qyd9ilv1c6n08r45vc683vxs1rgfwhh65pag6q4rbzlb9"; 11 11 }; 12 12 13 13 buildInputs = [ pidgin glib json-glib protobuf protobufc ];
+2 -2
pkgs/applications/networking/instant-messengers/riot/riot-web.nix
··· 3 3 let configFile = writeText "riot-config.json" conf; in 4 4 stdenv.mkDerivation rec { 5 5 name= "riot-web-${version}"; 6 - version = "0.13.5"; 6 + version = "0.14.0"; 7 7 8 8 src = fetchurl { 9 9 url = "https://github.com/vector-im/riot-web/releases/download/v${version}/riot-v${version}.tar.gz"; 10 - sha256 = "1ap62ksi3dg7qijxxysjpnlmngzgh2jdldvb8s1jx14avanccch6"; 10 + sha256 = "0san8d3dghjkqqv0ypampgl7837mxk9w64ci6fzy1k5d5dmdgvsi"; 11 11 }; 12 12 13 13 installPhase = ''
+2 -2
pkgs/applications/networking/instant-messengers/signal-desktop/default.nix
··· 40 40 stdenv.mkDerivation rec { 41 41 name = "signal-desktop-${version}"; 42 42 43 - version = "1.6.1"; 43 + version = "1.7.1"; 44 44 45 45 src = 46 46 if stdenv.system == "x86_64-linux" then 47 47 fetchurl { 48 48 url = "https://updates.signal.org/desktop/apt/pool/main/s/signal-desktop/signal-desktop_${version}_amd64.deb"; 49 - sha256 = "0q2qzl84ifnhcn1qbq38fdpj8ry748h6dlzp2mdpkslsh8mc46as"; 49 + sha256 = "02zx8ynbvvs260mrvqbsg0fi561da4ni3i9f4bjh53vqn92vhvvq"; 50 50 } 51 51 else 52 52 throw "Signal for Desktop is not currently supported on ${stdenv.system}";
+2 -2
pkgs/applications/networking/mailreaders/mutt/default.nix
··· 27 27 28 28 stdenv.mkDerivation rec { 29 29 name = "mutt-${version}"; 30 - version = "1.9.4"; 30 + version = "1.9.5"; 31 31 32 32 src = fetchurl { 33 33 url = "http://ftp.mutt.org/pub/mutt/${name}.tar.gz"; 34 - sha256 = "1pxmw5yyizb9bqbai6lihv6zxmw0znjfb60zaldwh6hc6lkbzlgl"; 34 + sha256 = "0lsp72lm3cw490x7lhzia7h8f591bab2mr7qpscaj22fmrj7wqdz"; 35 35 }; 36 36 37 37 patches = optional smimeSupport (fetchpatch {
+4 -1
pkgs/applications/networking/sync/backintime/qt4.nix
··· 1 1 {stdenv, fetchurl, makeWrapper, gettext, pkgconfig, libtool, backintime-common, python3, python3Packages }: 2 2 3 3 stdenv.mkDerivation rec { 4 - inherit (backintime-common) version src installFlags meta; 4 + inherit (backintime-common) version src installFlags; 5 5 6 6 name = "backintime-qt4-${version}"; 7 7 ··· 22 22 --prefix PATH : "${backintime-common}/bin:$PATH" 23 23 ''; 24 24 25 + meta = with stdenv.lib; { 26 + broken = true; 27 + }; 25 28 }
+22 -13
pkgs/applications/networking/testssl/default.nix
··· 1 - { stdenv, fetchFromGitHub, pkgs }: 1 + { stdenv, fetchFromGitHub, makeWrapper, lib 2 + , dnsutils, coreutils, openssl, nettools, utillinux, procps }: 2 3 3 4 let 4 - version = "2.9.5-4"; 5 - pwdBinPath = "${stdenv.lib.makeBinPath (with pkgs; [ coreutils ])}/pwd"; 6 - opensslBinPath = "${stdenv.lib.makeBinPath (with pkgs; [ openssl ])}/openssl"; 5 + version = "2.9.5-5"; 7 6 8 7 in stdenv.mkDerivation rec { 9 8 name = "testssl.sh-${version}"; ··· 12 11 owner = "drwetter"; 13 12 repo = "testssl.sh"; 14 13 rev = "v${version}"; 15 - sha256 = "0pfp7r4jhvkh06vawqlvq7vp4imwp6dpq6jx8m0k3j85ywwp45pd"; 14 + sha256 = "0zgj9vhd8fv3a1cn8dxqmjd8qmgryc867gq7zbvbr41lkqc06a1r"; 16 15 }; 17 16 18 - patches = [ ./testssl.patch ]; 17 + nativeBuildInputs = [ makeWrapper ]; 18 + buildInputs = [ 19 + coreutils # for pwd and printf 20 + dnsutils # for dig 21 + nettools # for hostname 22 + openssl # for openssl 23 + procps # for ps 24 + utillinux # for hexdump 25 + ]; 19 26 20 27 postPatch = '' 21 28 substituteInPlace testssl.sh \ 22 - --replace /bin/pwd ${pwdBinPath} \ 23 - --replace TESTSSL_INSTALL_DIR:-\"\" TESTSSL_INSTALL_DIR:-\"$out\" \ 24 - --replace @@openssl-path@@ ${opensslBinPath} 29 + --replace /bin/pwd pwd \ 30 + --replace TESTSSL_INSTALL_DIR:-\"\" TESTSSL_INSTALL_DIR:-\"$out\" 25 31 ''; 26 32 27 33 installPhase = '' 28 - mkdir -p $out/bin $out/etc 29 - cp -r etc/ $out/ 30 - cp testssl.sh $out/bin/testssl.sh 34 + install -Dt $out/bin testssl.sh 35 + 36 + wrapProgram $out/bin/testssl.sh \ 37 + --prefix PATH ':' ${lib.makeBinPath buildInputs} 38 + 39 + cp -r etc $out 31 40 ''; 32 41 33 42 meta = with stdenv.lib; { ··· 38 47 ''; 39 48 homepage = https://testssl.sh/; 40 49 license = licenses.gpl2; 41 - maintainers = [ maintainers.etu ]; 50 + maintainers = with maintainers; [ etu ]; 42 51 }; 43 52 }
-10
pkgs/applications/networking/testssl/testssl.patch
··· 1 - --- testssl/testssl.sh 2017-09-24 16:53:29.395263437 +0200 2 - +++ testssl-new/testssl.sh 2017-09-24 16:53:41.221154492 +0200 3 - @@ -165,6 +165,7 @@ 4 - # following variables make use of $ENV, e.g. OPENSSL=<myprivate_path_to_openssl> ./testssl.sh <host> 5 - # 0 means (normally) true here. Some of the variables are also accessible with a command line switch, see --help 6 - declare -x OPENSSL OPENSSL_TIMEOUT 7 - +OPENSSL=${OPENSSL:-"@@openssl-path@@"} 8 - FAST_SOCKET=${FAST_SOCKET:-false} # EXPERIMENTAL feature to accelerate sockets -- DO NOT USE it for production 9 - COLOR=${COLOR:-2} # 2: Full color, 1: b/w+positioning, 0: no ESC at all 10 - COLORBLIND=${COLORBLIND:-false} # if true, swap blue and green in the output
+6 -1
pkgs/applications/office/libreoffice/still.nix
··· 2 2 , CompressZlib, zlib, libjpeg, expat, pkgconfigUpstream, freetype, libwpd 3 3 , libxml2, db, sablotron, curl, fontconfig, libsndfile, neon 4 4 , bison, flex, zip, unzip, gtk3, gtk2, libmspack, getopt, file, cairo, which 5 - , icu, boost, jdk, ant, cups, xorg, libcmis 5 + , icu, boost, jdk, ant, cups, xorg, libcmis, carlito 6 6 , openssl, gperf, cppunit, GConf, ORBit2, poppler 7 7 , librsvg, gnome_vfs, libGLU_combined, bsh, CoinMP, libwps, libabw 8 8 , autoconf, automake, openldap, bash, hunspell, librdf_redland, nss, nspr ··· 106 106 107 107 # BLFS patch for Glibc 2.23 renaming isnan 108 108 sed -ire "s@isnan@std::&@g" xmloff/source/draw/ximp3dscene.cxx 109 + 110 + # This is required as some cppunittests require fontconfig configured 111 + cp "${fontsConf}" fonts.conf 112 + sed -e '/include/i<include>${carlito}/etc/fonts/conf.d</include>' -i fonts.conf 113 + export FONTCONFIG_FILE="$PWD/fonts.conf" 109 114 ''; 110 115 111 116 # fetch_Download_item tries to interpret the name as a variable name
+3 -12
pkgs/applications/office/libreoffice/wrapper.sh
··· 3 3 export SAL_USE_VCLPLUGIN="${SAL_USE_VCLPLUGIN:-gen}" 4 4 5 5 if uname | grep Linux > /dev/null && 6 - ! ( test -n "$DBUS_SESSION_BUS_ADDRESS" && 7 - test -n "$DBUS_SYSTEM_BUS_ADDRESS" ); then 6 + ! ( test -n "$DBUS_SESSION_BUS_ADDRESS" ); then 8 7 dbus_tmp_dir="/run/user/$(id -u)/libreoffice-dbus" 9 8 mkdir "$dbus_tmp_dir" 10 9 dbus_socket_dir="$(mktemp -d -p "$dbus_tmp_dir")" 11 - cat "@dbus@/share/dbus-1/system.conf" | 12 - grep -v '[<]user[>]messagebus' > "$dbus_socket_dir/system.conf" 13 - if test -z "$DBUS_SESSION_BUS_ADDRESS"; then 14 - "@dbus@"/bin/dbus-daemon --nopidfile --nofork --config-file "@dbus@"/share/dbus-1/session.conf --address "unix:path=$dbus_socket_dir/session" >&2 & 15 - export DBUS_SESSION_BUS_ADDRESS="unix:path=$dbus_socket_dir/session" 16 - fi 17 - if test -z "$DBUS_SYSTEM_BUS_ADDRESS"; then 18 - "@dbus@"/bin/dbus-daemon --nopidfile --nofork --config-file "$dbus_socket_dir/system.conf" --address "unix:path=$dbus_socket_dir/system" >&2 & 19 - export DBUS_SYSTEM_BUS_ADDRESS="unix:path=$dbus_socket_dir/system" 20 - fi 10 + "@dbus@"/bin/dbus-daemon --nopidfile --nofork --config-file "@dbus@"/share/dbus-1/session.conf --address "unix:path=$dbus_socket_dir/session" >&2 & 11 + export DBUS_SESSION_BUS_ADDRESS="unix:path=$dbus_socket_dir/session" 21 12 fi 22 13 23 14 "@libreoffice@/bin/$(basename "$0")" "$@"
+2 -2
pkgs/applications/office/marp/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "marp-${version}"; 5 - version = "0.0.11"; 5 + version = "0.0.12"; 6 6 7 7 src = fetchurl { 8 8 url = "https://github.com/yhatt/marp/releases/download/v${version}/${version}-Marp-linux-x64.tar.gz"; 9 - sha256 = "06kka6kxrj35w23n34in6ks3vax9arl756jg720jhfy14vavyk0f"; 9 + sha256 = "0pljjkis9vb819d0akqmqnyakwgnvc3qqyg20yr13xms9a5iqv32"; 10 10 }; 11 11 sourceRoot = "."; 12 12
+5 -7
pkgs/applications/science/astronomy/celestia/default.nix
··· 56 56 patch -Np1 -i "${gcc47Patch}" 57 57 ''; 58 58 59 - configureFlags = "--with-gtk --with-lua=${lua}"; 60 - CPPFLAGS = "-DNDEBUG"; 61 - CFLAGS = "-O2 -fsigned-char"; 62 - CXXFLAGS = "-O2 -fsigned-char"; 63 - GTK_CFLAGS = "-I${gtk2.dev}/include/gtk-2.0 -I${gtk2.out}/lib/gtk-2.0/include -I${glib.dev}/include/glib-2.0 -I${glib.out}/lib/glib-2.0/include -I${cairo.dev}/include/cairo -I${pango.dev}/include/pango-1.0 -I${gdk_pixbuf.dev}/include/gdk-pixbuf-2.0 -I${atk.dev}/include/atk-1.0 -I${gtkglext}/include/gtkglext-1.0 -I${gtkglext}/lib/gtkglext-1.0/include"; 64 - GTK_LIBS = "-lgtk-x11-2.0 -lgtkglext-x11-1.0 -lcairo -lgdk_pixbuf-2.0 -lpango-1.0 -lgobject-2.0"; 59 + configureFlags = [ 60 + "--with-gtk" 61 + "--with-lua=${lua}" 62 + ]; 65 63 66 64 installPhase = ''make MKDIR_P="mkdir -p" install''; 67 65 ··· 69 67 70 68 meta = { 71 69 description = "Free space simulation"; 72 - homepage = http://www.shatters.net/celestia/; 70 + homepage = https://celestia.space/; 73 71 license = stdenv.lib.licenses.gpl2; 74 72 75 73 platforms = stdenv.lib.platforms.linux;
+2 -2
pkgs/applications/science/logic/elan/default.nix
··· 2 2 3 3 rustPlatform.buildRustPackage rec { 4 4 name = "elan-${version}"; 5 - version = "0.3.0"; 5 + version = "0.3.2"; 6 6 7 7 cargoSha256 = "01d3s47fjszxx8s5gr3haxq3kz3hswkrkr8x97wx8l4nfhm8ndd2"; 8 8 ··· 10 10 owner = "kha"; 11 11 repo = "elan"; 12 12 rev = "v${version}"; 13 - sha256 = "116v9v1v5a6fr6h4dgxzwczpy4pbf96cnx6nss6a5y8vbhx9c1mj"; 13 + sha256 = "13r110382dh7848lpn3mrhc5bgmj373sbpx1326ryx3wl5kfp8rs"; 14 14 }; 15 15 16 16 nativeBuildInputs = [ pkgconfig ];
+40 -10
pkgs/applications/science/math/maxima/default.nix
··· 1 - { stdenv, fetchurl, sbcl, texinfo, perl, python, makeWrapper, rlwrap ? null, 2 - tk ? null, gnuplot ? null, ecl ? null, ecl-fasl ? false 1 + { stdenv, fetchurl, fetchpatch, sbcl, texinfo, perl, python, makeWrapper, rlwrap ? null 2 + , tk ? null, gnuplot ? null, ecl ? null, ecl-fasl ? false 3 3 }: 4 4 5 5 let ··· 11 11 (stdenv.lib.filter (x: x != null) [ sbcl ecl rlwrap tk gnuplot ]); 12 12 in 13 13 stdenv.mkDerivation ({ 14 + inherit version; 14 15 name = "${name}-${version}"; 15 16 16 17 src = fetchurl { ··· 18 19 sha256 = "0x0n81z0s4pl8nwpf7ivlsbvsdphm9w42250g7qdkizl0132by6s"; 19 20 }; 20 21 21 - buildInputs = stdenv.lib.filter (x: x != null) 22 - [sbcl ecl texinfo perl python makeWrapper]; 22 + buildInputs = stdenv.lib.filter (x: x != null) [ 23 + sbcl ecl texinfo perl python makeWrapper 24 + ]; 23 25 24 26 postInstall = '' 25 27 # Make sure that maxima can find its runtime dependencies. ··· 36 38 '') 37 39 ; 38 40 41 + patches = [ 42 + # fix path to info dir (see https://trac.sagemath.org/ticket/11348) 43 + (fetchpatch { 44 + url = "https://git.sagemath.org/sage.git/plain/build/pkgs/maxima/patches/infodir.patch?id=07d6c37d18811e2b377a9689790a7c5e24da16ba"; 45 + sha256 = "09v64n60f7i6frzryrj0zd056lvdpms3ajky4f9p6kankhbiv21x"; 46 + }) 47 + 48 + # fix https://sourceforge.net/p/maxima/bugs/2596/ 49 + (fetchpatch { 50 + url = "https://git.sagemath.org/sage.git/plain/build/pkgs/maxima/patches/matrixexp.patch?id=07d6c37d18811e2b377a9689790a7c5e24da16ba"; 51 + sha256 = "06961hn66rhjijfvyym21h39wk98sfxhp051da6gz0n9byhwc6zg"; 52 + }) 53 + 54 + # undo https://sourceforge.net/p/maxima/code/ci/f5e9b0f7eb122c4e48ea9df144dd57221e5ea0ca, see see https://trac.sagemath.org/ticket/13364#comment:93 55 + (fetchpatch { 56 + url = "https://git.sagemath.org/sage.git/plain/build/pkgs/maxima/patches/undoing_true_false_printing_patch.patch?id=07d6c37d18811e2b377a9689790a7c5e24da16ba"; 57 + sha256 = "0fvi3rcjv6743sqsbgdzazy9jb6r1p1yq63zyj9fx42wd1hgf7yx"; 58 + }) 59 + 60 + # upstream bug https://sourceforge.net/p/maxima/bugs/2520/ (not fixed) 61 + # introduced in https://trac.sagemath.org/ticket/13364 62 + (fetchpatch { 63 + url = "https://git.sagemath.org/sage.git/plain/build/pkgs/maxima/patches/0001-taylor2-Avoid-blowing-the-stack-when-diff-expand-isn.patch?id=07d6c37d18811e2b377a9689790a7c5e24da16ba"; 64 + sha256 = "0xa0b6cr458zp7lc7qi0flv5ar0r3ivsqhjl0c3clv86di2y522d"; 65 + }) 66 + ] ++ stdenv.lib.optionals ecl-fasl [ 67 + # build fasl, needed for ECL support 68 + (fetchpatch { 69 + url = "https://git.sagemath.org/sage.git/plain/build/pkgs/maxima/patches/maxima.system.patch?id=07d6c37d18811e2b377a9689790a7c5e24da16ba"; 70 + sha256 = "18zafig8vflhkr80jq2ivk46k92dkszqlyq8cfmj0b2vcfjwwbar"; 71 + }) 72 + ]; 73 + 39 74 # Failures in the regression test suite won't abort the build process. We run 40 75 # the suite only so that potential errors show up in the build log. See also: 41 76 # http://sourceforge.net/tracker/?func=detail&aid=3365831&group_id=4933&atid=104933. ··· 57 92 58 93 platforms = stdenv.lib.platforms.unix; 59 94 maintainers = [ stdenv.lib.maintainers.peti ]; 60 - broken = ecl != null; 61 95 }; 62 - } // (stdenv.lib.optionalAttrs ecl-fasl { 63 - preConfigure = '' 64 - sed -e '/c::build-program "binary-ecl\/maxima"/i(c::build-fasl "binary-ecl\/maxima.fasl" :lisp-files obj :ld-flags (let ((x (symbol-value (find-symbol "*AUTOCONF-LD-FLAGS*" (find-package "MAXIMA"))))) (if (and x (not (string= x ""))) (list x))))' -i src/maxima.system 65 - ''; 66 - })) 96 + })
+52 -19
pkgs/applications/science/math/singular/default.nix
··· 1 1 { stdenv, fetchurl, gmp, bison, perl, autoconf, ncurses, readline, coreutils, pkgconfig 2 - , asLibsingular ? false 2 + , autoreconfHook 3 + , flint 4 + , ntl 5 + , cddlib 6 + , enableFactory ? true 7 + , enableGfanlib ? true 3 8 }: 4 9 5 10 stdenv.mkDerivation rec { 6 - name = "singular-${version}"; 7 - version="3-1-7"; 11 + name = "singular-${version}${patchVersion}"; 12 + version = "4.1.1"; 13 + patchVersion = "p1"; 8 14 15 + urlVersion = builtins.replaceStrings [ "." ] [ "-" ] version; 9 16 src = fetchurl { 10 - url = "http://www.mathematik.uni-kl.de/ftp/pub/Math/Singular/SOURCES/${version}/Singular-${version}.tar.gz"; 11 - sha256 = "1j4mcpnwzdp3h4qspk6ww0m67rmx4s11cy17pvzbpf70lm0jzzh2"; 17 + url = "http://www.mathematik.uni-kl.de/ftp/pub/Math/Singular/SOURCES/${urlVersion}/singular-${version}${patchVersion}.tar.gz"; 18 + sha256 = "0wvgz7l1b7zkpmim0r3mvv4fp8xnhlbz4c7hc90rn30snlansnf1"; 12 19 }; 13 20 14 - buildInputs = [ gmp perl ncurses readline ]; 15 - nativeBuildInputs = [ autoconf bison pkgconfig ]; 21 + configureFlags = stdenv.lib.optionals enableFactory [ 22 + "--enable-factory" 23 + ] ++ stdenv.lib.optionals enableGfanlib [ 24 + "--enable-gfanlib" 25 + ]; 26 + 27 + postUnpack = '' 28 + patchShebangs . 29 + ''; 30 + 31 + # For reference (last checked on commit 75f460d): 32 + # https://github.com/Singular/Sources/blob/spielwiese/doc/Building-Singular-from-source.md 33 + # https://github.com/Singular/Sources/blob/spielwiese/doc/external-packages-dynamic-modules.md 34 + buildInputs = [ 35 + # necessary 36 + gmp 37 + # by upstream recommended but optional 38 + ncurses 39 + readline 40 + ntl 41 + flint 42 + ] ++ stdenv.lib.optionals enableGfanlib [ 43 + cddlib 44 + ]; 45 + nativeBuildInputs = [ autoconf bison perl pkgconfig autoreconfHook ]; 16 46 17 47 preConfigure = '' 18 48 find . -type f -exec sed -e 's@/bin/rm@${coreutils}&@g' -i '{}' ';' 19 49 find . -type f -exec sed -e 's@/bin/uname@${coreutils}&@g' -i '{}' ';' 20 - ${stdenv.lib.optionalString asLibsingular ''NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -DLIBSINGULAR"''} 21 50 ''; 22 51 23 52 hardeningDisable = stdenv.lib.optional stdenv.isi686 "stackprotector"; ··· 27 56 28 57 installPhase = '' 29 58 mkdir -p "$out" 30 - cp -r Singular/LIB "$out/LIB" 31 - make install${stdenv.lib.optionalString asLibsingular "-libsingular"} 59 + cp -r Singular/LIB "$out/lib" 60 + make install 61 + 62 + # Make sure patchelf picks up the right libraries 63 + rm -rf libpolys factory resources omalloc Singular 64 + ''; 32 65 33 - binaries="$(find "$out"/* \( -type f -o -type l \) -perm -111 \! -name '*.so' -maxdepth 1)" 34 - ln -s "$out"/*/{include,lib} "$out" 35 - mkdir -p "$out/bin" 36 - for b in $binaries; do 37 - bbn="$(basename "$b")" 38 - echo -e '#! ${stdenv.shell}\n"'"$b"'" "$@"' > "$out/bin/$bbn" 39 - chmod a+x "$out/bin/$bbn" 40 - done 66 + # simple test to make sure singular starts and finds its libraries 67 + doInstallCheck = true; 68 + installCheckPhase = '' 69 + $out/bin/Singular -c 'LIB "freegb.lib"; exit;' 70 + if [ $? -ne 0 ]; then 71 + echo >&2 "Error loading the freegb library in Singular." 72 + exit 1 73 + fi 41 74 ''; 42 75 43 76 enableParallelBuilding = true; ··· 47 80 maintainers = with maintainers; [ raskin ]; 48 81 platforms = subtractLists platforms.i686 platforms.linux; 49 82 license = licenses.gpl3; # Or GPLv2 at your option - but not GPLv4 50 - homepage = http://www.singular.uni-kl.de/index.php; 83 + homepage = http://www.singular.uni-kl.de; 51 84 downloadPage = "http://www.mathematik.uni-kl.de/ftp/pub/Math/Singular/SOURCES/"; 52 85 }; 53 86 }
+5 -1
pkgs/applications/version-management/cvs/default.nix
··· 1 - { stdenv, fetchurl, nano }: 1 + { stdenv, fetchurl, fetchpatch, nano }: 2 2 3 3 stdenv.mkDerivation { 4 4 name = "cvs-1.12.13"; ··· 12 12 ./getcwd-chroot.patch 13 13 ./CVE-2012-0804.patch 14 14 ./CVE-2017-12836.patch 15 + (fetchpatch { 16 + url = "https://raw.githubusercontent.com/Homebrew/formula-patches/24118ec737c7/cvs/vasnprintf-high-sierra-fix.diff"; 17 + sha256 = "1ql6aaia7xkfq3vqhlw5bd2z2ywka82zk01njs1b2szn699liymg"; 18 + }) 15 19 ]; 16 20 17 21 hardeningDisable = [ "fortify" "format" ];
+2 -2
pkgs/applications/version-management/git-and-tools/git/default.nix
··· 13 13 }: 14 14 15 15 let 16 - version = "2.17.0"; 16 + version = "2.16.3"; 17 17 svn = subversionClient.override { perlBindings = true; }; 18 18 in 19 19 ··· 22 22 23 23 src = fetchurl { 24 24 url = "https://www.kernel.org/pub/software/scm/git/git-${version}.tar.xz"; 25 - sha256 = "1ismz7nsz8dgjmk782xr9s0mr2qh06f72pdcgbxfmnw1bvlya5p9"; 25 + sha256 = "0j1dwvg5llnj3g0fp8hdgpms4hp90qw9f6509vqw30dhwplrjpfn"; 26 26 }; 27 27 28 28 hardeningDisable = [ "format" ];
+4 -4
pkgs/applications/version-management/sit/default.nix
··· 2 2 3 3 rustPlatform.buildRustPackage rec { 4 4 name = "sit-${version}"; 5 - version = "0.2.1"; 5 + version = "0.3.0"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "sit-it"; 9 9 repo = "sit"; 10 10 rev = "v${version}"; 11 - sha256 = "1gcw5fqaqpxl2xgry0w8750g2msrk884zj1slym6r3nj7s2m9j22"; 11 + sha256 = "1si4fg02wxi35hpkr58na06h19yjw6qd9c5mbb9xfkkzgz5mnssj"; 12 12 }; 13 13 14 - cargoSha256 = "0hb82j97m8vw8m6gpb6s3bbi31xxv9nqh3aq7hkbmp1pqc02sg3q"; 14 + cargoSha256 = "083p7z7blj064840ddgnxvqjmih4bmy92clds3qgv5v7lh63wfmn"; 15 15 16 16 meta = with stdenv.lib; { 17 - description = "SCM-agnostic, file-based, offline-first, immutable issue tracker"; 17 + description = "Serverless Information Tracker"; 18 18 homepage = http://sit-it.org/; 19 19 license = with licenses; [ asl20 /* or */ mit ]; 20 20 maintainers = with maintainers; [ dywedir ];
+10 -17
pkgs/applications/version-management/vcsh/default.nix
··· 1 - { stdenv, fetchpatch, fetchFromGitHub, which, git, ronn, perl, ShellCommand, TestMost }: 1 + { stdenv, fetchFromGitHub, which, git, ronn, perl, ShellCommand 2 + , TestMost, TestDifferences, TestDeep, TestException, TestWarn 3 + }: 2 4 3 5 stdenv.mkDerivation rec { 4 - version = "1.20170226"; # date of commit we're pulling 6 + version = "1.20170915"; # date of commit we're pulling 5 7 name = "vcsh-${version}"; 6 8 7 9 src = fetchFromGitHub { 8 10 owner = "RichiH"; 9 11 repo = "vcsh"; 10 - rev = "36a7cedf196793a6d99f9d3ba2e69805cfff23ab"; 11 - sha256 = "16lb28m4k7n796cc1kifyc1ixry4bg69q9wqivjzygdsb77awgln"; 12 + rev = "eadb8df6aa71a76e5be36492edcadb118bd862ac"; 13 + sha256 = "1wfzp8167lcq6akdpbi8fikjv0z3h1i5minh3423dljc04q0klm1"; 12 14 }; 13 15 14 - patches = 15 - [ 16 - (fetchpatch { 17 - url = "https://patch-diff.githubusercontent.com/raw/RichiH/vcsh/pull/222.patch"; 18 - sha256 = "0grdbiwq04x5qj0a1yd9a78g5v28dxhwl6mwxvgvvmzs6k5wnl3k"; 19 - }) 20 - (fetchpatch { 21 - url = "https://patch-diff.githubusercontent.com/raw/RichiH/vcsh/pull/228.patch"; 22 - sha256 = "0sdn4mzrhaynw85knia2iw5b6rgy0l1rd6dwh0lwspnh668wqgam"; 23 - }) 24 - ]; 25 - 26 - buildInputs = [ which git ronn perl ShellCommand TestMost ]; 16 + buildInputs = [ 17 + which git ronn perl ShellCommand TestMost TestDifferences TestDeep 18 + TestException TestWarn 19 + ]; 27 20 28 21 installPhase = "make install PREFIX=$out"; 29 22
+10 -2
pkgs/applications/video/avidemux/default.nix
··· 1 - { stdenv, lib, fetchurl, cmake, pkgconfig, lndir 1 + { stdenv, lib, fetchurl, fetchpatch, cmake, pkgconfig, lndir 2 2 , zlib, gettext, libvdpau, libva, libXv, sqlite 3 3 , yasm, freetype, fontconfig, fribidi 4 4 , makeWrapper, libXext, libGLU, qttools, qtbase ··· 32 32 sha256 = "1bf4l9qwxq3smc1mx5pybydc742a4qqsk17z50j9550d9iwnn7gy"; 33 33 }; 34 34 35 - patches = [ ./dynamic_install_dir.patch ./bootstrap_logging.patch ]; 35 + patches = [ 36 + ./dynamic_install_dir.patch 37 + ./bootstrap_logging.patch 38 + # glibc 2.27 compat 39 + (fetchpatch { 40 + url = https://github.com/mean00/avidemux2/commit/afdd9c4b876d77a4974d3fa7d9f25caeffbdf13d.patch; 41 + sha256 = "0mf8vpfdqybziqsfyvxwcdm3zsmnp64293icinhvfpq9xp5b6vn6"; 42 + }) 43 + ]; 36 44 37 45 nativeBuildInputs = [ yasm cmake pkgconfig ]; 38 46 buildInputs = [
+5 -5
pkgs/applications/video/handbrake/default.nix
··· 13 13 python2, pkgconfig, yasm, harfbuzz, zlib, 14 14 autoconf, automake, cmake, libtool, m4, jansson, 15 15 libass, libiconv, libsamplerate, fribidi, libxml2, bzip2, 16 - libogg, libopus, libtheora, libvorbis, libdvdcss, a52dec, fdk_aac, 16 + libogg, libopus, libtheora, libvorbis, libdvdcss, a52dec, 17 17 lame, ffmpeg, libdvdread, libdvdnav, libbluray, 18 18 mp4v2, mpeg2dec, x264, x265, libmkv, 19 19 fontconfig, freetype, hicolor-icon-theme, 20 20 glib, gtk3, intltool, libnotify, 21 21 gst_all_1, dbus-glib, udev, libgudev, libvpx, 22 - useGtk ? true, wrapGAppsHook ? null, libappindicator-gtk3 ? null 22 + useGtk ? true, wrapGAppsHook ? null, libappindicator-gtk3 ? null, useFdk ? false, fdk_aac ? null 23 23 }: 24 24 25 25 stdenv.mkDerivation rec { ··· 42 42 buildInputs = [ 43 43 fribidi fontconfig freetype jansson zlib 44 44 libass libiconv libsamplerate libxml2 bzip2 45 - libogg libopus libtheora libvorbis libdvdcss a52dec libmkv fdk_aac 45 + libogg libopus libtheora libvorbis libdvdcss a52dec libmkv 46 46 lame ffmpeg libdvdread libdvdnav libbluray mp4v2 mpeg2dec x264 x265 libvpx 47 47 ] ++ (lib.optionals useGtk [ 48 48 glib gtk3 libappindicator-gtk3 libnotify 49 49 gst_all_1.gstreamer gst_all_1.gst-plugins-base dbus-glib udev 50 50 libgudev 51 - ]); 51 + ]) ++ (lib.optionals useFdk [fdk_aac]); 52 52 53 53 dontUseCmakeConfigure = true; 54 54 ··· 75 75 configureFlags = [ 76 76 "--disable-df-fetch" 77 77 "--disable-df-verify" 78 - "--enable-fdk-aac" 79 78 (if useGtk then "--disable-gtk-update-checks" else "--disable-gtk") 79 + (if useFdk then "--enable-fdk-aac" else "") 80 80 ]; 81 81 82 82 NIX_LDFLAGS = [
-14
pkgs/applications/video/kazam/bug_1190693.patch
··· 1 - === modified file 'kazam/frontend/indicator.py' 2 - --- a/kazam/frontend/indicator.py 2013-01-26 01:53:53 +0000 3 - +++ b/kazam/frontend/indicator.py 2013-06-13 18:18:37 +0000 4 - @@ -291,3 +291,9 @@ 5 - def start_recording(self): 6 - logger.debug("Recording started.") 7 - self.indicator.set_from_icon_name("kazam-recording") 8 - + 9 - + def hide_it(self): 10 - + self.indicator.set_visible(False) 11 - + 12 - + def show_it(self): 13 - + self.indicator.set_visible(True) 14 -
-11
pkgs/applications/video/kazam/datadir.patch
··· 1 - --- a/bin/kazam 2014-02-03 23:11:38.465614061 +0100 2 - +++ b/bin/kazam-1 2014-02-03 23:12:28.447058700 +0100 3 - @@ -68,7 +68,7 @@ 4 - # when base install path is not /usr 5 - curpath = os.path.abspath(__file__) 6 - curpath = os.path.realpath(curpath) 7 - - datadir = curpath.split('bin/')[0] + "share/kazam/" 8 - + datadir = os.path.realpath(os.path.join(curpath, "./../../", "share/kazam/")) 9 - 10 - try: 11 - import platform
+24 -29
pkgs/applications/video/kazam/default.nix
··· 1 - { stdenv, fetchurl, python3Packages, gst_all_1, makeWrapper, gobjectIntrospection 2 - , gtk3, libwnck3, keybinder, intltool, libcanberra-gtk2 }: 1 + { stdenv, fetchurl, substituteAll, python3, gst_all_1, wrapGAppsHook, gobjectIntrospection 2 + , gtk3, libwnck3, keybinder3, intltool, libcanberra-gtk3, libappindicator-gtk3, libpulseaudio }: 3 3 4 - 5 - python3Packages.buildPythonApplication rec { 4 + python3.pkgs.buildPythonApplication rec { 6 5 name = "kazam-${version}"; 7 - version = "1.4.3"; 6 + version = "1.4.5"; 8 7 namePrefix = ""; 9 8 10 9 src = fetchurl { 11 10 url = "https://launchpad.net/kazam/stable/${version}/+download/kazam-${version}.tar.gz"; 12 - sha256 = "00bcn0yj9xrv87sf6xd3wpilsjgjpsj15zzpjh351ffpjnr0ica8"; 11 + sha256 = "1qygnrvm6aqixbyivhssp70hs0llxwk7lh3j7idxa2jbkk06hj4f"; 13 12 }; 14 13 15 - # TODO: keybinder, appindicator3 16 - buildInputs = with python3Packages; 17 - [ pygobject3 pyxdg pycairo gst_all_1.gstreamer gst_all_1.gst-plugins-base 18 - gst_all_1.gst-plugins-good gobjectIntrospection gtk3 libwnck3 distutils_extra 19 - intltool dbus-python ]; 14 + nativeBuildInputs = [ gobjectIntrospection python3.pkgs.distutils_extra intltool wrapGAppsHook ]; 15 + buildInputs = [ 16 + gst_all_1.gstreamer gst_all_1.gst-plugins-base gst_all_1.gst-plugins-good gtk3 libwnck3 17 + keybinder3 libappindicator-gtk3 18 + ]; 20 19 21 - # TODO: figure out why PYTHONPATH is not passed automatically for those programs 22 - pythonPath = with python3Packages; 23 - [ pygobject3 pyxdg pycairo dbus-python ]; 20 + propagatedBuildInputs = with python3.pkgs; [ pygobject3 pyxdg pycairo dbus-python ]; 24 21 25 - patches = [ ./datadir.patch ./bug_1190693.patch ]; 26 - prePatch = '' 27 - rm setup.cfg 28 - substituteInPlace kazam/backend/grabber.py --replace "/usr/bin/canberra-gtk-play" "${libcanberra-gtk2}/bin/canberra-gtk-play" 29 - ''; 22 + patches = [ 23 + # Fix paths 24 + (substituteAll { 25 + src = ./fix-paths.patch; 26 + libcanberra = libcanberra-gtk3; 27 + inherit libpulseaudio; 28 + }) 29 + # Fix compability with Python 3.4 30 + (fetchurl { 31 + url = https://sources.debian.org/data/main/k/kazam/1.4.5-2/debian/patches/configparser_api_changes.patch; 32 + sha256 = "0yvmipnh98s7y07cp1f113l0qqfw65k13an96byq707z3ymv1c2h"; 33 + }) 34 + ]; 30 35 31 36 # no tests 32 37 doCheck = false; 33 - 34 - preFixup = '' 35 - wrapProgram $out/bin/kazam \ 36 - --prefix GI_TYPELIB_PATH : "$GI_TYPELIB_PATH" \ 37 - --prefix LD_LIBRARY_PATH ":" "${stdenv.lib.makeLibraryPath [ gtk3 gst_all_1.gstreamer keybinder ]}" \ 38 - --prefix GST_PLUGIN_SYSTEM_PATH : "$GST_PLUGIN_SYSTEM_PATH" \ 39 - --prefix XDG_DATA_DIRS : "${gtk3.out}/share" \ 40 - --set GST_REGISTRY "/tmp/kazam.gstreamer.registry"; 41 - ''; 42 - 43 38 44 39 meta = with stdenv.lib; { 45 40 description = "A screencasting program created with design in mind";
+22
pkgs/applications/video/kazam/fix-paths.patch
··· 1 + --- a/kazam/backend/grabber.py 2 + +++ b/kazam/backend/grabber.py 3 + @@ -72,7 +72,7 @@ 4 + # 5 + if prefs.shutter_sound and (not self.god): 6 + soundfile = os.path.join(prefs.datadir, 'sounds', prefs.sound_files[prefs.shutter_type]) 7 + - subprocess.call(['/usr/bin/canberra-gtk-play', '-f', soundfile]) 8 + + subprocess.call(['@libcanberra@/bin/canberra-gtk-play', '-f', soundfile]) 9 + 10 + if self.xid: 11 + if prefs.capture_borders_pic: 12 + --- a/kazam/pulseaudio/ctypes_pulseaudio.py 13 + +++ b/kazam/pulseaudio/ctypes_pulseaudio.py 14 + @@ -20,7 +20,7 @@ 15 + # MA 02110-1301, USA. 16 + 17 + from ctypes import * 18 + -PA = CDLL('libpulse.so.0') 19 + +PA = CDLL('@libpulseaudio@/lib/libpulse.so.0') 20 + 21 + # 22 + # Pulse Audio constants and defines
+9
pkgs/applications/virtualization/xen/4.8.nix
··· 41 41 sha256 = "1ki295pymbcfc64sjb9wqfwpv19p8vwgmnxankada3vm4fxg2rhq"; 42 42 }); 43 43 44 + qemuMemfdBuildFix = fetchpatch { 45 + name = "xen-4.8-memfd-build-fix.patch"; 46 + url = https://github.com/qemu/qemu/commit/75e5b70e6b5dcc4f2219992d7cffa462aa406af0.patch; 47 + sha256 = "0gaz93kb33qc0jx6iphvny0yrd17i8zhcl3a9ky5ylc2idz0wiwa"; 48 + }; 49 + 44 50 qemuDeps = [ 45 51 udev pciutils xorg.libX11 SDL pixman acl glusterfs spice-protocol usbredir 46 52 alsaLib ··· 63 69 rev = "refs/tags/qemu-xen-${version}"; 64 70 sha256 = "0lb7zd5nvr6znx47z93nbq4gj8xfb3622s8r2cvmpqmwnmlc3nd4"; 65 71 }; 72 + patches = [ 73 + qemuMemfdBuildFix 74 + ]; 66 75 buildInputs = qemuDeps; 67 76 meta.description = "Xen's fork of upstream Qemu"; 68 77 };
+2 -2
pkgs/applications/window-managers/sway/default.nix
··· 8 8 9 9 stdenv.mkDerivation rec { 10 10 name = "sway-${version}"; 11 - version = "0.15.1"; 11 + version = "0.15.2"; 12 12 13 13 src = fetchFromGitHub { 14 14 owner = "swaywm"; 15 15 repo = "sway"; 16 16 rev = version; 17 - sha256 = "00prns3dnafd19ap774p8v994i3p185ji0dnp2xxbkgh2z7sbwpi"; 17 + sha256 = "1p9j5gv85lsgj4z28qja07dqyvqk41w6mlaflvvm9yxafx477g5n"; 18 18 }; 19 19 20 20 nativeBuildInputs = [
+216 -78
pkgs/build-support/bintools-wrapper/macos-sierra-reexport-hack.bash
··· 2 2 3 3 set -eu -o pipefail 4 4 5 + # For cmd | while read; do ...; done 6 + shopt -s lastpipe 7 + 5 8 path_backup="$PATH" 6 9 if [ -n "@coreutils_bin@" ]; then 7 10 PATH="@coreutils_bin@/bin" 8 11 fi 9 12 10 - declare -r recurThreshold=300 13 + declare -ri recurThreshold=200 14 + declare -i overflowCount=0 15 + 16 + declare -ar origArgs=("$@") 17 + 18 + # Throw away what we won't need 19 + declare -a parentArgs=() 11 20 12 - declare overflowCount=0 13 - for ((n=0; n < $#; ++n)); do 14 - case "${!n}" in 15 - -l*) let overflowCount+=1 ;; 16 - -reexport-l*) let overflowCount+=1 ;; 17 - *) ;; 21 + while (( $# )); do 22 + case "$1" in 23 + -l) 24 + echo "cctools LD does not support '-l foo'" >&2 25 + exit 1 26 + ;; 27 + -lazy_library | -reexport_library | -upward_library | -weak_library) 28 + overflowCount+=1 29 + shift 2 30 + ;; 31 + -l* | *.so.* | *.dylib | -lazy-l* | -reexport-l* | -upward-l* | -weak-l*) 32 + overflowCount+=1 33 + shift 1 34 + ;; 35 + *.a | *.o) 36 + shift 1 37 + ;; 38 + -L | -F) 39 + # Evidentally ld doesn't like using the child's RPATH, so it still 40 + # needs these. 41 + parentArgs+=("$1" "$2") 42 + shift 2 43 + ;; 44 + -L?* | -F?*) 45 + parentArgs+=("$1") 46 + shift 1 47 + ;; 48 + -o) 49 + outputName="$2" 50 + parentArgs+=("$1" "$2") 51 + shift 2 52 + ;; 53 + -install_name | -dylib_install_name | -dynamic-linker | -plugin) 54 + parentArgs+=("$1" "$2") 55 + shift 2 56 + ;; 57 + -rpath) 58 + # Only an rpath to the child is needed, which we will add 59 + shift 2 60 + ;; 61 + *) 62 + if [[ -f "$1" ]]; then 63 + # Propabably a non-standard object file like Haskell's 64 + # `.dyn_o`. Skip it like other inputs 65 + : 66 + else 67 + parentArgs+=("$1") 68 + fi 69 + shift 1 70 + ;; 18 71 esac 19 72 done 20 73 21 - declare -a allArgs=() 74 + 22 75 23 76 if (( "$overflowCount" <= "$recurThreshold" )); then 24 - allArgs=("$@") 25 - else 26 - declare -a childrenLookup=() childrenLink=() 77 + if [ -n "${NIX_DEBUG:-}" ]; then 78 + echo "ld-wrapper: Only ${overflowCount} inputs counted while ${recurThreshold} is the ceiling, linking normally. " >&2 79 + fi 80 + PATH="$path_backup" 81 + exec @prog@ "${origArgs[@]}" 82 + fi 27 83 28 - while (( $# )); do 29 - case "$1" in 30 - -L/*) 31 - childrenLookup+=("$1") 32 - allArgs+=("$1") 33 - ;; 34 - -L) 35 - echo "cctools LD does not support '-L foo' or '-l foo'" >&2 36 - exit 1 37 - ;; 38 - -l) 39 - echo "cctools LD does not support '-L foo' or '-l foo'" >&2 40 - exit 1 41 - ;; 42 - -lazy_library | -lazy_framework | -lto_library) 43 - # We aren't linking any "azy_library", "to_library", etc. 44 - allArgs+=("$1") 45 - ;; 46 - -lazy-l | -weak-l) allArgs+=("$1") ;; 47 - # We can't so easily prevent header issues from these. 48 - -lSystem) allArgs+=("$1") ;; 49 - # Special case as indirection seems like a bad idea for something 50 - # so fundamental. Can be removed for simplicity. 51 - -l?* | -reexport-l?*) childrenLink+=("$1") ;; 52 - *) allArgs+=("$1") ;; 53 - esac 84 + 85 + 86 + if [ -n "${NIX_DEBUG:-}" ]; then 87 + echo "ld-wrapper: ${overflowCount} inputs counted when ${recurThreshold} is the ceiling, inspecting further. " >&2 88 + fi 54 89 55 - shift 56 - done 90 + # Collect the normalized linker input 91 + declare -a norm=() 57 92 58 - declare n=0 59 - while (( $n < "${#childrenLink[@]}" )); do 60 - if [[ "${childrenLink[n]}" = -l* ]]; then 61 - childrenLink[n]="-reexport${childrenLink[n]}" 62 - fi 63 - let ++n 93 + # Arguments are null-separated 94 + @prog@ --dump-normalized-lib-args "${origArgs[@]}" | 95 + while IFS= read -r -d '' input; do 96 + norm+=("$input") 64 97 done 65 - unset n 66 98 67 - declare -r outputNameLibless=$(basename $( \ 68 - if [[ -z "${outputName:+isUndefined}" ]]; then 69 - echo unnamed 70 - elif [[ "${outputName:0:3}" = lib ]]; then 71 - echo "${outputName:3}" 72 - else 73 - echo "${outputName}" 74 - fi)) 75 - declare -ra children=("$outputNameLibless-reexport-delegate-0" \ 76 - "$outputNameLibless-reexport-delegate-1") 99 + declare -i leafCount=0 100 + declare lastLeaf='' 101 + declare -a childrenInputs=() trailingInputs=() 102 + while (( "${#norm[@]}" )); do 103 + case "${norm[0]}" in 104 + -lazy_library | -upward_library) 105 + # TODO(@Ericson2314): Don't do that, but intersperse children 106 + # between such args. 107 + echo "ld-wrapper: Warning: Potentially changing link order" >&2 108 + trailingInputs+=("${norm[0]}" "${norm[1]}") 109 + norm=("${norm[@]:2}") 110 + ;; 111 + -reexport_library | -weak_library) 112 + childrenInputs+=("${norm[0]}" "${norm[1]}") 113 + if [[ "${norm[1]}" != "$lastLeaf" ]]; then 114 + leafCount+=1 115 + lastLeaf="${norm[1]}" 116 + fi 117 + norm=("${norm[@]:2}") 118 + ;; 119 + *.so | *.dylib) 120 + childrenInputs+=(-reexport_library "${norm[0]}") 121 + if [[ "${norm[0]}" != "$lastLeaf" ]]; then 122 + leafCount+=1 123 + lastLeaf="${norm[0]}" 124 + fi 125 + norm=("${norm[@]:1}") 126 + ;; 127 + *.o | *.a) 128 + # Don't delegate object files or static libs 129 + parentArgs+=("${norm[0]}") 130 + norm=("${norm[@]:1}") 131 + ;; 132 + *) 133 + if [[ -f "${norm[0]}" ]]; then 134 + # Propabably a non-standard object file. We'll let it by. 135 + parentArgs+=("${norm[0]}") 136 + norm=("${norm[@]:1}") 137 + else 138 + echo "ld-wrapper: Internal Error: Invalid normalized argument" >&2 139 + exit -1 140 + fi 141 + ;; 142 + esac 143 + done 77 144 78 - mkdir -p "$out/lib" 79 145 80 - PATH="$PATH:@out@/bin" 81 146 82 - symbolBloatObject=$outputNameLibless-symbol-hack.o 83 - if [[ ! -e $symbolBloatObject ]]; then 84 - # `-Q` means use GNU Assembler rather than Clang, avoiding an awkward 85 - # dependency cycle. 86 - printf '.private_extern _______child_hack_foo\nchild_hack_foo:\n' \ 87 - | @targetPrefix@as -Q -- -o $symbolBloatObject 147 + if (( "$leafCount" <= "$recurThreshold" )); then 148 + if [ -n "${NIX_DEBUG:-}" ]; then 149 + echo "ld-wrapper: Only ${leafCount} *dynamic* inputs counted while ${recurThreshold} is the ceiling, linking normally. " >&2 150 + fi 151 + PATH="$path_backup" 152 + exec @prog@ "${origArgs[@]}" 153 + fi 154 + 155 + 156 + 157 + if [ -n "${NIX_DEBUG:-}" ]; then 158 + echo "ld-wrapper: ${leafCount} *dynamic* inputs counted when ${recurThreshold} is the ceiling, delegating to children. " >&2 159 + fi 160 + 161 + declare -r outputNameLibless=$( \ 162 + if [[ -z "${outputName:+isUndefined}" ]]; then 163 + echo unnamed 164 + return 0; 165 + fi 166 + baseName=$(basename ${outputName}) 167 + if [[ "$baseName" = lib* ]]; then 168 + baseName="${baseName:3}" 88 169 fi 170 + echo "$baseName") 89 171 90 - # first half of libs 91 - @targetPrefix@ld -macosx_version_min $MACOSX_DEPLOYMENT_TARGET -arch x86_64 -dylib \ 92 - -o "$out/lib/lib${children[0]}.dylib" \ 93 - -install_name "$out/lib/lib${children[0]}.dylib" \ 94 - "${childrenLookup[@]}" "$symbolBloatObject" \ 95 - "${childrenLink[@]:0:$((${#childrenLink[@]} / 2 ))}" 172 + declare -ra children=( 173 + "$outputNameLibless-reexport-delegate-0" 174 + "$outputNameLibless-reexport-delegate-1" 175 + ) 176 + 177 + mkdir -p "$out/lib" 178 + 179 + symbolBloatObject=$outputNameLibless-symbol-hack.o 180 + if [[ ! -f $symbolBloatObject ]]; then 181 + # `-Q` means use GNU Assembler rather than Clang, avoiding an awkward 182 + # dependency cycle. 183 + printf '.private_extern _______child_hack_foo\nchild_hack_foo:\n' | 184 + PATH="$PATH:@out@/bin" @targetPrefix@as -Q -- -o $symbolBloatObject 185 + fi 186 + 187 + # Split inputs between children 188 + declare -a child0Inputs=() child1Inputs=("${childrenInputs[@]}") 189 + let "countFirstChild = $leafCount / 2" || true 190 + lastLeaf='' 191 + while (( "$countFirstChild" )); do 192 + case "${child1Inputs[0]}" in 193 + -reexport_library | -weak_library) 194 + child0Inputs+=("${child1Inputs[0]}" "${child1Inputs[1]}") 195 + if [[ "${child1Inputs[1]}" != "$lastLeaf" ]]; then 196 + let countFirstChild-=1 || true 197 + lastLeaf="${child1Inputs[1]}" 198 + fi 199 + child1Inputs=("${child1Inputs[@]:2}") 200 + ;; 201 + *.so | *.dylib) 202 + child0Inputs+=(-reexport_library "${child1Inputs[0]}") 203 + if [[ "${child1Inputs[0]}" != "$lastLeaf" ]]; then 204 + let countFirstChild-=1 || true 205 + lastLeaf="${child1Inputs[1]}" 206 + fi 207 + child1Inputs=("${child1Inputs[@]:2}") 208 + ;; 209 + *) 210 + echo "ld-wrapper: Internal Error: Invalid delegated input" >&2 211 + exit -1 212 + ;; 213 + esac 214 + done 215 + 216 + 217 + # First half of libs 218 + @out@/bin/@targetPrefix@ld \ 219 + -macosx_version_min $MACOSX_DEPLOYMENT_TARGET -arch x86_64 -dylib \ 220 + -o "$out/lib/lib${children[0]}.dylib" \ 221 + -install_name "$out/lib/lib${children[0]}.dylib" \ 222 + "$symbolBloatObject" "${child0Inputs[@]}" "${trailingInputs[@]}" 96 223 97 - # second half of libs 98 - @targetPrefix@ld -macosx_version_min $MACOSX_DEPLOYMENT_TARGET -arch x86_64 -dylib \ 99 - -o "$out/lib/lib${children[1]}.dylib" \ 100 - -install_name "$out/lib/lib${children[1]}.dylib" \ 101 - "${childrenLookup[@]}" "$symbolBloatObject" \ 102 - "${childrenLink[@]:$((${#childrenLink[@]} / 2 ))}" 224 + # Second half of libs 225 + @out@/bin/@targetPrefix@ld \ 226 + -macosx_version_min $MACOSX_DEPLOYMENT_TARGET -arch x86_64 -dylib \ 227 + -o "$out/lib/lib${children[1]}.dylib" \ 228 + -install_name "$out/lib/lib${children[1]}.dylib" \ 229 + "$symbolBloatObject" "${child1Inputs[@]}" "${trailingInputs[@]}" 103 230 104 - allArgs+=("-L$out/lib" "-l${children[0]}" "-l${children[1]}") 231 + parentArgs+=("-L$out/lib" -rpath "$out/lib") 232 + if [[ $outputName != *reexport-delegate* ]]; then 233 + parentArgs+=("-l${children[0]}" "-l${children[1]}") 234 + else 235 + parentArgs+=("-reexport-l${children[0]}" "-reexport-l${children[1]}") 236 + fi 237 + 238 + parentArgs+=("${trailingInputs[@]}") 239 + 240 + if [ -n "${NIX_DEBUG:-}" ]; then 241 + echo "flags using delegated children to @prog@:" >&2 242 + printf " %q\n" "${parentArgs[@]}" >&2 105 243 fi 106 244 107 245 PATH="$path_backup" 108 - exec @prog@ "${allArgs[@]}" 246 + exec @prog@ "${parentArgs[@]}"
+5 -3
pkgs/build-support/build-setupcfg/default.nix
··· 5 5 # * meta: Standard nixpkgs metadata. 6 6 # * application: Whether this package is a python library or an 7 7 # application which happens to be written in python. 8 - pythonPackages: { src, info, meta ? {}, application ? false }: let 8 + # * doCheck: Whether to run the test suites. 9 + pythonPackages: 10 + { src, info, meta ? {}, application ? false, doCheck ? true }: let 9 11 build = if application 10 12 then pythonPackages.buildPythonApplication 11 13 else pythonPackages.buildPythonPackage; 12 14 in build { 13 15 inherit (info) pname version; 14 16 15 - inherit src meta; 17 + inherit src meta doCheck; 16 18 17 19 nativeBuildInputs = map (p: pythonPackages.${p}) ( 18 20 (info.setup_requires or []) ++ 19 - (info.tests_require or [])); 21 + (if doCheck then (info.tests_require or []) else [])); 20 22 21 23 propagatedBuildInputs = map (p: pythonPackages.${p}) 22 24 (info.install_requires or []);
+14
pkgs/build-support/kernel/modules-closure.sh
··· 1 1 source $stdenv/setup 2 2 3 + # When no modules are built, the $out/lib/modules directory will not 4 + # exist. Because the rest of the script assumes it does exist, we 5 + # handle this special case first. 6 + if ! test -d "$kernel/lib/modules"; then 7 + if test -z "$rootModules" || test -n "$allowMissing"; then 8 + mkdir -p "$out" 9 + exit 0 10 + else 11 + echo "Required modules: $rootModules" 12 + echo "Can not derive a closure of kernel modules because no modules were provided." 13 + exit 1 14 + fi 15 + fi 16 + 3 17 version=$(cd $kernel/lib/modules && ls -d *) 4 18 5 19 echo "kernel version is $version"
+1
pkgs/build-support/trivial-builders.nix
··· 170 170 *** 171 171 172 172 _EOF_ 173 + exit 1 173 174 ''; 174 175 }; 175 176
+2 -2
pkgs/data/icons/papirus-icon-theme/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "papirus-icon-theme-${version}"; 5 - version = "20180214"; 5 + version = "20180401"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "PapirusDevelopmentTeam"; 9 9 repo = "papirus-icon-theme"; 10 10 rev = version; 11 - sha256 = "0lsp5cmq5wdqw6vyh6hqqrshgpzxfj8dx87l7qdlgrk73dajjmki"; 11 + sha256 = "1cbzv3igc6j05h0mq2850fwfd8sxxwixzgmhh85mc1k326rvncil"; 12 12 }; 13 13 14 14 nativeBuildInputs = [ gtk3 ];
+15 -4
pkgs/desktops/gnome-2/platform/gtkglext/default.nix
··· 1 - { stdenv, fetchurl, pkgconfig, glib, gtk, libGLU_combined, pango, pangox_compat, xorg }: 1 + { stdenv, fetchurl, fetchpatch, pkgconfig, glib, gtk, libGLU_combined, pango, pangox_compat, xorg }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "gtkglext-1.2.0"; ··· 12 12 [ pkgconfig glib gtk libGLU_combined pango libX11 libXmu ]; 13 13 propagatedBuildInputs = [ pangox_compat ]; 14 14 15 - # The library uses `GTK_WIDGET_REALIZED', `GTK_WIDGET_TOPLEVEL', and 16 - # `GTK_WIDGET_NO_WINDOW', all of which appear to be deprecated nowadays. 17 - CPPFLAGS = "-UGTK_DISABLE_DEPRECATED"; 15 + patches = [ 16 + # The library uses `GTK_WIDGET_REALIZED', `GTK_WIDGET_TOPLEVEL', and 17 + # `GTK_WIDGET_NO_WINDOW', all of which appear to be deprecated nowadays. 18 + (fetchpatch { 19 + name = "02_fix_gtk-2.20_deprecated_symbols.diff"; 20 + url = https://git.gnome.org/browse/gtkglext/patch/?id=d8f285d1397f6c41099c67e668288eecc1cdae67; 21 + sha256 = "1zxak73plhy3m6psil1q9ssvjh9aqrif7kcbcz69y480qfb4ja08"; 22 + }) 23 + # Fix build with glibc ≥ 2.27 24 + (fetchurl { 25 + url = https://salsa.debian.org/gewo/gtkglext/raw/3b002677c907890c7de002c9f5b4b3ec71d11b31/debian/patches/04_glibc2.27-ftbfs.diff; 26 + sha256 = "1l1swkjkai6pnah23xfsfpbq2fgbhp5pzj3l0ybsx6b858cxqzj5"; 27 + }) 28 + ]; 18 29 19 30 meta = with stdenv.lib; { 20 31 homepage = https://projects.gnome.org/gtkglext/;
+2 -2
pkgs/desktops/gnome-3/apps/bijiben/default.nix
··· 5 5 , gnome3, libxml2 }: 6 6 7 7 let 8 - version = "3.28.0"; 8 + version = "3.28.1"; 9 9 in stdenv.mkDerivation rec { 10 10 name = "bijiben-${version}"; 11 11 12 12 src = fetchurl { 13 13 url = "mirror://gnome/sources/bijiben/${gnome3.versionBranch version}/${name}.tar.xz"; 14 - sha256 = "047w8kigrdmphd17dma2lldf6r60sgx3zybai9bz9yr0hm601kr6"; 14 + sha256 = "0ivx3hbpg7qaqzpbbn06lz9w3q285vhwgfr353b14bg0nsidwy17"; 15 15 }; 16 16 17 17 doCheck = true;
+2 -2
pkgs/desktops/gnome-3/apps/evolution/default.nix
··· 5 5 , libcanberra-gtk3, bogofilter, gst_all_1, procps, p11-kit, openldap }: 6 6 7 7 let 8 - version = "3.28.0"; 8 + version = "3.28.1"; 9 9 in stdenv.mkDerivation rec { 10 10 name = "evolution-${version}"; 11 11 12 12 src = fetchurl { 13 13 url = "mirror://gnome/sources/evolution/${gnome3.versionBranch version}/${name}.tar.xz"; 14 - sha256 = "0b6yw664jdfc8ppd78akmrl36iximh7ipknf5mlzgga6lr6pl2nf"; 14 + sha256 = "0sdv5lg2vlz5f4raymz9d8a5jq4j18vbqyigaip6508p3bjnfj8l"; 15 15 }; 16 16 17 17 propagatedUserEnvPkgs = [ gnome3.evolution-data-server ];
+2 -2
pkgs/desktops/gnome-3/apps/gedit/default.nix
··· 5 5 6 6 stdenv.mkDerivation rec { 7 7 name = "gedit-${version}"; 8 - version = "3.28.0"; 8 + version = "3.28.1"; 9 9 10 10 src = fetchurl { 11 11 url = "mirror://gnome/sources/gedit/${gnome3.versionBranch version}/${name}.tar.xz"; 12 - sha256 = "0pyam0zi44xq776x20ycqnvmf86l98jns8ldv4m81gnp9wnhmycv"; 12 + sha256 = "0791r07d3ixmmfk68lvhp3d5i4vnlrnx10csxwgpfqyfb04vwx7i"; 13 13 }; 14 14 15 15 nativeBuildInputs = [ pkgconfig wrapGAppsHook intltool itstool libxml2 ];
+2 -2
pkgs/desktops/gnome-3/apps/glade/default.nix
··· 5 5 6 6 stdenv.mkDerivation rec { 7 7 name = "glade-${version}"; 8 - version = "3.22.0"; 8 + version = "3.22.1"; 9 9 10 10 src = fetchurl { 11 11 url = "mirror://gnome/sources/glade/${gnome3.versionBranch version}/${name}.tar.xz"; 12 - sha256 = "1j7kpy4jisz4nkd3yb5af4vd4bapyqchvp2gvq6ypfw3b0x88rkc"; 12 + sha256 = "16p38xavpid51qfy0s26n0n21f9ws1w9k5s65bzh1w7ay8p9my6z"; 13 13 }; 14 14 15 15 passthru = {
+2 -2
pkgs/desktops/gnome-3/apps/gnome-boxes/default.nix
··· 9 9 # TODO: ovirt (optional) 10 10 11 11 let 12 - version = "3.27.92"; 12 + version = "3.28.2"; 13 13 in stdenv.mkDerivation rec { 14 14 name = "gnome-boxes-${version}"; 15 15 16 16 src = fetchurl { 17 17 url = "mirror://gnome/sources/gnome-boxes/${gnome3.versionBranch version}/${name}.tar.xz"; 18 - sha256 = "1v1br4zh2w3w70np5imi31md6lnqamabiin521f806rdrxsnyggq"; 18 + sha256 = "0xss6wrs4hkmr0aa9qxr9b6wxbygrkjz4p0c4xnymicq97jnwra1"; 19 19 }; 20 20 21 21 doCheck = true;
+2 -2
pkgs/desktops/gnome-3/apps/gnome-calendar/default.nix
··· 4 4 5 5 let 6 6 pname = "gnome-calendar"; 7 - version = "3.28.0"; 7 + version = "3.28.1"; 8 8 in stdenv.mkDerivation rec { 9 9 name = "${pname}-${version}"; 10 10 11 11 src = fetchurl { 12 12 url = "mirror://gnome/sources/${pname}/${gnome3.versionBranch version}/${name}.tar.xz"; 13 - sha256 = "1y5d6rgw7j5hy147i3ff73q9kkwj3nbyms7j705nfhri3s1ypqgs"; 13 + sha256 = "1jacznnjql5jgzvzcp5kh2k0cd0y41cri6qz2bsakpllf7adbrq6"; 14 14 }; 15 15 16 16 passthru = {
+2 -2
pkgs/desktops/gnome-3/apps/gnome-getting-started-docs/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "gnome-getting-started-docs-${version}"; 5 - version = "3.28.0"; 5 + version = "3.28.1"; 6 6 7 7 src = fetchurl { 8 8 url = "mirror://gnome/sources/gnome-getting-started-docs/${gnome3.versionBranch version}/${name}.tar.xz"; 9 - sha256 = "09khgzrbvcqvgjkqh8rp609bx818v5c8gzq61nxy5582s8habg8g"; 9 + sha256 = "0x60aava6ba4xliy4p4i6jm5d2nq8hx9aqgnaw4d34fvmcpcy5w0"; 10 10 }; 11 11 12 12 passthru = {
+2 -2
pkgs/desktops/gnome-3/apps/gnome-maps/default.nix
··· 5 5 6 6 let 7 7 pname = "gnome-maps"; 8 - version = "3.28.0"; 8 + version = "3.28.1"; 9 9 in stdenv.mkDerivation rec { 10 10 name = "${pname}-${version}"; 11 11 12 12 src = fetchurl { 13 13 url = "mirror://gnome/sources/${pname}/${gnome3.versionBranch version}/${name}.tar.xz"; 14 - sha256 = "1imcgw67cw1qkfz8m2my0f4qmss11fbqqqi4w7afcfq9p0rplgy0"; 14 + sha256 = "19xx1v25ycr8ih4jwb1vc662jcx6kynaf7baj4i569ccrcwaj2d5"; 15 15 }; 16 16 17 17 doCheck = true;
+2 -2
pkgs/desktops/gnome-3/apps/gnome-music/default.nix
··· 6 6 7 7 python3.pkgs.buildPythonApplication rec { 8 8 pname = "gnome-music"; 9 - version = "3.28.0.1"; 9 + version = "3.28.1"; 10 10 11 11 format = "other"; 12 12 13 13 src = fetchurl { 14 14 url = "mirror://gnome/sources/${pname}/${gnome3.versionBranch version}/${pname}-${version}.tar.xz"; 15 - sha256 = "0yyysmxwmk167n8wghcbmxz73kgl1y1j9js3mgkjjqsmkd9brk65"; 15 + sha256 = "0xbwndfl72292dx4x99vm0iyrcy8xw2i5fhsch7b073rk4ydbyfx"; 16 16 }; 17 17 18 18 nativeBuildInputs = [ meson ninja gettext itstool pkgconfig libxml2 wrapGAppsHook desktop-file-utils appstream-glib gobjectIntrospection ];
+2 -2
pkgs/desktops/gnome-3/core/eog/default.nix
··· 4 4 5 5 let 6 6 pname = "eog"; 7 - version = "3.28.0"; 7 + version = "3.28.1"; 8 8 in stdenv.mkDerivation rec { 9 9 name = "${pname}-${version}"; 10 10 11 11 src = fetchurl { 12 12 url = "mirror://gnome/sources/${pname}/${gnome3.versionBranch version}/${name}.tar.xz"; 13 - sha256 = "0d8fi5ydsh8n7d85dps8svl1bhid1p8jbnlwiqywj2gd2wpxpyjv"; 13 + sha256 = "1v3s4x4xdmfa488drwvxfps33jiyh3qz9z8v8s3779n1jn92rmbq"; 14 14 }; 15 15 16 16 nativeBuildInputs = [ meson ninja pkgconfig gettext itstool wrapGAppsHook libxml2 gobjectIntrospection ];
+2 -2
pkgs/desktops/gnome-3/core/epiphany/default.nix
··· 6 6 7 7 stdenv.mkDerivation rec { 8 8 name = "epiphany-${version}"; 9 - version = "3.28.0.1"; 9 + version = "3.28.1"; 10 10 11 11 src = fetchurl { 12 12 url = "mirror://gnome/sources/epiphany/${gnome3.versionBranch version}/${name}.tar.xz"; 13 - sha256 = "023q6xnwsafac38lavxwgph5lcd2igxpiwqb4kr72mv56xlb0m3i"; 13 + sha256 = "0zvxrwlswxadq4zbr4f73ms141d08j0lhi6rzmj83j1s3gan88md"; 14 14 }; 15 15 16 16 # Tests need an X display
+2 -2
pkgs/desktops/gnome-3/core/evince/default.nix
··· 9 9 10 10 stdenv.mkDerivation rec { 11 11 name = "evince-${version}"; 12 - version = "3.28.0"; 12 + version = "3.28.2"; 13 13 14 14 src = fetchurl { 15 15 url = "mirror://gnome/sources/evince/${gnome3.versionBranch version}/${name}.tar.xz"; 16 - sha256 = "1a3kcls18dcz1lj8hrx8skcli9xxfyi71c17xjwayh71cm5jc8zs"; 16 + sha256 = "1qbk1x2c7iacmmfwjzh136v2sdacrkqn9d6bnqid7xn9hlnx4m89"; 17 17 }; 18 18 19 19 passthru = {
+2 -2
pkgs/desktops/gnome-3/core/evolution-data-server/default.nix
··· 5 5 6 6 stdenv.mkDerivation rec { 7 7 name = "evolution-data-server-${version}"; 8 - version = "3.28.0"; 8 + version = "3.28.1"; 9 9 10 10 outputs = [ "out" "dev" ]; 11 11 12 12 src = fetchurl { 13 13 url = "mirror://gnome/sources/evolution-data-server/${gnome3.versionBranch version}/${name}.tar.xz"; 14 - sha256 = "1ybyyy6nls11az8lbri1y9527snz5h7qbhyfqvk0vc6vzvald5gv"; 14 + sha256 = "12b9lfgwd57rzn9394xrbvl9ym5aqldpz9v7c9a421dsv8dgq13b"; 15 15 }; 16 16 17 17 nativeBuildInputs = [
+2 -2
pkgs/desktops/gnome-3/core/gdm/default.nix
··· 5 5 6 6 stdenv.mkDerivation rec { 7 7 name = "gdm-${version}"; 8 - version = "3.28.0"; 8 + version = "3.28.1"; 9 9 10 10 src = fetchurl { 11 11 url = "mirror://gnome/sources/gdm/${gnome3.versionBranch version}/${name}.tar.xz"; 12 - sha256 = "0i5rzr6fdvlm88gl85gvql1wf1yflkmg90x81dqjf39as3ixs81s"; 12 + sha256 = "1yxjjyrp0ywrc25cp81bsdhp79zn0c0jag48hlp00b5wfnkqy1kp"; 13 13 }; 14 14 15 15 passthru = {
+2 -2
pkgs/desktops/gnome-3/core/gjs/default.nix
··· 4 4 5 5 stdenv.mkDerivation rec { 6 6 name = "gjs-${version}"; 7 - version = "1.52.0"; 7 + version = "1.52.1"; 8 8 9 9 src = fetchurl { 10 10 url = "mirror://gnome/sources/gjs/${gnome3.versionBranch version}/${name}.tar.xz"; 11 - sha256 = "1jm40imin4sxzfcxcbmf4v71apk8y9icccq1a4m4mlz1wm2s092m"; 11 + sha256 = "1s1m8xv3ixgl0hah3r364ws249d6w8yn56q2ahfn3dg2j54rmz58"; 12 12 }; 13 13 14 14 passthru = {
+2 -2
pkgs/desktops/gnome-3/core/gnome-calculator/default.nix
··· 4 4 5 5 stdenv.mkDerivation rec { 6 6 name = "gnome-calculator-${version}"; 7 - version = "3.28.0"; 7 + version = "3.28.1"; 8 8 9 9 src = fetchurl { 10 10 url = "mirror://gnome/sources/gnome-calculator/${gnome3.versionBranch version}/${name}.tar.xz"; 11 - sha256 = "1qnfvmf615v52c8h1f6zxbvpywi3512hnzyf9azvxb8a6q0rx1vn"; 11 + sha256 = "05zpdp9mkfjz22hs7hfjikkxhzmvy02mxrldrjxsv8ff17w9xvic"; 12 12 }; 13 13 14 14 nativeBuildInputs = [
+2 -2
pkgs/desktops/gnome-3/core/gnome-contacts/default.nix
··· 5 5 , vala, meson, ninja }: 6 6 7 7 let 8 - version = "3.28.0"; 8 + version = "3.28.1"; 9 9 in stdenv.mkDerivation rec { 10 10 name = "gnome-contacts-${version}"; 11 11 12 12 src = fetchurl { 13 13 url = "mirror://gnome/sources/gnome-contacts/${gnome3.versionBranch version}/${name}.tar.xz"; 14 - sha256 = "1qqj6k5rvmvg6v6vg4cak98w6rqknpqfsm0vfrwva6l6wbql2v8i"; 14 + sha256 = "17iinxqf221kk9yppv3yhg0m7jxk5zvwxmdf3hjygf9xgfw7z3zi"; 15 15 }; 16 16 17 17 propagatedUserEnvPkgs = [ evolution-data-server ];
+2 -2
pkgs/desktops/gnome-3/core/gnome-control-center/default.nix
··· 9 9 10 10 let 11 11 pname = "gnome-control-center"; 12 - version = "3.28.0"; 12 + version = "3.28.1"; 13 13 in stdenv.mkDerivation rec { 14 14 name = "${pname}-${version}"; 15 15 16 16 src = fetchurl { 17 17 url = "mirror://gnome/sources/${pname}/${gnome3.versionBranch version}/${name}.tar.xz"; 18 - sha256 = "0nyx5nl2rky0249rdcy0hsccnxf3angpya0q859rrbrwaixqnxh3"; 18 + sha256 = "0f2p91bzbl39q3cb1qj5vi55km7wxb2fibx07vciz39g5va5cpn6"; 19 19 }; 20 20 21 21 nativeBuildInputs = [
+2 -2
pkgs/desktops/gnome-3/core/gnome-desktop/default.nix
··· 4 4 5 5 stdenv.mkDerivation rec { 6 6 name = "gnome-desktop-${version}"; 7 - version = "3.28.0"; 7 + version = "3.28.1"; 8 8 9 9 src = fetchurl { 10 10 url = "mirror://gnome/sources/gnome-desktop/${gnome3.versionBranch version}/${name}.tar.xz"; 11 - sha256 = "17fm5z3kfm1m3420kjpvk1y0pc34p42rqfpmb1npy51jkv1p3pzi"; 11 + sha256 = "16nbgrp0hihvrsa6kmqk0z8y7ajravyagmkmq1nnwn27psi9g8vq"; 12 12 }; 13 13 14 14 passthru = {
+2 -2
pkgs/desktops/gnome-3/core/gnome-disk-utility/default.nix
··· 5 5 6 6 stdenv.mkDerivation rec { 7 7 name = "gnome-disk-utility-${version}"; 8 - version = "3.28.0"; 8 + version = "3.28.1"; 9 9 10 10 src = fetchurl { 11 11 url = "mirror://gnome/sources/gnome-disk-utility/${gnome3.versionBranch version}/${name}.tar.xz"; 12 - sha256 = "0ad98mxyygyzq0y280m6z73anyv3xxr6irpkp6vc803lhdr5b7fc"; 12 + sha256 = "09dmknfas8iifv6k5jb4a9ag57s8awrn0f26fd1qlg0mbfjlnfd6"; 13 13 }; 14 14 15 15 passthru = {
+2 -2
pkgs/desktops/gnome-3/core/gnome-session/default.nix
··· 4 4 5 5 stdenv.mkDerivation rec { 6 6 name = "gnome-session-${version}"; 7 - version = "3.28.0"; 7 + version = "3.28.1"; 8 8 9 9 src = fetchurl { 10 10 url = "mirror://gnome/sources/gnome-session/${gnome3.versionBranch version}/${name}.tar.xz"; 11 - sha256 = "1ldcalj9i7qharvw8k8gf7pkcvwb1qwiag2ckffx9x8ic2d3v00b"; 11 + sha256 = "14nmbirgrp2nm16khbz109saqdlinlbrlhjnbjydpnrlimfgg4xq"; 12 12 }; 13 13 14 14 mesonFlags = [ "-Dsystemd=true" ];
+2 -2
pkgs/desktops/gnome-3/core/gnome-settings-daemon/default.nix
··· 5 5 6 6 stdenv.mkDerivation rec { 7 7 name = "gnome-settings-daemon-${version}"; 8 - version = "3.28.0"; 8 + version = "3.28.1"; 9 9 10 10 src = fetchurl { 11 11 url = "mirror://gnome/sources/gnome-settings-daemon/${gnome3.versionBranch version}/${name}.tar.xz"; 12 - sha256 = "1p3ccf4a4qbz73hqyx9i55hkp6l7c7la5kazqawcndl7bksywgny"; 12 + sha256 = "0z9dip9p0iav646cmxisii5sbkdr9hmaklc5fzvschpbjkhphksr"; 13 13 }; 14 14 15 15 patches = [
+2 -2
pkgs/desktops/gnome-3/core/gnome-software/default.nix
··· 4 4 5 5 stdenv.mkDerivation rec { 6 6 name = "gnome-software-${version}"; 7 - version = "3.28.0"; 7 + version = "3.28.1"; 8 8 9 9 src = fetchurl { 10 10 url = "mirror://gnome/sources/gnome-software/${gnome3.versionBranch version}/${name}.tar.xz"; 11 - sha256 = "0zwbgxzl805c4l8kwy5bn3p91s2qxlcn4syzzg4vd4kilc6nnjwk"; 11 + sha256 = "0j27zygb3g08q9i8ygwpxqf6g0lrivq2vhj7p7g9x0zh9r0vzlbs"; 12 12 }; 13 13 14 14 patches = [
+2 -2
pkgs/desktops/gnome-3/core/gnome-system-monitor/default.nix
··· 4 4 5 5 stdenv.mkDerivation rec { 6 6 name = "gnome-system-monitor-${version}"; 7 - version = "3.28.0"; 7 + version = "3.28.1"; 8 8 9 9 src = fetchurl { 10 10 url = "mirror://gnome/sources/gnome-system-monitor/${gnome3.versionBranch version}/${name}.tar.xz"; 11 - sha256 = "1wvgx5p0a29d8yzp7rinpln90pg8vsjagqlvm4cxyhnl5hsdvrvn"; 11 + sha256 = "0wdpd5mfrm0gwmwjvcj556c3mpxf3pcfnvh7x698i8if53ci0gw7"; 12 12 }; 13 13 14 14 doCheck = true;
+2 -2
pkgs/desktops/gnome-3/core/gnome-terminal/default.nix
··· 4 4 5 5 stdenv.mkDerivation rec { 6 6 name = "gnome-terminal-${version}"; 7 - version = "3.28.0"; 7 + version = "3.28.1"; 8 8 9 9 src = fetchurl { 10 10 url = "mirror://gnome/sources/gnome-terminal/${gnome3.versionBranch version}/${name}.tar.xz"; 11 - sha256 = "1i5wlcjb0aigm1lbmn16nmh9rkjqfdpzzgf6qw7mcrhgw7pdald5"; 11 + sha256 = "1hqwh12hiy73mazqgvyrq8jk4c669x2fb4nh8mwby3qbk8ca19pp"; 12 12 }; 13 13 14 14 passthru = {
+2 -2
pkgs/desktops/gnome-3/core/gnome-user-docs/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "gnome-user-docs-${version}"; 5 - version = "3.28.0"; 5 + version = "3.28.1"; 6 6 7 7 src = fetchurl { 8 8 url = "mirror://gnome/sources/gnome-user-docs/${gnome3.versionBranch version}/${name}.tar.xz"; 9 - sha256 = "0sx46j61kjn8kaf75303vym5sigki239pqzf5q4n72k1hwp7albp"; 9 + sha256 = "189j78d23c6jr5x5j9nxkbdqxg31xvmwvyblz7f9xi9ncy0qdvfh"; 10 10 }; 11 11 12 12 passthru = {
+2 -2
pkgs/desktops/gnome-3/core/gnome-user-share/default.nix
··· 5 5 6 6 stdenv.mkDerivation rec { 7 7 name = "gnome-user-share-${version}"; 8 - version = "3.27.90"; 8 + version = "3.28.0"; 9 9 10 10 src = fetchurl { 11 11 url = "mirror://gnome/sources/gnome-user-share/${gnome3.versionBranch version}/${name}.tar.xz"; 12 - sha256 = "1wd183cjr1gmzpsq7bqwkwhmcdng0m105f6ymc89r17fz85f4jhy"; 12 + sha256 = "04wjnrcdlmyszj582nsda32sgi44nwgrw2ksy11xp17nb09d7m09"; 13 13 }; 14 14 15 15 passthru = {
+2 -2
pkgs/desktops/gnome-3/core/nautilus/default.nix
··· 4 4 5 5 let 6 6 pname = "nautilus"; 7 - version = "3.28.0.1"; 7 + version = "3.28.1"; 8 8 in stdenv.mkDerivation rec { 9 9 name = "${pname}-${version}"; 10 10 11 11 src = fetchurl { 12 12 url = "mirror://gnome/sources/${pname}/${gnome3.versionBranch version}/${name}.tar.xz"; 13 - sha256 = "1i3li3nd434vncd6j6has73xihbzjx1ab0xyw8wif11mym15ixrh"; 13 + sha256 = "19dhpa2ylrg8d5274lahy7xqr2p9z3jnq1h4qmsh95czkpy7is4w"; 14 14 }; 15 15 16 16 nativeBuildInputs = [ meson ninja pkgconfig libxml2 gettext wrapGAppsHook desktop-file-utils ];
+2 -2
pkgs/desktops/gnome-3/core/simple-scan/default.nix
··· 4 4 5 5 stdenv.mkDerivation rec { 6 6 name = "simple-scan-${version}"; 7 - version = "3.28.0"; 7 + version = "3.28.1"; 8 8 9 9 src = fetchurl { 10 10 url = "mirror://gnome/sources/simple-scan/${gnome3.versionBranch version}/${name}.tar.xz"; 11 - sha256 = "0ki95d0v9l0pb5jvk1v8k49vb7snp9j7bnxw3m8q63m00yl33qhz"; 11 + sha256 = "140vz94vml0vf6kiw3sg436qfvajk21x6q86smvycgf24qfyvk6a"; 12 12 }; 13 13 14 14 passthru = {
+2 -2
pkgs/desktops/gnome-3/core/vte/default.nix
··· 5 5 6 6 stdenv.mkDerivation rec { 7 7 name = "vte-${version}"; 8 - version = "0.52.0"; 8 + version = "0.52.1"; 9 9 10 10 src = fetchurl { 11 11 url = "mirror://gnome/sources/vte/${gnome3.versionBranch version}/${name}.tar.xz"; 12 - sha256 = "0rq5gkg7bfrxlsm8mgdh4605hki81wljmjhhz8x4kbspvpfp5bnm"; 12 + sha256 = "1lva70inb5y8p42rg95fb88z2ybwcz0lybla3ixbgp2sj0s4rzdh"; 13 13 }; 14 14 15 15 passthru = {
+2 -2
pkgs/desktops/gnome-3/core/yelp/default.nix
··· 5 5 6 6 stdenv.mkDerivation rec { 7 7 name = "yelp-${version}"; 8 - version = "3.28.0"; 8 + version = "3.28.1"; 9 9 10 10 src = fetchurl { 11 11 url = "mirror://gnome/sources/yelp/${gnome3.versionBranch version}/${name}.tar.xz"; 12 - sha256 = "05qzczxnxk374cp4an166gv60nkbd0jq3pp2fwy7s9rnkm55jz6v"; 12 + sha256 = "033w5qnhm495pnvscnb3k2dagzgq4fsnzcrh0k2rgr10mw2mv2p8"; 13 13 }; 14 14 15 15 nativeBuildInputs = [ pkgconfig intltool itstool wrapGAppsHook ];
+2 -2
pkgs/desktops/gnome-3/core/zenity/default.nix
··· 3 3 4 4 stdenv.mkDerivation rec { 5 5 name = "zenity-${version}"; 6 - version = "3.28.0"; 6 + version = "3.28.1"; 7 7 8 8 src = fetchurl { 9 9 url = "mirror://gnome/sources/zenity/${gnome3.versionBranch version}/${name}.tar.xz"; 10 - sha256 = "1y3dha9faqgy5l8wqh3qp354gzdh36fx70q2kc9k1nw7p498yn2y"; 10 + sha256 = "0swavrkc5ps3fwzy6h6l5mmim0wwy10xrq0qqkay5d0zf9a965yv"; 11 11 }; 12 12 13 13 passthru = {
+2 -2
pkgs/desktops/gnome-3/devtools/devhelp/default.nix
··· 4 4 5 5 stdenv.mkDerivation rec { 6 6 name = "devhelp-${version}"; 7 - version = "3.28.0"; 7 + version = "3.28.1"; 8 8 9 9 src = fetchurl { 10 10 url = "mirror://gnome/sources/devhelp/${gnome3.versionBranch version}/${name}.tar.xz"; 11 - sha256 = "1b4l71775p3mps1jsv7pz26v0lhd0qczsp6qr1dwv7hyslmpb5qn"; 11 + sha256 = "08a8xizjqz68k30zd37r7g516azhan9bbrjsvv10hjd5dg3f476s"; 12 12 }; 13 13 14 14 nativeBuildInputs = [ pkgconfig gettext itstool wrapGAppsHook appstream-glib gobjectIntrospection ];
+2 -2
pkgs/desktops/gnome-3/games/gnome-chess/default.nix
··· 3 3 4 4 stdenv.mkDerivation rec { 5 5 name = "gnome-chess-${version}"; 6 - version = "3.28.0"; 6 + version = "3.28.1"; 7 7 8 8 src = fetchurl { 9 9 url = "mirror://gnome/sources/gnome-chess/${gnome3.versionBranch version}/${name}.tar.xz"; 10 - sha256 = "1vxgb36njv4v3bgdpwxd89rvr6s6pkbh9d3xislxqry2yp4f03w0"; 10 + sha256 = "1q8gc0mq8k2b7pjy363g0yjd80czqknw6ssqzbvgqx5b8nkfvmv1"; 11 11 }; 12 12 13 13 nativeBuildInputs = [ meson ninja vala pkgconfig gettext itstool libxml2 wrapGAppsHook gobjectIntrospection ];
+2 -2
pkgs/desktops/gnome-3/misc/gnome-tweaks/default.nix
··· 5 5 6 6 let 7 7 pname = "gnome-tweaks"; 8 - version = "3.28.0"; 8 + version = "3.28.1"; 9 9 in stdenv.mkDerivation rec { 10 10 name = "${pname}-${version}"; 11 11 12 12 src = fetchurl { 13 13 url = "mirror://gnome/sources/${pname}/${gnome3.versionBranch version}/${name}.tar.xz"; 14 - sha256 = "0d8zxfa8r4n4l6jzyzy6q58padxjlrad3c71mwqidm2ww8nm6i19"; 14 + sha256 = "1p5xydr0haz4389h6dvvbna6i1mipdzvmlfksnv0jqfvfs9sy6fp"; 15 15 }; 16 16 17 17 nativeBuildInputs = [
-98
pkgs/development/compilers/arm-frc-linux-gnueabi-gcc/default.nix
··· 1 - {stdenv, fetchurl 2 - , arm-frc-linux-gnueabi-binutils, arm-frc-linux-gnueabi-eglibc, arm-frc-linux-gnueabi-linux-api-headers 3 - , elfutils 4 - , libmpc, gmp, mpfr, zlib, isl_0_15, cloog}: 5 - 6 - stdenv.mkDerivation rec { 7 - _target = "arm-frc-linux-gnueabi"; 8 - 9 - version = "4.9.4"; 10 - name = "${_target}-gcc-${version}"; 11 - 12 - src = fetchurl { 13 - url = "ftp://gcc.gnu.org/pub/gcc/releases/gcc-${version}/gcc-${version}.tar.bz2"; 14 - sha256 = "6c11d292cd01b294f9f84c9a59c230d80e9e4a47e5c6355f046bb36d4f358092"; 15 - }; 16 - 17 - patches = [ 18 - ./minorSOname.patch 19 - ./no-nested-deprecated-warnings.patch 20 - ]; 21 - 22 - hardeningDisable = [ "format" ]; 23 - 24 - buildInputs = [ 25 - arm-frc-linux-gnueabi-binutils 26 - arm-frc-linux-gnueabi-eglibc 27 - arm-frc-linux-gnueabi-linux-api-headers 28 - elfutils 29 - libmpc 30 - gmp 31 - mpfr 32 - zlib 33 - isl_0_15 34 - cloog 35 - ]; 36 - 37 - 38 - configurePhase = '' 39 - mkdir gcc-build 40 - cd gcc-build 41 - ../configure \ 42 - --prefix=$out \ 43 - --host=$CHOST \ 44 - --build=$CHOST \ 45 - --program-prefix=${_target}- \ 46 - --target=${_target} \ 47 - --enable-shared \ 48 - --disable-nls \ 49 - --enable-threads=posix \ 50 - --enable-languages=c,c++ \ 51 - --disable-multilib \ 52 - --disable-multiarch \ 53 - --with-sysroot=${arm-frc-linux-gnueabi-eglibc}/${_target} \ 54 - --with-build-sysroot=${arm-frc-linux-gnueabi-eglibc}/${_target} \ 55 - --with-as=${arm-frc-linux-gnueabi-binutils}/${_target}/bin/as \ 56 - --with-ld=${arm-frc-linux-gnueabi-binutils}/${_target}/bin/ld \ 57 - --with-cpu=cortex-a9 \ 58 - --with-float=softfp \ 59 - --with-fpu=vfp \ 60 - --with-specs='%{save-temps:-fverbose-asm} %{funwind-tables|fno-unwind-tables|mabi=*|ffreestanding|nostdlib:;:-funwind-tables}' \ 61 - --enable-lto \ 62 - --with-pkgversion='GCC-for-FRC' \ 63 - --with-cloog \ 64 - --enable-poison-system-directories \ 65 - --enable-plugin \ 66 - --with-system-zlib \ 67 - --disable-libmudflap \ 68 - --disable-libsanitizer 69 - ''; 70 - 71 - makeFlags = [ 72 - "all-gcc" 73 - "all-target-libgcc" 74 - "all-target-libstdc++-v3" 75 - ]; 76 - 77 - installPhase = '' 78 - make install-gcc install-target-libgcc install-target-libstdc++-v3 79 - ''; 80 - 81 - postInstall = '' 82 - rm -rf $out/share/{man/man7,info}/ "$out/share/gcc-${version}/python" 83 - ''; 84 - 85 - meta = with stdenv.lib; { 86 - description = "FRC cross compiler"; 87 - longDescription = '' 88 - arm-frc-linux-gnueabi-gcc is a cross compiler for building 89 - code for FIRST Robotics Competition. Used as a cross compiler 90 - for the NI RoboRio. 91 - ''; 92 - license = licenses.gpl2; 93 - maintainers = [ maintainers.colescott ]; 94 - platforms = platforms.linux; 95 - 96 - priority = 4; 97 - }; 98 - }
-49
pkgs/development/compilers/arm-frc-linux-gnueabi-gcc/minorSOname.patch
··· 1 - Description: Make the default SONAME include minor numbers (c++) 2 - This patch adds .0.20 to the end of the SONAME for libstdc++ to support 3 - independent side-by-side usage of .17 and .20. 4 - . 5 - gcc-armel (4.9.1-0frc2) trusty; urgency=low 6 - . 7 - * Fixing dependency ambiguity yet again... 8 - Author: Patrick Plenefisch <phplenefisch@wpi.edu> 9 - 10 - --- 11 - 12 - --- gcc-armel-4.9.1.orig/libstdc++-v3/configure 13 - +++ gcc-armel-4.9.1/libstdc++-v3/configure 14 - @@ -10698,7 +10698,7 @@ gnu*) 15 - need_lib_prefix=no 16 - need_version=no 17 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 18 - - soname_spec='${libname}${release}${shared_ext}$major' 19 - + soname_spec='${libname}${release}${shared_ext}$versuffix' 20 - shlibpath_var=LD_LIBRARY_PATH 21 - hardcode_into_libs=yes 22 - ;; 23 - @@ -10824,7 +10824,7 @@ linux* | k*bsd*-gnu | kopensolaris*-gnu) 24 - need_lib_prefix=no 25 - need_version=no 26 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 27 - - soname_spec='${libname}${release}${shared_ext}$major' 28 - + soname_spec='${libname}${release}${shared_ext}$versuffix' 29 - finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 30 - shlibpath_var=LD_LIBRARY_PATH 31 - shlibpath_overrides_runpath=no 32 - @@ -14382,7 +14382,7 @@ gnu*) 33 - need_lib_prefix=no 34 - need_version=no 35 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 36 - - soname_spec='${libname}${release}${shared_ext}$major' 37 - + soname_spec='${libname}${release}${shared_ext}$versuffix' 38 - shlibpath_var=LD_LIBRARY_PATH 39 - hardcode_into_libs=yes 40 - ;; 41 - @@ -14508,7 +14508,7 @@ linux* | k*bsd*-gnu | kopensolaris*-gnu) 42 - need_lib_prefix=no 43 - need_version=no 44 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 45 - - soname_spec='${libname}${release}${shared_ext}$major' 46 - + soname_spec='${libname}${release}${shared_ext}$versuffix' 47 - finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 48 - shlibpath_var=LD_LIBRARY_PATH 49 - shlibpath_overrides_runpath=no
-22
pkgs/development/compilers/arm-frc-linux-gnueabi-gcc/no-nested-deprecated-warnings.patch
··· 1 - Description: Get rid of recursive deprecated warnings. 2 - As is, gcc gives warnings when a function with the 3 - deprecated attribute calls another function with 4 - the deprecated attribute. 5 - See http://stackoverflow.com/questions/13459602/how-can-i-get-rid-of-deprecated-warnings-in-deprecated-functions-in-gcc 6 - 7 - Author: James Kuszmaul <jbkuszmaul@wpi.edu> 8 - 9 - -- 10 - 11 - --- gcc-armel-4.9.1.orig/gcc/tree.c 12 - +++ gcc-armel-4.9.1/gcc/tree.c 13 - @@ -12063,6 +12063,9 @@ warn_deprecated_use (tree node, tree attr) 14 - if (node == 0 || !warn_deprecated_decl) 15 - return; 16 - 17 - + if (current_function_decl && TREE_DEPRECATED(current_function_decl)) 18 - + return; 19 - + 20 - if (!attr) 21 - { 22 - if (DECL_P (node))
+13 -4
pkgs/development/compilers/coreclr/default.nix
··· 19 19 20 20 stdenv.mkDerivation rec { 21 21 name = "coreclr-${version}"; 22 - version = "2.0.0"; 22 + version = "2.0.7"; 23 23 24 24 src = fetchFromGitHub { 25 25 owner = "dotnet"; 26 26 repo = "coreclr"; 27 27 rev = "v${version}"; 28 - sha256 = "16z58ix8kmk8csfy5qsqz8z30czhrap2vb8s8vdflmbcfnq31jcw"; 28 + sha256 = "0pzkrfgqywhpijbx7j1v4lxa6270h6whymb64jdkp7yj56ipqh2n"; 29 29 }; 30 30 31 31 patches = [ ··· 33 33 # glibc 2.26 34 34 url = https://github.com/dotnet/coreclr/commit/a8f83b615708c529b112898e7d2fbc3f618b26ee.patch; 35 35 sha256 = "047ph5gip4z2h7liwdxsmpnlaq0sd3hliaw4nyqjp647m80g3ffq"; 36 + }) 37 + (fetchpatch { 38 + # clang 5 39 + url = https://github.com/dotnet/coreclr/commit/9b22e1a767dee38f351001c5601f56d78766a43e.patch; 40 + sha256 = "1w1lxw5ryvhq8m5m0kv880c4bh6y9xdgypkr76sqbh3v568yghzg"; 36 41 }) 37 42 ]; 38 43 39 - buildInputs = [ 44 + nativeBuildInputs = [ 40 45 which 41 46 cmake 42 47 clang 48 + ]; 49 + 50 + buildInputs = [ 43 51 llvmPackages.llvm 44 52 llvmPackages.lldb 45 53 libunwind ··· 68 76 69 77 buildPhase = '' 70 78 runHook preBuild 71 - ./build.sh $BuildArch $BuildType 79 + # disable -Werror which can potentially breaks with every compiler upgrade 80 + ./build.sh $BuildArch $BuildType cmakeargs "-DCLR_CMAKE_WARNINGS_ARE_ERRORS=OFF" 72 81 runHook postBuild 73 82 ''; 74 83
+6 -3
pkgs/development/compilers/rust/default.nix
··· 20 20 21 21 configureFlags = [ "--release-channel=stable" ]; 22 22 23 + # Upstream is not running tests on aarch64: 24 + # see https://github.com/rust-lang/rust/issues/49807#issuecomment-380860567 25 + # So we do the same. 26 + doCheck = !stdenv.isAarch64; 27 + 23 28 patches = [ 24 29 ./patches/0001-Disable-fragile-tests-libstd-net-tcp-on-Darwin-Linux.patch 25 - ] ++ stdenv.lib.optional stdenv.needsPax ./patches/grsec.patch 26 - # https://github.com/rust-lang/rust/issues/45410 27 - ++ stdenv.lib.optional stdenv.isAarch64 ./patches/aarch64-disable-test_loading_cosine.patch; 30 + ] ++ stdenv.lib.optional stdenv.needsPax ./patches/grsec.patch; 28 31 29 32 }; 30 33
-12
pkgs/development/compilers/rust/patches/aarch64-disable-test_loading_cosine.patch
··· 1 - diff --git a/src/librustc_metadata/dynamic_lib.rs b/src/librustc_metadata/dynamic_lib.rs 2 - index 1b42fa0..92256dc 100644 3 - --- a/src/librustc_metadata/dynamic_lib.rs 4 - +++ b/src/librustc_metadata/dynamic_lib.rs 5 - @@ -80,6 +80,7 @@ mod tests { 6 - use std::mem; 7 - 8 - #[test] 9 - + #[ignore] 10 - fn test_loading_cosine() { 11 - if cfg!(windows) { 12 - return
+8 -3
pkgs/development/compilers/rust/rustc.nix
··· 53 53 RUSTFLAGS = "-Ccodegen-units=10"; 54 54 55 55 # We need rust to build rust. If we don't provide it, configure will try to download it. 56 + # Reference: https://github.com/rust-lang/rust/blob/master/src/bootstrap/configure.py 56 57 configureFlags = configureFlags 57 58 ++ [ "--enable-local-rust" "--local-rust-root=${rustPlatform.rust.rustc}" "--enable-rpath" ] 58 59 ++ [ "--enable-vendor" ] ··· 61 62 ++ optional (!forceBundledLLVM) [ "--enable-llvm-link-shared" ] 62 63 ++ optional (targets != []) "--target=${target}" 63 64 ++ optional (!forceBundledLLVM) "--llvm-root=${llvmShared}"; 65 + 66 + # The boostrap.py will generated a Makefile that then executes the build. 67 + # The BOOTSTRAP_ARGS used by this Makefile must include all flags to pass 68 + # to the bootstrap builder. 69 + postConfigure = '' 70 + substituteInPlace Makefile --replace 'BOOTSTRAP_ARGS :=' 'BOOTSTRAP_ARGS := --jobs $(NIX_BUILD_CORES)' 71 + ''; 64 72 65 73 patches = patches ++ targetPatches; 66 74 ··· 100 108 101 109 # Useful debugging parameter 102 110 # export VERBOSE=1 103 - '' + optionalString stdenv.isAarch64 '' 104 - # https://github.com/rust-lang/rust/issues/49807 105 - rm -vr src/test/debuginfo/by-value-self-argument-in-trait-impl.rs 106 111 '' + optionalString stdenv.isDarwin '' 107 112 # Disable all lldb tests. 108 113 # error: Can't run LLDB test because LLDB's python path is not set
-3
pkgs/development/haskell-modules/configuration-common.nix
··· 882 882 # Needs QuickCheck <2.10, HUnit <1.6 and base <4.10 883 883 pointfree = doJailbreak super.pointfree; 884 884 885 - # Needs time<1.7 886 - taffybar = doJailbreak super.taffybar; 887 - 888 885 # Needs tasty-quickcheck ==0.8.*, which we don't have. 889 886 cryptohash-sha256 = doJailbreak super.cryptohash-sha256; 890 887 cryptohash-sha1 = doJailbreak super.cryptohash-sha1;
+1
pkgs/development/haskell-modules/configuration-nix.nix
··· 144 144 gtk = disableHardening (addPkgconfigDepend (addBuildTool super.gtk self.gtk2hs-buildtools) pkgs.gtk2) ["fortify"]; 145 145 gtksourceview2 = addPkgconfigDepend super.gtksourceview2 pkgs.gtk2; 146 146 gtk-traymanager = addPkgconfigDepend super.gtk-traymanager pkgs.gtk3; 147 + taffybar = (addPkgconfigDepend super.taffybar pkgs.gtk3).override { dbus = self.dbus_1_0_1; }; 147 148 148 149 # Need WebkitGTK, not just webkit. 149 150 webkit = super.webkit.override { webkit = pkgs.webkitgtk24x-gtk2; };
+2 -2
pkgs/development/interpreters/erlang/R20.nix
··· 1 1 { mkDerivation, fetchurl }: 2 2 3 3 mkDerivation rec { 4 - version = "20.3.1"; 5 - sha256 = "13qh3an98qm477zr1dvcklbhar001cikp177295llcqpchamgzx3"; 4 + version = "20.3.2"; 5 + sha256 = "0cd7rz32cxghxb2q7g3p52sxbhwqn4pkjlf28hy1dms6q7f85zv1"; 6 6 7 7 prePatch = '' 8 8 substituteInPlace configure.in --replace '`sw_vers -productVersion`' '10.10'
-65
pkgs/development/libraries/arm-frc-linux-gnueabi-eglibc/default.nix
··· 1 - {stdenv, fetchurl, arm-frc-linux-gnueabi-linux-api-headers}: 2 - 3 - let 4 - _target = "arm-frc-linux-gnueabi"; 5 - _basever = "2.21-r0.83"; 6 - srcs = [ 7 - (fetchurl { 8 - url = "http://download.ni.com/ni-linux-rt/feeds/2016/arm/ipk/cortexa9-vfpv3/libc6_${_basever}_cortexa9-vfpv3.ipk"; 9 - sha256 = "117058215440e258027bb9ff18db63c078d55288787dbedfcd5730c06c7a1ae9"; 10 - }) 11 - (fetchurl { 12 - url = "http://download.ni.com/ni-linux-rt/feeds/2016/arm/ipk/cortexa9-vfpv3/libc6-dev_${_basever}_cortexa9-vfpv3.ipk"; 13 - sha256 = "e28b05d498c1160949f51539270035e12c5bb9d75d68df1f5f111a8fc087f3a6"; 14 - }) 15 - (fetchurl { 16 - url = "http://download.ni.com/ni-linux-rt/feeds/2016/arm/ipk/cortexa9-vfpv3/libcidn1_${_basever}_cortexa9-vfpv3.ipk"; 17 - sha256 = "0f7372590abf69da54a9b7db8f944cf6c48d9ac8a091218ee60f84fdd9de2398"; 18 - }) 19 - (fetchurl { 20 - url = "http://download.ni.com/ni-linux-rt/feeds/2016/arm/ipk/cortexa9-vfpv3/libc6-thread-db_${_basever}_cortexa9-vfpv3.ipk"; 21 - sha256 = "5a839498507a0b63165cb7a78234d7eb2ee2bb6a046bff586090f2e70e0e2bfb"; 22 - }) 23 - (fetchurl { 24 - url = "http://download.ni.com/ni-linux-rt/feeds/2016/arm/ipk/cortexa9-vfpv3/libc6-extra-nss_${_basever}_cortexa9-vfpv3.ipk"; 25 - sha256 = "d765d43c8ec95a4c64fa38eddf8cee848fd090d9cc5b9fcda6d2c9b03d2635c5"; 26 - }) 27 - ]; 28 - in 29 - stdenv.mkDerivation rec { 30 - version = "2.21"; 31 - name = "${_target}-eglibc-${version}"; 32 - 33 - sourceRoot = "."; 34 - inherit srcs; 35 - 36 - phases = [ "unpackPhase" "installPhase" ]; 37 - 38 - unpackCmd = '' 39 - ar x $curSrc 40 - tar xf data.tar.gz 41 - ''; 42 - 43 - installPhase = '' 44 - mkdir -p $out/${_target} 45 - rm -rf lib/eglibc 46 - find . \( -name .install -o -name ..install.cmd \) -delete 47 - cp -r lib $out/${_target} 48 - cp -r usr $out/${_target} 49 - 50 - cp -r ${arm-frc-linux-gnueabi-linux-api-headers}/* $out 51 - ''; 52 - 53 - meta = { 54 - description = "FRC standard C lib"; 55 - longDescription = '' 56 - eglibc library for the NI RoboRio to be used in compiling frc user 57 - programs. 58 - ''; 59 - license = stdenv.lib.licenses.gpl2; 60 - maintainers = [ stdenv.lib.maintainers.colescott ]; 61 - platforms = stdenv.lib.platforms.linux; 62 - 63 - priority = 2; 64 - }; 65 - }
-43
pkgs/development/libraries/arm-frc-linux-gnueabi-linux-api-headers/default.nix
··· 1 - {stdenv, fetchurl}: 2 - 3 - let 4 - _target = "arm-frc-linux-gnueabi"; 5 - _basever = "3.19-r0.36"; 6 - src = fetchurl { 7 - url = "http://download.ni.com/ni-linux-rt/feeds/2016/arm/ipk/cortexa9-vfpv3/linux-libc-headers-dev_${_basever}_cortexa9-vfpv3.ipk"; 8 - sha256 = "10066ddb9a19bf764a9a67919a7976478041e98c44c19308f076c78ecb07408c"; 9 - }; 10 - in 11 - stdenv.mkDerivation rec { 12 - version = "3.19"; 13 - name = "${_target}-linux-api-headers-${version}"; 14 - 15 - sourceRoot = "."; 16 - inherit src; 17 - 18 - phases = [ "unpackPhase" "installPhase" ]; 19 - 20 - unpackCmd = '' 21 - ar x $curSrc 22 - tar xf data.tar.gz 23 - ''; 24 - 25 - installPhase = '' 26 - mkdir -p $out/${_target} 27 - find . \( -name .install -o -name ..install.cmd \) -delete 28 - cp -r usr/ $out/${_target} 29 - ''; 30 - 31 - meta = { 32 - description = "FRC linux api headers"; 33 - longDescription = '' 34 - All linux api headers required to compile the arm-frc-linux-gnuaebi-gcc 35 - cross compiler and all user programs. 36 - ''; 37 - license = stdenv.lib.licenses.gpl2; 38 - maintainers = [ stdenv.lib.maintainers.colescott ]; 39 - platforms = stdenv.lib.platforms.linux; 40 - 41 - priority = 1; 42 - }; 43 - }
+2 -2
pkgs/development/libraries/babl/default.nix
··· 1 1 { stdenv, fetchurl }: 2 2 3 3 stdenv.mkDerivation rec { 4 - name = "babl-0.1.44"; 4 + name = "babl-0.1.46"; 5 5 6 6 src = fetchurl { 7 7 url = "http://ftp.gtk.org/pub/babl/0.1/${name}.tar.bz2"; 8 - sha256 = "0zfy1jrwdp4ja2f1rqa2m46vx6nilm73f72d4d1c8d65vshgsqzl"; 8 + sha256 = "0nwyhvfca6m35wjcccvwca7fcihzgdfyc012qi703y5d3cxl1hmv"; 9 9 }; 10 10 11 11 doCheck = true;
+2 -10
pkgs/development/libraries/caf/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "actor-framework-${version}"; 5 - version = "0.15.3"; 5 + version = "0.15.7"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "actor-framework"; 9 9 repo = "actor-framework"; 10 10 rev = "${version}"; 11 - sha256 = "0202nsdriigdh6sxi1k3hddvmf1x54qpykbvf2ghfhzyh0m1q7j2"; 11 + sha256 = "0qmb18k162xdvf8z03mybjazkwb2vqda5xd1qh5bwkvxracwq3sb"; 12 12 }; 13 13 14 - # See https://github.com/actor-framework/actor-framework/issues/545 and remove on next release that incorporates this 15 - patches = [ (fetchpatch { 16 - url = "https://github.com/actor-framework/actor-framework/commit/c5a3ee26a6e76b28dd4226f35230b280f291386d.patch"; 17 - sha256 = "1l0323cqyqlp3lvggm709fmfm6lk6av1smdbd420adhi3ksj2vhj"; 18 - }) ]; 19 - 20 14 nativeBuildInputs = [ cmake ]; 21 - 22 - enableParallelBuilding = true; 23 15 24 16 meta = with stdenv.lib; { 25 17 description = "An open source implementation of the actor model in C++";
+3
pkgs/development/libraries/flint/default.nix
··· 26 26 ] ++ stdenv.lib.optionals withBlas [ 27 27 openblas 28 28 ]; 29 + propagatedBuildInputs = [ 30 + mpfr # flint.h includes mpfr.h 31 + ]; 29 32 configureFlags = [ 30 33 "--with-gmp=${gmp}" 31 34 "--with-mpir=${mpir}"
+2 -2
pkgs/development/libraries/fplll/default.nix
··· 4 4 stdenv.mkDerivation rec { 5 5 name = "${pname}-${version}"; 6 6 pname = "fplll"; 7 - version = "5.0.2"; 7 + version = "5.2.0"; 8 8 src = fetchFromGitHub { 9 9 owner = "${pname}"; 10 10 repo = "${pname}"; 11 11 rev = "${version}"; 12 - sha256 = "0rl98rx284giyhj3pf6iydn1a06jis8c8mnsc7kqs4rcmiw4bjpx"; 12 + sha256 = "0931i4q49lzlifsg9zd8a2yzj626i1s2bqhkfxvcxv94c38s0nh1"; 13 13 }; 14 14 nativeBuildInputs = [autoconf automake libtool gettext autoreconfHook]; 15 15 buildInputs = [gmp mpfr];
+2 -2
pkgs/development/libraries/gvfs/default.nix
··· 18 18 19 19 let 20 20 pname = "gvfs"; 21 - version = "1.36.0"; 21 + version = "1.36.1"; 22 22 in 23 23 stdenv.mkDerivation rec { 24 24 name = "${pname}-${version}"; 25 25 26 26 src = fetchurl { 27 27 url = "mirror://gnome/sources/${pname}/${gnome3.versionBranch version}/${name}.tar.xz"; 28 - sha256 = "1fsn6aa9a68cfbna9s00l1ry4ym1fr7ii2f45hzj2fipxfpqihwy"; 28 + sha256 = "09phj9kqk8lzcmkjfq7qmzpkj4xp1vg4mskv6d2s9j62hvrxyh1q"; 29 29 }; 30 30 31 31 # Uncomment when switching back to meson
+35
pkgs/development/libraries/jemalloc/common.nix
··· 1 + { stdenv, fetchurl, version, sha256, ... }@args: 2 + 3 + stdenv.mkDerivation (rec { 4 + name = "jemalloc-${version}"; 5 + inherit version; 6 + 7 + src = fetchurl { 8 + url = "https://github.com/jemalloc/jemalloc/releases/download/${version}/${name}.tar.bz2"; 9 + inherit sha256; 10 + }; 11 + 12 + # By default, jemalloc puts a je_ prefix onto all its symbols on OSX, which 13 + # then stops downstream builds (mariadb in particular) from detecting it. This 14 + # option should remove the prefix and give us a working jemalloc. 15 + configureFlags = stdenv.lib.optional stdenv.isDarwin "--with-jemalloc-prefix=" 16 + # jemalloc is unable to correctly detect transparent hugepage support on 17 + # ARM (https://github.com/jemalloc/jemalloc/issues/526), and the default 18 + # kernel ARMv6/7 kernel does not enable it, so we explicitly disable support 19 + ++ stdenv.lib.optional stdenv.isArm "--disable-thp"; 20 + doCheck = true; 21 + 22 + enableParallelBuilding = true; 23 + 24 + meta = with stdenv.lib; { 25 + homepage = http://jemalloc.net; 26 + description = "General purpose malloc(3) implementation"; 27 + longDescription = '' 28 + malloc(3)-compatible memory allocator that emphasizes fragmentation 29 + avoidance and scalable concurrency support. 30 + ''; 31 + license = licenses.bsd2; 32 + platforms = platforms.all; 33 + maintainers = with maintainers; [ wkennington ]; 34 + }; 35 + } // (builtins.removeAttrs args [ "stdenv" "fetchurl" "version" "sha256" ]))
+3 -33
pkgs/development/libraries/jemalloc/default.nix
··· 1 1 { stdenv, fetchurl, fetchpatch }: 2 - 3 - stdenv.mkDerivation rec { 4 - name = "jemalloc-${version}"; 2 + import ./common.nix { 3 + inherit stdenv fetchurl; 5 4 version = "5.0.1"; 6 - 7 - src = fetchurl { 8 - url = "https://github.com/jemalloc/jemalloc/releases/download/${version}/${name}.tar.bz2"; 9 - sha256 = "4814781d395b0ef093b21a08e8e6e0bd3dab8762f9935bbfb71679b0dea7c3e9"; 10 - }; 11 - 12 - # By default, jemalloc puts a je_ prefix onto all its symbols on OSX, which 13 - # then stops downstream builds (mariadb in particular) from detecting it. This 14 - # option should remove the prefix and give us a working jemalloc. 15 - configureFlags = stdenv.lib.optional stdenv.isDarwin "--with-jemalloc-prefix=" 16 - # jemalloc is unable to correctly detect transparent hugepage support on 17 - # ARM (https://github.com/jemalloc/jemalloc/issues/526), and the default 18 - # kernel ARMv6/7 kernel does not enable it, so we explicitly disable support 19 - ++ stdenv.lib.optional stdenv.isArm "--disable-thp"; 20 - doCheck = true; 21 - 5 + sha256 = "4814781d395b0ef093b21a08e8e6e0bd3dab8762f9935bbfb71679b0dea7c3e9"; 22 6 patches = stdenv.lib.optional stdenv.isAarch64 (fetchpatch { 23 7 url = "https://patch-diff.githubusercontent.com/raw/jemalloc/jemalloc/pull/1035.patch"; 24 8 sha256 = "02y0q3dp253bipxv4r954nqipbjbj92p6ww9bx5bk3d8pa81wkqq"; 25 9 }); 26 - 27 - enableParallelBuilding = true; 28 - 29 - meta = with stdenv.lib; { 30 - homepage = http://jemalloc.net; 31 - description = "General purpose malloc(3) implementation"; 32 - longDescription = '' 33 - malloc(3)-compatible memory allocator that emphasizes fragmentation 34 - avoidance and scalable concurrency support. 35 - ''; 36 - license = licenses.bsd2; 37 - platforms = platforms.all; 38 - maintainers = with maintainers; [ wkennington ]; 39 - }; 40 10 }
+6
pkgs/development/libraries/jemalloc/jemalloc450.nix
··· 1 + { stdenv, fetchurl }: 2 + import ./common.nix { 3 + inherit stdenv fetchurl; 4 + version = "4.5.0"; 5 + sha256 = "10373xhpc10pgmai9fkc1z0rs029qlcb3c0qfnvkbwdlcibdh2cl"; 6 + }
-47
pkgs/development/libraries/kirigami/default.nix
··· 1 - { stdenv, fetchurl, cmake, extra-cmake-modules, pkgconfig 2 - , plasma-framework, qtbase, qttranslations 3 - , qtquickcontrols ? null 4 - , qtquickcontrols2 ? null }: 5 - 6 - let 7 - pname = "kirigami"; 8 - 9 - generic = { name, version, sha256, qtqc, broken }: 10 - stdenv.mkDerivation rec { 11 - inherit name version; 12 - 13 - src = fetchurl { 14 - url = "mirror://kde/stable/${pname}/${name}.tar.xz"; 15 - inherit sha256; 16 - }; 17 - 18 - buildInputs = [ plasma-framework qtbase qtqc qttranslations ]; 19 - 20 - nativeBuildInputs = [ cmake pkgconfig extra-cmake-modules ]; 21 - 22 - meta = with stdenv.lib; { 23 - license = licenses.lgpl2; 24 - homepage = http://www.kde.org; 25 - maintainers = with maintainers; [ ttuegel peterhoeg ]; 26 - platforms = platforms.unix; 27 - inherit broken; 28 - }; 29 - }; 30 - 31 - in { 32 - kirigami_1 = generic rec { 33 - name = "${pname}-${version}"; 34 - version = "1.1.0"; 35 - sha256 = "1p9ydggwbyfdgwmvyc8004sk9mfshlg9b83lzvz9qk3a906ayxv6"; 36 - qtqc = qtquickcontrols; 37 - broken = false; 38 - }; 39 - 40 - kirigami_2 = generic rec { 41 - name = "${pname}2-${version}"; 42 - version = "2.1.0"; 43 - sha256 = "0d79h10jzv9z7xzap4k9vbw6p9as8vdkz3x6xlzx407i9sbzyi77"; 44 - qtqc = qtquickcontrols2; 45 - broken = builtins.compareVersions qtbase.version "5.7.0" < 0; 46 - }; 47 - }
+2 -2
pkgs/development/libraries/libdazzle/default.nix
··· 2 2 , gtk-doc, docbook_xsl, dbus, xvfb_run, glib, gtk3, gnome3 }: 3 3 4 4 let 5 - version = "3.28.0"; 5 + version = "3.28.1"; 6 6 pname = "libdazzle"; 7 7 in 8 8 stdenv.mkDerivation { ··· 13 13 14 14 src = fetchurl { 15 15 url = "mirror://gnome/sources/libdazzle/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 16 - sha256 = "0zq37i7gnmnc7qfngzhj71nqhf2wxl4m247s2ym9ykakxbi6zajp"; 16 + sha256 = "04j9pjigpgxddq6y90y73k8qyjixlalip87q121ss5d8zp8xnz32"; 17 17 }; 18 18 19 19 nativeBuildInputs = [ ninja meson pkgconfig vala gobjectIntrospection libxml2 gtk-doc docbook_xsl dbus xvfb_run ];
+2 -2
pkgs/development/libraries/libqrencode/default.nix
··· 3 3 4 4 stdenv.mkDerivation rec { 5 5 name = "libqrencode-${version}"; 6 - version = "3.4.4"; 6 + version = "4.0.0"; 7 7 8 8 src = fetchurl { 9 9 url = "https://fukuchi.org/works/qrencode/qrencode-${version}.tar.gz"; 10 10 sha1 = "644054a76c8b593acb66a8c8b7dcf1b987c3d0b2"; 11 - sha256 = "0wiagx7i8p9zal53smf5abrnh9lr31mv0p36wg017401jrmf5577"; 11 + sha256 = "10da4q5pym7pzxcv21w2kc2rxmq7sp1rg58zdklwfr0jjci1nqjv"; 12 12 }; 13 13 14 14 nativeBuildInputs = [ pkgconfig ];
+2 -2
pkgs/development/libraries/libwnck/3.x.nix
··· 19 19 nativeBuildInputs = [ pkgconfig intltool gobjectIntrospection ]; 20 20 propagatedBuildInputs = [ libX11 gtk3 ]; 21 21 22 - PKG_CONFIG_GOBJECT_INTROSPECTION_1_0_GIRDIR = "share/gir-1.0"; 23 - PKG_CONFIG_GOBJECT_INTROSPECTION_1_0_TYPELIBDIR = "lib/girepository-1.0"; 22 + PKG_CONFIG_GOBJECT_INTROSPECTION_1_0_GIRDIR = "$(dev)/share/gir-1.0"; 23 + PKG_CONFIG_GOBJECT_INTROSPECTION_1_0_TYPELIBDIR = "$(out)/lib/girepository-1.0"; 24 24 25 25 passthru = { 26 26 updateScript = gnome3.updateScript {
+2 -2
pkgs/development/libraries/nix-plugins/default.nix
··· 1 1 { stdenv, fetchFromGitHub, nix, cmake, pkgconfig, boost }: 2 - let version = "4.0.2"; in 2 + let version = "4.0.3"; in 3 3 stdenv.mkDerivation { 4 4 name = "nix-plugins-${version}"; 5 5 ··· 7 7 owner = "shlevy"; 8 8 repo = "nix-plugins"; 9 9 rev = version; 10 - sha256 = "0cr1lz788rw7kxfs2acplhdl5cv8qrfh4kdqxi0p63ajnd303k8c"; 10 + sha256 = "0dkrrh94s3gvym7hhdqivxzphsjh0828c0y6w6a51xdpm8rlajzj"; 11 11 }; 12 12 13 13 nativeBuildInputs = [ cmake pkgconfig ];
+2 -2
pkgs/development/libraries/openvdb/default.nix
··· 3 3 stdenv.mkDerivation rec 4 4 { 5 5 name = "openvdb-${version}"; 6 - version = "5.0.0"; 6 + version = "5.1.0"; 7 7 8 8 src = fetchFromGitHub { 9 9 owner = "dreamworksanimation"; 10 10 repo = "openvdb"; 11 11 rev = "v${version}"; 12 - sha256 = "162l1prgdyf571bgxc621gicl40b050ny64f0jmnhz0h5xq6sfrv"; 12 + sha256 = "1als53dnbnwa66k16vy95h1rhpdzz6i80c0gc2g3i17qbasl6ni5"; 13 13 }; 14 14 15 15 outputs = [ "out" ];
+8 -7
pkgs/development/libraries/qtstyleplugin-kvantum/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "qtstyleplugin-kvantum-${version}"; 5 - version = "0.10.4"; 5 + version = "0.10.6"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "tsujan"; 9 9 repo = "Kvantum"; 10 - rev = "0527bb03f2252269fd382e11181a34ca72c96b4b"; 11 - sha256 = "0ky44s1fgqxraywagx1mv07yz76ppgiz3prq447db78wkwqg2d8p"; 10 + rev = "a6daa1a6df3c5d4abc7ea39ef7028ddea2addbf6"; 11 + sha256 = "1zns4x95h0ydiwx8yw0bmyg4lc2sy7annmdrg66sx753x3177zxp"; 12 12 }; 13 13 14 14 nativeBuildInputs = [ qmake qttools ]; ··· 16 16 17 17 postUnpack = "sourceRoot=\${sourceRoot}/Kvantum"; 18 18 19 - postInstall= '' 20 - mkdir -p $out/$qtPluginPrefix/styles 21 - mv $NIX_QT5_TMP/$qtPluginPrefix/styles/libkvantum.so $out/$qtPluginPrefix/styles/libkvantum.so 19 + postPatch = '' 20 + # Fix plugin dir 21 + substituteInPlace style/style.pro \ 22 + --replace "\$\$[QT_INSTALL_PLUGINS]" "$out/$qtPluginPrefix" 22 23 ''; 23 24 24 25 meta = with stdenv.lib; { 25 26 description = "SVG-based Qt5 theme engine plus a config tool and extra themes"; 26 27 homepage = "https://github.com/tsujan/Kvantum"; 27 - license = licenses.gpl2; 28 + license = licenses.gpl3; 28 29 platforms = platforms.linux; 29 30 maintainers = [ maintainers.bugworm ]; 30 31 };
+6 -2
pkgs/development/libraries/rocksdb/default.nix
··· 15 15 16 16 let 17 17 malloc = if jemalloc != null then jemalloc else gperftools; 18 + tools = [ "sst_dump" "ldb" "rocksdb_dump" "rocksdb_undump" "blob_dump" ]; 18 19 in 19 20 stdenv.mkDerivation rec { 20 21 name = "rocksdb-${version}"; 21 22 version = "5.10.3"; 22 23 23 - outputs = [ "dev" "out" "static" ]; 24 + outputs = [ "dev" "out" "static" "bin" ]; 24 25 25 26 src = fetchFromGitHub { 26 27 owner = "facebook"; ··· 55 56 buildFlags = buildAndInstallFlags ++ [ 56 57 "shared_lib" 57 58 "static_lib" 58 - ]; 59 + ] ++ tools ; 59 60 60 61 installFlags = buildAndInstallFlags ++ [ 61 62 "INSTALL_PATH=\${out}" ··· 69 70 cat make_config.mk 70 71 mkdir -pv $static/lib/ 71 72 mv -vi $out/lib/${LIBNAME}.a $static/lib/ 73 + 74 + install -d ''${!outputBin}/bin 75 + install -D ${stdenv.lib.concatStringsSep " " tools} ''${!outputBin}/bin 72 76 ''; 73 77 74 78 enableParallelBuilding = true;
+38
pkgs/development/libraries/science/math/cliquer/default.nix
··· 1 + { stdenv 2 + , fetchFromGitHub 3 + , autoreconfHook 4 + }: 5 + 6 + stdenv.mkDerivation rec { 7 + version = "1.21"; 8 + name = "cliquer-${version}"; 9 + 10 + # autotoolized version of the original cliquer 11 + src = fetchFromGitHub { 12 + owner = "dimpase"; 13 + repo = "autocliquer"; 14 + rev = "v${version}"; 15 + sha256 = "180i4qj1a25qfp75ig2d3144xfpb1dgcgpha0iqqghd7di4awg7z"; 16 + }; 17 + 18 + doCheck = true; 19 + 20 + buildInputs = [ 21 + autoreconfHook 22 + ]; 23 + 24 + meta = with stdenv.lib; { 25 + homepage = https://users.aalto.fi/~pat/cliquer.html; 26 + downloadPage = src.meta.homepage; # autocliquer 27 + description = "Routines for clique searching"; 28 + longDescription = '' 29 + Cliquer is a set of C routines for finding cliques in an arbitrary weighted graph. 30 + It uses an exact branch-and-bound algorithm developed by Patric Östergård. 31 + It is designed with the aim of being efficient while still being flexible and 32 + easy to use. 33 + ''; 34 + license = licenses.gpl2Plus; 35 + maintainers = with maintainers; [ timokau ]; 36 + platforms = platforms.linux; 37 + }; 38 + }
+30
pkgs/development/libraries/science/math/m4ri/default.nix
··· 1 + { stdenv 2 + , fetchFromBitbucket 3 + , autoreconfHook 4 + }: 5 + 6 + stdenv.mkDerivation rec { 7 + version = "20140914"; 8 + name = "m4ri-${version}"; 9 + 10 + src = fetchFromBitbucket { 11 + owner = "malb"; 12 + repo = "m4ri"; 13 + rev = "release-${version}"; 14 + sha256 = "0xfg6pffbn8r1s0y7bn9b8i55l00d41dkmhrpf7pwk53qa3achd3"; 15 + }; 16 + 17 + doCheck = true; 18 + 19 + nativeBuildInputs = [ 20 + autoreconfHook 21 + ]; 22 + 23 + meta = with stdenv.lib; { 24 + homepage = https://malb.bitbucket.io/m4ri/; 25 + description = "Library to do fast arithmetic with dense matrices over F_2"; 26 + license = licenses.gpl2Plus; 27 + maintainers = with maintainers; [ timokau ]; 28 + platforms = platforms.linux; 29 + }; 30 + }
+39
pkgs/development/libraries/science/math/m4rie/default.nix
··· 1 + { stdenv 2 + , fetchFromBitbucket 3 + , autoreconfHook 4 + , m4ri 5 + }: 6 + 7 + stdenv.mkDerivation rec { 8 + version = "20150908"; 9 + name = "m4rie-${version}"; 10 + 11 + src = fetchFromBitbucket { 12 + owner = "malb"; 13 + repo = "m4rie"; 14 + rev = "release-${version}"; 15 + sha256 = "0r8lv46qx5mkz5kp3ay2jnsp0mbhlqr5z2z220wdk73wdshcznss"; 16 + }; 17 + 18 + doCheck = true; 19 + 20 + buildInputs = [ 21 + m4ri 22 + ]; 23 + 24 + nativeBuildInputs = [ 25 + autoreconfHook 26 + ]; 27 + 28 + meta = with stdenv.lib; { 29 + homepage = https://malb.bitbucket.io/m4rie/; 30 + description = "Library for matrix multiplication, reduction and inversion over GF(2^k) for 2 <= k <= 10"; 31 + longDescription = '' 32 + M4RIE is a library for fast arithmetic with dense matrices over small finite fields of even characteristic. 33 + It uses the M4RI library, implementing the same operations over the finite field F2. 34 + ''; 35 + license = licenses.gpl2Plus; 36 + maintainers = with maintainers; [ timokau ]; 37 + platforms = platforms.linux; 38 + }; 39 + }
+10 -3
pkgs/development/node-packages/default-v6.nix
··· 24 24 phantomjs = nodePackages.phantomjs.override (oldAttrs: { 25 25 buildInputs = oldAttrs.buildInputs ++ [ pkgs.phantomjs2 ]; 26 26 }); 27 - 27 + 28 28 webdrvr = nodePackages.webdrvr.override (oldAttrs: { 29 29 buildInputs = oldAttrs.buildInputs ++ [ pkgs.phantomjs ]; 30 - 30 + 31 31 preRebuild = '' 32 32 mkdir $TMPDIR/webdrvr 33 - 33 + 34 34 ln -s ${pkgs.fetchurl { 35 35 url = "https://selenium-release.storage.googleapis.com/2.43/selenium-server-standalone-2.43.1.jar"; 36 36 sha1 = "ef1b5f8ae9c99332f99ba8794988a1d5b974d27b"; ··· 71 71 sed -i -e "s|console.error('Error verifying phantomjs, continuing', err)|console.error('Error verifying phantomjs, continuing', err); return true;|" node_modules/phantomjs-prebuilt/lib/util.js 72 72 ''; 73 73 buildInputs = oldAttrs.buildInputs ++ [ pkgs.phantomjs2 ]; 74 + }); 75 + 76 + node2nix = nodePackages.node2nix.override (oldAttrs: { 77 + buildInputs = oldAttrs.buildInputs ++ [ pkgs.makeWrapper ]; 78 + postInstall = '' 79 + wrapProgram "$out/bin/node2nix" --prefix PATH : ${stdenv.lib.makeBinPath [ pkgs.nix ]} 80 + ''; 74 81 }); 75 82 }
+18
pkgs/development/perl-modules/Socket6-sv_undef.patch
··· 1 + diff --git a/Socket6.xs b/Socket6.xs 2 + index 05c791c..058e9d9 100644 3 + --- a/Socket6.xs 4 + +++ b/Socket6.xs 5 + @@ -105,10 +105,6 @@ const struct in6_addr in6addr_loopback = IN6ADDR_LOOPBACK_INIT; 6 + #define HAVE_INET_PTON 1 7 + #endif 8 + 9 + -#ifndef HAVE_PL_SV_UNDEF 10 + -#define PL_sv_undef sv_undef 11 + -#endif 12 + - 13 + static int 14 + not_here(char *s) 15 + { 16 + -- 17 + 2.16.3 18 +
+2 -8
pkgs/development/python-modules/alot/default.nix
··· 19 19 sha256 = "1y932smng7qx7ybmqw4qh75b0lv9imfs5ak9fd0qhysij8kpmdhi"; 20 20 }; 21 21 22 - postPatch = '' 23 - substituteInPlace alot/defaults/alot.rc.spec \ 24 - --replace "themes_dir = string(default=None)" \ 25 - "themes_dir = string(default='$out/share/themes')" 26 - ''; 27 - 28 22 nativeBuildInputs = lib.optional withManpage sphinx; 29 23 30 24 propagatedBuildInputs = [ ··· 50 44 cp -r docs/build/man $out/man 51 45 '' 52 46 + '' 53 - mkdir -p $out/share/applications 54 - cp -r extra/themes $out/share 47 + mkdir -p $out/share/{applications,alot} 48 + cp -r extra/themes $out/share/alot 55 49 56 50 sed "s,/usr/bin,$out/bin,g" extra/alot.desktop > $out/share/applications/alot.desktop 57 51 '';
+9 -9
pkgs/development/python-modules/apsw/default.nix
··· 1 - { stdenv, buildPythonPackage, fetchPypi 1 + { stdenv, buildPythonPackage, fetchFromGitHub 2 2 , sqlite, isPyPy }: 3 3 4 4 buildPythonPackage rec { 5 5 pname = "apsw"; 6 - version = "3.9.2-r1"; 6 + version = "3.22.0-r1"; 7 7 8 8 disabled = isPyPy; 9 9 10 - src = fetchPypi { 11 - inherit pname version; 12 - sha256 = "dab96fd164dde9e59f7f27228291498217fa0e74048e2c08c7059d7e39589270"; 10 + src = fetchFromGitHub { 11 + owner = "rogerbinns"; 12 + repo = "apsw"; 13 + rev = version; 14 + sha256 = "02ldvshcgr4c7c8anp4flfnw8g8ys5bflkb8b51rb618qxhhwyak"; 13 15 }; 14 16 15 17 buildInputs = [ sqlite ]; 16 18 17 - # python: double free or corruption (fasttop): 0x0000000002fd4660 *** 18 - # doCheck = false; 19 - 20 19 meta = with stdenv.lib; { 21 20 description = "A Python wrapper for the SQLite embedded relational database engine"; 22 - homepage = http://code.google.com/p/apsw/; 21 + homepage = https://github.com/rogerbinns/apsw; 22 + license = licenses.zlib; 23 23 }; 24 24 }
+69
pkgs/development/python-modules/cvxopt/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchPypi 4 + , isPyPy 5 + , python 6 + , openblasCompat # build segfaults with regular openblas 7 + , suitesparse 8 + , glpk ? null 9 + , gsl ? null 10 + , fftw ? null 11 + , withGlpk ? true 12 + , withGsl ? true 13 + , withFftw ? true 14 + }: 15 + 16 + buildPythonPackage rec { 17 + pname = "cvxopt"; 18 + version = "1.1.9"; 19 + 20 + disabled = isPyPy; # hangs at [translation:info] 21 + 22 + src = fetchPypi { 23 + inherit pname version; 24 + sha256 = "0gcqq8ymjxv8qa5ss2pdhsj5bahvdxa6h2rlpp51520mjxrpw5cg"; 25 + }; 26 + 27 + # similar to Gsl, glpk, fftw there is also a dsdp interface 28 + # but dsdp is not yet packaged in nixpkgs 29 + preConfigure = '' 30 + export CVXOPT_BLAS_LIB_DIR=${openblasCompat}/lib 31 + export CVXOPT_BLAS_LIB=openblas 32 + export CVXOPT_LAPACK_LIB=openblas 33 + export CVXOPT_SUITESPARSE_LIB_DIR=${suitesparse}/lib 34 + export CVXOPT_SUITESPARSE_INC_DIR=${suitesparse}/include 35 + '' + lib.optionalString withGsl '' 36 + export CVXOPT_BUILD_GSL=1 37 + export CVXOPT_GSL_LIB_DIR=${gsl}/lib 38 + export CVXOPT_GSL_INC_DIR=${gsl}/include 39 + '' + lib.optionalString withGlpk '' 40 + export CVXOPT_BUILD_GLPK=1 41 + export CVXOPT_GLPK_LIB_DIR=${glpk}/lib 42 + export CVXOPT_GLPK_INC_DIR=${glpk}/include 43 + '' + lib.optionalString withFftw '' 44 + export CVXOPT_BUILD_FFTW=1 45 + export CVXOPT_FFTW_LIB_DIR=${fftw}/lib 46 + export CVXOPT_FFTW_INC_DIR=${fftw.dev}/include 47 + ''; 48 + 49 + checkPhase = '' 50 + ${python.interpreter} -m unittest discover -s tests 51 + ''; 52 + 53 + meta = { 54 + homepage = http://cvxopt.org/; 55 + description = "Python Software for Convex Optimization"; 56 + longDescription = '' 57 + CVXOPT is a free software package for convex optimization based on the 58 + Python programming language. It can be used with the interactive 59 + Python interpreter, on the command line by executing Python scripts, 60 + or integrated in other software via Python extension modules. Its main 61 + purpose is to make the development of software for convex optimization 62 + applications straightforward by building on Python's extensive 63 + standard library and on the strengths of Python as a high-level 64 + programming language. 65 + ''; 66 + maintainers = with lib.maintainers; [ edwtjo ]; 67 + license = lib.licenses.gpl3Plus; 68 + }; 69 + }
+41
pkgs/development/python-modules/cysignals/default.nix
··· 1 + { lib 2 + , fetchPypi 3 + , buildPythonPackage 4 + , cython 5 + , sphinx 6 + }: 7 + 8 + buildPythonPackage rec { 9 + pname = "cysignals"; 10 + version = "1.6.9"; 11 + 12 + src = fetchPypi { 13 + inherit pname version; 14 + sha256 = "003invnixqy1h4lb358vwrxykxzp15csaddkgq3pqqmswnva5908"; 15 + }; 16 + 17 + hardeningDisable = [ 18 + "fortify" 19 + ]; 20 + 21 + # currently fails, probably because of formatting changes in gdb 8.0 22 + doCheck = false; 23 + 24 + preCheck = '' 25 + # Make sure cysignals-CSI is in PATH 26 + export PATH="$out/bin:$PATH" 27 + ''; 28 + 29 + propagatedBuildInputs = [ 30 + cython 31 + ]; 32 + 33 + enableParallelBuilding = true; 34 + 35 + meta = { 36 + description = "Interrupt and signal handling for Cython"; 37 + homepage = https://github.com/sagemath/cysignals/; 38 + maintainers = with lib.maintainers; [ timokau ]; 39 + license = lib.licenses.lgpl3Plus; 40 + }; 41 + }
+3 -3
pkgs/development/python-modules/digitalocean/default.nix
··· 1 - { stdenv, buildPythonPackage, fetchPypi, requests }: 1 + { stdenv, buildPythonPackage, fetchPypi, requests, jsonpickle }: 2 2 3 3 buildPythonPackage rec { 4 4 pname = "python-digitalocean"; ··· 6 6 7 7 src = fetchPypi { 8 8 inherit pname version; 9 - sha256 = "06391cf0b253c8b4a5a10b3a4b7b7808b890a1d1e3b43d5ce3b5293a9c77af6b"; 9 + sha256 = "0h4drpdsmk0b3rlvg6q6cz11k23w0swj1iddk7xdcw4m7r7c52kw"; 10 10 }; 11 11 12 - propagatedBuildInputs = [ requests ]; 12 + propagatedBuildInputs = [ requests jsonpickle ]; 13 13 14 14 # Package doesn't distribute tests. 15 15 doCheck = false;
+24
pkgs/development/python-modules/envs/default.nix
··· 1 + { lib, buildPythonPackage, fetchFromGitHub 2 + , click, jinja2, terminaltables }: 3 + 4 + buildPythonPackage rec { 5 + pname = "envs"; 6 + version = "1.2.4"; 7 + 8 + # move to fetchPyPi when https://github.com/capless/envs/issues/8 is fixed 9 + src = fetchFromGitHub { 10 + owner = "capless"; 11 + repo = "envs"; 12 + rev = "e1f6cbad7f20316fc44324d2c50826d57c2817a8"; 13 + sha256 = "0p88a79amj0jxll3ssq1dzg78y7zwgc8yqyr7cf53nv2i7kmpakv"; 14 + }; 15 + 16 + checkInputs = [ click jinja2 terminaltables ]; 17 + 18 + meta = with lib; { 19 + description = "Easy access to environment variables from Python"; 20 + homepage = https://github.com/capless/envs; 21 + license = licenses.asl20; 22 + maintainers = with maintainers; [ peterhoeg ]; 23 + }; 24 + }
+55
pkgs/development/python-modules/fpylll/default.nix
··· 1 + { lib 2 + , fetchPypi 3 + , buildPythonPackage 4 + , pkgconfig 5 + , gmp 6 + , pari 7 + , mpfr 8 + , fplll 9 + , cython 10 + , cysignals 11 + , numpy 12 + , pytest 13 + }: 14 + 15 + buildPythonPackage rec { 16 + pname = "fpylll"; 17 + version = "0.3.0dev"; 18 + 19 + src = fetchPypi { 20 + inherit pname version; 21 + sha256 = "0bjkh02fnxsrxwjzai8ij12zl2wq319z8y25sn9pvvzla5izgnp9"; 22 + }; 23 + 24 + buildInputs = [ 25 + gmp 26 + pari 27 + mpfr 28 + fplll 29 + ]; 30 + 31 + propagatedBuildInputs = [ 32 + cython 33 + cysignals 34 + numpy 35 + ]; 36 + 37 + nativeBuildInputs = [ 38 + pkgconfig 39 + ]; 40 + 41 + checkInputs = [ 42 + pytest 43 + ]; 44 + 45 + checkPhase = '' 46 + py.test 47 + ''; 48 + 49 + meta = { 50 + description = "A Python interface for fplll"; 51 + homepage = https://github.com/fplll/fpylll; 52 + maintainers = with lib.maintainers; [ timokau ]; 53 + license = lib.licenses.gpl2Plus; 54 + }; 55 + }
+33
pkgs/development/python-modules/python-docx/default.nix
··· 1 + { lib 2 + , behave 3 + , buildPythonPackage 4 + , fetchPypi 5 + , lxml 6 + , pytest 7 + , pyparsing 8 + , mock 9 + }: 10 + 11 + buildPythonPackage rec { 12 + pname = "python-docx"; 13 + version = "0.8.6"; 14 + 15 + src = fetchPypi { 16 + inherit pname version; 17 + sha256 = "117i84s6fcdsrfckbvznnqgqwhnf1x0523ps16cki8sg9byydv2m"; 18 + }; 19 + 20 + checkInputs = [ behave mock pyparsing pytest ]; 21 + propagatedBuildInputs = [ lxml ]; 22 + 23 + checkPhase = '' 24 + py.test tests 25 + ''; 26 + 27 + meta = { 28 + description = "Create and update Microsoft Word .docx files"; 29 + homepage = https://python-docx.readthedocs.io/en/latest/; 30 + license = lib.licenses.mit; 31 + maintainers = [ lib.maintainers.alexchapman ]; 32 + }; 33 + }
+21
pkgs/development/python-modules/rlp/default.nix
··· 1 + { lib, fetchPypi, buildPythonPackage, pytest }: 2 + 3 + buildPythonPackage rec { 4 + name = "${pname}-${version}"; 5 + pname = "rlp"; 6 + version = "0.6.0"; 7 + 8 + src = fetchPypi { 9 + inherit pname version; 10 + sha256 = "0d3gx4mp8q4z369s5yk1n9c55sgfw9fidbwqxq67d6s7l45rm1w7"; 11 + }; 12 + 13 + buildInputs = [ pytest ]; 14 + 15 + meta = { 16 + description = "A package for encoding and decoding data in and from Recursive Length Prefix notation"; 17 + homepage = "https://github.com/ethereum/pyrlp"; 18 + license = lib.licenses.mit; 19 + maintainers = with lib.maintainers; [ gebner ]; 20 + }; 21 + }
+54
pkgs/development/python-modules/rpy2/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchPypi 4 + , isPyPy 5 + , readline 6 + , R 7 + , pcre 8 + , lzma 9 + , bzip2 10 + , zlib 11 + , icu 12 + , singledispatch 13 + , six 14 + , jinja2 15 + , pytest 16 + }: 17 + 18 + buildPythonPackage rec { 19 + version = "2.8.2"; 20 + pname = "rpy2"; 21 + disabled = isPyPy; 22 + src = fetchPypi { 23 + inherit version pname; 24 + sha256 = "0k5jp6n1lfab7a6r5568aq31hg4fgf2cwy0hzvf3chp6yhyk26ic"; 25 + }; 26 + buildInputs = [ 27 + readline 28 + R 29 + pcre 30 + lzma 31 + bzip2 32 + zlib 33 + icu 34 + ]; 35 + propagatedBuildInputs = [ 36 + singledispatch 37 + six 38 + jinja2 39 + ]; 40 + checkInputs = [ pytest ]; 41 + # Tests fail with `assert not _relpath.startswith('..'), "Path must be within the project"` 42 + # in the unittest `loader.py`. I don't know what causes this. 43 + doCheck = false; 44 + # without this tests fail when looking for libreadline.so 45 + LD_LIBRARY_PATH = lib.makeLibraryPath buildInputs; 46 + 47 + meta = { 48 + homepage = http://rpy.sourceforge.net/rpy2; 49 + description = "Python interface to R"; 50 + license = lib.licenses.gpl2Plus; 51 + platforms = lib.platforms.linux; 52 + maintainers = with lib.maintainers; [ joelmo ]; 53 + }; 54 + }
+2 -2
pkgs/development/python-modules/trezor/default.nix
··· 1 1 { lib, fetchPypi, buildPythonPackage, 2 - protobuf, hidapi, ecdsa, mnemonic, requests, pyblake2, click, libusb1 2 + protobuf, hidapi, ecdsa, mnemonic, requests, pyblake2, click, libusb1, rlp 3 3 }: 4 4 5 5 buildPythonPackage rec { ··· 12 12 sha256 = "a481191011bade98f1e9f1201e7c72a83945050657bbc90dc4ac32dc8b8b46a4"; 13 13 }; 14 14 15 - propagatedBuildInputs = [ protobuf hidapi ecdsa mnemonic requests pyblake2 click libusb1 ]; 15 + propagatedBuildInputs = [ protobuf hidapi ecdsa mnemonic requests pyblake2 click libusb1 rlp ]; 16 16 17 17 # There are no actual tests: "ImportError: No module named tests" 18 18 doCheck = false;
+36
pkgs/development/python-modules/warrant/default.nix
··· 1 + { lib, buildPythonPackage, fetchFromGitHub, fetchPypi 2 + , mock 3 + , boto3, envs, python-jose, requests }: 4 + 5 + buildPythonPackage rec { 6 + pname = "warrant"; 7 + version = "0.6.1"; 8 + 9 + # move to fetchPyPi when https://github.com/capless/warrant/issues/97 is fixed 10 + src = fetchFromGitHub { 11 + owner = "capless"; 12 + repo = "warrant"; 13 + rev = "ff2e4793d8479e770f2461ef7cbc0c15ee784395"; 14 + sha256 = "0gw3crg64p1zx3k5js0wh0x5bldgs7viy4g8hld9xbka8q0374hi"; 15 + }; 16 + 17 + # this needs to go when 0.6.2 or later is released 18 + postPatch = '' 19 + substituteInPlace requirements.txt \ 20 + --replace "python-jose-cryptodome>=1.3.2" "python-jose>=2.0.0" 21 + ''; 22 + 23 + checkInputs = [ mock ]; 24 + 25 + propagatedBuildInputs = [ boto3 envs python-jose requests ]; 26 + 27 + # all the checks are failing 28 + doCheck = false; 29 + 30 + meta = with lib; { 31 + description = "Python library for using AWS Cognito with support for SRP"; 32 + homepage = https://github.com/capless/warrant; 33 + license = lib.licenses.asl20; 34 + maintainers = with lib.maintainers; [ peterhoeg ]; 35 + }; 36 + }
+1 -1
pkgs/development/ruby-modules/bundled-common/default.nix
··· 29 29 let 30 30 gemFiles = bundlerFiles args; 31 31 32 - importedGemset = if builtins.typeOf gemFiles.gemset == "path" 32 + importedGemset = if builtins.typeOf gemFiles.gemset != "set" 33 33 then import gemFiles.gemset 34 34 else gemFiles.gemset; 35 35
+2 -1
pkgs/development/ruby-modules/bundler-app/default.nix
··· 26 26 , allowSubstitutes ? false 27 27 , meta ? {} 28 28 , postBuild ? "" 29 + , gemConfig ? null 29 30 }@args: 30 31 31 32 let 32 33 basicEnv = (callPackage ../bundled-common {}) args; 33 34 34 - cmdArgs = removeAttrs args [ "pname" "postBuild" ] 35 + cmdArgs = removeAttrs args [ "pname" "postBuild" "gemConfig" ] 35 36 // { inherit preferLocalBuild allowSubstitutes; }; # pass the defaults 36 37 in 37 38 runCommand basicEnv.name cmdArgs ''
+2 -20
pkgs/development/tools/analysis/radare2-cutter/default.nix
··· 3 3 4 4 stdenv.mkDerivation rec { 5 5 name = "radare2-cutter-${version}"; 6 - version = "1.1"; 6 + version = "1.3"; 7 7 8 8 src = fetchFromGitHub { 9 9 owner = "radareorg"; 10 10 repo = "cutter"; 11 11 rev = "v${version}"; 12 - sha256 = "02m5sf45n455hn34y7hrqanj830rc5xhz2ppp1z3mzbz0s515pfl"; 12 + sha256 = "1z76yz2i9k8mxjk85k2agdj941szdbl2gi66p3dh50878zqavfrr"; 13 13 }; 14 14 15 15 postUnpack = "export sourceRoot=$sourceRoot/src"; 16 - 17 - patches = [ 18 - # Fixup version number :D 19 - (fetchpatch { 20 - url = "https://github.com/radareorg/cutter/commit/69506b64600df632afdca8b680baa7d946c78644.patch"; 21 - sha256 = "0ks3ixz8bycjcfi26bd0p6z7qaplhq00alw44hsfzpdm4bmr01x0"; 22 - }) 23 - (fetchpatch { 24 - url = "https://github.com/radareorg/cutter/commit/8b52c66f4f0091cd9d97389b32aa519c2c602e2b.patch"; 25 - sha256 = "0wcdn35lx2943pfzm7mkg4sr82pm0qz3yxf74m8fxbd70s3w0gkm"; 26 - }) 27 - 28 - # case-insensitive filtering 29 - (fetchpatch { 30 - url = "https://github.com/radareorg/cutter/commit/0ebd34370bcaed00000168147572bb78106eeab1.patch"; 31 - sha256 = "0sc50jwhncfnd2i5mlyld4dbdzi2ws7nh4yglkhlap9l9h1jxn20"; 32 - }) 33 - ]; 34 16 35 17 patchFlags = [ "-p2" ]; 36 18
+16 -12
pkgs/development/tools/analysis/radare2/default.nix
··· 1 - {stdenv, fetchFromGitHub, fetchgit, fetchurl, fetchpatch, pkgconfig, libusb, readline, libewf, perl, zlib, openssl, git, 2 - gtk2 ? null, vte ? null, gtkdialog ? null, 3 - python ? null, 4 - ruby ? null, 5 - lua ? null, 6 - useX11, rubyBindings, pythonBindings, luaBindings}: 1 + {stdenv, fetchFromGitHub, pkgconfig, libusb, readline, libewf, perl, zlib, openssl 2 + , gtk2 ? null, vte ? null, gtkdialog ? null 3 + , python ? null 4 + , ruby ? null 5 + , lua ? null 6 + , useX11, rubyBindings, pythonBindings, luaBindings 7 + }: 7 8 8 9 assert useX11 -> (gtk2 != null && vte != null && gtkdialog != null); 9 10 assert rubyBindings -> ruby != null; ··· 20 21 owner = "radare"; 21 22 repo = "radare2"; 22 23 rev = version; 23 - sha256 = "08zvxgsvc6rqpjaapcxz1wm9vzlrbsqgplfkx0lch2s67v6slr7z"; 24 + sha256 = "07x94chkhpn3wgw4pypn35psxq370j6xwmhf1mh5z27cqkq7c2yd"; 24 25 }; 26 + 27 + # do not try to update capstone 28 + WITHOUT_PULL=1; 25 29 26 30 postPatch = let 27 31 cs_tip = "4a1b580d069c82d60070d0869a87000db7cdabe2"; # version from $sourceRoot/shlr/Makefile 28 - capstone = fetchgit { 29 - url = "https://github.com/aquynh/capstone.git"; 32 + capstone = fetchFromGitHub { 33 + owner = "aquynh"; 34 + repo = "capstone"; 30 35 rev = cs_tip; 31 - sha256 = "19vfgdfykmi3cfs4x1acxy0gnwggjjc8qq46pybqvcksbi11nw1k"; 32 - leaveDotGit = true; 36 + sha256 = "0v6rxfpxjq0hf40qn1n5m5wsv1dv6p1j8vm94a708lhvcbk9nkv8"; 33 37 }; 34 38 in '' 35 39 if ! grep -F "CS_TIP=${cs_tip}" shlr/Makefile; then echo "CS_TIP mismatch"; exit 1; fi ··· 39 43 40 44 enableParallelBuilding = true; 41 45 42 - nativeBuildInputs = [ pkgconfig git ]; 46 + nativeBuildInputs = [ pkgconfig ]; 43 47 buildInputs = [ readline libusb libewf perl zlib openssl] 44 48 ++ optional useX11 [gtkdialog vte gtk2] 45 49 ++ optional rubyBindings [ruby]
+3
pkgs/development/tools/build-managers/gnumake/3.82/default.nix
··· 33 33 ./construct-command-line.patch 34 34 ./long-command-line.patch 35 35 ./darwin-library_search-dylib.patch 36 + 37 + # Fix support for glibc 2.27's glob 38 + ../4.2/glibc-2.27-glob.patch 36 39 ]; 37 40 patchFlags = "-p0"; 38 41
-50
pkgs/development/tools/misc/arm-frc-linux-gnueabi-binutils/default.nix
··· 1 - {stdenv, fetchurl, glibc, bison, arm-frc-linux-gnueabi-eglibc}: 2 - 3 - stdenv.mkDerivation rec { 4 - _target = "arm-frc-linux-gnueabi"; 5 - 6 - version = "2.28"; 7 - name = "${_target}-binutils-${version}"; 8 - 9 - src = fetchurl { 10 - url = "ftp://ftp.gnu.org/gnu/binutils/binutils-${version}.tar.bz2"; 11 - sha256 = "369737ce51587f92466041a97ab7d2358c6d9e1b6490b3940eb09fb0a9a6ac88"; 12 - }; 13 - 14 - nativeBuildInputs = [ bison arm-frc-linux-gnueabi-eglibc ]; 15 - buildInputs = [ glibc ]; 16 - 17 - configureFlags = '' 18 - --target=${_target} 19 - --with-pkgversion='GNU-Binutils-for-FRC' 20 - --with-sysroot=$out/${_target} 21 - --with-build-sysroot=/$out/${_target} 22 - --disable-multilib 23 - --disable-nls 24 - --enable-lto 25 - --disable-libiberty-install 26 - --enable-ld 27 - --enable-gold=default 28 - --enable-plugins 29 - ''; 30 - 31 - postConfigure = '' 32 - make configure-host 33 - ''; 34 - 35 - postInstall = '' 36 - rm -rf $out/share/info 37 - ''; 38 - 39 - meta = { 40 - description = "FRC binutils"; 41 - longDescription = '' 42 - binutils used to build arm-frc-linux-gnueabi and user programs. 43 - ''; 44 - license = stdenv.lib.licenses.gpl2; 45 - maintainers = [ stdenv.lib.maintainers.colescott ]; 46 - platforms = stdenv.lib.platforms.linux; 47 - broken = true; # since 2017-09-10 48 - priority = 3; 49 - }; 50 - }
+2 -2
pkgs/development/tools/ocaml/js_of_ocaml/camlp4.nix
··· 1 1 { stdenv, ocaml, findlib, jbuilder, js_of_ocaml-compiler 2 - , camlp4 2 + , camlp4, ocsigen_deriving 3 3 }: 4 4 5 5 stdenv.mkDerivation rec { ··· 7 7 8 8 inherit (js_of_ocaml-compiler) version src installPhase meta; 9 9 10 - buildInputs = [ ocaml findlib jbuilder camlp4 ]; 10 + buildInputs = [ ocaml findlib jbuilder camlp4 ocsigen_deriving ]; 11 11 12 12 buildPhase = "jbuilder build -p js_of_ocaml-camlp4"; 13 13 }
+1 -1
pkgs/development/tools/parsing/antlr/2.7.7.nix
··· 19 19 walk parse trees. 20 20 ''; 21 21 homepage = http://www.antlr.org/; 22 - platforms = platforms.linux; 22 + platforms = platforms.unix; 23 23 }; 24 24 }
+3 -3
pkgs/development/tools/rust/bindgen/default.nix
··· 4 4 5 5 rustPlatform.buildRustPackage rec { 6 6 name = "rust-bindgen-${version}"; 7 - version = "0.35.0"; 7 + version = "0.36.0"; 8 8 9 9 src = fetchFromGitHub { 10 10 owner = "rust-lang-nursery"; 11 11 repo = "rust-bindgen"; 12 12 rev = "v${version}"; 13 - sha256 = "1qs67mkvrzwzi69rlq49p098h247197f2jiq1f4ivw9naggq5c7v"; 13 + sha256 = "1bpya490qh2jvq99mdlcifj6mgn3yxr0sqas6y5xw842b46g6hi6"; 14 14 }; 15 15 16 16 nativeBuildInputs = [ makeWrapper ]; ··· 24 24 wrapProgram $out/bin/bindgen --set LIBCLANG_PATH "${llvmPackages.clang-unwrapped.lib}/lib" 25 25 ''; 26 26 27 - cargoSha256 = "0bh22fkynn1z83230pbj0gg5k3948f6m0idzyqjyfg1f3qmnzdi6"; 27 + cargoSha256 = "0b8v6c7q1abibzygrigldpd31lyd5ngmj4vq5d7zni96m20mm85w"; 28 28 29 29 doCheck = false; # A test fails because it can't find standard headers in NixOS 30 30
+21
pkgs/development/tools/xcbuild/platform.nix
··· 258 258 }; 259 259 PackageTypes = [ "com.apple.package-type.wrapper.application" ]; 260 260 } 261 + { 262 + Type = "ProductType"; 263 + Identifier = "com.apple.product-type.framework"; 264 + Name = "Bundle"; 265 + DefaultBuildProperties = { 266 + FULL_PRODUCT_NAME = "$(WRAPPER_NAME)"; 267 + MACH_O_TYPE = "mh_bundle"; 268 + WRAPPER_PREFIX = ""; 269 + WRAPPER_SUFFIX = ".$(WRAPPER_EXTENSION)"; 270 + WRAPPER_EXTENSION = "bundle"; 271 + WRAPPER_NAME = "$(WRAPPER_PREFIX)$(PRODUCT_NAME)$(WRAPPER_SUFFIX)"; 272 + FRAMEWORK_FLAG_PREFIX = "-framework"; 273 + LIBRARY_FLAG_PREFIX = "-l"; 274 + LIBRARY_FLAG_NOSPACE = "YES"; 275 + STRIP_STYLE = "non-global"; 276 + }; 277 + PackageTypes = [ "com.apple.package-type.wrapper" ]; 278 + IsWrapper = "YES"; 279 + HasInfoPlist = "YES"; 280 + HasInfoPlistStrings = "YES"; 281 + } 261 282 ]; 262 283 263 284 in
+1 -1
pkgs/development/tools/xcbuild/setup-hook.sh
··· 5 5 6 6 echo "running xcodebuild" 7 7 8 - xcodebuild OTHER_CFLAGS="$NIX_CFLAGS_COMPILE" OTHER_CPLUSPLUSFLAGS="$NIX_CFLAGS_COMPILE" OTHER_LDFLAGS="$NIX_LDFLAGS" build 8 + xcodebuild SYMROOT=$PWD/Products OBJROOT=$PWD/Intermediates $xcbuildFlags build 9 9 10 10 runHook postBuild 11 11 }
+3
pkgs/development/tools/xcbuild/wrapper.nix
··· 46 46 ln -s $file 47 47 done 48 48 49 + mkdir $out/usr 50 + ln -s $out/bin $out/usr/bin 51 + 49 52 mkdir -p $out/Library/Xcode/ 50 53 ln -s ${xcbuild}/Library/Xcode/Specifications $out/Library/Xcode/Specifications 51 54
+19 -13
pkgs/games/openclonk/default.nix
··· 1 - { stdenv, fetchurl, cmake, gnome3, pcre, freetype, glew, gtk3, libjpeg, libpng, 2 - SDL, SDL_mixer, libupnp, xorg, pkgconfig, gtest, tinyxml, gmock, readline, 3 - libxkbcommon, epoxy, at-spi2-core, dbus, libxml2, 4 - enableSoundtrack ? false # Enable the "Open Clonk Soundtrack - Explorers Journey" by David Oerther 1 + { stdenv, fetchurl, cmake, pkgconfig 2 + , SDL2, libvorbis, libogg, libjpeg, libpng, freetype, glew, tinyxml, openal 3 + , freealut, readline, gcc-unwrapped 4 + , enableSoundtrack ? false # Enable the "Open Clonk Soundtrack - Explorers Journey" by David Oerther 5 5 }: 6 6 7 7 let ··· 10 10 sha256 = "1ckj0dlpp5zsnkbb5qxxfxpkiq76jj2fgj91fyf3ll7n0gbwcgw5"; 11 11 }; 12 12 in stdenv.mkDerivation rec { 13 - version = "7.0"; 13 + version = "8.1"; 14 14 name = "openclonk-${version}"; 15 15 16 16 src = fetchurl { 17 - url = "http://www.openclonk.org/builds/release/7.0/openclonk-${version}-src.tar.bz2"; 18 - sha256 = "0ch71dqaaalg744pc1gvg6sj2yp2kgvy2m4yh6l7ljkpf8fj66mw"; 17 + url = "http://www.openclonk.org/builds/release/8.1/openclonk-${version}-src.tar.bz2"; 18 + sha256 = "0imkqjp8lww5p0cnqf4k4mb2v682mnsas63qmiz17rspakr7fxik"; 19 19 }; 20 20 21 21 postInstall = '' 22 22 mv -v $out/games/openclonk $out/bin/ 23 23 '' + stdenv.lib.optionalString enableSoundtrack '' 24 - cp -v ${soundtrack_src} $out/share/games/openclonk/Music.ocg 24 + ln -sv ${soundtrack_src} $out/share/games/openclonk/Music.ocg 25 25 ''; 26 26 27 27 enableParallelBuilding = true; 28 28 29 + nativeBuildInputs = [ cmake pkgconfig ]; 30 + 29 31 buildInputs = [ 30 - cmake gnome3.gtksourceview pcre freetype glew gtk3 libjpeg libpng SDL 31 - SDL_mixer libupnp tinyxml xorg.libpthreadstubs libxkbcommon xorg.libXdmcp 32 - pkgconfig gtest gmock readline epoxy at-spi2-core dbus libxml2 32 + SDL2 libvorbis libogg libjpeg libpng freetype glew tinyxml openal freealut 33 + readline 33 34 ]; 34 35 36 + cmakeFlags = [ "-DCMAKE_AR=${gcc-unwrapped}/bin/gcc-ar" "-DCMAKE_RANLIB=${gcc-unwrapped}/bin/gcc-ranlib" ]; 37 + 38 + cmakeBuildType = "RelWithDebInfo"; 39 + 35 40 meta = with stdenv.lib; { 36 41 description = "Free multiplayer action game in which you control clonks, small but witty and nimble humanoid beings"; 37 - homepage = http://openclonk.org; 42 + homepage = https://www.openclonk.org; 38 43 license = if enableSoundtrack then licenses.unfreeRedistributable else licenses.isc; 39 - platforms = platforms.all; 44 + maintainers = with maintainers; [ lheckemann ]; 45 + platforms = [ "x86_64-linux" "i686-linux" ]; 40 46 }; 41 47 }
+93
pkgs/games/quake2/yquake2/default.nix
··· 1 + { stdenv, lib, fetchFromGitHub, buildEnv, cmake, makeWrapper 2 + , SDL2, libGL 3 + , oggSupport ? true, libogg, libvorbis 4 + , openalSupport ? true, openal 5 + , zipSupport ? true, zlib 6 + }: 7 + 8 + let 9 + mkFlag = b: if b then "ON" else "OFF"; 10 + 11 + games = import ./games.nix { inherit stdenv lib fetchFromGitHub cmake; }; 12 + 13 + wrapper = import ./wrapper.nix { inherit stdenv lib buildEnv makeWrapper yquake2; }; 14 + 15 + yquake2 = stdenv.mkDerivation rec { 16 + name = "yquake2-${version}"; 17 + version = "7.20"; 18 + 19 + src = fetchFromGitHub { 20 + owner = "yquake2"; 21 + repo = "yquake2"; 22 + rev = "QUAKE2_${builtins.replaceStrings ["."] ["_"] version}"; 23 + sha256 = "1yrmn8vajab3zd0fni029s6wrvv2ljn1kyhaiw02wm1dc5yyzb2g"; 24 + }; 25 + 26 + enableParallelBuilding = true; 27 + 28 + nativeBuildInputs = [ cmake ]; 29 + 30 + buildInputs = [ SDL2 libGL ] 31 + ++ lib.optionals oggSupport [ libogg libvorbis ] 32 + ++ lib.optional openalSupport openal 33 + ++ lib.optional zipSupport zlib; 34 + 35 + cmakeFlags = [ 36 + "-DCMAKE_BUILD_TYPE=Release" 37 + "-DOGG_SUPPORT=${mkFlag oggSupport}" 38 + "-DOPENAL_SUPPORT=${mkFlag openalSupport}" 39 + "-DZIP_SUPPORT=${mkFlag zipSupport}" 40 + "-DSYSTEMWIDE_SUPPORT=ON" 41 + ]; 42 + 43 + preConfigure = '' 44 + # Since we can't expand $out in `cmakeFlags` 45 + cmakeFlags="$cmakeFlags -DSYSTEMDIR=$out/share/games/quake2" 46 + ''; 47 + 48 + installPhase = '' 49 + # Yamagi Quake II expects all binaries (executables and libs) to be in the 50 + # same directory. 51 + mkdir -p $out/bin $out/lib/yquake2 $out/share/games/quake2 52 + cp -r release/* $out/lib/yquake2 53 + ln -s $out/lib/yquake2/quake2 $out/bin/yquake2 54 + ln -s $out/lib/yquake2/q2ded $out/bin/yq2ded 55 + cp $src/stuff/yq2.cfg $out/share/games/quake2 56 + ''; 57 + 58 + meta = with stdenv.lib; { 59 + description = "Yamagi Quake II client"; 60 + homepage = "https://www.yamagi.org/quake2/"; 61 + license = licenses.gpl2; 62 + platforms = platforms.unix; 63 + maintainers = with maintainers; [ tadfisher ]; 64 + }; 65 + }; 66 + 67 + in rec { 68 + inherit yquake2; 69 + 70 + yquake2-ctf = wrapper { 71 + games = [ games.ctf ]; 72 + name = "yquake2-ctf"; 73 + inherit (games.ctf) description; 74 + }; 75 + 76 + yquake2-ground-zero = wrapper { 77 + games = [ games.ground-zero ]; 78 + name = "yquake2-ground-zero"; 79 + inherit (games.ground-zero) description; 80 + }; 81 + 82 + yquake2-the-reckoning = wrapper { 83 + games = [ games.the-reckoning ]; 84 + name = "yquake2-the-reckoning"; 85 + inherit (games.the-reckoning) description; 86 + }; 87 + 88 + yquake2-all-games = wrapper { 89 + games = lib.attrValues games; 90 + name = "yquake2-all-games"; 91 + description = "Yamagi Quake II with all add-on games"; 92 + }; 93 + }
+59
pkgs/games/quake2/yquake2/games.nix
··· 1 + { stdenv, lib, fetchFromGitHub, cmake }: 2 + 3 + let 4 + games = { 5 + ctf = { 6 + id = "ctf"; 7 + version = "1.05"; 8 + description = "'Capture The Flag' for Yamagi Quake II"; 9 + sha256 = "15ihspyshls645ig0gq6bwdzvghyyysqk60g6ad3n4idb2ms52md"; 10 + }; 11 + 12 + ground-zero = { 13 + id = "rogue"; 14 + version = "2.04"; 15 + description = "'Ground Zero' for Yamagi Quake II"; 16 + sha256 = "0x1maaycrxv7d3xvvk1ih2zymhvcd3jnab7g3by8qh6g5y33is5l"; 17 + }; 18 + 19 + the-reckoning = { 20 + id = "xatrix"; 21 + version = "2.05"; 22 + description = "'The Reckoning' for Yamagi Quake II"; 23 + sha256 = "0gf2ryhgz8nw1mb1arlbriihjsx09fa0wmkgcayc8ijignfi1qkh"; 24 + }; 25 + }; 26 + 27 + toDrv = title: data: stdenv.mkDerivation rec { 28 + inherit (data) id version description sha256; 29 + inherit title; 30 + 31 + name = "yquake2-${title}-${version}"; 32 + 33 + src = fetchFromGitHub { 34 + inherit sha256; 35 + owner = "yquake2"; 36 + repo = data.id; 37 + rev = "${lib.toUpper id}_${builtins.replaceStrings ["."] ["_"] version}"; 38 + }; 39 + 40 + enableParallelBuilding = true; 41 + 42 + nativeBuildInputs = [ cmake ]; 43 + 44 + installPhase = '' 45 + mkdir -p $out/lib/yquake2/${id} 46 + cp Release/* $out/lib/yquake2/${id} 47 + ''; 48 + 49 + meta = with stdenv.lib; { 50 + inherit (data) description; 51 + homepage = "https://www.yamagi.org/quake2/"; 52 + license = licenses.unfree; 53 + platforms = platforms.unix; 54 + maintainers = with maintainers; [ tadfisher ]; 55 + }; 56 + }; 57 + 58 + in 59 + lib.mapAttrs toDrv games
+31
pkgs/games/quake2/yquake2/wrapper.nix
··· 1 + { stdenv, lib, buildEnv, makeWrapper, yquake2 }: 2 + 3 + { games 4 + , name 5 + , description 6 + }: 7 + 8 + let 9 + env = buildEnv { 10 + name = "${name}-env"; 11 + paths = [ yquake2 ] ++ games; 12 + }; 13 + 14 + in stdenv.mkDerivation { 15 + inherit name; 16 + 17 + nativeBuildInputs = [ makeWrapper ]; 18 + 19 + buildCommand = '' 20 + mkdir -p $out/bin 21 + '' + lib.concatMapStringsSep "\n" (game: '' 22 + makeWrapper ${env}/bin/yquake2 $out/bin/yquake2-${game.title} \ 23 + --add-flags "+set game ${game.id}" 24 + makeWrapper ${env}/bin/yq2ded $out/bin/yq2ded-${game.title} \ 25 + --add-flags "+set game ${game.id}" 26 + '') games; 27 + 28 + meta = { 29 + inherit description; 30 + }; 31 + }
+2 -2
pkgs/games/sgt-puzzles/default.nix
··· 5 5 6 6 stdenv.mkDerivation rec { 7 7 name = "sgt-puzzles-r${version}"; 8 - version = "20171029.69773d8"; 8 + version = "20180409.d95f476"; 9 9 10 10 src = fetchurl { 11 11 url = "http://www.chiark.greenend.org.uk/~sgtatham/puzzles/puzzles-${version}.tar.gz"; 12 - sha256 = "0m1gaa802jyih9hcwpvb05zrzprgj6akafgvbsnq321s0sqzaxf0"; 12 + sha256 = "1psml0abh3i577dns440h52568ggdny2wk1hhr30815nxibbribx"; 13 13 }; 14 14 15 15 nativeBuildInputs = [ autoreconfHook makeWrapper pkgconfig perl wrapGAppsHook ];
+4 -4
pkgs/games/wesnoth/dev.nix
··· 1 1 { stdenv, fetchurl, cmake, pkgconfig, SDL2, SDL2_image, SDL2_mixer, SDL2_net, SDL2_ttf 2 - , pango, gettext, boost, freetype, libvorbis, fribidi, dbus, libpng, pcre, openssl 2 + , pango, gettext, boost, freetype, libvorbis, fribidi, dbus, libpng, pcre, openssl, icu 3 3 , enableTools ? false 4 4 }: 5 5 6 6 stdenv.mkDerivation rec { 7 7 pname = "wesnoth"; 8 - version = "1.13.11"; 8 + version = "1.13.13"; 9 9 10 10 name = "${pname}-${version}"; 11 11 12 12 src = fetchurl { 13 13 url = "mirror://sourceforge/sourceforge/${pname}/${name}.tar.bz2"; 14 - sha256 = "168732lmdnskca9hrkmaz4mi0bssc5ppklln10s306cbsl93bd39"; 14 + sha256 = "1jn3gvw0x8ndwvdm4bqpki1p1cxg2ij02s6w0frhfi4kz706al0c"; 15 15 }; 16 16 17 17 nativeBuildInputs = [ cmake pkgconfig ]; 18 18 19 19 buildInputs = [ SDL2 SDL2_image SDL2_mixer SDL2_net SDL2_ttf pango gettext boost 20 - libvorbis fribidi dbus libpng pcre openssl ]; 20 + libvorbis fribidi dbus libpng pcre openssl icu ]; 21 21 22 22 cmakeFlags = [ "-DENABLE_TOOLS=${if enableTools then "ON" else "OFF"}" ]; 23 23
+2 -2
pkgs/misc/drivers/gutenprint/default.nix
··· 6 6 }: 7 7 8 8 stdenv.mkDerivation rec { 9 - name = "gutenprint-5.2.13"; 9 + name = "gutenprint-5.2.14"; 10 10 11 11 src = fetchurl { 12 12 url = "mirror://sourceforge/gimp-print/${name}.tar.bz2"; 13 - sha256 = "0hi7s0y59306p4kp06sankfa57k2805khbknkvl9d036hdfp9afr"; 13 + sha256 = "1293x19gw1b742id7c7bz5giv3vlxaqpmbdz2g0n99wny5k0ggs5"; 14 14 }; 15 15 16 16 nativeBuildInputs = [ makeWrapper pkgconfig ];
-1
pkgs/misc/emulators/wine/sources.nix
··· 62 62 repo = "winetricks"; 63 63 rev = version; 64 64 }; 65 - 66 65 }
+2 -2
pkgs/misc/screensavers/i3lock-pixeled/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "i3lock-pixeled-${version}"; 5 - version = "1.1.0"; 5 + version = "1.2.0"; 6 6 7 7 src = fetchurl { 8 8 url = "https://github.com/Ma27/i3lock-pixeled/archive/${version}.tar.gz"; 9 - sha256 = "046qbx4qvcc66h53h4mm9pyjj9gjc6dzy38a0f0jc5a84xbivh7k"; 9 + sha256 = "0vlynm833fk1mmdnkcgh4hwqmfypn22zskhysm110k39zvikif0h"; 10 10 }; 11 11 12 12 propagatedBuildInputs = with pkgs; [
-35
pkgs/misc/themes/gtk3/numix-solarized-gtk-theme/default.nix
··· 1 - { stdenv, fetchFromGitHub, sass, glib, gdk_pixbuf }: 2 - 3 - stdenv.mkDerivation rec { 4 - version = "20160919"; 5 - name = "numix-solarized-gtk-theme-${version}"; 6 - 7 - src = fetchFromGitHub { 8 - owner = "Ferdi265"; 9 - repo = "numix-solarized-gtk-theme"; 10 - rev = version; 11 - sha256 = "0243w918ycmf9vnkzfvwnrxz9zc6xxk7167h8ywxj901pqy59kad"; 12 - }; 13 - 14 - postPatch = '' 15 - substituteInPlace Makefile --replace \ 16 - 'INSTALL_DIR=$(DESTDIR)/usr/share/themes' "INSTALL_DIR=$out/share/themes" 17 - patchShebangs . 18 - ''; 19 - 20 - buildInputs = [sass glib gdk_pixbuf]; 21 - 22 - meta = with stdenv.lib; { 23 - description = "GTK3.20-compatible version of bitterologist's Numix Solarized from deviantart"; 24 - longDescription = '' 25 - This is a fork of the Numix GTK theme that replaces the colors of the theme 26 - and icons to use the solarized theme with a solarized green accent color. 27 - This theme supports both the dark and light theme, just as Numix proper. 28 - ''; 29 - homepage = https://github.com/Ferdi265/numix-solarized-gtk-theme; 30 - downloadPage = https://github.com/Ferdi265/numix-solarized-gtk-theme/releases; 31 - license = licenses.gpl3; 32 - maintainers = [ maintainers.offline ]; 33 - platforms = platforms.linux; 34 - }; 35 - }
+49
pkgs/misc/themes/numix-solarized/default.nix
··· 1 + { stdenv, fetchFromGitHub, python3, sass, glib, gdk_pixbuf, libxml2, 2 + inkscape, optipng, gtk-engine-murrine 3 + }: 4 + 5 + stdenv.mkDerivation rec { 6 + version = "20170810"; 7 + name = "numix-solarized-gtk-theme-${version}"; 8 + 9 + src = fetchFromGitHub { 10 + owner = "Ferdi265"; 11 + repo = "numix-solarized-gtk-theme"; 12 + rev = version; 13 + sha256 = "0l4xvsiyg15kp6xwpvm3jckxyhr1lxd678lkhrcyf40n7rd4xinl"; 14 + }; 15 + 16 + nativeBuildInputs = [ python3 sass glib gdk_pixbuf libxml2 inkscape optipng ]; 17 + 18 + propagatedUserEnvPkgs = [ gtk-engine-murrine ]; 19 + 20 + postPatch = '' 21 + patchShebangs . 22 + substituteInPlace Makefile --replace '$(DESTDIR)'/usr $out 23 + substituteInPlace scripts/render-assets.sh \ 24 + --replace /usr/bin/inkscape ${inkscape}/bin/inkscape \ 25 + --replace /usr/bin/optipng ${optipng}/bin/optipng 26 + ''; 27 + 28 + buildPhase = "true"; 29 + 30 + installPhase = '' 31 + for theme in *.colors; do 32 + make THEME="''${theme/.colors/}" install 33 + done 34 + ''; 35 + 36 + meta = with stdenv.lib; { 37 + description = "Solarized versions of Numix GTK2 and GTK3 theme"; 38 + longDescription = '' 39 + This is a fork of the Numix GTK theme that replaces the colors of the theme 40 + and icons to use the solarized theme with a solarized green accent color. 41 + This theme supports both the dark and light theme, just as Numix proper. 42 + ''; 43 + homepage = https://github.com/Ferdi265/numix-solarized-gtk-theme; 44 + downloadPage = https://github.com/Ferdi265/numix-solarized-gtk-theme/releases; 45 + license = licenses.gpl3; 46 + platforms = platforms.linux; 47 + maintainers = [ maintainers.offline ]; 48 + }; 49 + }
+23
pkgs/misc/vim-plugins/default.nix
··· 54 54 # aliasess 55 55 airline = vim-airline; 56 56 alternative = a-vim; # backwards compat, added 2014-10-21 57 + bats = bats-vim; 57 58 calendar = calendar-vim; 58 59 coffee-script = vim-coffee-script; 59 60 coffeeScript = coffee-script; # backwards compat, added 2014-10-18 ··· 1498 1499 }; 1499 1500 dependencies = []; 1500 1501 postInstall = false; 1502 + }; 1503 + 1504 + julia-vim = buildVimPluginFrom2Nix { # created by nix#NixDerivation 1505 + name = "julia-vim-2018-03-27"; 1506 + src = fetchgit { 1507 + url = "https://github.com/JuliaEditorSupport/julia-vim"; 1508 + rev = "4593c8b1ffe20022677e524487c8554d96cf8f84"; 1509 + sha256 = "0yrdzkxyg6cg2i4bd6bqbq0w63hssh3nd0f0qnfl7v5pkq9yba4w"; 1510 + }; 1511 + dependencies = []; 1512 + 1501 1513 }; 1502 1514 1503 1515 fzf-vim = buildVimPluginFrom2Nix { # created by nix#NixDerivation ··· 3030 3042 url = "https://github.com/vim-scripts/argtextobj.vim"; 3031 3043 rev = "f3fbe427f7b4ec436416a5816d714dc917dc530b"; 3032 3044 sha256 = "1l4jh5hdmky1qj5z26jpnk49a6djjcvzyyr6pknrrgb8rzkiln48"; 3045 + }; 3046 + dependencies = []; 3047 + 3048 + }; 3049 + 3050 + bats-vim = buildVimPluginFrom2Nix { # created by nix#NixDerivation 3051 + name = "bats-vim-2013-07-03"; 3052 + src = fetchgit { 3053 + url = "https://github.com/vim-scripts/bats.vim"; 3054 + rev = "3c283f594ff8bc7fb0c25cd07ebef0f17385f94a"; 3055 + sha256 = "06f3hdf7y5gpwmc6inrhk938qmn7cr6mbk00amrnl1qjvk09givx"; 3033 3056 }; 3034 3057 dependencies = []; 3035 3058
+2
pkgs/misc/vim-plugins/vim-plugin-names
··· 87 87 "github:jnurmine/zenburn" 88 88 "github:jonbri/vim-colorstepper" 89 89 "github:joonty/vim-xdebug" 90 + "github:JuliaEditorSupport/julia-vim" 90 91 "github:junegunn/fzf.vim" 91 92 "github:junegunn/goyo.vim" 92 93 "github:junegunn/limelight.vim" ··· 246 247 "github:vim-scripts/align" 247 248 "github:vim-scripts/argtextobj.vim" 248 249 "github:vim-scripts/a.vim" 250 + "github:vim-scripts/bats.vim" 249 251 "github:vim-scripts/changeColorScheme.vim" 250 252 "github:vim-scripts/Colour-Sampler-Pack" 251 253 "github:vim-scripts/Improved-AnsiEsc"
+19
pkgs/os-specific/darwin/CoreSymbolication/default.nix
··· 1 + { fetchFromGitHub, stdenv }: 2 + 3 + # Reverse engineered CoreSymbolication to make dtrace buildable 4 + 5 + stdenv.mkDerivation rec { 6 + name = "CoreSymbolication"; 7 + 8 + src = fetchFromGitHub { 9 + repo = name; 10 + owner = "matthewbauer"; 11 + rev = "671fcb66c82eac1827f3f53dc4cc4e9b1b94da0a"; 12 + sha256 = "0qpw46gwgjxiwqqjxksb8yghp2q8dwad6hzaf4zl82xpvk9n5ahj"; 13 + }; 14 + 15 + installPhase = '' 16 + mkdir -p $out/include 17 + cp -r CoreSymbolication $out/include 18 + ''; 19 + }
+41
pkgs/os-specific/darwin/apple-source-releases/SmartCardServices/default.nix
··· 1 + { stdenv, appleDerivation, xcbuild, gnumake, Security 2 + , libsecurity_utilities, libsecurity_cdsa_utilities }: 3 + 4 + appleDerivation { 5 + buildInputs = [ xcbuild libsecurity_utilities libsecurity_cdsa_utilities ]; 6 + 7 + DSTROOT = "$out"; 8 + 9 + NIX_CFLAGS_COMPILE = "-I."; 10 + preBuild = '' 11 + mkdir -p Security 12 + cp ${Security}/Library/Frameworks/Security.framework/Headers/*.h Security 13 + ''; 14 + 15 + patchPhase = '' 16 + substituteInPlace SmartCardServices.xcodeproj/project.pbxproj \ 17 + --replace "/usr/bin/gnumake" "${gnumake}/bin/make" 18 + substituteInPlace src/PCSC/PCSC.exp \ 19 + --replace _PCSCVersionString "" \ 20 + --replace _PCSCVersionNumber "" 21 + substituteInPlace Makefile.installPhase \ 22 + --replace chown "# chown" \ 23 + --replace /usr/bin/ "" 24 + ''; 25 + 26 + installPhase = '' 27 + make -f Makefile.installPhase install 28 + make -f Makefile-exec.installPhase install 29 + mv $out/usr/* $out 30 + rmdir $out/usr 31 + 32 + mkdir -p $out/Library/Frameworks 33 + cp -r Products/Release/PCSC.bundle $out/Library/Frameworks/PCSC.framework 34 + ''; 35 + 36 + meta = with stdenv.lib; { 37 + maintainers = with maintainers; [ matthewbauer ]; 38 + platforms = platforms.darwin; 39 + license = licenses.apsl20; 40 + }; 41 + }
+2 -2
pkgs/os-specific/darwin/apple-source-releases/adv_cmds/xcode.nix
··· 27 27 | grep -v -e Desktop -e Embedded -e mklocale -e colldef) 28 28 29 29 for i in $targets; do 30 - xcodebuild -target $i 30 + xcodebuild SYMROOT=$PWD/Products OBJROOT=$PWD/Intermediates -target $i 31 31 done 32 32 ''; 33 33 34 34 # temporary install phase until xcodebuild has "install" support 35 35 installPhase = '' 36 36 mkdir -p $out/bin/ 37 - install adv_cmds-*/Build/Products/Release/* $out/bin/ 37 + install Products/Release/* $out/bin/ 38 38 39 39 for n in 1 8; do 40 40 mkdir -p $out/share/man/man$n
+1 -1
pkgs/os-specific/darwin/apple-source-releases/basic_cmds/default.nix
··· 14 14 # temporary install phase until xcodebuild has "install" support 15 15 installPhase = '' 16 16 mkdir -p $out/bin/ 17 - install basic_cmds-*/Build/Products/Release/* $out/bin/ 17 + install Products/Release/* $out/bin/ 18 18 19 19 for n in 1; do 20 20 mkdir -p $out/share/man/man$n
+14 -1
pkgs/os-specific/darwin/apple-source-releases/default.nix
··· 7 7 # now it's staying here. 8 8 versions = { 9 9 "osx-10.11.6" = { 10 + SmartCardServices = "55111"; 10 11 dtrace = "168"; 11 12 xnu = "3248.60.10"; 12 13 libpthread = "138.10.4"; ··· 43 44 file_cmds = "264.1.1"; 44 45 shell_cmds = "187"; 45 46 system_cmds = "550.6"; 47 + diskdev_cmds = "593"; 48 + top = "108"; 49 + text_cmds = "99"; 46 50 }; 47 51 "osx-10.11.5" = { 48 52 Libc = "1082.50.1"; # 10.11.6 still unreleased :/ ··· 53 57 ICU = "531.48"; 54 58 libdispatch = "442.1.4"; 55 59 Security = "57031.40.6"; 60 + security_systemkeychain = "55202"; 56 61 57 62 IOAudioFamily = "203.3"; 58 63 IOFireWireFamily = "458"; ··· 191 196 adv_cmds = applePackage "adv_cmds" "osx-10.5.8" "102ssayxbg9wb35mdmhswbnw0bg7js3pfd8fcbic83c5q3bqa6c6" {}; 192 197 193 198 packages = { 199 + SmartCardServices = applePackage "SmartCardServices" "osx-10.11.6" "1qqjlbi6j37mw9p3qpfnwf14xh9ff8h5786bmvzwc4kblfglabkm" {}; 200 + 194 201 inherit (adv_cmds) ps locale; 195 202 architecture = applePackage "architecture" "osx-10.11.6" "1pbpjcd7is69hn8y29i98ci0byik826if8gnp824ha92h90w0fq3" {}; 196 203 bootstrap_cmds = applePackage "bootstrap_cmds" "dev-tools-7.0" "1v5dv2q3af1xwj5kz0a5g54fd5dm6j4c9dd2g66n4kc44ixyrhp3" {}; ··· 201 208 configd = applePackage "configd" "osx-10.8.5" "1gxakahk8gallf16xmhxhprdxkh3prrmzxnmxfvj0slr0939mmr2" {}; 202 209 copyfile = applePackage "copyfile" "osx-10.11.6" "1rkf3iaxmjz5ycgrmf0g971kh90jb2z1zqxg5vlqz001s4y457gs" {}; 203 210 Csu = applePackage "Csu" "osx-10.11.6" "0yh5mslyx28xzpv8qww14infkylvc1ssi57imhi471fs91sisagj" {}; 204 - dtrace = applePackage "dtrace" "osx-10.11.6" "0pp5x8dgvzmg9vvg32hpy2brm17dpmbwrcr4prsmdmfvd4767wc0" {}; 211 + dtrace = applePackage "dtrace" "osx-10.11.6" "04mi0jy8gy0w59rk9i9dqznysv6fzz1v5mq779s41cp308yi0h1c" {}; 212 + dtrace-xcode = applePackage "dtrace/xcode.nix" "osx-10.11.6" "04mi0jy8gy0w59rk9i9dqznysv6fzz1v5mq779s41cp308yi0h1c" {}; 205 213 dyld = applePackage "dyld" "osx-10.11.6" "0qkjmjazm2zpgvwqizhandybr9cm3gz9pckx8rmf0py03faafc08" {}; 206 214 eap8021x = applePackage "eap8021x" "osx-10.11.6" "0iw0qdib59hihyx2275rwq507bq2a06gaj8db4a8z1rkaj1frskh" {}; 207 215 ICU = applePackage "ICU" "osx-10.10.5" "1qihlp42n5g4dl0sn0f9pc0bkxy1452dxzf0vr6y5gqpshlzy03p" {}; ··· 238 246 adv_cmds = applePackage "adv_cmds/xcode.nix" "osx-10.11.6" "12gbv35i09aij9g90p6b3x2f3ramw43qcb2gjrg8lzkzmwvcyw9q" {}; 239 247 basic_cmds = applePackage "basic_cmds" "osx-10.11.6" "0hvab4b1v5q2x134hdkal0rmz5gsdqyki1vb0dbw4py1bqf0yaw9" {}; 240 248 developer_cmds = applePackage "developer_cmds" "osx-10.11.6" "1r9c2b6dcl22diqf90x58psvz797d3lxh4r2wppr7lldgbgn24di" {}; 249 + diskdev_cmds = applePackage "diskdev_cmds" "osx-10.11.6" "1ssdyiaq5m1zfy96yy38yyknp682ki6bvabdqd5z18fa0rv3m2ar" {}; 241 250 network_cmds = applePackage "network_cmds" "osx-10.11.6" "0lhi9wz84qr1r2ab3fb4nvmdg9gxn817n5ldg7zw9gnf3wwn42kw" {}; 242 251 file_cmds = applePackage "file_cmds" "osx-10.11.6" "1zfxbmasps529pnfdjvc13p7ws2cfx8pidkplypkswyff0nff4wp" {}; 243 252 shell_cmds = applePackage "shell_cmds" "osx-10.11.6" "0084k271v66h4jqp7q7rmjvv7w4mvhx3aq860qs8jbd30canm86n" {}; 244 253 system_cmds = applePackage "system_cmds" "osx-10.11.6" "1h46j2c5v02pkv5d9fyv6cpgyg0lczvwicrx6r9s210cl03l77jl" {}; 254 + text_cmds = applePackage "text_cmds" "osx-10.11.6" "1f93m7dd0ghqb2hwh905mjhzblyfr7dwffw98xhgmv1mfdnigxg0" {}; 255 + top = applePackage "top" "osx-10.11.6" "0i9120rfwapgwdvjbfg0ya143i29s1m8zbddsxh39pdc59xnsg5l" {}; 256 + 257 + security_systemkeychain = applePackage "security_systemkeychain" "osx-10.10.5" "0xviskdgxsail15npi0billyiysvljlmg38mmhnr7qi4ymnnjr90" {}; 245 258 246 259 libsecurity_apple_csp = libsecPackage "libsecurity_apple_csp" "osx-10.7.5" "1ngyn1ik27n4x981px3kfd1z1n8zx7r5w812b6qfjpy5nw4h746w" {}; 247 260 libsecurity_apple_cspdl = libsecPackage "libsecurity_apple_cspdl" "osx-10.7.5" "1svqa5fhw7p7njzf8bzg7zgc5776aqjhdbnlhpwmr5hmz5i0x8r7" {};
+1 -1
pkgs/os-specific/darwin/apple-source-releases/developer_cmds/default.nix
··· 11 11 # temporary install phase until xcodebuild has "install" support 12 12 installPhase = '' 13 13 mkdir -p $out/bin/ 14 - install developer_cmds-*/Build/Products/Release/* $out/bin/ 14 + install Products/Release/* $out/bin/ 15 15 16 16 for n in 1; do 17 17 mkdir -p $out/share/man/man$n
+32
pkgs/os-specific/darwin/apple-source-releases/diskdev_cmds/default.nix
··· 1 + { stdenv, appleDerivation, xcbuild, lib, hostPlatform, Libc, xnu, libutil-new }: 2 + 3 + appleDerivation { 4 + buildInputs = [ xcbuild libutil-new ]; 5 + 6 + NIX_CFLAGS_COMPILE = "-I."; 7 + NIX_LDFLAGS = "-lutil"; 8 + patchPhase = '' 9 + # ugly hacks for missing headers 10 + # most are bsd related - probably should make this a drv 11 + unpackFile ${Libc.src} 12 + unpackFile ${xnu.src} 13 + mkdir System sys machine i386 14 + cp xnu-*/bsd/sys/disklabel.h sys 15 + cp xnu-*/bsd/machine/disklabel.h machine 16 + cp xnu-*/bsd/i386/disklabel.h i386 17 + cp -r xnu-*/bsd/sys System 18 + cp -r Libc-*/uuid System 19 + ''; 20 + installPhase = '' 21 + install -D Products/Release/libdisk.a $out/lib/libdisk.a 22 + rm Products/Release/libdisk.a 23 + for bin in Products/Release/*; do 24 + install -D $bin $out/bin/$(basename $bin) 25 + done 26 + ''; 27 + 28 + meta = { 29 + platforms = stdenv.lib.platforms.darwin; 30 + maintainers = with stdenv.lib.maintainers; [ matthewbauer ]; 31 + }; 32 + }
+45
pkgs/os-specific/darwin/apple-source-releases/dtrace/xcode.nix
··· 1 + { appleDerivation, xcbuild, CoreSymbolication, xnu, bison, flex, darling, stdenv }: 2 + 3 + appleDerivation { 4 + buildInputs = [ xcbuild CoreSymbolication xnu bison flex darling ]; 5 + NIX_CFLAGS_COMPILE = "-DCTF_OLD_VERSIONS -DPRIVATE -DYYDEBUG=1 -I${xnu}/Library/Frameworks/System.framework/Headers"; 6 + NIX_LDFLAGS = "-L./Products/Release"; 7 + xcbuildFlags = "-target dtrace"; 8 + 9 + patchPhase = '' 10 + substituteInPlace dtrace.xcodeproj/project.pbxproj --replace "/usr/sbin" "" 11 + substituteInPlace libdtrace/dt_open.c \ 12 + --replace "/usr/bin/clang" "${stdenv.cc}/bin/cpp" \ 13 + --replace "/usr/bin/ld" "${stdenv.cc}/bin/ld" \ 14 + --replace "/usr/bin/dtrace" $out/lib/dtrace 15 + ''; 16 + 17 + # hack to handle xcbuild's broken lex handling 18 + preBuild = '' 19 + cd libdtrace 20 + yacc -d dt_grammar.y 21 + flex -l -d dt_lex.l 22 + cd .. 23 + 24 + substituteInPlace dtrace.xcodeproj/project.pbxproj \ 25 + --replace '6EBC9800099BFBBF0001019C /* dt_grammar.y */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.yacc; name = dt_grammar.y; path = libdtrace/dt_grammar.y; sourceTree = "<group>"; };' '6EBC9800099BFBBF0001019C /* y.tab.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = y.tab.c; path = libdtrace/y.tab.c; sourceTree = "<group>"; };' \ 26 + --replace '6EBC9808099BFBBF0001019C /* dt_lex.l */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.lex; name = dt_lex.l; path = libdtrace/dt_lex.l; sourceTree = "<group>"; };' '6EBC9808099BFBBF0001019C /* lex.yy.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = lex.yy.c; path = libdtrace/lex.yy.c; sourceTree = "<group>"; };' 27 + ''; 28 + 29 + # xcbuild doesn't support install 30 + installPhase = '' 31 + mkdir -p $out 32 + 33 + cp -r Products/Release/usr $out 34 + mv $out/usr/* $out 35 + rmdir $out/usr 36 + 37 + mkdir $out/lib 38 + cp Products/Release/*.dylib $out/lib 39 + 40 + mkdir $out/bin 41 + cp Products/Release/dtrace $out/bin 42 + 43 + mkdir -p $out/lib/dtrace 44 + ''; 45 + }
+1 -1
pkgs/os-specific/darwin/apple-source-releases/file_cmds/default.nix
··· 19 19 # temporary install phase until xcodebuild has "install" support 20 20 installPhase = '' 21 21 mkdir -p $out/bin/ 22 - install file_cmds-*/Build/Products/Release/* $out/bin 22 + install Products/Release/* $out/bin 23 23 24 24 for n in 1; do 25 25 mkdir -p $out/share/man/man$n
+1
pkgs/os-specific/darwin/apple-source-releases/libsecurity_apple_x509_tp/GNUmakefile
··· 5 5 security_apple_x509_tp_HEADER_FILES = $(notdir $(wildcard lib/*.h)) 6 6 security_apple_x509_tp_HEADER_FILES_DIR = lib 7 7 8 + security_apple_x509_tp_C_FILES = $(wildcard lib/*.c) 8 9 security_apple_x509_tp_CC_FILES = $(wildcard lib/*.cpp) 9 10 10 11 include $(GNUSTEP_MAKEFILES)/library.make
+32 -6
pkgs/os-specific/darwin/apple-source-releases/libsecurity_codesigning/default.nix
··· 1 - { appleDerivation, libsecurity_cdsa_utilities, libsecurity_utilities }: 1 + { appleDerivation, libsecurity_cdsa_utilities, libsecurity_utilities 2 + , Security, xnu, xar, antlr, libsecurityd, apple_sdk 3 + , dtrace-xcode, osx_private_sdk }: 2 4 appleDerivation { 3 - buildInputs = [ 4 - libsecurity_utilities 5 - libsecurity_cdsa_utilities 6 - ]; 7 - } 5 + buildInputs = [ libsecurity_utilities libsecurity_cdsa_utilities dtrace-xcode 6 + Security xar antlr libsecurityd ]; 7 + NIX_CFLAGS_COMPILE = "-Iinclude -I${xnu}/Library/Frameworks/System.framework/Headers"; 8 + patchPhase = '' 9 + substituteInPlace lib/policydb.cpp \ 10 + --replace "new MutableDictionary::MutableDictionary()" NULL 11 + substituteInPlace lib/xpcengine.h \ 12 + --replace "#include <xpc/private.h>" "" 13 + substituteInPlace lib/policyengine.cpp \ 14 + --replace "#include <OpenScriptingUtilPriv.h>" "" 15 + 16 + rm lib/policyengine.cpp lib/quarantine++.cpp lib/codedirectory.cpp lib/xpcengine.cpp 17 + ''; 18 + preBuild = '' 19 + mkdir -p include 20 + cp ${osx_private_sdk.src}/PrivateSDK10.10.sparse.sdk/usr/include/quarantine.h include 21 + mkdir -p include/CoreServices/ 22 + cp ${osx_private_sdk.src}/PrivateSDK10.10.sparse.sdk/System/Library/Frameworks/CoreServices.framework/PrivateHeaders/*.h include/CoreServices/ 23 + 24 + unpackFile ${Security.src} 25 + mkdir -p include/securityd_client 26 + cp Security-*/libsecurityd/lib/*.h include/securityd_client 27 + mkdir -p include/xpc 28 + cp ${apple_sdk.sdk}/include/xpc/*.h include/xpc 29 + 30 + sed -i '1i #define bool int' lib/security_codesigning.d 31 + dtrace -h -C -s lib/security_codesigning.d -o codesigning_dtrace.h 32 + ''; 33 + }
+3
pkgs/os-specific/darwin/apple-source-releases/libsecurity_utilities/default.nix
··· 4 4 libauto 5 5 libobjc 6 6 IOKit 7 + ]; 8 + propagatedBuildInputs = [ 7 9 sqlite 8 10 apple_sdk.frameworks.PCSC 9 11 ]; 12 + NIX_LDFLAGS = "-framework PCSC"; 10 13 patchPhase = '' 11 14 substituteInPlace lib/errors.h --replace \ 12 15 '<CoreServices/../Frameworks/CarbonCore.framework/Headers/MacTypes.h>' \
+3 -7
pkgs/os-specific/darwin/apple-source-releases/libutil/new.nix
··· 4 4 appleDerivation { 5 5 buildInputs = [ xcbuild ]; 6 6 7 - dontUseXcbuild = true; 8 - 9 7 prePatch = '' 10 8 substituteInPlace tzlink.c \ 11 9 --replace '#include <xpc/xpc.h>' "" 12 10 ''; 13 11 14 - buildPhase = '' 15 - xcodebuild -target util 16 - ''; 12 + xcbuildFlags = "-target util"; 17 13 18 14 installPhase = '' 19 15 mkdir -p $out/lib $out/include 20 16 21 - cp libutil-*/Build/Products/Release/*.dylib $out/lib 22 - cp libutil-*/Build/Products/Release/*.h $out/include 17 + cp Products/Release/*.dylib $out/lib 18 + cp Products/Release/*.h $out/include 23 19 24 20 # TODO: figure out how to get this to be right the first time around 25 21 install_name_tool -id $out/lib/libutil.dylib $out/lib/libutil.dylib
+1 -1
pkgs/os-specific/darwin/apple-source-releases/network_cmds/default.nix
··· 19 19 # temporary install phase until xcodebuild has "install" support 20 20 installPhase = '' 21 21 mkdir -p $out/bin/ 22 - install network_cmds-*/Build/Products/Release/* $out/bin/ 22 + install Products/Release/* $out/bin/ 23 23 24 24 for n in 1 5; do 25 25 mkdir -p $out/share/man/man$n
+31
pkgs/os-specific/darwin/apple-source-releases/security_systemkeychain/default.nix
··· 1 + { appleDerivation, xcbuild, Security 2 + , libsecurity_codesigning, libsecurity_utilities, libsecurity_cdsa_utilities 3 + , xnu, osx_private_sdk, pcsclite}: 4 + 5 + appleDerivation { 6 + buildInputs = [ xcbuild Security libsecurity_utilities 7 + libsecurity_cdsa_utilities libsecurity_codesigning 8 + pcsclite ]; 9 + 10 + NIX_LDFLAGS = "-lpcsclite"; 11 + 12 + # can't build the whole thing 13 + xcbuildFlags = "-target codesign"; 14 + 15 + preBuild = '' 16 + mkdir -p include/Security 17 + cp ${osx_private_sdk.src}/PrivateSDK10.10.sparse.sdk/System/Library/Frameworks/Security.framework/PrivateHeaders/*.h include/Security 18 + cp ${osx_private_sdk.src}/PrivateSDK10.10.sparse.sdk/System/Library/Frameworks/Security.framework/Headers/*.h include/Security 19 + 20 + unpackFile ${xnu.src} 21 + mkdir -p include/sys 22 + cp -r xnu-*/bsd/sys/codesign.h include/sys/codesign.h 23 + ''; 24 + 25 + NIX_CFLAGS_COMPILE = "-Iinclude"; 26 + 27 + installPhase = '' 28 + mkdir -p $out/bin 29 + cp Products/Release/codesign $out/bin/codesign 30 + ''; 31 + }
+1 -1
pkgs/os-specific/darwin/apple-source-releases/shell_cmds/default.nix
··· 29 29 # temporary install phase until xcodebuild has "install" support 30 30 installPhase = '' 31 31 mkdir -p $out/usr/bin 32 - install shell_cmds-*/Build/Products/Release/* $out/usr/bin 32 + install Products/Release/* $out/usr/bin 33 33 34 34 export DSTROOT=$out 35 35 export SRCROOT=$PWD
+25
pkgs/os-specific/darwin/apple-source-releases/text_cmds/default.nix
··· 1 + { stdenv, appleDerivation, fetchurl, xcbuild, ncurses, bzip2, zlib, lzma }: 2 + 3 + appleDerivation { 4 + buildInputs = [ xcbuild ncurses bzip2 zlib lzma ]; 5 + 6 + # patches to use ncursees 7 + # disables md5 8 + patchPhase = '' 9 + substituteInPlace text_cmds.xcodeproj/project.pbxproj \ 10 + --replace 'FC6C98FB149A94EB00DDCC47 /* libcurses.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libcurses.dylib; path = /usr/lib/libcurses.dylib; sourceTree = "<absolute>"; };' 'FC6C98FB149A94EB00DDCC47 /* libncurses.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libncurses.dylib; path = /usr/lib/libncurses.dylib; sourceTree = "<absolute>"; };' \ 11 + --replace 'FC7A7EB5149875E00086576A /* PBXTargetDependency */,' "" 12 + ''; 13 + 14 + installPhase = '' 15 + mkdir -p $out/bin 16 + for f in Products/Release/*; do 17 + install -D $f $out/bin/$(basename $f) 18 + done 19 + ''; 20 + 21 + meta = { 22 + platforms = stdenv.lib.platforms.darwin; 23 + maintainers = with stdenv.lib.maintainers; [ matthewbauer ]; 24 + }; 25 + }
+15
pkgs/os-specific/darwin/apple-source-releases/top/default.nix
··· 1 + {xcbuild, appleDerivation, apple_sdk, ncurses, libutil-new, lib}: 2 + 3 + appleDerivation { 4 + buildInputs = [ xcbuild apple_sdk.frameworks.IOKit ncurses libutil-new ]; 5 + NIX_LDFLAGS = "-lutil"; 6 + installPhase = '' 7 + install -D Products/Release/libtop.a $out/lib/libtop.a 8 + install -D Products/Release/libtop.h $out/include/libtop.h 9 + install -D Products/Release/top $out/bin/top 10 + ''; 11 + meta = { 12 + platforms = lib.platforms.darwin; 13 + maintainers = with lib.maintainers; [ matthewbauer ]; 14 + }; 15 + }
+10 -4
pkgs/os-specific/darwin/cctools/port.nix
··· 2 2 , llvm, libcxx, libcxxabi, clang, libuuid 3 3 , libobjc ? null, maloader ? null, xctoolchain ? null 4 4 , hostPlatform, targetPlatform 5 + , enableDumpNormalizedLibArgs ? false 5 6 }: 6 7 7 8 let ··· 12 13 "${targetPlatform.config}-"; 13 14 in 14 15 15 - assert targetPlatform.isDarwin; 16 - 17 16 # Non-Darwin alternatives 18 17 assert (!hostPlatform.isDarwin) -> (maloader != null && xctoolchain != null); 19 18 ··· 22 21 name = "${targetPrefix}cctools-port-${version}"; 23 22 version = "895"; 24 23 25 - src = fetchFromGitHub { 24 + src = fetchFromGitHub (if enableDumpNormalizedLibArgs then { 25 + owner = "tpoechtrager"; 26 + repo = "cctools-port"; 27 + # master with https://github.com/tpoechtrager/cctools-port/pull/34 28 + rev = "8395d4b2c3350356e2fb02f5e04f4f463c7388df"; 29 + sha256 = "10vbf1cfzx02q8chc77s84fp2kydjpx2y682mr6mrbb7sq5rwh8f"; 30 + } else { 26 31 owner = "tpoechtrager"; 27 32 repo = "cctools-port"; 28 33 rev = "2e569d765440b8cd6414a695637617521aa2375b"; # From branch 895-ld64-274.2 29 34 sha256 = "0l45mvyags56jfi24rawms8j2ihbc45mq7v13pkrrwppghqrdn52"; 30 - }; 35 + }); 31 36 32 37 outputs = [ "out" "dev" ]; 33 38 ··· 117 122 }; 118 123 119 124 meta = { 125 + broken = !targetPlatform.isDarwin; # Only supports darwin targets 120 126 homepage = http://www.opensource.apple.com/source/cctools/; 121 127 description = "MacOS Compiler Tools (cross-platform port)"; 122 128 license = stdenv.lib.licenses.apsl20;
+34
pkgs/os-specific/darwin/darling/default.nix
··· 1 + {stdenv, lib, fetchFromGitHub, cmake, bison, flex}: 2 + 3 + stdenv.mkDerivation rec { 4 + pname = "darling"; 5 + name = pname; 6 + 7 + src = fetchFromGitHub { 8 + repo = pname; 9 + owner = "darlinghq"; 10 + rev = "d2cc5fa748003aaa70ad4180fff0a9a85dc65e9b"; 11 + sha256 = "1sdl0ysa3yfdvkq0x7vkdl64g7mcfy3qx70saf1d8rnhycbxjgjg"; 12 + }; 13 + 14 + # only packaging sandbox for now 15 + buildPhase = '' 16 + cc -c src/sandbox/sandbox.c -o src/sandbox/sandbox.o 17 + cc -dynamiclib -flat_namespace src/sandbox/sandbox.o -o libsystem_sandbox.dylib 18 + ''; 19 + 20 + installPhase = '' 21 + mkdir -p $out/lib 22 + cp -rL src/sandbox/include/ $out/ 23 + cp libsystem_sandbox.dylib $out/lib/ 24 + ''; 25 + 26 + # buildInputs = [ cmake bison flex ]; 27 + 28 + meta = with lib; { 29 + maintainers = with maintainers; [ matthewbauer ]; 30 + license = licenses.gpl3; 31 + description = "Darwin/macOS emulation layer for Linux"; 32 + platforms = platforms.unix; 33 + }; 34 + }
+1
pkgs/os-specific/darwin/maloader/default.nix
··· 32 32 description = "Mach-O loader for Linux"; 33 33 homepage = https://github.com/shinh/maloader; 34 34 license = stdenv.lib.licenses.bsd2; 35 + platforms = stdenv.lib.platforms.linux; 35 36 }; 36 37 }
pkgs/os-specific/darwin/swift-corefoundation/default.nix pkgs/os-specific/darwin/swift-corelibs/corefoundation.nix
+8
pkgs/os-specific/darwin/swift-corelibs/default.nix
··· 1 + {callPackage, stdenv, darwin, xcbuild}: 2 + 3 + rec { 4 + corefoundation = callPackage ./corefoundation.nix {}; 5 + libdispatch = callPackage ./libdispatch.nix { 6 + inherit (darwin) apple_sdk_sierra xnu; 7 + }; 8 + }
+12
pkgs/os-specific/darwin/swift-corelibs/libdispatch.nix
··· 1 + { stdenv, fetchFromGitHub, cmake, apple_sdk_sierra, xnu-new }: 2 + 3 + stdenv.mkDerivation rec { 4 + name = "swift-corelibs-libdispatch"; 5 + src = fetchFromGitHub { 6 + owner = "apple"; 7 + repo = name; 8 + rev = "f83b5a498bad8e9ff8916183cf6e8ccf677c346b"; 9 + sha256 = "1czkyyc9llq2mnqfp19mzcfsxzas0y8zrk0gr5hg60acna6jkz2l"; 10 + }; 11 + buildInputs = [ cmake apple_sdk_sierra.sdk xnu-new ]; 12 + }
+2 -2
pkgs/os-specific/linux/autofs/default.nix
··· 1 - { stdenv, lib, fetchurl, flex, bison, linuxHeaders, libtirpc, mount, umount, modprobe, nfs-utils, e2fsprogs 1 + { stdenv, lib, fetchurl, flex, bison, linuxHeaders, libtirpc, mount, umount, nfs-utils, e2fsprogs 2 2 , libxml2, kerberos, kmod, openldap, sssd, cyrus_sasl, openssl }: 3 3 4 4 let ··· 20 20 export MOUNT=${mount}/bin/mount 21 21 export MOUNT_NFS=${nfs-utils}/bin/mount.nfs 22 22 export UMOUNT=${umount}/bin/umount 23 - export MODPROBE=${modprobe}/bin/modprobe 23 + export MODPROBE=${kmod}/bin/modprobe 24 24 export E2FSCK=${e2fsprogs}/bin/fsck.ext2 25 25 export E3FSCK=${e2fsprogs}/bin/fsck.ext3 26 26 export E4FSCK=${e2fsprogs}/bin/fsck.ext4
-82
pkgs/os-specific/linux/bluez/bluez5_28.nix
··· 1 - { stdenv, fetchurl, pkgconfig, dbus, glib, alsaLib, 2 - pythonPackages, readline, libsndfile, udev, libical, 3 - systemd, enableWiimote ? false }: 4 - 5 - assert stdenv.isLinux; 6 - 7 - let 8 - inherit (pythonPackages) python; 9 - in stdenv.mkDerivation rec { 10 - name = "bluez-5.28"; 11 - 12 - src = fetchurl { 13 - url = "mirror://kernel/linux/bluetooth/${name}.tar.xz"; 14 - sha256 = "1a8qzh38wpq5c0rydpx9isf0jc6g14g2qs18j1rmi8a79f7v9fl5"; 15 - }; 16 - 17 - pythonPath = with pythonPackages; 18 - [ dbus pygobject2 pygobject3 recursivePthLoader ]; 19 - 20 - buildInputs = 21 - [ pkgconfig dbus glib alsaLib python pythonPackages.wrapPython 22 - readline libsndfile udev libical 23 - # Disables GStreamer; not clear what it gains us other than a 24 - # zillion extra dependencies. 25 - # gstreamer gst-plugins-base 26 - ]; 27 - 28 - preConfigure = '' 29 - substituteInPlace tools/hid2hci.rules --replace /sbin/udevadm ${systemd}/bin/udevadm 30 - substituteInPlace tools/hid2hci.rules --replace "hid2hci " "$out/lib/udev/hid2hci " 31 - ''; 32 - 33 - configureFlags = [ 34 - "--localstatedir=/var" 35 - "--enable-library" 36 - "--enable-cups" 37 - "--with-dbusconfdir=$(out)/etc" 38 - "--with-dbussystembusdir=$(out)/share/dbus-1/system-services" 39 - "--with-dbussessionbusdir=$(out)/share/dbus-1/services" 40 - "--with-systemdsystemunitdir=$(out)/etc/systemd/system" 41 - "--with-systemduserunitdir=$(out)/etc/systemd/user" 42 - "--with-udevdir=$(out)/lib/udev" 43 - ] ++ 44 - stdenv.lib.optional enableWiimote [ "--enable-wiimote" ]; 45 - 46 - # Work around `make install' trying to create /var/lib/bluetooth. 47 - installFlags = "statedir=$(TMPDIR)/var/lib/bluetooth"; 48 - 49 - makeFlags = "rulesdir=$(out)/lib/udev/rules.d"; 50 - 51 - # FIXME: Move these into a separate package to prevent Bluez from 52 - # depending on Python etc. 53 - postInstall = '' 54 - mkdir $out/test 55 - cp -a test $out 56 - pushd $out/test 57 - for a in \ 58 - simple-agent \ 59 - test-adapter \ 60 - test-device \ 61 - test-thermometer \ 62 - list-devices \ 63 - monitor-bluetooth \ 64 - ; do 65 - ln -s ../test/$a $out/bin/bluez-$a 66 - done 67 - popd 68 - wrapPythonProgramsIn $out/test "$out/test $pythonPath" 69 - 70 - # for bluez4 compatibility for NixOS 71 - mkdir $out/sbin 72 - ln -s ../libexec/bluetooth/bluetoothd $out/sbin/bluetoothd 73 - ln -s ../libexec/bluetooth/obexd $out/sbin/obexd 74 - ''; 75 - 76 - meta = with stdenv.lib; { 77 - homepage = http://www.bluez.org/; 78 - repositories.git = https://git.kernel.org/pub/scm/bluetooth/bluez.git; 79 - description = "Bluetooth support for Linux"; 80 - platforms = platforms.linux; 81 - }; 82 - }
+2 -2
pkgs/os-specific/linux/ipset/default.nix
··· 1 1 { stdenv, fetchurl, pkgconfig, libmnl }: 2 2 3 3 stdenv.mkDerivation rec { 4 - name = "ipset-6.36"; 4 + name = "ipset-6.38"; 5 5 6 6 src = fetchurl { 7 7 url = "http://ipset.netfilter.org/${name}.tar.bz2"; 8 - sha256 = "03fk40v0rbiv2b9ciy3zk8yix163803xvpmdlyvrfzbcvj84l8i2"; 8 + sha256 = "0i72wcljl0nkpmzc20jcch3hpphrm0qp4v4j4ajamq0zlddn5vyf"; 9 9 }; 10 10 11 11 nativeBuildInputs = [ pkgconfig ];
+5 -4
pkgs/os-specific/linux/iputils/default.nix
··· 35 35 installPhase = 36 36 '' 37 37 mkdir -p $out/bin 38 - cp -p ping tracepath clockdiff arping rdisc $out/bin/ 38 + cp -p ping tracepath clockdiff arping rdisc rarpd $out/bin/ 39 39 if [ -x ninfod/ninfod ]; then 40 40 cp -p ninfod/ninfod $out/bin 41 41 fi 42 42 43 43 mkdir -p $out/share/man/man8 44 44 cp -p \ 45 - doc/clockdiff.8 doc/arping.8 doc/ping.8 doc/rdisc.8 doc/tracepath.8 doc/ninfod.8 \ 45 + doc/clockdiff.8 doc/arping.8 doc/ping.8 doc/rdisc.8 doc/rarpd.8 doc/tracepath.8 doc/ninfod.8 \ 46 46 $out/share/man/man8 47 47 ''; 48 48 49 - meta = { 49 + meta = with stdenv.lib; { 50 50 homepage = https://github.com/iputils/iputils; 51 51 description = "A set of small useful utilities for Linux networking"; 52 - platforms = stdenv.lib.platforms.linux; 52 + platforms = platforms.linux; 53 + maintainers = with maintainers; [ lheckemann ]; 53 54 }; 54 55 }
+2 -2
pkgs/os-specific/linux/kernel/linux-4.14.nix
··· 3 3 with stdenv.lib; 4 4 5 5 buildLinux (args // rec { 6 - version = "4.14.33"; 6 + version = "4.14.34"; 7 7 8 8 # branchVersion needs to be x.y 9 9 extraMeta.branch = concatStrings (intersperse "." (take 2 (splitString "." version))); 10 10 11 11 src = fetchurl { 12 12 url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz"; 13 - sha256 = "0c88p5vly63jsz62ff7971zl6vqzzbv5q519gi8z17ld66sf5063"; 13 + sha256 = "1f9bl4qw61xw49y5xz1wyilg8gh0wv9k868fh8n3hp17hm66qavq"; 14 14 }; 15 15 } // (args.argsOverride or {}))
+2 -2
pkgs/os-specific/linux/kernel/linux-4.15.nix
··· 3 3 with stdenv.lib; 4 4 5 5 buildLinux (args // rec { 6 - version = "4.15.16"; 6 + version = "4.15.17"; 7 7 8 8 # modDirVersion needs to be x.y.z, will automatically add .0 if needed 9 9 modDirVersion = concatStrings (intersperse "." (take 3 (splitString "." "${version}.0"))); ··· 13 13 14 14 src = fetchurl { 15 15 url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz"; 16 - sha256 = "00y5b00f90pq3il5jdzigx8k32i9ksrinavqa991xday5mcz5np7"; 16 + sha256 = "1f20h22rrchvqd653a3ih8q6l13zl47bp6k2339x9ihq40rg5m9g"; 17 17 }; 18 18 } // (args.argsOverride or {}))
+2 -2
pkgs/os-specific/linux/kernel/linux-4.16.nix
··· 3 3 with stdenv.lib; 4 4 5 5 buildLinux (args // rec { 6 - version = "4.16.1"; 6 + version = "4.16.2"; 7 7 8 8 # modDirVersion needs to be x.y.z, will automatically add .0 if needed 9 9 modDirVersion = concatStrings (intersperse "." (take 3 (splitString "." "${version}.0"))); ··· 13 13 14 14 src = fetchurl { 15 15 url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz"; 16 - sha256 = "1hv00176njm4g9m1aj92lvhwqn75c46qwsglsmx95ivbr9qc58av"; 16 + sha256 = "157q43px707nizqwzi5nk87c0nvdif9fbi751f71wpgfp3iiy2s7"; 17 17 }; 18 18 } // (args.argsOverride or {}))
+2 -2
pkgs/os-specific/linux/kernel/linux-copperhead-hardened.nix
··· 3 3 with stdenv.lib; 4 4 5 5 let 6 - version = "4.15.16"; 6 + version = "4.15.17"; 7 7 revision = "a"; 8 - sha256 = "0jxf01gf5rh6kwxcsv6mwlhq3wva2ps0ayrx40zwrdhkqy03w79x"; 8 + sha256 = "0rm5dlfj3ryz879p04px1y3hvlfgh3ryk13ihldnl2j1dzl2046i"; 9 9 10 10 # modVersion needs to be x.y.z, will automatically add .0 if needed 11 11 modVersion = concatStrings (intersperse "." (take 3 (splitString "." "${version}.0")));
+11
pkgs/os-specific/linux/kernel/patches.nix
··· 73 73 }; 74 74 }; 75 75 76 + # https://patchwork.kernel.org/patch/9626797/ 77 + # Should be included in 4.17, so this patch can be dropped when 4.16 becomes obsolete. 78 + bcm2835_mmal_v4l2_camera_driver = rec { 79 + name = "bcm2835_mmal_v4l2_camera_driver"; 80 + patch = fetchpatch { 81 + name = name + ".patch"; 82 + url = https://patchwork.kernel.org/patch/9626797/raw/; 83 + sha256 = "0iwb0yxsf95zv4qxkvlvhqfmzx0rk13g9clvxsharvwkb4w5lwa0"; 84 + }; 85 + }; 86 + 76 87 }
+6
pkgs/os-specific/linux/kmod/aggregator.nix
··· 9 9 '' 10 10 source ${stdenv}/setup 11 11 12 + if ! test -d "$out/lib/modules"; then 13 + echo "No modules found." 14 + # To support a kernel without modules 15 + exit 0 16 + fi 17 + 12 18 kernelVersion=$(cd $out/lib/modules && ls -d *) 13 19 if test "$(echo $kernelVersion | wc -w)" != 1; then 14 20 echo "inconsistent kernel versions: $kernelVersion"
+6
pkgs/os-specific/linux/rtkit/default.nix
··· 24 24 url = "http://git.0pointer.net/rtkit.git/patch/?id=88d4082ef6caf6b071d749dca1c50e7edde914cc"; 25 25 sha256 = "0hp1blbi359qz8fmr6nj4w9yc0jf3dd176f8pn25wdj38n13qkix"; 26 26 }) 27 + 28 + # Fix format string errors due to -Werror=format-security 29 + (fetchpatch { 30 + url = "https://sources.debian.org/data/main/r/rtkit/0.11-6/debian/patches/0006-fix-format-strings.patch"; 31 + sha256 = "09mr89lh16jvz6cqw00zmh0xk919bjfhjkvna1czwmafwy9p7kgp"; 32 + }) 27 33 ]; 28 34 29 35 nativeBuildInputs = [ pkgconfig ];
+1
pkgs/os-specific/linux/spl/default.nix
··· 78 78 version = "2018-01-24"; 79 79 rev = "23602fdb39e1254c669707ec9d2d0e6bcdbf1771"; 80 80 sha256 = "09py2dwj77f6s2qcnkwdslg5nxb3hq2bq39zpxpm6msqyifhl69h"; 81 + patches = [ ./install_prefix.patch ]; 81 82 }; 82 83 }
+2
pkgs/os-specific/linux/zfs/default.nix
··· 82 82 done 83 83 84 84 ./autogen.sh 85 + configureFlagsArray+=("--libexecdir=$out/libexec") 85 86 ''; 86 87 87 88 configureFlags = [ ··· 91 92 "--with-udevdir=$(out)/lib/udev" 92 93 "--with-systemdunitdir=$(out)/etc/systemd/system" 93 94 "--with-systemdpresetdir=$(out)/etc/systemd/system-preset" 95 + "--with-systemdgeneratordir=$(out)/lib/systemd/system-generator" 94 96 "--with-mounthelperdir=$(out)/bin" 95 97 "--sysconfdir=/etc" 96 98 "--localstatedir=/var"
+2 -2
pkgs/servers/dns/knot-dns/default.nix
··· 7 7 # Note: ATM only the libraries have been tested in nixpkgs. 8 8 stdenv.mkDerivation rec { 9 9 name = "knot-dns-${version}"; 10 - version = "2.6.5"; 10 + version = "2.6.6"; 11 11 12 12 src = fetchurl { 13 13 url = "http://secure.nic.cz/files/knot-dns/knot-${version}.tar.xz"; 14 - sha256 = "33cd676706e2baeb37cf3879ccbc91a1e1cd1ee5d7a082adff4d1e753ce49d46"; 14 + sha256 = "02h8qdkja4kic3br79svws6r2pq1ijz945238v99d998d2jxh6ci"; 15 15 }; 16 16 17 17 outputs = [ "bin" "out" "dev" ];
+9 -3
pkgs/servers/home-assistant/component-packages.nix
··· 2 2 # Do not edit! 3 3 4 4 { 5 - version = "0.66.1"; 5 + version = "0.67.0"; 6 6 components = { 7 7 "abode" = ps: with ps; [ ]; 8 8 "ads" = ps: with ps; [ ]; ··· 55 55 "climate.sensibo" = ps: with ps; [ ]; 56 56 "climate.touchline" = ps: with ps; [ ]; 57 57 "climate.venstar" = ps: with ps; [ ]; 58 - "cloud" = ps: with ps; [ ]; 58 + "cloud" = ps: with ps; [ warrant ]; 59 59 "coinbase" = ps: with ps; [ ]; 60 60 "comfoconnect" = ps: with ps; [ ]; 61 61 "config.config_entries" = ps: with ps; [ ]; 62 + "cover.gogogate2" = ps: with ps; [ ]; 62 63 "cover.myq" = ps: with ps; [ ]; 63 64 "daikin" = ps: with ps; [ ]; 64 65 "datadog" = ps: with ps; [ datadog ]; ··· 71 72 "device_tracker.bluetooth_tracker" = ps: with ps; [ ]; 72 73 "device_tracker.cisco_ios" = ps: with ps; [ pexpect ]; 73 74 "device_tracker.fritz" = ps: with ps; [ fritzconnection ]; 75 + "device_tracker.google_maps" = ps: with ps; [ ]; 74 76 "device_tracker.icloud" = ps: with ps; [ ]; 75 77 "device_tracker.linksys_ap" = ps: with ps; [ beautifulsoup4 ]; 76 78 "device_tracker.mikrotik" = ps: with ps; [ ]; ··· 84 86 "device_tracker.unifi" = ps: with ps; [ pyunifi ]; 85 87 "device_tracker.unifi_direct" = ps: with ps; [ pexpect ]; 86 88 "device_tracker.upc_connect" = ps: with ps; [ defusedxml ]; 89 + "device_tracker.xiaomi_miio" = ps: with ps; [ ]; 87 90 "digital_ocean" = ps: with ps; [ digital-ocean ]; 88 91 "discovery" = ps: with ps; [ netdisco ]; 89 92 "dominos" = ps: with ps; [ ]; ··· 99 102 "fan.xiaomi_miio" = ps: with ps; [ construct ]; 100 103 "feedreader" = ps: with ps; [ feedparser ]; 101 104 "ffmpeg" = ps: with ps; [ ha-ffmpeg ]; 105 + "folder_watcher" = ps: with ps; [ watchdog ]; 102 106 "frontend" = ps: with ps; [ ]; 103 107 "gc100" = ps: with ps; [ ]; 104 108 "goalfeed" = ps: with ps; [ ]; ··· 139 143 "light.lifx_legacy" = ps: with ps; [ ]; 140 144 "light.limitlessled" = ps: with ps; [ ]; 141 145 "light.mystrom" = ps: with ps; [ ]; 146 + "light.nanoleaf_aurora" = ps: with ps; [ ]; 142 147 "light.osramlightify" = ps: with ps; [ ]; 143 148 "light.piglow" = ps: with ps; [ ]; 144 149 "light.rpi_gpio_pwm" = ps: with ps; [ ]; ··· 205 210 "media_player.yamaha_musiccast" = ps: with ps; [ ]; 206 211 "media_player.ziggo_mediabox_xl" = ps: with ps; [ ]; 207 212 "melissa" = ps: with ps; [ ]; 208 - "mercedesme" = ps: with ps; [ ]; 209 213 "mochad" = ps: with ps; [ ]; 210 214 "modbus" = ps: with ps; [ ]; 211 215 "mqtt" = ps: with ps; [ paho-mqtt ]; ··· 230 234 "notify.kodi" = ps: with ps; [ jsonrpc-async ]; 231 235 "notify.lametric" = ps: with ps; [ ]; 232 236 "notify.mailgun" = ps: with ps; [ ]; 237 + "notify.mastodon" = ps: with ps; [ ]; 233 238 "notify.matrix" = ps: with ps; [ matrix-client ]; 234 239 "notify.message_bird" = ps: with ps; [ ]; 235 240 "notify.pushbullet" = ps: with ps; [ pushbullet ]; ··· 375 380 "sensor.ups" = ps: with ps; [ ]; 376 381 "sensor.vasttrafik" = ps: with ps; [ ]; 377 382 "sensor.waqi" = ps: with ps; [ ]; 383 + "sensor.waze_travel_time" = ps: with ps; [ ]; 378 384 "sensor.whois" = ps: with ps; [ ]; 379 385 "sensor.xbox_live" = ps: with ps; [ ]; 380 386 "sensor.xiaomi_miio" = ps: with ps; [ construct ];
+4 -4
pkgs/servers/home-assistant/default.nix
··· 8 8 py = python3.override { 9 9 packageOverrides = self: super: { 10 10 aiohttp = super.aiohttp.overridePythonAttrs (oldAttrs: rec { 11 - version = "3.0.9"; 11 + version = "3.1.1"; 12 12 src = oldAttrs.src.override { 13 13 inherit version; 14 - sha256 = "281a9fa56b5ce587a2147ec285d18a224942f7e020581afa6cc44d7caecf937b"; 14 + sha256 = "dc5cab081d4b334d0440b019edf24fe1cb138b8114e0e22d2b0661284bc1775f"; 15 15 }; 16 16 }); 17 17 pytest = super.pytest.overridePythonAttrs (oldAttrs: rec { ··· 58 58 extraBuildInputs = extraPackages py.pkgs; 59 59 60 60 # Don't forget to run parse-requirements.py after updating 61 - hassVersion = "0.66.1"; 61 + hassVersion = "0.67.0"; 62 62 63 63 in with py.pkgs; buildPythonApplication rec { 64 64 pname = "homeassistant"; ··· 73 73 owner = "home-assistant"; 74 74 repo = "home-assistant"; 75 75 rev = version; 76 - sha256 = "16yz5mfzpfms22f8linw1k3wjp3jpwj270vy2rc893x9bzsppfl0"; 76 + sha256 = "00y7sm6nsyxxl98izxxmg2nwi76kxb7p47hv07y04fs45lnvr61s"; 77 77 }; 78 78 79 79 propagatedBuildInputs = [
+3 -4
pkgs/servers/http/jetty/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "jetty-${version}"; 5 - version = "9.3.10.v20160621"; 6 - 5 + version = "9.4.8.v20171121"; 7 6 src = fetchurl { 8 7 url = "http://repo1.maven.org/maven2/org/eclipse/jetty/jetty-distribution/${version}/jetty-distribution-${version}.tar.gz"; 9 8 name = "jetty-distribution-${version}.tar.gz"; 10 - sha256 = "0xqv7bp82i95gikma70kyi91nlgsj5zabzg59ly9ga4mqf5y0zbz"; 9 + sha256 = "0bvwi70vdk468yqgvgq99lwrpy2y5znrl0b1cr8j6ygmsgnvvmjh"; 11 10 }; 12 11 13 12 phases = [ "unpackPhase" "installPhase" ]; 14 13 15 14 installPhase = '' 16 15 mkdir -p $out 17 - mv etc lib modules start.jar $out 16 + mv etc lib modules start.ini start.jar $out 18 17 ''; 19 18 20 19 meta = {
+14 -6
pkgs/servers/oauth2_proxy/default.nix
··· 1 - { stdenv, lib, buildGoPackage, fetchgit, fetchhg, fetchbzr, fetchsvn }: 1 + { stdenv, lib, buildGoPackage, fetchFromGitHub }: 2 2 3 3 buildGoPackage rec { 4 4 name = "oauth2_proxy-${version}"; 5 - version = "20160120-${stdenv.lib.strings.substring 0 7 rev}"; 6 - rev = "10f47e325b782a60b8689653fa45360dee7fbf34"; 5 + version = "20180325-${stdenv.lib.strings.substring 0 7 rev}"; 6 + rev = "a94b0a8b25e553f7333f7b84aeb89d9d18ec259b"; 7 7 8 8 goPackagePath = "github.com/bitly/oauth2_proxy"; 9 9 10 - src = fetchgit { 10 + src = fetchFromGitHub { 11 11 inherit rev; 12 - url = "https://github.com/bitly/oauth2_proxy"; 13 - sha256 = "13f6kaq15f6ial9gqzrsx7i94jhd5j70js2k93qwxcw1vkh1b6si"; 12 + repo = "oauth2_proxy"; 13 + owner = "bitly"; 14 + sha256 = "07m258s9fxjsgixggw0d1zicd7l6l2rkm5mh3zdjdaj20sqcj217"; 14 15 }; 15 16 16 17 goDeps = ./deps.nix; 18 + 19 + meta = with lib; { 20 + description = "A reverse proxy that provides authentication with Google, Github or other provider"; 21 + homepage = https://github.com/bitly/oauth2_proxy/; 22 + license = licenses.mit; 23 + maintainers = [ maintainers.yorickvp ]; 24 + }; 17 25 }
+76 -30
pkgs/servers/oauth2_proxy/deps.nix
··· 1 + # This file was generated by https://github.com/kamilchm/go2nix v1.2.1 1 2 [ 2 3 { 3 - goPackagePath = "gopkg.in/fsnotify.v1"; 4 + goPackagePath = "cloud.google.com/go"; 4 5 fetch = { 5 6 type = "git"; 6 - url = "https://gopkg.in/fsnotify.v1"; 7 - rev = "96c060f6a6b7e0d6f75fddd10efeaca3e5d1bcb0"; 8 - sha256 = "1308z1by82fbymcra26wjzw7lpjy91kbpp2skmwqcq4q1iwwzvk2"; 7 + url = "https://code.googlesource.com/gocloud"; 8 + rev = "d27f27d9b3cf75c9901d9981f9af50bbfd9002da"; 9 + sha256 = "18vdhkymm4cqh5fjyz0ia0bc2mpmarjk6w6zh9ydm2d4nkj36cm5"; 9 10 }; 10 11 } 11 12 { 12 - goPackagePath = "golang.org/x/net"; 13 + goPackagePath = "github.com/BurntSushi/toml"; 13 14 fetch = { 14 15 type = "git"; 15 - url = "https://go.googlesource.com/net"; 16 - rev = "62ac18b461605b4be188bbc7300e9aa2bc836cd4"; 17 - sha256 = "0lwwvbbwbf3yshxkfhn6z20gd45dkvnmw2ms36diiy34krgy402p"; 16 + url = "https://github.com/BurntSushi/toml"; 17 + rev = "a368813c5e648fee92e5f6c30e3944ff9d5e8895"; 18 + sha256 = "1sjxs2lwc8jpln80s4rlzp7nprbcljhy5mz4rf9995gq93wqnym5"; 18 19 }; 19 20 } 20 21 { ··· 22 23 fetch = { 23 24 type = "git"; 24 25 url = "https://github.com/bitly/go-simplejson"; 25 - rev = "18db6e68d8fd9cbf2e8ebe4c81a78b96fd9bf05a"; 26 - sha256 = "0lj9cxyncchlw6p35j0yym5q5waiz0giw6ri41qdwm8y3dghwwiy"; 26 + rev = "0c965951289cce37dec52ad1f34200fefc816777"; 27 + sha256 = "0ys37wshd430dizzbg39x5mw55daih2q4qj5l9gr3qbmq9qdn0f3"; 28 + }; 29 + } 30 + { 31 + goPackagePath = "github.com/coreos/go-oidc"; 32 + fetch = { 33 + type = "git"; 34 + url = "https://github.com/coreos/go-oidc"; 35 + rev = "065b426bd41667456c1a924468f507673629c46b"; 36 + sha256 = "10xhrh70rccgydi708dc9xl4ivmjnzhh1skd1ij6xl1i3x8lk3g6"; 27 37 }; 28 38 } 29 39 { 30 - goPackagePath = "github.com/BurntSushi/toml"; 40 + goPackagePath = "github.com/mbland/hmacauth"; 31 41 fetch = { 32 42 type = "git"; 33 - url = "https://github.com/BurntSushi/toml"; 34 - rev = "056c9bc7be7190eaa7715723883caffa5f8fa3e4"; 35 - sha256 = "0gkgkw04ndr5y7hrdy0r4v2drs5srwfcw2bs1gyas066hwl84xyw"; 43 + url = "https://github.com/mbland/hmacauth"; 44 + rev = "44256dfd4bfa7594cfa73587a464ca890e85971a"; 45 + sha256 = "1d5pbjgc5j8pi3frsjp5gqg7j12bxdbl55nhy01cv4c96hay2ij1"; 36 46 }; 37 47 } 38 48 { ··· 40 50 fetch = { 41 51 type = "git"; 42 52 url = "https://github.com/mreiferson/go-options"; 43 - rev = "7c174072188d0cfbe6f01bb457626abb22bdff52"; 44 - sha256 = "0ksyi2cb4k6r2fxamljg42qbz5hdcb9kv5i7y6cx4ajjy0xznwgm"; 53 + rev = "77551d20752b54535462404ad9d877ebdb26e53d"; 54 + sha256 = "02c18zrx038gbas58l90xzsz9m5q3gpjprdcwmnvxsn0zvld0vpj"; 45 55 }; 46 56 } 47 57 { 48 - goPackagePath = "google.golang.org/api"; 58 + goPackagePath = "github.com/pquerna/cachecontrol"; 49 59 fetch = { 50 60 type = "git"; 51 - url = "https://code.googlesource.com/google-api-go-client"; 52 - rev = "a5c3e2a4792aff40e59840d9ecdff0542a202a80"; 53 - sha256 = "1kigddnbyrl9ddpj5rs8njvf1ck54ipi4q1282k0d6b3am5qfbj8"; 61 + url = "https://github.com/pquerna/cachecontrol"; 62 + rev = "525d0eb5f91d30e3b1548de401b7ef9ea6898520"; 63 + sha256 = "13r6qz9pghy9fapps5h9mhblggnjq2nfxysvf2jp4scanc5vw2y3"; 54 64 }; 55 65 } 56 66 { 57 - goPackagePath = "google.golang.org/cloud"; 67 + goPackagePath = "golang.org/x/crypto"; 58 68 fetch = { 59 69 type = "git"; 60 - url = "https://code.googlesource.com/gocloud"; 61 - rev = "6335269abf9002cf5a84613c13cda6010842b834"; 62 - sha256 = "15xrqxna5ms0r634k3bfzyymn431dvqcjwbsap8ay60x371kzbwf"; 70 + url = "https://go.googlesource.com/crypto"; 71 + rev = "88942b9c40a4c9d203b82b3731787b672d6e809b"; 72 + sha256 = "0jw1faq8krcxwf1fv3w75apk1ncnykwg8y5ahs5rasjmspvkv8cw"; 73 + }; 74 + } 75 + { 76 + goPackagePath = "golang.org/x/net"; 77 + fetch = { 78 + type = "git"; 79 + url = "https://go.googlesource.com/net"; 80 + rev = "6078986fec03a1dcc236c34816c71b0e05018fda"; 81 + sha256 = "0qbl17mzpq7anwyzy6hdvxqk7f6q2xlm6f9dknkwlszfd4id2fwb"; 63 82 }; 64 83 } 65 84 { ··· 67 86 fetch = { 68 87 type = "git"; 69 88 url = "https://go.googlesource.com/oauth2"; 70 - rev = "397fe7649477ff2e8ced8fc0b2696f781e53745a"; 71 - sha256 = "0fza0l7iwh6llkq2yzqn7dxi138vab0da64lnghfj1p71fprjzn8"; 89 + rev = "fdc9e635145ae97e6c2cb777c48305600cf515cb"; 90 + sha256 = "0pznj7pb2rjar005dvppimdynarm8smj6vnqz9wvd9fxyn0q0yww"; 91 + }; 92 + } 93 + { 94 + goPackagePath = "golang.org/x/sys"; 95 + fetch = { 96 + type = "git"; 97 + url = "https://go.googlesource.com/sys"; 98 + rev = "13d03a9a82fba647c21a0ef8fba44a795d0f0835"; 99 + sha256 = "1lmyd4mk7lbgnxyvr6ndfdfafazp9a4cc6c0a2q2j4n53g2vwbgk"; 100 + }; 101 + } 102 + { 103 + goPackagePath = "google.golang.org/api"; 104 + fetch = { 105 + type = "git"; 106 + url = "https://code.googlesource.com/google-api-go-client"; 107 + rev = "e4126357c891acdef6dcd7805daa4c6533be6544"; 108 + sha256 = "19c874pr7vhhiyw7zn6v625g8i70gqzi3rr645kai6pnd1w7s27n"; 72 109 }; 73 110 } 74 111 { 75 - goPackagePath = "github.com/18F/hmacauth"; 112 + goPackagePath = "gopkg.in/fsnotify.v1"; 76 113 fetch = { 77 114 type = "git"; 78 - url = "https://github.com/18F/hmacauth"; 79 - rev = "9232a6386b737d7d1e5c1c6e817aa48d5d8ee7cd"; 80 - sha256 = "056mcqrf2bv0g9gn2ixv19srk613h4sasl99w9375mpvmadb3pz1"; 115 + url = "https://gopkg.in/fsnotify/fsnotify.v1"; 116 + rev = "c2828203cd70a50dcccfb2761f8b1f8ceef9a8e9"; 117 + sha256 = "07va9crci0ijlivbb7q57d2rz9h27zgn2fsm60spjsqpdbvyrx4g"; 118 + }; 119 + } 120 + { 121 + goPackagePath = "gopkg.in/square/go-jose.v2"; 122 + fetch = { 123 + type = "git"; 124 + url = "https://gopkg.in/square/go-jose.v2"; 125 + rev = "552e98edab5d620205ff1a8960bf52a5a10aad03"; 126 + sha256 = "03w6rgxkvdv3vcfr23s6wbck431w7dwnw0jy7qnyl0qihxzn40rv"; 81 127 }; 82 128 } 83 129 ]
+11 -14
pkgs/servers/sql/postgresql/jdbc/default.nix
··· 1 - { stdenv, fetchurl, ant, jdk }: 2 - 3 - let version = "9.3-1100"; in 1 + { stdenv, fetchMavenArtifact }: 4 2 5 3 stdenv.mkDerivation rec { 6 4 name = "postgresql-jdbc-${version}"; 5 + version = "42.2.2"; 7 6 8 - src = fetchurl { 9 - url = "http://jdbc.postgresql.org/download/postgresql-jdbc-${version}.src.tar.gz"; 10 - sha256 = "0mbdzhzg4ws0i7ps98rg0q5n68lsrdm2klj7y7skaix0rpa57gp6"; 7 + src = fetchMavenArtifact { 8 + artifactId = "postgresql"; 9 + groupId = "org.postgresql"; 10 + sha256 = "0w7sfi1gmzqhyhr4iq9znv8hff41xwwqcblkyd9ph0m34r0555hr"; 11 + inherit version; 11 12 }; 12 13 13 - buildInputs = [ ant jdk ]; 14 - 15 - buildPhase = "ant"; 14 + phases = [ "installPhase" ]; 16 15 17 - installPhase = 18 - '' 19 - mkdir -p $out/share/java 20 - cp jars/*.jar $out/share/java 21 - ''; 16 + installPhase = '' 17 + install -D $src/share/java/*_postgresql-${version}.jar $out/share/java/postgresql-jdbc.jar 18 + ''; 22 19 23 20 meta = with stdenv.lib; { 24 21 homepage = https://jdbc.postgresql.org/;
+13 -52
pkgs/servers/trezord/default.nix
··· 1 - { stdenv, fetchgit, fetchFromGitHub, curl, cmake, boost, gcc, protobuf, pkgconfig, jsoncpp 2 - , libusb1, libmicrohttpd 3 - }: 1 + { stdenv, buildGoPackage, fetchFromGitHub }: 4 2 5 - let 6 - version = "1.2.1"; 7 - in 3 + buildGoPackage rec { 4 + name = "trezord-go-${version}"; 5 + version = "2.0.12"; 8 6 9 - stdenv.mkDerivation rec { 10 - name = "trezord-${version}"; 7 + # Fixes Cgo related build failures (see https://github.com/NixOS/nixpkgs/issues/25959 ) 8 + hardeningDisable = [ "fortify" ]; 11 9 12 - src = fetchgit { 13 - url = "https://github.com/trezor/trezord"; 14 - rev = "refs/tags/v${version}"; 15 - sha256 = "1iaxmwyidjdcrc6jg0859v6v5x3qnz5b0p78pq0bypvmgyijhpm4"; 16 - }; 10 + goPackagePath = "github.com/trezor/trezord-go"; 17 11 18 - common = fetchFromGitHub { 19 - owner = "trezor"; 20 - repo = "trezor-common"; 21 - rev = "b55fb61218431e9c99c9d6c1673801902fc9e92e"; 22 - sha256 = "1zanbgz1qjs8wfwp0z91sqcvj77a9iis694k415jyd2dn4riqhdg"; 12 + src = fetchFromGitHub { 13 + owner = "trezor"; 14 + repo = "trezord-go"; 15 + rev = "v${version}"; 16 + sha256 = "03pz223jjfbd0g9gkk21q6d27jc8vd1bc1jz00i0f3dzvsyfx5g6"; 23 17 }; 24 18 25 19 meta = with stdenv.lib; { 26 - description = "TREZOR Bridge daemon for TREZOR bitcoin hardware wallet"; 20 + description = "TREZOR Communication Daemon aka TREZOR Bridge"; 27 21 homepage = https://mytrezor.com; 28 22 license = licenses.gpl3; 29 23 maintainers = with stdenv.lib.maintainers; [ canndrew jb55 ]; 30 24 platforms = platforms.linux; 31 25 }; 32 - 33 - patches = [ ./dynamic-link.patch ]; 34 - 35 - nativeBuildInputs = [ 36 - cmake 37 - gcc 38 - pkgconfig 39 - ]; 40 - 41 - buildInputs = [ 42 - curl 43 - boost 44 - protobuf 45 - libusb1 46 - libmicrohttpd 47 - jsoncpp 48 - ]; 49 - 50 - preConfigure = '' 51 - ( cd src/config 52 - ln -s $common/protob/config.proto 53 - protoc -I . --cpp_out=. config.proto 54 - ) 55 - ''; 56 - 57 - LD_LIBRARY_PATH = "${stdenv.lib.makeLibraryPath [ curl ]}"; 58 - cmakeFlags = [ "-DJSONCPP_LIBRARY='${jsoncpp}/lib/libjsoncpp.so'" ]; 59 - 60 - installPhase = '' 61 - mkdir -p $out/bin 62 - cp trezord $out/bin 63 - ''; 64 26 } 65 -
-18
pkgs/servers/trezord/dynamic-link.patch
··· 1 - diff --git a/CMakeLists.txt b/CMakeLists.txt 2 - index 7c0e2cf..0e3f4ac 100644 3 - --- a/CMakeLists.txt 4 - +++ b/CMakeLists.txt 5 - @@ -59,13 +59,6 @@ target_link_libraries(trezord ${OS_LIBRARIES}) 6 - find_package(CURL REQUIRED) 7 - find_package(libmicrohttpd REQUIRED) 8 - 9 - -# add static libs 10 - -if (NOT ${CMAKE_SYSTEM_NAME} MATCHES "Darwin") 11 - - set(CMAKE_FIND_LIBRARY_SUFFIXES ".a") 12 - - set(BUILD_SHARED_LIBS off) 13 - - set(Boost_USE_STATIC_LIBS on) 14 - - set(CMAKE_FIND_STATIC FIRST) 15 - -endif(NOT ${CMAKE_SYSTEM_NAME} MATCHES "Darwin") 16 - find_package(Boost 1.53.0 REQUIRED 17 - regex thread system unit_test_framework program_options chrono) 18 - find_package(Protobuf 2.5.0 REQUIRED)
+3 -3
pkgs/shells/oh-my-zsh/default.nix
··· 4 4 { stdenv, fetchgit }: 5 5 6 6 stdenv.mkDerivation rec { 7 - version = "2018-01-22"; 7 + version = "2018-04-06"; 8 8 name = "oh-my-zsh-${version}"; 9 9 10 10 src = fetchgit { 11 11 url = "https://github.com/robbyrussell/oh-my-zsh"; 12 - rev = "37c2d0ddd751e15d0c87a51e2d9f9849093571dc"; 13 - sha256 = "0x2r7205ps5v5bl1f9vdnry9gxflypaahz49cnhq5f5klb49bakn"; 12 + rev = "62b8a70a7c5d0c939d8dabfef48796a092d1a55f"; 13 + sha256 = "02na47pa2ly17yvwa2nhzyrp8iarawyirhfw3779sh0w78vgw1gs"; 14 14 }; 15 15 16 16 pathsToLink = [ "/share/oh-my-zsh" ];
+28
pkgs/tools/admin/acme.sh/default.nix
··· 1 + { stdenv, lib, fetchFromGitHub, makeWrapper, curl, openssl, socat, iproute }: 2 + stdenv.mkDerivation rec { 3 + name = "acme.sh-${version}"; 4 + version = "2.7.8"; 5 + 6 + src = fetchFromGitHub { 7 + owner = "Neilpang"; 8 + repo = "acme.sh"; 9 + rev = version; 10 + sha256 = "0zm64z7av63xi7yjhljab2i8q1vx4q1mpcmcm58jm6k4babalxrf"; 11 + }; 12 + 13 + nativeBuildInputs = [ makeWrapper ]; 14 + 15 + installPhase = '' 16 + mkdir -p $out $out/bin $out/libexec 17 + cp -R $src/* $_ 18 + makeWrapper $out/libexec/acme.sh $out/bin/acme.sh \ 19 + --prefix PATH : "${lib.makeBinPath [ socat openssl curl iproute ]}" 20 + ''; 21 + 22 + meta = with stdenv.lib; { 23 + description = "A pure Unix shell script implementing ACME client protocol"; 24 + homepage = https://acme.sh/; 25 + license = licenses.gpl3; 26 + maintainers = [ maintainers.yorickvp ]; 27 + }; 28 + }
+21 -14
pkgs/tools/admin/fastlane/Gemfile.lock
··· 1 1 GEM 2 2 remote: https://rubygems.org/ 3 3 specs: 4 - CFPropertyList (2.3.6) 4 + CFPropertyList (3.0.0) 5 5 addressable (2.5.2) 6 6 public_suffix (>= 2.0.2, < 4.0) 7 7 atomos (0.1.2) ··· 9 9 claide (1.0.2) 10 10 colored (1.2) 11 11 colored2 (3.1.2) 12 - commander-fastlane (4.4.5) 12 + commander-fastlane (4.4.6) 13 13 highline (~> 1.7.2) 14 14 declarative (0.0.10) 15 15 declarative-option (0.1.0) 16 16 domain_name (0.5.20170404) 17 17 unf (>= 0.0.5, < 1.0.0) 18 - dotenv (2.2.1) 19 - excon (0.60.0) 18 + dotenv (2.2.2) 19 + emoji_regex (0.1.1) 20 + excon (0.62.0) 20 21 faraday (0.14.0) 21 22 multipart-post (>= 1.2, < 3) 22 23 faraday-cookie_jar (0.0.6) ··· 25 26 faraday_middleware (0.12.2) 26 27 faraday (>= 0.7.4, < 1.0) 27 28 fastimage (2.1.1) 28 - fastlane (2.80.0) 29 + fastlane (2.91.0) 29 30 CFPropertyList (>= 2.3, < 4.0.0) 30 31 addressable (>= 2.3, < 3.0.0) 31 32 babosa (>= 1.0.2, < 2.0.0) 32 33 bundler (>= 1.12.0, < 2.0.0) 33 34 colored 34 - commander-fastlane (>= 4.4.5, < 5.0.0) 35 + commander-fastlane (>= 4.4.6, < 5.0.0) 35 36 dotenv (>= 2.1.1, < 3.0.0) 37 + emoji_regex (~> 0.1) 36 38 excon (>= 0.45.0, < 1.0.0) 37 39 faraday (~> 0.9) 38 40 faraday-cookie_jar (~> 0.0.6) 39 41 faraday_middleware (~> 0.9) 40 42 fastimage (>= 2.1.0, < 3.0.0) 41 - gh_inspector (>= 1.0.1, < 2.0.0) 43 + gh_inspector (>= 1.1.2, < 2.0.0) 42 44 google-api-client (>= 0.13.1, < 0.14.0) 43 45 highline (>= 1.7.2, < 2.0.0) 44 46 json (< 3.0.0) ··· 50 52 public_suffix (~> 2.0.0) 51 53 rubyzip (>= 1.1.0, < 2.0.0) 52 54 security (= 0.1.3) 55 + simctl (~> 1.6.3) 53 56 slack-notifier (>= 2.0.0, < 3.0.0) 54 57 terminal-notifier (>= 1.6.2, < 2.0.0) 55 58 terminal-table (>= 1.4.5, < 2.0.0) 56 59 tty-screen (>= 0.6.3, < 1.0.0) 57 60 tty-spinner (>= 0.8.0, < 1.0.0) 58 61 word_wrap (~> 1.0.0) 59 - xcodeproj (>= 1.5.2, < 2.0.0) 62 + xcodeproj (>= 1.5.7, < 2.0.0) 60 63 xcpretty (>= 0.2.4, < 1.0.0) 61 64 xcpretty-travis-formatter (>= 0.0.3) 62 - gh_inspector (1.1.1) 65 + gh_inspector (1.1.3) 63 66 google-api-client (0.13.6) 64 67 addressable (~> 2.5, >= 2.5.1) 65 68 googleauth (~> 0.5) ··· 93 96 multi_json (1.13.1) 94 97 multi_xml (0.6.0) 95 98 multipart-post (2.0.0) 96 - nanaimo (0.2.3) 99 + nanaimo (0.2.5) 100 + naturally (2.1.0) 97 101 os (0.9.6) 98 102 plist (3.4.0) 99 103 public_suffix (2.0.5) ··· 110 114 faraday (~> 0.9) 111 115 jwt (>= 1.5, < 3.0) 112 116 multi_json (~> 1.10) 117 + simctl (1.6.3) 118 + CFPropertyList 119 + naturally 113 120 slack-notifier (2.3.2) 114 121 terminal-notifier (1.8.0) 115 122 terminal-table (1.8.0) ··· 121 128 uber (0.1.0) 122 129 unf (0.1.4) 123 130 unf_ext 124 - unf_ext (0.0.7.4) 131 + unf_ext (0.0.7.5) 125 132 unicode-display_width (1.3.0) 126 133 word_wrap (1.0.0) 127 - xcodeproj (1.5.6) 128 - CFPropertyList (~> 2.3.3) 134 + xcodeproj (1.5.7) 135 + CFPropertyList (>= 2.3.3, < 4.0) 129 136 atomos (~> 0.1.2) 130 137 claide (>= 1.0.2, < 2.0) 131 138 colored2 (~> 3.1) 132 - nanaimo (~> 0.2.3) 139 + nanaimo (~> 0.2.4) 133 140 xcpretty (0.2.8) 134 141 rouge (~> 2.0.7) 135 142 xcpretty-travis-formatter (1.0.0)
+44 -19
pkgs/tools/admin/fastlane/gemset.nix
··· 27 27 CFPropertyList = { 28 28 source = { 29 29 remotes = ["https://rubygems.org"]; 30 - sha256 = "0hadm41xr1fq3qp74jd9l5q8l0j9083rgklgzsilllwaav7qrrid"; 30 + sha256 = "0ykjag3k5msz3sf1j91rb55da2xh596y06m3a4yl79fiy2id0w9z"; 31 31 type = "gem"; 32 32 }; 33 - version = "2.3.6"; 33 + version = "3.0.0"; 34 34 }; 35 35 claide = { 36 36 source = { ··· 60 60 dependencies = ["highline"]; 61 61 source = { 62 62 remotes = ["https://rubygems.org"]; 63 - sha256 = "04gpg733wv878acvrzp4kc3k934v10l3v8bcz3fjq5imjsrjdnbp"; 63 + sha256 = "0y8d3ac9qwm1cg6rnpf8rcdsy1yxacrd2g2kl809xsp2vi973g65"; 64 64 type = "gem"; 65 65 }; 66 - version = "4.4.5"; 66 + version = "4.4.6"; 67 67 }; 68 68 declarative = { 69 69 source = { ··· 93 93 dotenv = { 94 94 source = { 95 95 remotes = ["https://rubygems.org"]; 96 - sha256 = "1pgzlvs0sswnqlgfm9gkz2hlhkc0zd3vnlp2vglb1wbgnx37pjjv"; 96 + sha256 = "1f9s04xwa9gcsql734nwxvacgsl1si7xka4g4w3r6d3ab8a274y9"; 97 97 type = "gem"; 98 98 }; 99 - version = "2.2.1"; 99 + version = "2.2.2"; 100 + }; 101 + emoji_regex = { 102 + source = { 103 + remotes = ["https://rubygems.org"]; 104 + sha256 = "0pcw3axgcmsgihp0xlsdqrqmavz0lw8g396b048fg21033kssxjn"; 105 + type = "gem"; 106 + }; 107 + version = "0.1.1"; 100 108 }; 101 109 excon = { 102 110 source = { 103 111 remotes = ["https://rubygems.org"]; 104 - sha256 = "1rxwlfs7dq4r3bi9avgn7j6bz4hq1a3hdlr9xwdiyp4dp4286xfc"; 112 + sha256 = "15l9w0938c19nxmrp09n75qpmm64k12xj69h47yvxzcxcpbgnkb2"; 105 113 type = "gem"; 106 114 }; 107 - version = "0.60.0"; 115 + version = "0.62.0"; 108 116 }; 109 117 faraday = { 110 118 dependencies = ["multipart-post"]; ··· 142 150 version = "2.1.1"; 143 151 }; 144 152 fastlane = { 145 - dependencies = ["CFPropertyList" "addressable" "babosa" "colored" "commander-fastlane" "dotenv" "excon" "faraday" "faraday-cookie_jar" "faraday_middleware" "fastimage" "gh_inspector" "google-api-client" "highline" "json" "mini_magick" "multi_json" "multi_xml" "multipart-post" "plist" "public_suffix" "rubyzip" "security" "slack-notifier" "terminal-notifier" "terminal-table" "tty-screen" "tty-spinner" "word_wrap" "xcodeproj" "xcpretty" "xcpretty-travis-formatter"]; 153 + dependencies = ["CFPropertyList" "addressable" "babosa" "colored" "commander-fastlane" "dotenv" "emoji_regex" "excon" "faraday" "faraday-cookie_jar" "faraday_middleware" "fastimage" "gh_inspector" "google-api-client" "highline" "json" "mini_magick" "multi_json" "multi_xml" "multipart-post" "plist" "public_suffix" "rubyzip" "security" "simctl" "slack-notifier" "terminal-notifier" "terminal-table" "tty-screen" "tty-spinner" "word_wrap" "xcodeproj" "xcpretty" "xcpretty-travis-formatter"]; 146 154 source = { 147 155 remotes = ["https://rubygems.org"]; 148 - sha256 = "0saas50qdfipkms66snyg7imvzn1vfngd87dfygj9x8v18bqwvis"; 156 + sha256 = "04k6pn95qbpvbmqxrs4pngvfyk4pifcv8is3819b33p754pkiqrp"; 149 157 type = "gem"; 150 158 }; 151 - version = "2.80.0"; 159 + version = "2.91.0"; 152 160 }; 153 161 gh_inspector = { 154 162 source = { 155 163 remotes = ["https://rubygems.org"]; 156 - sha256 = "0mpfl279k8yff2ia601b37zw31blwh2plkr501iz6qj8drx3mq3c"; 164 + sha256 = "0f8r9byajj3bi2c7c5sqrc7m0zrv3nblfcd4782lw5l73cbsgk04"; 157 165 type = "gem"; 158 166 }; 159 - version = "1.1.1"; 167 + version = "1.1.3"; 160 168 }; 161 169 google-api-client = { 162 170 dependencies = ["addressable" "googleauth" "httpclient" "mime-types" "representable" "retriable"]; ··· 294 302 nanaimo = { 295 303 source = { 296 304 remotes = ["https://rubygems.org"]; 297 - sha256 = "0z6rbji02x75vm5jw4hbpp75khp4z5yfgbaz1h9l8aa00hqf0fxd"; 305 + sha256 = "03x5f7hk0s21hlkj309w0qipjxz34kyd3c5yj25zq3s2yyn57idi"; 298 306 type = "gem"; 299 307 }; 300 - version = "0.2.3"; 308 + version = "0.2.5"; 309 + }; 310 + naturally = { 311 + source = { 312 + remotes = ["https://rubygems.org"]; 313 + sha256 = "0avn8b2qbfm22afln2p7rky73zns8c444mdhdh4ki8hbjsn0f8cx"; 314 + type = "gem"; 315 + }; 316 + version = "2.1.0"; 301 317 }; 302 318 os = { 303 319 source = { ··· 373 389 }; 374 390 version = "0.8.1"; 375 391 }; 392 + simctl = { 393 + dependencies = ["CFPropertyList" "naturally"]; 394 + source = { 395 + remotes = ["https://rubygems.org"]; 396 + sha256 = "0l1hwxkbpgfhla6dbf0f6nhj794c0k6ilxlh07zcm8by3vdrsvib"; 397 + type = "gem"; 398 + }; 399 + version = "1.6.3"; 400 + }; 376 401 slack-notifier = { 377 402 source = { 378 403 remotes = ["https://rubygems.org"]; ··· 443 468 unf_ext = { 444 469 source = { 445 470 remotes = ["https://rubygems.org"]; 446 - sha256 = "14hr2dzqh33kqc0xchs8l05pf3kjcayvad4z1ip5rdjxrkfk8glb"; 471 + sha256 = "06p1i6qhy34bpb8q8ms88y6f2kz86azwm098yvcc0nyqk9y729j1"; 447 472 type = "gem"; 448 473 }; 449 - version = "0.0.7.4"; 474 + version = "0.0.7.5"; 450 475 }; 451 476 unicode-display_width = { 452 477 source = { ··· 468 493 dependencies = ["CFPropertyList" "atomos" "claide" "colored2" "nanaimo"]; 469 494 source = { 470 495 remotes = ["https://rubygems.org"]; 471 - sha256 = "0zqx24qhax7p91rs1114da0v86cy9m7an1bjwxq6dyccp8g6kb50"; 496 + sha256 = "16743g16mrh47f1lxkbw28xn9mmlf1r0zicin4malalsxxkc7ykz"; 472 497 type = "gem"; 473 498 }; 474 - version = "1.5.6"; 499 + version = "1.5.7"; 475 500 }; 476 501 xcpretty = { 477 502 dependencies = ["rouge"];
+22
pkgs/tools/admin/iamy/default.nix
··· 1 + { stdenv, buildGoPackage, fetchFromGitHub }: 2 + 3 + buildGoPackage rec { 4 + name = "iamy-${version}"; 5 + version = "2.1.1"; 6 + 7 + goPackagePath = "github.com/99designs/iamy"; 8 + 9 + src = fetchFromGitHub { 10 + owner = "99designs"; 11 + repo = "iamy"; 12 + rev = "v${version}"; 13 + sha256 = "0b55hxcvgil8rl6zh2kyndfi7s5nzclawjb0sby14wpys3v08bjf"; 14 + }; 15 + 16 + meta = with stdenv.lib; { 17 + description = "A cli tool for importing and exporting AWS IAM configuration to YAML files"; 18 + homepage = https://github.com/99designs/iamy; 19 + license = licenses.mit; 20 + maintainers = with maintainers; [ suvash ]; 21 + }; 22 + }
+26 -12
pkgs/tools/admin/lxd/default.nix
··· 1 - { stdenv, lib, pkgconfig, lxc, buildGoPackage, fetchFromGitHub }: 1 + { stdenv, lib, pkgconfig, lxc, buildGoPackage, fetchurl 2 + , makeWrapper, acl, rsync, gnutar, xz, btrfs-progs, gzip, dnsmasq, squashfsTools, iproute, iptables 3 + }: 2 4 3 5 buildGoPackage rec { 4 - name = "lxd-${version}"; 5 - version = "2.16"; 6 - rev = "lxd-${version}"; 6 + name = "lxd-3.0.0"; 7 7 8 8 goPackagePath = "github.com/lxc/lxd"; 9 9 10 - src = fetchFromGitHub { 11 - inherit rev; 12 - owner = "lxc"; 13 - repo = "lxd"; 14 - sha256 = "0i2mq9m8k9kznwz1i0xb48plp1ffpzvbdrvqvagis4sm17yab3fn"; 10 + src = fetchurl { 11 + url = "https://github.com/lxc/lxd/releases/download/${name}/${name}.tar.gz"; 12 + sha256 = "0m5prdf9sk8k5bws1zva4n9ycggmy76wnjr6wb423066pszz24ww"; 15 13 }; 16 14 17 - goDeps = ./deps.nix; 15 + preBuild = '' 16 + # unpack vendor 17 + pushd go/src/github.com/lxc/lxd 18 + rm dist/src/github.com/lxc/lxd 19 + cp -r dist/src/* ../../.. 20 + rm -r dist 21 + popd 22 + ''; 23 + 24 + postInstall = '' 25 + # binaries from test/ 26 + rm $bin/bin/{deps,macaroon-identity} 18 27 19 - nativeBuildInputs = [ pkgconfig ]; 20 - buildInputs = [ lxc ]; 28 + wrapProgram $bin/bin/lxd --prefix PATH ":" ${stdenv.lib.makeBinPath [ 29 + acl rsync gnutar xz btrfs-progs gzip dnsmasq squashfsTools iproute iptables 30 + ]} 31 + ''; 32 + 33 + nativeBuildInputs = [ pkgconfig makeWrapper ]; 34 + buildInputs = [ lxc acl ]; 21 35 22 36 meta = with stdenv.lib; { 23 37 description = "Daemon based on liblxc offering a REST API to manage containers";
-165
pkgs/tools/admin/lxd/deps.nix
··· 1 - # This file was generated by https://github.com/kamilchm/go2nix v1.2.0 2 - [ 3 - { 4 - goPackagePath = "github.com/dustinkirkland/golang-petname"; 5 - fetch = { 6 - type = "git"; 7 - url = "https://github.com/dustinkirkland/golang-petname"; 8 - rev = "4f77bdee0b67a08d17afadc0d5a4a3d1cb7d8d14"; 9 - sha256 = "1cizm3xywsp9vc381k02dhjq5a6c772wc05w60m4gfdmp2kmd4di"; 10 - }; 11 - } 12 - { 13 - goPackagePath = "github.com/golang/protobuf"; 14 - fetch = { 15 - type = "git"; 16 - url = "https://github.com/golang/protobuf"; 17 - rev = "2bba0603135d7d7f5cb73b2125beeda19c09f4ef"; 18 - sha256 = "1xy0bj66qks2xlzxzlfma16w7m8g6rrwawmlhlv68bcw2k5hvvib"; 19 - }; 20 - } 21 - { 22 - goPackagePath = "github.com/gorilla/mux"; 23 - fetch = { 24 - type = "git"; 25 - url = "https://github.com/gorilla/mux"; 26 - rev = "599cba5e7b6137d46ddf58fb1765f5d928e69604"; 27 - sha256 = "0wd6jjii1kg5s0nk3ri6gqriz6hbd6bbcn6x4jf8n7ncrb8qsxyz"; 28 - }; 29 - } 30 - { 31 - goPackagePath = "github.com/gorilla/websocket"; 32 - fetch = { 33 - type = "git"; 34 - url = "https://github.com/gorilla/websocket"; 35 - rev = "a91eba7f97777409bc2c443f5534d41dd20c5720"; 36 - sha256 = "13cg6wwkk2ddqbm0nh9fpx4mq7f6qym12ch4lvs53n028ycdgw87"; 37 - }; 38 - } 39 - { 40 - goPackagePath = "github.com/mattn/go-colorable"; 41 - fetch = { 42 - type = "git"; 43 - url = "https://github.com/mattn/go-colorable"; 44 - rev = "ded68f7a9561c023e790de24279db7ebf473ea80"; 45 - sha256 = "0q019h59jq815jfl9rgk4yrpkn5rpcx9s6dksdm48rp1abafwvfc"; 46 - }; 47 - } 48 - { 49 - goPackagePath = "github.com/mattn/go-sqlite3"; 50 - fetch = { 51 - type = "git"; 52 - url = "https://github.com/mattn/go-sqlite3"; 53 - rev = "cf7286f069c3ef596efcc87781a4653a2e7607bd"; 54 - sha256 = "19ipf6bf1xd7w2fm8dnv5my4jp3lhwhlrhfwhwq559amp1h4nwyq"; 55 - }; 56 - } 57 - { 58 - goPackagePath = "github.com/pborman/uuid"; 59 - fetch = { 60 - type = "git"; 61 - url = "https://github.com/pborman/uuid"; 62 - rev = "1b00554d822231195d1babd97ff4a781231955c9"; 63 - sha256 = "0rjkcf85sagdwzsycj1bbjyx5bgmrc1i8l5qf1f44z24rhbbkaan"; 64 - }; 65 - } 66 - { 67 - goPackagePath = "github.com/syndtr/gocapability"; 68 - fetch = { 69 - type = "git"; 70 - url = "https://github.com/syndtr/gocapability"; 71 - rev = "e7cb7fa329f456b3855136a2642b197bad7366ba"; 72 - sha256 = "1i65kyjhbaya45zj9zqkb17plbqf92sfvl9fcz9s9qslg0qab2i1"; 73 - }; 74 - } 75 - { 76 - goPackagePath = "golang.org/x/crypto"; 77 - fetch = { 78 - type = "git"; 79 - url = "https://go.googlesource.com/crypto"; 80 - rev = "3543873453996aaab2fc6b3928a35fc5ca2b5afb"; 81 - sha256 = "1d7pjqzh5893mzkz60bv5ypmr9zgyvb9z2gvcjrsqniwcqlhbk2c"; 82 - }; 83 - } 84 - { 85 - goPackagePath = "golang.org/x/net"; 86 - fetch = { 87 - type = "git"; 88 - url = "https://go.googlesource.com/net"; 89 - rev = "da118f7b8e5954f39d0d2130ab35d4bf0e3cb344"; 90 - sha256 = "09xpndqc6a2r0lw42cyl1pkhfddl01sd9c3qqjjwp3vmxm004whv"; 91 - }; 92 - } 93 - { 94 - goPackagePath = "gopkg.in/flosch/pongo2.v3"; 95 - fetch = { 96 - type = "git"; 97 - url = "https://gopkg.in/flosch/pongo2.v3"; 98 - rev = "5e81b817a0c48c1c57cdf1a9056cf76bdee02ca9"; 99 - sha256 = "0fd7d79644zmcirsb1gvhmh0l5vb5nyxmkzkvqpmzzcg6yfczph8"; 100 - }; 101 - } 102 - { 103 - goPackagePath = "gopkg.in/inconshreveable/log15.v2"; 104 - fetch = { 105 - type = "git"; 106 - url = "https://gopkg.in/inconshreveable/log15.v2"; 107 - rev = "b105bd37f74e5d9dc7b6ad7806715c7a2b83fd3f"; 108 - sha256 = "18rldvi60i7b3lljfrsqgcc24gdkw2pcixxydznyggaqhh96l6a8"; 109 - }; 110 - } 111 - { 112 - goPackagePath = "gopkg.in/lxc/go-lxc.v2"; 113 - fetch = { 114 - type = "git"; 115 - url = "https://gopkg.in/lxc/go-lxc.v2"; 116 - rev = "8304875cc3423823032ec93556beee076c6ba687"; 117 - sha256 = "12vrx9ilxkl1nxc5k81c6b2a1i715843r23fra681digdjnd8bpk"; 118 - }; 119 - } 120 - { 121 - goPackagePath = "gopkg.in/tomb.v2"; 122 - fetch = { 123 - type = "git"; 124 - url = "https://gopkg.in/tomb.v2"; 125 - rev = "d5d1b5820637886def9eef33e03a27a9f166942c"; 126 - sha256 = "1sv15sri99szkdz1bkh0ir46w9n8prrwx5hfai13nrhkawfyfy10"; 127 - }; 128 - } 129 - { 130 - goPackagePath = "gopkg.in/yaml.v2"; 131 - fetch = { 132 - type = "git"; 133 - url = "https://gopkg.in/yaml.v2"; 134 - rev = "cd8b52f8269e0feb286dfeef29f8fe4d5b397e0b"; 135 - sha256 = "1hj2ag9knxflpjibck0n90jrhsrqz7qvad4qnif7jddyapi9bqzl"; 136 - }; 137 - } 138 - { 139 - goPackagePath = "github.com/gosexy/gettext"; 140 - fetch = { 141 - type = "git"; 142 - url = "https://github.com/gosexy/gettext"; 143 - rev = "74466a0a0c4a62fea38f44aa161d4bbfbe79dd6b"; 144 - sha256 = "0asphx8nd7zmp88wk6aakk5292np7yw73akvfdvlvs9q5r5ahkgi"; 145 - }; 146 - } 147 - { 148 - goPackagePath = "github.com/olekukonko/tablewriter"; 149 - fetch = { 150 - type = "git"; 151 - url = "https://github.com/olekukonko/tablewriter"; 152 - rev = "febf2d34b54a69ce7530036c7503b1c9fbfdf0bb"; 153 - sha256 = "1ir7bs4m5rk8v9vpycjj7mn6sc6j9wvxkd63i9b6fmrdsx9q0x4g"; 154 - }; 155 - } 156 - { 157 - goPackagePath = "github.com/mattn/go-runewidth"; 158 - fetch = { 159 - type = "git"; 160 - url = "https://github.com/mattn/go-runewidth"; 161 - rev = "14207d285c6c197daabb5c9793d63e7af9ab2d50"; 162 - sha256 = "0y6yq9zd4kh7fimnc00r3h9pr2pwa5j85b3jcn5dyfamsnm2xdsv"; 163 - }; 164 - } 165 - ]
+3 -4
pkgs/tools/admin/salt/default.nix
··· 8 8 9 9 python2Packages.buildPythonApplication rec { 10 10 pname = "salt"; 11 - version = "2017.7.2"; 12 - name = "${pname}-${version}"; 11 + version = "2017.7.4"; 13 12 14 13 src = python2Packages.fetchPypi { 15 14 inherit pname version; 16 - sha256 = "0h18zwp1w90rgxpmqgrmn9wp31h03f0vak8lpnnbh0dzbbgcffzz"; 15 + sha256 = "15xfvclk3ns8vk17j7bfy4alq7ab5x3y3jnpqzp5583bfyak0mqx"; 17 16 }; 18 17 19 18 propagatedBuildInputs = with python2Packages; [ 20 19 futures 21 20 jinja2 22 21 markupsafe 23 - msgpack 22 + msgpack-python 24 23 pycrypto 25 24 pyyaml 26 25 pyzmq
+27
pkgs/tools/compression/pbzx/default.nix
··· 1 + {stdenv, lib, fetchFromGitHub, lzma, xar}: 2 + 3 + stdenv.mkDerivation rec { 4 + pname = "pbzx"; 5 + version = "1.0.2"; 6 + name = "${pname}-${version}"; 7 + src = fetchFromGitHub { 8 + owner = "NiklasRosenstein"; 9 + repo = "pbzx"; 10 + rev = "v${version}"; 11 + sha256 = "0bwd7wmnhpz1n5p39mh6asfyccj4cm06hwigslcwbb3pdwmvxc90"; 12 + }; 13 + buildInputs = [ lzma xar ]; 14 + buildPhase = '' 15 + cc pbzx.c -llzma -lxar -o pbzx 16 + ''; 17 + installPhase = '' 18 + mkdir -p $out/bin 19 + cp pbzx $out/bin 20 + ''; 21 + meta = with lib; { 22 + description = "Stream parser of Apple's pbzx compression format."; 23 + platforms = platforms.unix; 24 + license = licenses.gpl3; 25 + maintainers = [ maintainers.matthewbauer ]; 26 + }; 27 + }
+8
pkgs/tools/filesystems/extundelete/default.nix
··· 11 11 12 12 buildInputs = [ e2fsprogs ]; 13 13 14 + # inode field i_dir_acl was repurposed as i_size_high in e2fsprogs 1.44, 15 + # breaking the build 16 + patchPhase = '' 17 + substituteInPlace src/insertionops.cc \ 18 + --replace "Directory ACL:" "High 32 bits of size:" \ 19 + --replace "inode.i_dir_acl" "inode.i_size_high" 20 + ''; 21 + 14 22 meta = with stdenv.lib; { 15 23 description = "Utility that can recover deleted files from an ext3 or ext4 partition"; 16 24 homepage = http://extundelete.sourceforge.net/;
+17 -10
pkgs/tools/filesystems/mergerfs/default.nix
··· 1 - { stdenv, fetchgit, autoconf, automake, pkgconfig, gettext, libtool, git, pandoc, which, attr, libiconv }: 1 + { stdenv, fetchFromGitHub, automake, autoconf, pkgconfig, gettext, libtool, pandoc, which, attr, libiconv }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "mergerfs-${version}"; 5 - version = "2.24.0"; 5 + version = "2.24.2"; 6 6 7 - # not using fetchFromGitHub because of changelog being built with git log 8 - src = fetchgit { 9 - url = "https://github.com/trapexit/mergerfs"; 10 - rev = "refs/tags/${version}"; 11 - sha256 = "12ci1i5zkarl1rz0pq1ldw0fpp4yfj8vz36jij63am7w7gp7qly2"; 12 - deepClone = true; 13 - leaveDotGit = true; 7 + src = fetchFromGitHub { 8 + owner = "trapexit"; 9 + repo = "mergerfs"; 10 + rev = version; 11 + sha256 = "0i65v7900s7c9jkj3a4v44vf3r5mvjkbcic3df940nmk0clahhcs"; 14 12 }; 15 13 16 - nativeBuildInputs = [ autoconf automake pkgconfig gettext libtool git pandoc which ]; 14 + nativeBuildInputs = [ 15 + automake autoconf pkgconfig gettext libtool pandoc which 16 + ]; 17 17 buildInputs = [ attr libiconv ]; 18 + 19 + preConfigure = '' 20 + cat > src/version.hpp <<EOF 21 + #pragma once 22 + static const char MERGERFS_VERSION[] = "${version}"; 23 + EOF 24 + ''; 18 25 19 26 makeFlags = [ "PREFIX=$(out)" "XATTR_AVAILABLE=1" ]; 20 27
+1 -1
pkgs/tools/misc/contacts/default.nix
··· 13 13 14 14 installPhase = '' 15 15 mkdir -p $out/bin 16 - cp ./contacts-*/Build/Products/Default/contacts $out/bin 16 + cp Products/Default/contacts $out/bin 17 17 ''; 18 18 19 19 ## FIXME: the framework setup hook isn't adding these correctly
+3 -1
pkgs/tools/misc/lolcat/Gemfile.lock
··· 1 1 GEM 2 2 remote: http://rubygems.org/ 3 3 specs: 4 - lolcat (90.8.8) 4 + lolcat (99.9.10) 5 + manpages (~> 0.6.1) 5 6 paint (~> 2.0.0) 6 7 trollop (~> 2.1.2) 8 + manpages (0.6.1) 7 9 paint (2.0.1) 8 10 trollop (2.1.2) 9 11
+11 -3
pkgs/tools/misc/lolcat/gemset.nix
··· 1 1 { 2 2 lolcat = { 3 - dependencies = ["paint" "trollop"]; 3 + dependencies = ["manpages" "paint" "trollop"]; 4 4 source = { 5 5 remotes = ["http://rubygems.org"]; 6 - sha256 = "1q031wq8wvp09llb39w0ql5k1zkblvkbmhlvrkc3ym832pibk06f"; 6 + sha256 = "0fidwmgywkklxf2a4f4dl82b8mx4w4n73vqm6jqgyqd3nfmgysnl"; 7 7 type = "gem"; 8 8 }; 9 - version = "90.8.8"; 9 + version = "99.9.10"; 10 + }; 11 + manpages = { 12 + source = { 13 + remotes = ["http://rubygems.org"]; 14 + sha256 = "11p6ilnfda6af15ks3xiz2pr0hkvdvadnk1xm4ahqlf84dld3fnd"; 15 + type = "gem"; 16 + }; 17 + version = "0.6.1"; 10 18 }; 11 19 paint = { 12 20 source = {
+4 -4
pkgs/tools/misc/ostree/default.nix
··· 7 7 libglnx-src = fetchFromGitHub { 8 8 owner = "GNOME"; 9 9 repo = "libglnx"; 10 - rev = "5362f6bc3ff3e30f379e767b203d15c9e56d6f08"; 11 - sha256 = "1l4vm7bx3cf4q44n3a1i2gszyryqyimcxvx54gna72q7dw130mrr"; 10 + rev = "0c82203cd459a35cc3f471e3205355e9fb79160f"; 11 + sha256 = "0xbrv7q6b2ygrbr0yr7p01zpryw45643qfwnlw0z2yv515qs7isc"; 12 12 }; 13 13 14 14 bsdiff-src = fetchFromGitHub { ··· 18 18 sha256 = "1h71d2h2d3anp4msvpaff445rnzdxii3id2yglqk7af9i43kdsn1"; 19 19 }; 20 20 21 - version = "2017.12"; 21 + version = "2018.4"; 22 22 in stdenv.mkDerivation { 23 23 name = "ostree-${version}"; 24 24 ··· 26 26 rev = "v${version}"; 27 27 owner = "ostreedev"; 28 28 repo = "ostree"; 29 - sha256 = "0gxvpzwz7z4zihz5hkn6ajv7f6gas4zi2pznhi5v6wy7cw06if68"; 29 + sha256 = "00jgj6vcjpz1akfbmf82q1bcs3njrmvdgy4c2gnn24vkmh9yr0lr"; 30 30 }; 31 31 32 32 nativeBuildInputs = [
+10 -17
pkgs/tools/misc/peruse/default.nix
··· 1 1 { 2 2 mkDerivation, fetchFromGitHub, fetchurl, lib, 3 3 extra-cmake-modules, kdoctools, wrapGAppsHook, 4 - baloo, karchive, kconfig, kcrash, kfilemetadata, kinit, kirigami, knewstuff, plasma-framework 4 + baloo, karchive, kconfig, kcrash, kfilemetadata, kinit, kirigami2, knewstuff, plasma-framework 5 5 }: 6 6 7 7 let 8 8 pname = "peruse"; 9 - version = "1.2"; 10 - unarr = fetchFromGitHub { 11 - owner = "zeniko"; 12 - repo = "unarr"; 13 - rev = "d1be8c43a82a4320306c8e835a86fdb7b2574ca7"; 14 - sha256 = "03ds5da69zipa25rsp76l6xqivrh3wcgygwyqa5x2rgcz3rjnlpr"; 15 - }; 9 + version = "1.2.20180219"; 10 + 16 11 in mkDerivation rec { 17 12 name = "${pname}-${version}"; 18 13 19 - src = fetchurl { 20 - url = "mirror://kde/stable/${pname}/${name}.tar.xz"; 21 - sha256 = "1ik2627xynkichsq9x28rkczqn3l3p06q6vw5jdafdh3hisccmjq"; 14 + # The last formal release from 2016 uses kirigami1 which is deprecated 15 + src = fetchFromGitHub { 16 + owner = "KDE"; 17 + repo = pname; 18 + rev = "4125d3149c45d196600258686610de701130113d"; 19 + sha256 = "1x8in7z17gzgiibshw7xfs6m6bhr3n5fys3nlpab77nm0dl3f4r5"; 22 20 }; 23 21 24 22 nativeBuildInputs = [ extra-cmake-modules kdoctools wrapGAppsHook ]; 25 23 26 - propagatedBuildInputs = [ baloo karchive kconfig kcrash kfilemetadata kinit kirigami knewstuff plasma-framework ]; 24 + propagatedBuildInputs = [ baloo karchive kconfig kcrash kfilemetadata kinit kirigami2 knewstuff plasma-framework ]; 27 25 28 26 pathsToLink = [ "/etc/xdg/peruse.knsrc"]; 29 - 30 - preConfigure = '' 31 - rm -rf src/qtquick/karchive-rar/external/unarr 32 - ln -s ${unarr} src/qtquick/karchive-rar/external/unarr 33 - ''; 34 27 35 28 meta = with lib; { 36 29 license = licenses.gpl2;
+2 -2
pkgs/tools/misc/pick/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "pick-${version}"; 5 - version = "2.0.1"; 5 + version = "2.0.2"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "calleerlandsson"; 9 9 repo = "pick"; 10 10 rev = "v${version}"; 11 - sha256 = "0ypawbzpw188rxgv8x044iib3a517j5grgqnxy035ax5zzjavsrr"; 11 + sha256 = "0wm3220gqrwldiq0rjdraq5mw3i7d58zwzls8234sx9maf59h0k0"; 12 12 }; 13 13 14 14 buildInputs = [ ncurses ];
pkgs/tools/misc/quota/default.nix pkgs/tools/misc/linuxquota/default.nix
+2 -1
pkgs/tools/networking/mailutils/default.nix
··· 1 1 { stdenv, fetchurl, fetchpatch, autoreconfHook, dejagnu, gettext, pkgconfig 2 2 , gdbm, pam, readline, ncurses, gnutls, guile, texinfo, gnum4, sasl, fribidi, nettools 3 - , python, gss, mysql }: 3 + , python, gss, mysql, sendmailPath ? "/run/wrappers/bin/sendmail" }: 4 4 5 5 let 6 6 p = "https://raw.githubusercontent.com/gentoo/gentoo/9c921e89d51876fd876f250324893fd90c019326/net-mail/mailutils/files"; ··· 41 41 "--with-gssapi" 42 42 "--with-gsasl" 43 43 "--with-mysql" 44 + "--with-path-sendmail=${sendmailPath}" 44 45 ]; 45 46 46 47 readmsg-tests = stdenv.lib.optionals doCheck [
+2 -2
pkgs/tools/networking/miniupnpd/default.nix
··· 3 3 assert stdenv.isLinux; 4 4 5 5 stdenv.mkDerivation rec { 6 - name = "miniupnpd-2.0.20180222"; 6 + name = "miniupnpd-2.0.20180410"; 7 7 8 8 src = fetchurl { 9 9 url = "http://miniupnp.free.fr/files/download.php?file=${name}.tar.gz"; 10 - sha256 = "1hdpyvz1z6crpa7as3srmbl64fx0k4wjra57jw7qaysdsb1b2kqr"; 10 + sha256 = "1w4crmsmrygagh0v9phx8aicbyh6nypfjh2fdmknijngvx05biaq"; 11 11 name = "${name}.tar.gz"; 12 12 }; 13 13
+22 -37
pkgs/tools/networking/shadowsocks-libev/default.nix
··· 1 - { withMbedTLS ? true 2 - , enableSystemSharedLib ? true 3 - , stdenv, fetchurl, zlib 4 - , openssl ? null 5 - , mbedtls ? null 6 - , libev ? null 7 - , libsodium ? null 8 - , udns ? null 9 - , asciidoc 10 - , xmlto 11 - , docbook_xml_dtd_45 12 - , docbook_xsl 13 - , libxslt 14 - , pcre 1 + { stdenv, fetchurl, fetchgit, cmake 2 + , libsodium, mbedtls, libev, c-ares, pcre 3 + , asciidoc, xmlto, docbook_xml_dtd_45, docbook_xsl, libxslt 15 4 }: 16 5 17 - let 18 - 19 - version = "2.5.5"; 20 - sha256 = "46a72367b7301145906185f1e4136e39d6792d27643826e409ab708351b6d0dd"; 21 - 22 - in 23 - 24 - with stdenv.lib; 25 - 26 6 stdenv.mkDerivation rec { 27 7 name = "shadowsocks-libev-${version}"; 28 - src = fetchurl { 29 - url = "https://github.com/shadowsocks/shadowsocks-libev/archive/v${version}.tar.gz"; 30 - inherit sha256; 8 + version = "3.1.3"; 9 + 10 + # Git tag includes CMake build files which are much more convenient. 11 + # fetchgit because submodules. 12 + src = fetchgit { 13 + url = "https://github.com/shadowsocks/shadowsocks-libev"; 14 + rev = "refs/tags/v${version}"; 15 + sha256 = "16q91xh6ixfv7b5rl31an11101irv08119klfx5qgj4i6h7c41s7"; 31 16 }; 32 17 33 - buildInputs = [ zlib asciidoc xmlto docbook_xml_dtd_45 docbook_xsl libxslt pcre ] 34 - ++ optional (!withMbedTLS) openssl 35 - ++ optional withMbedTLS mbedtls 36 - ++ optionals enableSystemSharedLib [libev libsodium udns]; 18 + buildInputs = [ libsodium mbedtls libev c-ares pcre ]; 19 + nativeBuildInputs = [ cmake asciidoc xmlto docbook_xml_dtd_45 docbook_xsl libxslt ]; 20 + 21 + cmakeFlags = [ "-DWITH_STATIC=OFF" ]; 37 22 38 - configureFlags = optional withMbedTLS 39 - [ "--with-crypto-library=mbedtls" 40 - "--with-mbedtls=${mbedtls}" 41 - ] 42 - ++ optional enableSystemSharedLib "--enable-system-shared-lib"; 23 + postInstall = '' 24 + cp lib/* $out/lib 25 + chmod +x $out/bin/* 26 + mv $out/pkgconfig $out/lib 27 + ''; 43 28 44 - meta = { 29 + meta = with stdenv.lib; { 45 30 description = "A lightweight secured SOCKS5 proxy"; 46 31 longDescription = '' 47 32 Shadowsocks-libev is a lightweight secured SOCKS5 proxy for embedded devices and low-end boxes. ··· 50 35 homepage = https://github.com/shadowsocks/shadowsocks-libev; 51 36 license = licenses.gpl3Plus; 52 37 maintainers = [ maintainers.nfjinjing ]; 53 - platforms = platforms.all; 38 + platforms = platforms.linux; 54 39 }; 55 40 }
+1 -3
pkgs/tools/security/pinentry-mac/default.nix
··· 12 12 13 13 buildInputs = [ xcbuild libiconv Cocoa ncurses ]; 14 14 15 - dontUseXcbuild = true; 16 - 17 15 installPhase = '' 18 16 mkdir -p $out/Applications 19 - mv pinentry-mac-*/Build/Products/Release/pinentry-mac.app $out/Applications 17 + mv Products/Release/pinentry-mac.app $out/Applications 20 18 ''; 21 19 22 20 passthru = {
+36
pkgs/tools/security/scallion/default.nix
··· 1 + { stdenv, fetchFromGitHub, makeWrapper, mono, openssl, ocl-icd }: 2 + 3 + stdenv.mkDerivation rec { 4 + version = "2.1"; 5 + name = "scallion-${version}"; 6 + 7 + src = fetchFromGitHub { 8 + owner = "lachesis"; 9 + repo = "scallion"; 10 + rev = "v${version}"; 11 + sha256 = "1l9aj101xpsaaa6kmmhmq68m6z8gzli1iaaf8xaxbivq0i7vka9k"; 12 + }; 13 + 14 + nativeBuildInputs = [ makeWrapper ]; 15 + buildInputs = [ mono ]; 16 + 17 + buildPhase = '' 18 + xbuild scallion.sln 19 + ''; 20 + 21 + installPhase = '' 22 + mkdir -p $out/share 23 + cp scallion/bin/Debug/* $out/share/ 24 + makeWrapper ${mono}/bin/mono $out/bin/scallion \ 25 + --prefix LD_LIBRARY_PATH : ${stdenv.lib.makeLibraryPath [ openssl ocl-icd ]} \ 26 + --add-flags $out/share/scallion.exe 27 + ''; 28 + 29 + meta = with stdenv.lib; { 30 + description = "GPU-based tor hidden service name generator"; 31 + homepage = src.meta.homepage; 32 + license = licenses.mit; 33 + platforms = [ "x86_64-linux" ]; 34 + maintainers = with maintainers; [ volth ]; 35 + }; 36 + }
+2 -2
pkgs/tools/system/efivar/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "efivar-${version}"; 5 - version = "34"; 5 + version = "35"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "rhinstaller"; 9 9 repo = "efivar"; 10 10 rev = version; 11 - sha256 = "0ycrdaz0ijkm3xb9fnwzhwi0pdj5c6s636wj4i6lbjbrijbzn4x5"; 11 + sha256 = "0hc7l5z0hw5472bm6p4d9n24bbggv9lgw7px1hqrdkfjghqfnlxh"; 12 12 }; 13 13 14 14 nativeBuildInputs = [ pkgconfig ];
+23
pkgs/tools/system/gotop/default.nix
··· 1 + { stdenv, buildGoPackage, fetchFromGitHub }: 2 + 3 + buildGoPackage rec { 4 + name = "gotop-${version}"; 5 + version = "1.2.9"; 6 + 7 + goPackagePath = "github.com/cjbassi/gotop"; 8 + 9 + src = fetchFromGitHub { 10 + repo = "gotop"; 11 + owner = "cjbassi"; 12 + rev = version; 13 + sha256 = "07s2f04yhc79vqr1gdh2v974kpn7flp4slnp99mavpa331lv9q8a"; 14 + }; 15 + 16 + meta = with stdenv.lib; { 17 + description = "A terminal based graphical activity monitor inspired by gtop and vtop"; 18 + homepage = https://github.com/cjbassi/gotop; 19 + license = licenses.agpl3; 20 + maintainers = [ maintainers.magnetophon ]; 21 + platforms = platforms.linux; 22 + }; 23 + }
+2
pkgs/tools/typesetting/asciidoctor/Gemfile
··· 4 4 gem 'asciidoctor-bespoke' 5 5 gem 'asciidoctor-pdf' 6 6 gem 'asciidoctor-latex' 7 + gem 'asciidoctor-mathematical' 8 + gem 'coderay' 7 9 gem 'pygments.rb'
+47 -34
pkgs/tools/typesetting/asciidoctor/Gemfile.lock
··· 1 1 GEM 2 2 remote: https://rubygems.org/ 3 3 specs: 4 - Ascii85 (1.0.2) 5 - addressable (2.5.0) 6 - public_suffix (~> 2.0, >= 2.0.2) 4 + Ascii85 (1.0.3) 5 + addressable (2.5.2) 6 + public_suffix (>= 2.0.2, < 4.0) 7 7 afm (0.2.2) 8 - asciidoctor (1.5.6.1) 8 + asciidoctor (1.5.6.2) 9 9 asciidoctor-bespoke (1.0.0.alpha.1) 10 10 asciidoctor (>= 1.5.0) 11 11 slim (~> 3.0.6) 12 12 thread_safe (~> 0.3.5) 13 - asciidoctor-diagram (1.5.4) 13 + asciidoctor-diagram (1.5.9) 14 14 asciidoctor (~> 1.5.0) 15 15 asciidoctor-latex (1.5.0.17.dev) 16 16 asciidoctor (~> 1.5, >= 1.5.2) 17 17 htmlentities (~> 4.3) 18 18 opal (~> 0.6.3) 19 + asciidoctor-mathematical (0.2.2) 20 + asciidoctor (~> 1.5, >= 1.5.0) 21 + mathematical (~> 1.5, >= 1.5.8) 22 + ruby-enum (~> 0.4) 19 23 asciidoctor-pdf (1.5.0.alpha.16) 20 24 asciidoctor (>= 1.5.0) 21 - prawn (>= 1.3.0, < 3.0.0) 22 - prawn-icon (= 1.2.0) 23 - prawn-svg (>= 0.21.0, < 0.26.0) 25 + prawn (>= 1.3.0, < 2.3.0) 26 + prawn-icon (= 1.3.0) 27 + prawn-svg (>= 0.21.0, < 0.28.0) 24 28 prawn-table (= 0.2.2) 25 - prawn-templates (= 0.0.3) 29 + prawn-templates (>= 0.0.3, <= 0.1.1) 26 30 safe_yaml (~> 1.0.4) 27 - thread_safe (~> 0.3.5) 31 + thread_safe (~> 0.3.6) 28 32 treetop (= 1.5.3) 29 - concurrent-ruby (1.0.4) 30 - css_parser (1.4.8) 33 + coderay (1.1.2) 34 + concurrent-ruby (1.0.5) 35 + css_parser (1.6.0) 31 36 addressable 32 37 hashery (2.1.2) 33 38 htmlentities (4.3.4) 34 - json (2.0.3) 35 - multi_json (1.12.1) 39 + i18n (1.0.0) 40 + concurrent-ruby (~> 1.0) 41 + json (2.1.0) 42 + mathematical (1.6.11) 43 + ruby-enum (~> 0.4) 44 + multi_json (1.13.1) 36 45 opal (0.6.3) 37 46 source_map 38 47 sprockets 39 - pdf-core (0.6.1) 40 - pdf-reader (1.4.1) 48 + pdf-core (0.7.0) 49 + pdf-reader (2.1.0) 41 50 Ascii85 (~> 1.0.0) 42 51 afm (~> 0.2.1) 43 52 hashery (~> 2.0) 44 53 ruby-rc4 45 54 ttfunk 46 55 polyglot (0.3.5) 47 - prawn (2.1.0) 48 - pdf-core (~> 0.6.1) 49 - ttfunk (~> 1.4.0) 50 - prawn-icon (1.2.0) 56 + prawn (2.2.2) 57 + pdf-core (~> 0.7.0) 58 + ttfunk (~> 1.5) 59 + prawn-icon (1.3.0) 51 60 prawn (>= 1.1.0, < 3.0.0) 52 - prawn-svg (0.25.2) 61 + prawn-svg (0.27.1) 53 62 css_parser (~> 1.3) 54 63 prawn (>= 0.11.1, < 3) 55 64 prawn-table (0.2.2) 56 65 prawn (>= 1.3.0, < 3.0.0) 57 - prawn-templates (0.0.3) 58 - pdf-reader (~> 1.3) 59 - prawn (>= 0.15.0) 60 - public_suffix (2.0.5) 61 - pygments.rb (1.1.1) 66 + prawn-templates (0.1.1) 67 + pdf-reader (~> 2.0) 68 + prawn (~> 2.2) 69 + public_suffix (3.0.2) 70 + pygments.rb (1.2.1) 62 71 multi_json (>= 1.0.0) 63 - rack (2.0.1) 72 + rack (2.0.4) 73 + ruby-enum (0.7.2) 74 + i18n 64 75 ruby-rc4 (0.1.5) 65 76 safe_yaml (1.0.4) 66 - slim (3.0.7) 67 - temple (~> 0.7.6) 77 + slim (3.0.9) 78 + temple (>= 0.7.6, < 0.9) 68 79 tilt (>= 1.3.3, < 2.1) 69 80 source_map (3.0.1) 70 81 json 71 82 sprockets (3.7.1) 72 83 concurrent-ruby (~> 1.0) 73 84 rack (> 1, < 3) 74 - temple (0.7.7) 75 - thread_safe (0.3.5) 76 - tilt (2.0.6) 85 + temple (0.8.0) 86 + thread_safe (0.3.6) 87 + tilt (2.0.8) 77 88 treetop (1.5.3) 78 89 polyglot (~> 0.3) 79 - ttfunk (1.4.0) 90 + ttfunk (1.5.1) 80 91 81 92 PLATFORMS 82 93 ruby ··· 86 97 asciidoctor-bespoke 87 98 asciidoctor-diagram 88 99 asciidoctor-latex 100 + asciidoctor-mathematical 89 101 asciidoctor-pdf 102 + coderay 90 103 pygments.rb 91 104 92 105 BUNDLED WITH 93 - 1.13.6 106 + 1.14.6
+34 -1
pkgs/tools/typesetting/asciidoctor/default.nix
··· 1 - { stdenv, lib, bundlerApp, ruby, curl }: 1 + { stdenv, lib, bundlerApp, ruby, curl 2 + # Dependencies of the 'mathematical' package 3 + , cmake, bison, flex, glib, pkgconfig, cairo 4 + , pango, gdk_pixbuf, libxml2, python3, patchelf 5 + }: 2 6 3 7 bundlerApp { 4 8 inherit ruby; ··· 11 15 "asciidoctor-latex" 12 16 "asciidoctor-pdf" 13 17 "asciidoctor-safe" 18 + "asciidoctor-mathematical" 14 19 ]; 20 + 21 + gemConfig = { 22 + mathematical = attrs: { 23 + buildInputs = [ 24 + cmake 25 + bison 26 + flex 27 + glib 28 + pkgconfig 29 + cairo 30 + pango 31 + gdk_pixbuf 32 + libxml2 33 + python3 34 + ]; 35 + 36 + # The ruby build script takes care of this 37 + dontUseCmakeConfigure = true; 38 + 39 + # For some reason 'mathematical.so' is missing cairo and glib in its RPATH, add them explicitly here 40 + postFixup = lib.optionalString stdenv.isLinux '' 41 + soPath="$out/lib/ruby/gems/2.4.0/gems/mathematical-${attrs.version}/lib/mathematical/mathematical.so" 42 + ${patchelf}/bin/patchelf \ 43 + --set-rpath "${lib.makeLibraryPath [ glib cairo ]}:$(${patchelf}/bin/patchelf --print-rpath "$soPath")" \ 44 + "$soPath" 45 + ''; 46 + }; 47 + }; 15 48 16 49 meta = with lib; { 17 50 description = "A faster Asciidoc processor written in Ruby";
+107 -45
pkgs/tools/typesetting/asciidoctor/gemset.nix
··· 1 1 { 2 2 addressable = { 3 + dependencies = ["public_suffix"]; 3 4 source = { 4 5 remotes = ["https://rubygems.org"]; 5 - sha256 = "1j5r0anj8m4qlf2psnldip4b8ha2bsscv11lpdgnfh4nnchzjnxw"; 6 + sha256 = "0viqszpkggqi8hq87pqp0xykhvz60g99nwmkwsb0v45kc2liwxvk"; 6 7 type = "gem"; 7 8 }; 8 - version = "2.5.0"; 9 + version = "2.5.2"; 9 10 }; 10 11 afm = { 11 12 source = { ··· 18 19 Ascii85 = { 19 20 source = { 20 21 remotes = ["https://rubygems.org"]; 21 - sha256 = "0j95sbxd18kc8rhcnvl1w37kflqpax1r12h1x47gh4xxn3mz4m7q"; 22 + sha256 = "0658m37jjjn6drzqg1gk4p6c205mgp7g1jh2d00n4ngghgmz5qvs"; 22 23 type = "gem"; 23 24 }; 24 - version = "1.0.2"; 25 + version = "1.0.3"; 25 26 }; 26 27 asciidoctor = { 27 28 source = { 28 29 remotes = ["https://rubygems.org"]; 29 - sha256 = "c4371c419306d69152809eb896c291ca09969dc26ca34be36f4eab82914fceca"; 30 + sha256 = "0zq3az4836nxkc8g5wnnbzmarw7663s1ky6gf8pc04sfpa8n2l3f"; 30 31 type = "gem"; 31 32 }; 32 - version = "1.5.6.1"; 33 + version = "1.5.6.2"; 33 34 }; 34 35 asciidoctor-bespoke = { 36 + dependencies = ["asciidoctor" "slim" "thread_safe"]; 35 37 source = { 36 38 remotes = ["https://rubygems.org"]; 37 39 sha256 = "1awy933sswxvi2hxpll3rh9phxcvmqhrbb91m6ibjchnf7qsl3zk"; ··· 40 42 version = "1.0.0.alpha.1"; 41 43 }; 42 44 asciidoctor-diagram = { 45 + dependencies = ["asciidoctor"]; 43 46 source = { 44 47 remotes = ["https://rubygems.org"]; 45 - sha256 = "06kqlij2yc84zqxmb39bqi9pihapgac7gxyzrwm4kxfnmfdqmxrk"; 48 + sha256 = "0rj02i00d9hkzqzzrk5al9rn8yv5x0wsnrv9y6j4k8rfylm69c1r"; 46 49 type = "gem"; 47 50 }; 48 - version = "1.5.4"; 51 + version = "1.5.9"; 49 52 }; 50 53 asciidoctor-latex = { 54 + dependencies = ["asciidoctor" "htmlentities" "opal"]; 51 55 source = { 52 56 remotes = ["https://rubygems.org"]; 53 57 sha256 = "02qvn1ngp4s9y22vk23zzssd4w1bpyk84akjwiq6nqn8im6s4awz"; 54 58 type = "gem"; 55 59 }; 56 60 version = "1.5.0.17.dev"; 61 + }; 62 + asciidoctor-mathematical = { 63 + dependencies = ["asciidoctor" "mathematical" "ruby-enum"]; 64 + source = { 65 + remotes = ["https://rubygems.org"]; 66 + sha256 = "18igbvs70dnlrzgl62jcc0vfxhlb4r7v9bq3qf1v80l17lvq1x8f"; 67 + type = "gem"; 68 + }; 69 + version = "0.2.2"; 57 70 }; 58 71 asciidoctor-pdf = { 72 + dependencies = ["asciidoctor" "prawn" "prawn-icon" "prawn-svg" "prawn-table" "prawn-templates" "safe_yaml" "thread_safe" "treetop"]; 59 73 source = { 60 74 remotes = ["https://rubygems.org"]; 61 - sha256 = "0f6b2a1533577dfba218de5dd886771447e4d1cb670b81d2c3bf3a180e6029a1"; 75 + sha256 = "1899c071hfmzqg9822v7rg8y8iqlfy3dhpfy32ignzap6cajlsqg"; 62 76 type = "gem"; 63 77 }; 64 78 version = "1.5.0.alpha.16"; 65 79 }; 80 + coderay = { 81 + source = { 82 + remotes = ["https://rubygems.org"]; 83 + sha256 = "15vav4bhcc2x3jmi3izb11l4d9f3xv8hp2fszb7iqmpsccv1pz4y"; 84 + type = "gem"; 85 + }; 86 + version = "1.1.2"; 87 + }; 66 88 concurrent-ruby = { 67 89 source = { 68 90 remotes = ["https://rubygems.org"]; 69 - sha256 = "0p7ji1h1l407kci9w4b4yspzd58ssmlx7p91npx55kw08836dlpb"; 91 + sha256 = "183lszf5gx84kcpb779v6a2y0mx9sssy8dgppng1z9a505nj1qcf"; 70 92 type = "gem"; 71 93 }; 72 - version = "1.0.4"; 94 + version = "1.0.5"; 73 95 }; 74 96 css_parser = { 97 + dependencies = ["addressable"]; 75 98 source = { 76 99 remotes = ["https://rubygems.org"]; 77 - sha256 = "1aqv5ds1109s0g76ybvvaff41a71i03fjy0ix6272r8n0gdnjc3f"; 100 + sha256 = "0gwvf8mc8gnz4aizfijplv3594998h2j44ydakpzsdmkivs07v61"; 78 101 type = "gem"; 79 102 }; 80 - version = "1.4.8"; 103 + version = "1.6.0"; 81 104 }; 82 105 hashery = { 83 106 source = { ··· 95 118 }; 96 119 version = "4.3.4"; 97 120 }; 121 + i18n = { 122 + dependencies = ["concurrent-ruby"]; 123 + source = { 124 + remotes = ["https://rubygems.org"]; 125 + sha256 = "191c2xzlvn42sb8dz6gjy0qaigri4chfvflg3d4k6n58flm0yp65"; 126 + type = "gem"; 127 + }; 128 + version = "1.0.0"; 129 + }; 98 130 json = { 99 131 source = { 100 132 remotes = ["https://rubygems.org"]; 101 - sha256 = "0cpw154il64w6q20rrnsbjx1cdfz1yrzz1lgdbpn59lcwc6mprql"; 133 + sha256 = "01v6jjpvh3gnq6sgllpfqahlgxzj50ailwhj9b3cd20hi2dx0vxp"; 134 + type = "gem"; 135 + }; 136 + version = "2.1.0"; 137 + }; 138 + mathematical = { 139 + dependencies = ["ruby-enum"]; 140 + source = { 141 + remotes = ["https://rubygems.org"]; 142 + sha256 = "06xkr613hmzbhmm6zv92zlcjyfp0a6i2b3q3hg24lmj4j5l85p21"; 102 143 type = "gem"; 103 144 }; 104 - version = "2.0.3"; 145 + version = "1.6.11"; 105 146 }; 106 147 multi_json = { 107 148 source = { 108 149 remotes = ["https://rubygems.org"]; 109 - sha256 = "1wpc23ls6v2xbk3l1qncsbz16npvmw8p0b38l8czdzri18mp51xk"; 150 + sha256 = "1rl0qy4inf1mp8mybfk56dfga0mvx97zwpmq5xmiwl5r770171nv"; 110 151 type = "gem"; 111 152 }; 112 - version = "1.12.1"; 153 + version = "1.13.1"; 113 154 }; 114 155 opal = { 156 + dependencies = ["source_map" "sprockets"]; 115 157 source = { 116 158 remotes = ["https://rubygems.org"]; 117 159 sha256 = "0dmdxhmg43ibd4bsldssslsz8870hzknwcxiv9l1838lh6hd390k"; ··· 122 164 pdf-core = { 123 165 source = { 124 166 remotes = ["https://rubygems.org"]; 125 - sha256 = "1s0h0kkddkivgpf7k1jni9nzqxw09d9bgcsvyga407ixbiipkgfy"; 167 + sha256 = "19llwch2wfg51glb0kff0drfp3n6nb9vim4zlvzckxysksvxpby1"; 126 168 type = "gem"; 127 169 }; 128 - version = "0.6.1"; 170 + version = "0.7.0"; 129 171 }; 130 172 pdf-reader = { 173 + dependencies = ["Ascii85" "afm" "hashery" "ruby-rc4" "ttfunk"]; 131 174 source = { 132 175 remotes = ["https://rubygems.org"]; 133 - sha256 = "0ivmgm73jjk3hv7896mgld5ki8jhxdvksw766rqxp6i863y9v4jq"; 176 + sha256 = "1b3ig4wpcgdbqa7yw0ahwbmikkkywn2a22bfmrknl5ls7g066x45"; 134 177 type = "gem"; 135 178 }; 136 - version = "1.4.1"; 179 + version = "2.1.0"; 137 180 }; 138 181 polyglot = { 139 182 source = { ··· 144 187 version = "0.3.5"; 145 188 }; 146 189 prawn = { 190 + dependencies = ["pdf-core" "ttfunk"]; 147 191 source = { 148 192 remotes = ["https://rubygems.org"]; 149 - sha256 = "18f99v3r0jzym38s68hr0y8anrilv98shmsdf763ascd0gc5dj2n"; 193 + sha256 = "1qdjf1v6sfl44g3rqxlg8k4jrzkwaxgvh2l4xws97a8f3xv4na4m"; 150 194 type = "gem"; 151 195 }; 152 - version = "2.1.0"; 196 + version = "2.2.2"; 153 197 }; 154 198 prawn-icon = { 199 + dependencies = ["prawn"]; 155 200 source = { 156 201 remotes = ["https://rubygems.org"]; 157 - sha256 = "101npavqvv5w44vgphlkqn3gdawxmsnd4j8bk6lzbxz7niqgaqny"; 202 + sha256 = "1pz8n7ajkfmflw05dib2l9qkzkfzwwbzx63qcvjr14k1dnbpx7qk"; 158 203 type = "gem"; 159 204 }; 160 - version = "1.2.0"; 205 + version = "1.3.0"; 161 206 }; 162 207 prawn-svg = { 208 + dependencies = ["css_parser" "prawn"]; 163 209 source = { 164 210 remotes = ["https://rubygems.org"]; 165 - sha256 = "19zc7i6jxycs9m00frvv9g3x98sgzsyb1xf1xnn3h1ki574ibnip"; 211 + sha256 = "0fykcs10q2j6h04riav1kzrw77mga6gh1rxbh7q0ab6gkr0wamzx"; 166 212 type = "gem"; 167 213 }; 168 - version = "0.25.2"; 214 + version = "0.27.1"; 169 215 }; 170 216 prawn-table = { 217 + dependencies = ["prawn"]; 171 218 source = { 172 219 remotes = ["https://rubygems.org"]; 173 220 sha256 = "1nxd6qmxqwl850icp18wjh5k0s3amxcajdrkjyzpfgq0kvilcv9k"; ··· 176 223 version = "0.2.2"; 177 224 }; 178 225 prawn-templates = { 226 + dependencies = ["pdf-reader" "prawn"]; 179 227 source = { 180 228 remotes = ["https://rubygems.org"]; 181 - sha256 = "0d14sq01c5zn0ywzazwcz6lkk235za36km53wqbf1bqabdb1ls10"; 229 + sha256 = "1gs894sj9zdlwx59h3rk4p0l3y8r18p22zhnfiyx9lngsa56gcrj"; 182 230 type = "gem"; 183 231 }; 184 - version = "0.0.3"; 232 + version = "0.1.1"; 185 233 }; 186 234 public_suffix = { 187 235 source = { 188 236 remotes = ["https://rubygems.org"]; 189 - sha256 = "040jf98jpp6w140ghkhw2hvc1qx41zvywx5gj7r2ylr1148qnj7q"; 237 + sha256 = "1x5h1dh1i3gwc01jbg01rly2g6a1qwhynb1s8a30ic507z1nh09s"; 190 238 type = "gem"; 191 239 }; 192 - version = "2.0.5"; 240 + version = "3.0.2"; 193 241 }; 194 242 "pygments.rb" = { 243 + dependencies = ["multi_json"]; 195 244 source = { 196 245 remotes = ["https://rubygems.org"]; 197 - sha256 = "0g0ipgxqfw0vf2md3s8sqf8y7m5lxqza2gwnr05z3vrf1nc6v6hk"; 246 + sha256 = "0lbvnwvz770ambm4d6lxgc2097rydn5rcc5d6986bnkzyxfqqjnv"; 198 247 type = "gem"; 199 248 }; 200 - version = "1.1.1"; 249 + version = "1.2.1"; 201 250 }; 202 251 rack = { 203 252 source = { 204 253 remotes = ["https://rubygems.org"]; 205 - sha256 = "053bqbrxr5gjw5k3rrmh6i35s83kgdycxv292lid072vpwrq1xv1"; 254 + sha256 = "1mfriw2r2913dv8qf3p87n7yal3qfsrs478x2qz106v8vhmxa017"; 255 + type = "gem"; 256 + }; 257 + version = "2.0.4"; 258 + }; 259 + ruby-enum = { 260 + dependencies = ["i18n"]; 261 + source = { 262 + remotes = ["https://rubygems.org"]; 263 + sha256 = "0h62avini866kxpjzqxlqnajma3yvj0y25l6hn9h2mv5pp6fcrhx"; 206 264 type = "gem"; 207 265 }; 208 - version = "2.0.1"; 266 + version = "0.7.2"; 209 267 }; 210 268 ruby-rc4 = { 211 269 source = { ··· 224 282 version = "1.0.4"; 225 283 }; 226 284 slim = { 285 + dependencies = ["temple" "tilt"]; 227 286 source = { 228 287 remotes = ["https://rubygems.org"]; 229 - sha256 = "122hmc2kn3g151m8c41imadw29mghnsjwyzj8wav5zb1q69y4iqp"; 288 + sha256 = "0zwz083xsbnlrma1pfkzrqc1fqm90fidn915vlifvkzl5fs43pvl"; 230 289 type = "gem"; 231 290 }; 232 - version = "3.0.7"; 291 + version = "3.0.9"; 233 292 }; 234 293 source_map = { 294 + dependencies = ["json"]; 235 295 source = { 236 296 remotes = ["https://rubygems.org"]; 237 297 sha256 = "0fviv92glr51v2zqy4i5jzi3hzpvjrcwyrxddcfr84ki65zb7pkv"; ··· 240 300 version = "3.0.1"; 241 301 }; 242 302 sprockets = { 303 + dependencies = ["concurrent-ruby" "rack"]; 243 304 source = { 244 305 remotes = ["https://rubygems.org"]; 245 306 sha256 = "0sv3zk5hwxyjvg7iy9sggjc7k3mfxxif7w8p260rharfyib939ar"; ··· 250 311 temple = { 251 312 source = { 252 313 remotes = ["https://rubygems.org"]; 253 - sha256 = "0xlf1if32xj14mkfwh8nxy3zzjzd9lipni0v2bghknp2kfc1hcz6"; 314 + sha256 = "00nxf610nzi4n1i2lkby43nrnarvl89fcl6lg19406msr0k3ycmq"; 254 315 type = "gem"; 255 316 }; 256 - version = "0.7.7"; 317 + version = "0.8.0"; 257 318 }; 258 319 thread_safe = { 259 320 source = { 260 321 remotes = ["https://rubygems.org"]; 261 - sha256 = "1hq46wqsyylx5afkp6jmcihdpv4ynzzq9ygb6z2pb1cbz5js0gcr"; 322 + sha256 = "0nmhcgq6cgz44srylra07bmaw99f5271l0dpsvl5f75m44l0gmwy"; 262 323 type = "gem"; 263 324 }; 264 - version = "0.3.5"; 325 + version = "0.3.6"; 265 326 }; 266 327 tilt = { 267 328 source = { 268 329 remotes = ["https://rubygems.org"]; 269 - sha256 = "0qsyzq2k7blyp1rph56xczwfqi8gplns2whswyr67mdfzdi60vvm"; 330 + sha256 = "0020mrgdf11q23hm1ddd6fv691l51vi10af00f137ilcdb2ycfra"; 270 331 type = "gem"; 271 332 }; 272 - version = "2.0.6"; 333 + version = "2.0.8"; 273 334 }; 274 335 treetop = { 336 + dependencies = ["polyglot"]; 275 337 source = { 276 338 remotes = ["https://rubygems.org"]; 277 339 sha256 = "0wpl5z33796nz2ah44waflrd1girbra281d9i3m9nz4ylg1ljg5b"; ··· 282 344 ttfunk = { 283 345 source = { 284 346 remotes = ["https://rubygems.org"]; 285 - sha256 = "1k725rji58i0qx5xwf7p9d07cmhmjixqkdvhg1wk3rpp1753cf1j"; 347 + sha256 = "1mgrnqla5n51v4ivn844albsajkck7k6lviphfqa8470r46c58cd"; 286 348 type = "gem"; 287 349 }; 288 - version = "1.4.0"; 350 + version = "1.5.1"; 289 351 }; 290 352 }
+60 -40
pkgs/top-level/all-packages.nix
··· 414 414 415 415 acct = callPackage ../tools/system/acct { }; 416 416 417 + acme-sh = callPackage ../tools/admin/acme.sh { }; 418 + 417 419 acoustidFingerprinter = callPackage ../tools/audio/acoustid-fingerprinter { 418 420 ffmpeg = ffmpeg_1; 419 421 }; ··· 525 527 526 528 argyllcms = callPackage ../tools/graphics/argyllcms {}; 527 529 528 - arm-frc-linux-gnueabi-eglibc = callPackage ../development/libraries/arm-frc-linux-gnueabi-eglibc {}; 529 - 530 - arm-frc-linux-gnueabi-linux-api-headers = callPackage ../development/libraries/arm-frc-linux-gnueabi-linux-api-headers {}; 531 - 532 - arm-frc-linux-gnueabi-binutils = callPackage ../development/tools/misc/arm-frc-linux-gnueabi-binutils {}; 533 - 534 - arm-frc-linux-gnueabi-gcc = callPackage ../development/compilers/arm-frc-linux-gnueabi-gcc {}; 535 - 536 530 arp-scan = callPackage ../tools/misc/arp-scan { }; 537 531 538 532 inherit (callPackages ../data/fonts/arphic {}) ··· 568 562 aws_shell = pythonPackages.callPackage ../tools/admin/aws_shell { }; 569 563 570 564 aws-vault = callPackage ../tools/admin/aws-vault { }; 565 + 566 + iamy = callPackage ../tools/admin/iamy { }; 571 567 572 568 azure-cli = nodePackages.azure-cli; 573 569 ··· 1126 1122 1127 1123 doitlive = callPackage ../tools/misc/doitlive { }; 1128 1124 1129 - dosage = pythonPackages.dosage; 1125 + dosage = callPackage ../applications/graphics/dosage { 1126 + pythonPackages = python3Packages; 1127 + }; 1130 1128 1131 1129 dpic = callPackage ../tools/graphics/dpic { }; 1132 1130 ··· 1343 1341 optar = callPackage ../tools/graphics/optar {}; 1344 1342 1345 1343 patdiff = callPackage ../tools/misc/patdiff { }; 1344 + 1345 + pbzx = callPackage ../tools/compression/pbzx { }; 1346 1346 1347 1347 playerctl = callPackage ../tools/audio/playerctl { }; 1348 1348 ··· 3495 3495 3496 3496 limesurvey = callPackage ../servers/limesurvey { }; 3497 3497 3498 + linuxquota = callPackage ../tools/misc/linuxquota { }; 3499 + 3498 3500 localtime = callPackage ../tools/system/localtime { }; 3499 3501 3500 3502 logcheck = callPackage ../tools/system/logcheck { ··· 4516 4518 4517 4519 quilt = callPackage ../development/tools/quilt { }; 4518 4520 4519 - quota = callPackage ../tools/misc/quota { }; 4521 + quota = if stdenv.isLinux then linuxquota else unixtools.quota; 4520 4522 4521 4523 wiggle = callPackage ../development/tools/wiggle { }; 4522 4524 ··· 4732 4734 samplicator = callPackage ../tools/networking/samplicator { }; 4733 4735 4734 4736 sasview = callPackage ../applications/science/misc/sasview {}; 4737 + 4738 + scallion = callPackage ../tools/security/scallion { }; 4735 4739 4736 4740 scanbd = callPackage ../tools/graphics/scanbd { }; 4737 4741 ··· 5315 5319 vcftools = callPackage ../applications/science/biology/vcftools { }; 5316 5320 5317 5321 vcsh = callPackage ../applications/version-management/vcsh { 5318 - inherit (perlPackages) ShellCommand TestMost; 5322 + inherit (perlPackages) ShellCommand TestMost TestDifferences TestDeep 5323 + TestException TestWarn; 5319 5324 }; 5320 5325 5321 5326 vcstool = callPackage ../development/tools/vcstool { }; ··· 5917 5922 5918 5923 clang-sierraHack = clang.override { 5919 5924 name = "clang-wrapper-with-reexport-hack"; 5920 - bintools = clang.bintools.override { 5925 + bintools = darwin.binutils.override { 5921 5926 useMacosReexportHack = true; 5927 + bintools = darwin.binutils.bintools.override { 5928 + cctools = darwin.cctools.override { 5929 + enableDumpNormalizedLibArgs = true; 5930 + }; 5931 + }; 5922 5932 }; 5923 5933 }; 5924 5934 ··· 9435 9445 9436 9446 jemalloc = callPackage ../development/libraries/jemalloc { }; 9437 9447 9448 + jemalloc450 = callPackage ../development/libraries/jemalloc/jemalloc450.nix { }; 9449 + 9438 9450 jshon = callPackage ../development/tools/parsing/jshon { }; 9439 9451 9440 9452 json2hcl = callPackage ../development/tools/json2hcl { }; ··· 11119 11131 11120 11132 grantlee = callPackage ../development/libraries/grantlee/5 { }; 11121 11133 11122 - inherit (callPackage ../development/libraries/kirigami { }) 11123 - kirigami_1 11124 - kirigami_2; 11125 - 11126 11134 kdb = callPackage ../development/libraries/kdb { }; 11127 11135 11128 11136 kdiagram = callPackage ../development/libraries/kdiagram { }; ··· 11130 11138 kproperty = callPackage ../development/libraries/kproperty { }; 11131 11139 11132 11140 kreport = callPackage ../development/libraries/kreport { }; 11133 - 11134 - kirigami = kirigami_1; 11135 11141 11136 11142 libcommuni = callPackage ../development/libraries/libcommuni { }; 11137 11143 ··· 11298 11304 11299 11305 rlog = callPackage ../development/libraries/rlog { }; 11300 11306 11301 - rocksdb = callPackage ../development/libraries/rocksdb { }; 11307 + rocksdb = callPackage ../development/libraries/rocksdb { jemalloc = jemalloc450; }; 11302 11308 11303 11309 rocksdb_lite = rocksdb.override { enableLite = true; }; 11304 11310 ··· 12972 12978 12973 12979 bluez5 = callPackage ../os-specific/linux/bluez { }; 12974 12980 12975 - # Needed for LibreOffice 12976 - bluez5_28 = lowPrio (callPackage ../os-specific/linux/bluez/bluez5_28.nix { }); 12977 - 12978 12981 bluez = bluez5; 12979 12982 12980 12983 inherit (python3Packages) bedup; ··· 13347 13350 # when adding a new linux version 13348 13351 # kernelPatches.cpu-cgroup-v2."4.11" 13349 13352 kernelPatches.modinst_arg_list_too_long 13353 + kernelPatches.bcm2835_mmal_v4l2_camera_driver # Only needed for 4.16! 13350 13354 ] 13351 13355 ++ lib.optionals ((platform.kernelArch or null) == "mips") 13352 13356 [ kernelPatches.mips_fpureg_emu ··· 13760 13764 govers = callPackage ../development/tools/govers { }; 13761 13765 13762 13766 gotools = callPackage ../development/tools/gotools { }; 13767 + 13768 + gotop = callPackage ../tools/system/gotop { }; 13763 13769 13764 13770 gomodifytags = callPackage ../development/tools/gomodifytags { }; 13765 13771 ··· 16042 16048 }; 16043 16049 16044 16050 guake = callPackage ../applications/misc/guake { 16045 - gconf = gnome2.GConf; 16046 - vte = gnome2.vte.override { pythonSupport = true; }; 16051 + inherit (gnome3) vte; 16047 16052 }; 16048 16053 16049 16054 guitone = callPackage ../applications/version-management/guitone { ··· 16488 16493 inherit (gnome2) GConf ORBit2 gnome_vfs; 16489 16494 inherit (gnome3) defaultIconTheme; 16490 16495 zip = zip.override { enableNLS = false; }; 16491 - bluez5 = bluez5_28; 16492 16496 fontsConf = makeFontsConf { 16493 16497 fontDirectories = [ 16494 16498 carlito dejavu_fonts ··· 16503 16507 withIcu = true; withGraphite2 = true; 16504 16508 }; 16505 16509 # checking whether g++ supports C++14 or C++11... configure: error: no 16510 + # Still relevant: 2018-04-13 16506 16511 stdenv = overrideCC stdenv gcc5; 16507 16512 };}); 16508 16513 ··· 16512 16517 inherit (gnome2) GConf ORBit2 gnome_vfs; 16513 16518 inherit (gnome3) defaultIconTheme; 16514 16519 zip = zip.override { enableNLS = false; }; 16515 - bluez5 = bluez5_28; 16516 16520 poppler = poppler_0_61; 16517 16521 fontsConf = makeFontsConf { 16518 16522 fontDirectories = [ 16523 + carlito dejavu_fonts 16519 16524 freefont_ttf xorg.fontmiscmisc 16525 + liberation_ttf_v1_binary 16526 + liberation_ttf_v2_binary 16520 16527 ]; 16521 16528 }; 16522 16529 clucene_core = clucene_core_2; ··· 16524 16531 harfbuzz = harfbuzz.override { 16525 16532 withIcu = true; withGraphite2 = true; 16526 16533 }; 16527 - icu = icu58; 16528 16534 # checking whether g++ supports C++14 or C++11... configure: error: no 16535 + # Still relevant: 2018-04-13; gcc6 is not enough! 16529 16536 stdenv = overrideCC stdenv gcc5; 16530 16537 };}); 16531 16538 ··· 17241 17248 pidgin-sipe = callPackage ../applications/networking/instant-messengers/pidgin-plugins/sipe { }; 17242 17249 17243 17250 pidgin-window-merge = callPackage ../applications/networking/instant-messengers/pidgin-plugins/window-merge { }; 17251 + 17252 + purple-discord = callPackage ../applications/networking/instant-messengers/pidgin-plugins/purple-discord { }; 17244 17253 17245 17254 purple-hangouts = callPackage ../applications/networking/instant-messengers/pidgin-plugins/purple-hangouts { }; 17246 17255 ··· 17350 17359 inherit (darwin.stubs) rez setfile; 17351 17360 }; 17352 17361 17353 - qemu-riscv = callPackage ../applications/virtualization/qemu/riscv.nix {}; 17362 + qemu-riscv = lowPrio (callPackage ../applications/virtualization/qemu/riscv.nix {}); 17354 17363 17355 17364 qgis = callPackage ../applications/gis/qgis { 17356 17365 inherit (darwin.apple_sdk.frameworks) IOKit ApplicationServices; ··· 17796 17805 inherit (gnome2) GConf; 17797 17806 libgcrypt = libgcrypt_1_5; 17798 17807 libpng = libpng12; 17808 + curl = curl.override { 17809 + sslSupport = false; gnutlsSupport = true; 17810 + }; 17799 17811 }; 17800 17812 17801 17813 libspotify = callPackage ../development/libraries/libspotify { ··· 17936 17948 17937 17949 terminal-notifier = callPackage ../applications/misc/terminal-notifier {}; 17938 17950 17939 - terminator = callPackage ../applications/misc/terminator { 17940 - vte = gnome2.vte.override { pythonSupport = true; }; 17941 - }; 17951 + terminator = callPackage ../applications/misc/terminator { }; 17942 17952 17943 17953 terminus = callPackage ../applications/misc/terminus { inherit (gnome2) GConf; }; 17944 17954 ··· 19488 19498 19489 19499 xsokoban = callPackage ../games/xsokoban { }; 19490 19500 19501 + inherit (callPackage ../games/quake2/yquake2 { }) 19502 + yquake2 19503 + yquake2-ctf 19504 + yquake2-ground-zero 19505 + yquake2-the-reckoning 19506 + yquake2-all-games; 19507 + 19491 19508 zandronum = callPackage ../games/zandronum { }; 19492 19509 19493 19510 zandronum-server = zandronum.override { ··· 19600 19617 19601 19618 numix-gtk-theme = callPackage ../misc/themes/numix { }; 19602 19619 19603 - numix-solarized-gtk-theme = callPackage ../misc/themes/gtk3/numix-solarized-gtk-theme { }; 19620 + numix-solarized-gtk-theme = callPackage ../misc/themes/numix-solarized { }; 19604 19621 19605 19622 numix-sx-gtk-theme = callPackage ../misc/themes/numix-sx { }; 19606 19623 ··· 19758 19775 19759 19776 clblas = callPackage ../development/libraries/science/math/clblas { }; 19760 19777 19778 + cliquer = callPackage ../development/libraries/science/math/cliquer { }; 19779 + 19761 19780 jags = callPackage ../applications/science/math/jags { }; 19762 19781 19763 19782 ··· 19773 19792 liblapack_3_5_0 = liblapack_3_5_0WithAtlas; 19774 19793 19775 19794 liblbfgs = callPackage ../development/libraries/science/math/liblbfgs { }; 19795 + 19796 + m4ri = callPackage ../development/libraries/science/math/m4ri { }; 19797 + 19798 + m4rie = callPackage ../development/libraries/science/math/m4rie { }; 19776 19799 19777 19800 nasc = callPackage ../applications/science/math/nasc { }; 19778 19801 ··· 20133 20156 }; 20134 20157 maxima-ecl = callPackage ../applications/science/math/maxima { 20135 20158 ecl = ecl_16_1_2; 20159 + ecl-fasl = true; 20136 20160 sbcl = null; 20137 20161 }; 20138 20162 ··· 20160 20184 inherit (gnome3) gtksourceview; 20161 20185 }; 20162 20186 20163 - singular = callPackage ../applications/science/math/singular { 20164 - stdenv = overrideCC stdenv gcc5; 20165 - }; 20166 - libsingular = callPackage ../applications/science/math/singular { 20167 - asLibsingular = true; 20168 - stdenv = overrideCC stdenv gcc5; 20169 - }; 20187 + singular = callPackage ../applications/science/math/singular { }; 20170 20188 20171 20189 scilab = callPackage ../applications/science/math/scilab { 20172 20190 withXaw3d = false; ··· 20485 20503 hatari = callPackage ../misc/emulators/hatari { }; 20486 20504 20487 20505 helm = callPackage ../applications/audio/helm { }; 20506 + 20507 + heptio-ark = callPackage ../applications/networking/cluster/heptio-ark { }; 20488 20508 20489 20509 hplip = callPackage ../misc/drivers/hplip { }; 20490 20510 ··· 21231 21251 21232 21252 # Unix tools 21233 21253 unixtools = recurseIntoAttrs (callPackages ./unix-tools.nix { }); 21234 - inherit (unixtools) hexdump ps logger eject modprobe umount 21254 + inherit (unixtools) hexdump ps logger eject umount 21235 21255 mount wall hostname more sysctl getconf 21236 21256 getent; 21237 21257 }
+6 -2
pkgs/top-level/darwin-packages.nix
··· 57 57 58 58 stubs = callPackages ../os-specific/darwin/stubs { }; 59 59 60 - swift-corefoundation = callPackage ../os-specific/darwin/swift-corefoundation { }; 61 - 62 60 trash = callPackage ../os-specific/darwin/trash { inherit (darwin.apple_sdk) frameworks; }; 63 61 64 62 usr-include = callPackage ../os-specific/darwin/usr-include { }; 65 63 66 64 xcode = callPackage ../os-specific/darwin/xcode { }; 65 + 66 + CoreSymbolication = callPackage ../os-specific/darwin/CoreSymbolication { }; 67 + 68 + swift-corelibs = callPackages ../os-specific/darwin/swift-corelibs { }; 69 + 70 + darling = callPackage ../os-specific/darwin/darling/default.nix { }; 67 71 68 72 })
+1 -1
pkgs/top-level/lua-packages.nix
··· 738 738 owner = "libmpack"; 739 739 repo = "libmpack-lua"; 740 740 rev = version; 741 - sha256 = "1nydi6xbmxwl1fmi32v5v8n74msnmzblzqaqnb102w6vkinampsb"; 741 + sha256 = "0l4k7qmwaa0zpxrlp27yp4pbbyiz3zgxywkm543q6wkzn6wmq8l8"; 742 742 }; 743 743 744 744 nativeBuildInputs = [ pkgconfig ];
+1
pkgs/top-level/perl-packages.nix
··· 13549 13549 }; 13550 13550 setOutputFlags = false; 13551 13551 buildInputs = [ pkgs.which ]; 13552 + patches = [ ../development/perl-modules/Socket6-sv_undef.patch ]; 13552 13553 meta = { 13553 13554 description = "IPv6 related part of the C socket.h defines and structure manipulators"; 13554 13555 license = stdenv.lib.licenses.bsd3;
+25 -72
pkgs/top-level/python-packages.nix
··· 410 410 411 411 rhpl = disabledIf isPy3k (callPackage ../development/python-modules/rhpl {}); 412 412 413 + rlp = callPackage ../development/python-modules/rlp { }; 414 + 413 415 rx = callPackage ../development/python-modules/rx { }; 414 416 415 417 salmon-mail = callPackage ../development/python-modules/salmon-mail { }; ··· 1177 1179 1178 1180 cx_oracle = callPackage ../development/python-modules/cx_oracle {}; 1179 1181 1180 - cvxopt = buildPythonPackage rec { 1181 - name = "${pname}-${version}"; 1182 - pname = "cvxopt"; 1183 - version = "1.1.7"; 1184 - disabled = isPyPy; 1185 - src = pkgs.fetchurl { 1186 - url = "mirror://pypi/c/${pname}/${name}.tar.gz"; 1187 - sha256 = "f856ea2e9e2947abc1a6557625cc6b0e45228984f397a90c420b2f468dc4cb97"; 1188 - }; 1189 - doCheck = false; 1190 - buildInputs = with pkgs; [ openblasCompat ]; 1191 - preConfigure = '' 1192 - export CVXOPT_BLAS_LIB_DIR=${pkgs.openblasCompat}/lib 1193 - export CVXOPT_BLAS_LIB=openblas 1194 - export CVXOPT_LAPACK_LIB=openblas 1195 - ''; 1196 - meta = { 1197 - homepage = "http://cvxopt.org/"; 1198 - description = "Python Software for Convex Optimization"; 1199 - maintainers = with maintainers; [ edwtjo ]; 1200 - license = licenses.gpl3Plus; 1201 - }; 1202 - }; 1182 + cvxopt = callPackage ../development/python-modules/cvxopt { }; 1203 1183 1204 1184 cycler = callPackage ../development/python-modules/cycler { }; 1205 1185 1186 + cysignals = callPackage ../development/python-modules/cysignals { }; 1187 + 1206 1188 dlib = buildPythonPackage rec { 1207 1189 inherit (pkgs.dlib) name src nativeBuildInputs meta; 1208 1190 ··· 1217 1199 1218 1200 defusedxml = callPackage ../development/python-modules/defusedxml {}; 1219 1201 1220 - dosage = buildPythonPackage rec { 1221 - name = "${pname}-${version}"; 1222 - pname = "dosage"; 1223 - version = "2016.03.17"; 1224 - PBR_VERSION = version; 1225 - src = pkgs.fetchFromGitHub { 1226 - owner = "webcomics"; 1227 - repo = "dosage"; 1228 - rev = "1af022895e5f86bc43da95754c4c4ed305790f5b"; 1229 - sha256 = "1bkqhlzigy656pam0znp2ddp1y5sqzyhw3c4fyy58spcafldq4j6"; 1230 - }; 1231 - buildInputs = with self; [ pytest ]; 1232 - propagatedBuildInputs = with self; [ requests lxml pbr ]; 1233 - # prompt_toolkit doesn't work on 3.5 on OSX. 1234 - doCheck = !isPy35; 1235 - 1236 - meta = { 1237 - description = "A comic strip downloader and archiver"; 1238 - homepage = http://dosage.rocks/; 1239 - broken = true; # ctypes error 1240 - }; 1241 - }; 1242 - 1243 1202 dugong = callPackage ../development/python-modules/dugong {}; 1244 1203 1245 1204 iowait = callPackage ../development/python-modules/iowait {}; ··· 1686 1645 cryptography_vectors = callPackage ../development/python-modules/cryptography_vectors { }; 1687 1646 1688 1647 curtsies = callPackage ../development/python-modules/curtsies { }; 1648 + 1649 + envs = callPackage ../development/python-modules/envs { }; 1689 1650 1690 1651 jsonrpc-async = callPackage ../development/python-modules/jsonrpc-async { }; 1691 1652 ··· 2589 2550 2590 2551 fpdf = callPackage ../development/python-modules/fpdf { }; 2591 2552 2553 + fpylll = callPackage ../development/python-modules/fpylll { }; 2554 + 2592 2555 fritzconnection = callPackage ../development/python-modules/fritzconnection { }; 2593 2556 2594 2557 frozendict = buildPythonPackage rec { ··· 2981 2944 wrapProgram $out/bin/gtimelog \ 2982 2945 --prefix GI_TYPELIB_PATH : "$GI_TYPELIB_PATH" \ 2983 2946 --prefix LD_LIBRARY_PATH ":" "${pkgs.gtk3.out}/lib" \ 2984 - 2985 2947 ''; 2986 2948 2987 2949 meta = { ··· 8453 8415 name = "sleekxmpp-${version}"; 8454 8416 version = "1.3.3"; 8455 8417 8456 - propagatedBuildInputs = with self; [ dnspython pyasn1 gevent ]; 8418 + patches = [ 8419 + # Fix https://github.com/etingof/pyasn1/issues/112 8420 + (pkgs.fetchpatch { 8421 + url = "https://github.com/kdschlosser/SleekXMPP/commit/597014ba5ca258763e96ee37729ac933c5af1602.patch"; 8422 + sha256 = "176v3f3pr0bx48wv1kf9jn2pwxdn7qpqyc2chwv1m8gbppsfaikf"; 8423 + }) 8424 + ]; 8425 + 8426 + propagatedBuildInputs = with self; [ dnspython pyasn1 pyasn1-modules gevent ]; 8457 8427 checkInputs = [ pkgs.gnupg ]; 8458 8428 checkPhase = "${python.interpreter} testall.py"; 8459 8429 doCheck = false; # Tests failed all this time and upstream doesn't seem to care. ··· 11851 11821 11852 11822 python-wifi = buildPythonPackage rec { 11853 11823 name = "python-wifi-${version}"; 11854 - version = "0.6.0"; 11824 + version = "0.6.1"; 11855 11825 disabled = ! (isPy26 || isPy27 ); 11856 11826 11857 11827 src = pkgs.fetchurl { 11858 11828 url = "mirror://pypi/p/python-wifi/${name}.tar.bz2"; 11859 - sha256 = "504639e5953eaec0e41758900fbe143d33d82ea86762b19b659a118c77d8403d"; 11829 + sha256 = "149c3dznb63d82143cz5hqdim0mqjysz6p3yk0zv271vq3xnmzvv"; 11860 11830 }; 11861 11831 11862 11832 meta = { ··· 12477 12447 12478 12448 rpmfluff = callPackage ../development/python-modules/rpmfluff {}; 12479 12449 12480 - rpy2 = buildPythonPackage rec { 12481 - name = "rpy2-2.8.2"; 12482 - disabled = isPyPy; 12483 - src = pkgs.fetchurl { 12484 - url = "mirror://pypi/r/rpy2/${name}.tar.gz"; 12485 - sha256 = "2c1a313df4e64236dcfe1078ce847b8e3c180656c894928d3a4b391aacb9b24c"; 12486 - }; 12487 - buildInputs = with pkgs; [ readline R pcre lzma bzip2 zlib icu ]; 12488 - propagatedBuildInputs = with self; [ singledispatch six ]; 12489 - 12490 - # According to manual this is how the testsuite should be invoked 12491 - checkPhase = '' 12492 - ${python.interpreter} -m rpy2.tests 12493 - ''; 12494 - meta = { 12495 - homepage = http://rpy.sourceforge.net/rpy2; 12496 - description = "Python interface to R"; 12497 - license = licenses.gpl2Plus; 12498 - maintainers = with maintainers; [ joelmo ]; 12499 - broken = true; 12500 - }; 12501 - }; 12450 + rpy2 = callPackage ../development/python-modules/rpy2 {}; 12502 12451 12503 12452 rpyc = buildPythonPackage rec { 12504 12453 name = "rpyc-${version}"; ··· 18328 18277 18329 18278 sseclient = callPackage ../development/python-modules/sseclient { }; 18330 18279 18280 + warrant = callPackage ../development/python-modules/warrant { }; 18281 + 18331 18282 textacy = callPackage ../development/python-modules/textacy { }; 18332 18283 18333 18284 pyemd = callPackage ../development/python-modules/pyemd { }; ··· 18353 18304 wsproto = callPackage ../development/python-modules/wsproto { }; 18354 18305 18355 18306 h11 = callPackage ../development/python-modules/h11 { }; 18307 + 18308 + python-docx = callPackage ../development/python-modules/python-docx { }; 18356 18309 }); 18357 18310 18358 18311 in fix' (extends overrides packages)
+27 -7
pkgs/top-level/unix-tools.nix
··· 13 13 let 14 14 15 15 singleBinary = cmd: providers: let 16 - provider = "${providers.${hostPlatform.parsed.kernel.name} or "missing-package"}/bin/${cmd}"; 16 + provider = "${lib.getBin providers.${hostPlatform.parsed.kernel.name}}/bin/${cmd}"; 17 17 in runCommand cmd { 18 18 meta.platforms = map (n: { kernel.name = n; }) (pkgs.lib.attrNames providers); 19 19 } '' ··· 41 41 linux = pkgs.nettools; 42 42 darwin = pkgs.darwin.network_cmds; 43 43 }; 44 + col = singleBinary "col" { 45 + linux = pkgs.utillinux; 46 + darwin = pkgs.darwin.text_cmds; 47 + }; 44 48 eject = singleBinary "eject" { 45 49 linux = pkgs.utillinux; 46 50 }; ··· 58 62 linux = pkgs.utillinux; 59 63 darwin = pkgs.getopt; 60 64 }; 65 + fdisk = singleBinary "fdisk" { 66 + linux = pkgs.utillinux; 67 + darwin = pkgs.darwin.diskdev_cmds; 68 + }; 69 + fsck = singleBinary "fsck" { 70 + linux = pkgs.utillinux; 71 + darwin = pkgs.darwin.diskdev_cmds; 72 + }; 61 73 hexdump = singleBinary "hexdump" { 62 74 linux = pkgs.utillinux; 63 75 darwin = pkgs.darwin.shell_cmds; ··· 71 83 darwin = pkgs.darwin.network_cmds; 72 84 }; 73 85 logger = singleBinary "logger" { 74 - linux = pkgs.utillinux; 75 - }; 76 - modprobe = singleBinary "modprobe" { 77 86 linux = pkgs.utillinux; 78 87 }; 79 88 more = singleBinary "more" { ··· 82 91 }; 83 92 mount = singleBinary "mount" { 84 93 linux = pkgs.utillinux; 94 + darwin = pkgs.darwin.diskdev_cmds; 85 95 }; 86 96 netstat = singleBinary "netstat" { 87 97 linux = pkgs.nettools; ··· 94 104 ps = singleBinary "ps" { 95 105 linux = pkgs.procps; 96 106 darwin = pkgs.darwin.ps; 107 + }; 108 + quota = singleBinary "quota" { 109 + linux = pkgs.linuxquota; 110 + darwin = pkgs.darwin.diskdev_cmds; 97 111 }; 98 112 route = singleBinary "route" { 99 113 linux = pkgs.nettools; ··· 106 120 sysctl = singleBinary "sysctl" { 107 121 linux = pkgs.procps; 108 122 darwin = pkgs.darwin.system_cmds; 123 + }; 124 + top = singleBinary "top" { 125 + linux = pkgs.procps; 126 + darwin = pkgs.darwin.top; 109 127 }; 110 128 umount = singleBinary "umount" { 111 129 linux = pkgs.utillinux; 130 + darwin = pkgs.darwin.diskdev_cmds; 112 131 }; 113 132 whereis = singleBinary "whereis" { 114 133 linux = pkgs.utillinux; ··· 127 146 128 147 procps = buildEnv { 129 148 name = "procps-compat"; 130 - paths = [ sysctl ps ]; 149 + paths = [ ps sysctl top ]; 131 150 }; 132 151 133 152 utillinux = buildEnv { 134 153 name = "utillinux-compat"; 135 - paths = [ getopt hexdump script whereis write ]; 154 + paths = [ fsck fdisk getopt hexdump mount 155 + script umount whereis write col ]; 136 156 }; 137 157 138 158 nettools = buildEnv { 139 159 name = "nettools-compat"; 140 - paths = [ arp hostname netstat route ]; 160 + paths = [ arp hostname ifconfig netstat route ]; 141 161 }; 142 162 }