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

Merge remote-tracking branch 'origin/master' into staging.

+4083 -1248
+5
lib/licenses.nix
··· 87 fullName = "Common Development and Distribution License 1.0"; 88 }; 89 90 cecill-b = spdx { 91 shortName = "CECILL-B"; 92 fullName = "CeCILL-B Free Software License Agreement";
··· 87 fullName = "Common Development and Distribution License 1.0"; 88 }; 89 90 + cecill20 = spdx { 91 + shortName = "CECILL-2.0"; 92 + fullName = "CeCILL Free Software License Agreement v2.0"; 93 + }; 94 + 95 cecill-b = spdx { 96 shortName = "CECILL-B"; 97 fullName = "CeCILL-B Free Software License Agreement";
+4
lib/maintainers.nix
··· 23 aszlig = "aszlig <aszlig@redmoonstudios.org>"; 24 auntie = "Jonathan Glines <auntieNeo@gmail.com>"; 25 aycanirican = "Aycan iRiCAN <iricanaycan@gmail.com>"; 26 bbenoist = "Baptist BENOIST <return_0@live.com>"; 27 bennofs = "Benno Fünfstück <benno.fuenfstueck@gmail.com>"; 28 berdario = "Dario Bertini <berdario@gmail.com>"; ··· 73 jagajaga = "Arseniy Seroka <ars.seroka@gmail.com>"; 74 jcumming = "Jack Cummings <jack@mudshark.org>"; 75 jgeerds = "Jascha Geerds <jg@ekby.de>"; 76 joamaki = "Jussi Maki <joamaki@gmail.com>"; 77 joelteon = "Joel Taylor <me@joelt.io>"; 78 jwiegley = "John Wiegley <johnw@newartisans.com>"; ··· 122 rszibele = "Richard Szibele <richard_szibele@hotmail.com>"; 123 rycee = "Robert Helgesson <robert@rycee.net>"; 124 sander = "Sander van der Burg <s.vanderburg@tudelft.nl>"; 125 sepi = "Raffael Mancini <raffael@mancini.lu>"; 126 shell = "Shell Turner <cam.turn@gmail.com>"; 127 shlevy = "Shea Levy <shea@shealevy.com>"; ··· 136 tomberek = "Thomas Bereknyei <tomberek@gmail.com>"; 137 tstrobel = "Thomas Strobel <ts468@cam.ac.uk>"; 138 ttuegel = "Thomas Tuegel <ttuegel@gmail.com>"; 139 tv = "Tomislav Viljetić <tv@shackspace.de>"; 140 urkud = "Yury G. Kudryashov <urkud+nix@ya.ru>"; 141 vandenoever = "Jos van den Oever <jos@vandenoever.info>";
··· 23 aszlig = "aszlig <aszlig@redmoonstudios.org>"; 24 auntie = "Jonathan Glines <auntieNeo@gmail.com>"; 25 aycanirican = "Aycan iRiCAN <iricanaycan@gmail.com>"; 26 + balajisivaraman = "Balaji Sivaraman<sivaraman.balaji@gmail.com>"; 27 bbenoist = "Baptist BENOIST <return_0@live.com>"; 28 bennofs = "Benno Fünfstück <benno.fuenfstueck@gmail.com>"; 29 berdario = "Dario Bertini <berdario@gmail.com>"; ··· 74 jagajaga = "Arseniy Seroka <ars.seroka@gmail.com>"; 75 jcumming = "Jack Cummings <jack@mudshark.org>"; 76 jgeerds = "Jascha Geerds <jg@ekby.de>"; 77 + jirkamarsik = "Jirka Marsik <jiri.marsik89@gmail.com>"; 78 joamaki = "Jussi Maki <joamaki@gmail.com>"; 79 joelteon = "Joel Taylor <me@joelt.io>"; 80 jwiegley = "John Wiegley <johnw@newartisans.com>"; ··· 124 rszibele = "Richard Szibele <richard_szibele@hotmail.com>"; 125 rycee = "Robert Helgesson <robert@rycee.net>"; 126 sander = "Sander van der Burg <s.vanderburg@tudelft.nl>"; 127 + schristo = "Scott Christopher <schristopher@konputa.com>"; 128 sepi = "Raffael Mancini <raffael@mancini.lu>"; 129 shell = "Shell Turner <cam.turn@gmail.com>"; 130 shlevy = "Shea Levy <shea@shealevy.com>"; ··· 139 tomberek = "Thomas Bereknyei <tomberek@gmail.com>"; 140 tstrobel = "Thomas Strobel <ts468@cam.ac.uk>"; 141 ttuegel = "Thomas Tuegel <ttuegel@gmail.com>"; 142 + twey = "James ‘Twey’ Kay <twey@twey.co.uk>"; 143 tv = "Tomislav Viljetić <tv@shackspace.de>"; 144 urkud = "Yury G. Kudryashov <urkud+nix@ya.ru>"; 145 vandenoever = "Jos van den Oever <jos@vandenoever.info>";
+2 -1
nixos/maintainers/scripts/ec2/amazon-hvm-install-config.nix
··· 19 { 20 imports = [ ./amazon-base-config.nix ]; 21 ec2.hvm = true; 22 - boot.loader.grub.device = lib.mkOverride 0 "nodev"; 23 24 boot.initrd.extraUtilsCommands = '' 25 cp -v ${pkgs.gawk}/bin/gawk $out/bin/gawk
··· 19 { 20 imports = [ ./amazon-base-config.nix ]; 21 ec2.hvm = true; 22 + boot.loader.grub.device = lib.mkOverride 0 "/dev/xvdg"; 23 + boot.kernelParams = [ "console=ttyS0" ]; 24 25 boot.initrd.extraUtilsCommands = '' 26 cp -v ${pkgs.gawk}/bin/gawk $out/bin/gawk
+36 -54
nixos/maintainers/scripts/ec2/create-ebs-amis.py
··· 19 args = parser.parse_args() 20 21 instance_type = "m3.medium" if args.hvm else "m1.small" 22 - ebs_size = 8 if args.hvm else 20 23 24 25 # Start a NixOS machine in the given region. 26 f = open("ebs-creator-config.nix", "w") ··· 76 m.upload_file("./amazon-hvm-config.nix", "/mnt/etc/nixos/configuration.nix") 77 m.upload_file("./amazon-hvm-install-config.nix", "/mnt/etc/nixos/amazon-hvm-install-config.nix") 78 m.run_command("NIXOS_CONFIG=/etc/nixos/amazon-hvm-install-config.nix nixos-install") 79 - m.run_command('nix-env -iA nixos.pkgs.grub') 80 - m.run_command('cp /nix/store/*-grub-0.97*/lib/grub/i386-pc/* /mnt/boot/grub') 81 - m.run_command('echo "(hd1) /dev/xvdg" > device.map') 82 - m.run_command('echo -e "root (hd1,0)\nsetup (hd1)" | grub --device-map=device.map --batch') 83 else: 84 m.upload_file("./amazon-base-config.nix", "/mnt/etc/nixos/configuration.nix") 85 m.run_command("nixos-install") ··· 87 m.run_command("umount /mnt") 88 89 if args.hvm: 90 - ami_name = "nixos-{0}-x86_64-ebs-hvm".format(version) 91 description = "NixOS {0} (x86_64; EBS root; hvm)".format(version) 92 else: 93 ami_name = "nixos-{0}-x86_64-ebs".format(version) ··· 102 103 m.connect() 104 volume = m._conn.get_all_volumes([], filters={'attachment.instance-id': m.resource_id, 'attachment.device': "/dev/sdg"})[0] 105 - if args.hvm: 106 - instance = m._conn.run_instances( image_id="ami-5f491f36" 107 - , instance_type=instance_type 108 - , key_name=args.key_name 109 - , placement=m.zone 110 - , security_groups=["eelco-test"]).instances[0] 111 - nixops.util.check_wait(lambda: instance.update() == 'running', max_tries=120) 112 - instance.stop() 113 - nixops.util.check_wait(lambda: instance.update() == 'stopped', max_tries=120) 114 - old_root_volume = m._conn.get_all_volumes([], filters={'attachment.instance-id': instance.id, 'attachment.device': "/dev/sda1"})[0] 115 - old_root_volume.detach() 116 - volume.detach() 117 - nixops.util.check_wait(lambda: volume.update() == 'available', max_tries=120) 118 - nixops.util.check_wait(lambda: old_root_volume.update() == 'available', max_tries=120) 119 - volume.attach(instance.id, '/dev/sda1') 120 - nixops.util.check_wait(lambda: volume.update() == 'in-use', max_tries=120) 121 122 - ami_id = m._conn.create_image(instance.id, ami_name, description) 123 - time.sleep(5) 124 - image = m._conn.get_all_images([ami_id])[0] 125 - nixops.util.check_wait(lambda: image.update() == 'available', max_tries=120) 126 - instance.terminate() 127 - 128 - else: 129 - # Create a snapshot. 130 - snapshot = volume.create_snapshot(description=description) 131 - print >> sys.stderr, "created snapshot {0}".format(snapshot.id) 132 133 - nixops.util.check_wait(check, max_tries=120) 134 135 - m._conn.create_tags([snapshot.id], {'Name': ami_name}) 136 137 - if not args.keep: depl.destroy_resources() 138 139 - # Register the image. 140 - aki = m._conn.get_all_images(filters={'manifest-location': '*pv-grub-hd0_1.03-x86_64*'})[0] 141 - print >> sys.stderr, "using kernel image {0} - {1}".format(aki.id, aki.location) 142 143 - block_map = BlockDeviceMapping() 144 - block_map['/dev/sda'] = BlockDeviceType(snapshot_id=snapshot.id, delete_on_termination=True) 145 - block_map['/dev/sdb'] = BlockDeviceType(ephemeral_name="ephemeral0") 146 - block_map['/dev/sdc'] = BlockDeviceType(ephemeral_name="ephemeral1") 147 - block_map['/dev/sdd'] = BlockDeviceType(ephemeral_name="ephemeral2") 148 - block_map['/dev/sde'] = BlockDeviceType(ephemeral_name="ephemeral3") 149 150 - ami_id = m._conn.register_image( 151 name=ami_name, 152 description=description, 153 architecture="x86_64", 154 - root_device_name="/dev/sda", 155 - kernel_id=aki.id, 156 - block_device_map=block_map) 157 158 print >> sys.stderr, "registered AMI {0}".format(ami_id) 159 ··· 197 test_depl.deploy(create_only=True) 198 test_depl.machines['machine'].run_command("nixos-version") 199 200 - if args.hvm: 201 - image_type = 'hvm' 202 - else: 203 - image_type = 'ebs' 204 - 205 # Log the AMI ID. 206 f = open("{0}.{1}.ami-id".format(args.region, image_type), "w") 207 f.write("{0}".format(ami_id)) 208 f.close() 209 210 - for dest in [ 'us-east-1', 'us-west-1', 'us-west-2', 'eu-west-1', 'ap-southeast-1', 'ap-southeast-2', 'ap-northeast-1', 'sa-east-1']: 211 if args.region != dest: 212 print >> sys.stderr, "copying image from region {0} to {1}".format(args.region, dest) 213 conn = boto.ec2.connect_to_region(dest)
··· 19 args = parser.parse_args() 20 21 instance_type = "m3.medium" if args.hvm else "m1.small" 22 + 23 + if args.hvm: 24 + virtualization_type = "hvm" 25 + root_block = "/dev/sda1" 26 + image_type = 'hvm' 27 + else: 28 + virtualization_type = "paravirtual" 29 + root_block = "/dev/sda" 30 + image_type = 'ebs' 31 32 + ebs_size = 20 33 34 # Start a NixOS machine in the given region. 35 f = open("ebs-creator-config.nix", "w") ··· 85 m.upload_file("./amazon-hvm-config.nix", "/mnt/etc/nixos/configuration.nix") 86 m.upload_file("./amazon-hvm-install-config.nix", "/mnt/etc/nixos/amazon-hvm-install-config.nix") 87 m.run_command("NIXOS_CONFIG=/etc/nixos/amazon-hvm-install-config.nix nixos-install") 88 else: 89 m.upload_file("./amazon-base-config.nix", "/mnt/etc/nixos/configuration.nix") 90 m.run_command("nixos-install") ··· 92 m.run_command("umount /mnt") 93 94 if args.hvm: 95 + ami_name = "nixos-{0}-x86_64-hvm".format(version) 96 description = "NixOS {0} (x86_64; EBS root; hvm)".format(version) 97 else: 98 ami_name = "nixos-{0}-x86_64-ebs".format(version) ··· 107 108 m.connect() 109 volume = m._conn.get_all_volumes([], filters={'attachment.instance-id': m.resource_id, 'attachment.device': "/dev/sdg"})[0] 110 111 + # Create a snapshot. 112 + snapshot = volume.create_snapshot(description=description) 113 + print >> sys.stderr, "created snapshot {0}".format(snapshot.id) 114 115 + nixops.util.check_wait(check, max_tries=120) 116 117 + m._conn.create_tags([snapshot.id], {'Name': ami_name}) 118 119 + if not args.keep: depl.destroy_resources() 120 121 + # Register the image. 122 + aki = m._conn.get_all_images(filters={'manifest-location': 'ec2*pv-grub-hd0_1.03-x86_64*'})[0] 123 + print >> sys.stderr, "using kernel image {0} - {1}".format(aki.id, aki.location) 124 125 + block_map = BlockDeviceMapping() 126 + block_map[root_block] = BlockDeviceType(snapshot_id=snapshot.id, delete_on_termination=True, size=ebs_size, volume_type="gp2") 127 + block_map['/dev/sdb'] = BlockDeviceType(ephemeral_name="ephemeral0") 128 + block_map['/dev/sdc'] = BlockDeviceType(ephemeral_name="ephemeral1") 129 + block_map['/dev/sdd'] = BlockDeviceType(ephemeral_name="ephemeral2") 130 + block_map['/dev/sde'] = BlockDeviceType(ephemeral_name="ephemeral3") 131 132 + common_args = dict( 133 name=ami_name, 134 description=description, 135 architecture="x86_64", 136 + root_device_name=root_block, 137 + block_device_map=block_map, 138 + virtualization_type=virtualization_type, 139 + delete_root_volume_on_termination=True 140 + ) 141 + if not args.hvm: 142 + common_args['kernel_id']=aki.id 143 + ami_id = m._conn.register_image(**common_args) 144 145 print >> sys.stderr, "registered AMI {0}".format(ami_id) 146 ··· 184 test_depl.deploy(create_only=True) 185 test_depl.machines['machine'].run_command("nixos-version") 186 187 # Log the AMI ID. 188 f = open("{0}.{1}.ami-id".format(args.region, image_type), "w") 189 f.write("{0}".format(ami_id)) 190 f.close() 191 192 + for dest in [ 'us-east-1', 'us-west-1', 'us-west-2', 'eu-west-1', 'eu-central-1', 'ap-southeast-1', 'ap-southeast-2', 'ap-northeast-1', 'sa-east-1']: 193 if args.region != dest: 194 print >> sys.stderr, "copying image from region {0} to {1}".format(args.region, dest) 195 conn = boto.ec2.connect_to_region(dest)
+3
nixos/modules/installer/cd-dvd/installation-cd-base.nix
··· 42 # Get a console as soon as the initrd loads fbcon on EFI boot. 43 boot.initrd.kernelModules = [ "fbcon" ]; 44 45 # Allow the user to log in as root without a password. 46 security.initialRootPassword = ""; 47 }
··· 42 # Get a console as soon as the initrd loads fbcon on EFI boot. 43 boot.initrd.kernelModules = [ "fbcon" ]; 44 45 + # Add support for cow filesystems and their utilities 46 + boot.supportedFilesystems = [ "zfs" "btrfs" ]; 47 + 48 # Allow the user to log in as root without a password. 49 security.initialRootPassword = ""; 50 }
+69
nixos/modules/installer/cd-dvd/installation-cd-graphical.nix
··· 11 # Provide wicd for easy wireless configuration. 12 #networking.wicd.enable = true; 13 14 # KDE complains if power management is disabled (to be precise, if 15 # there is no power management backend such as upower). 16 powerManagement.enable = true; ··· 27 AutoLoginUser=root 28 AutoLoginPass="" 29 ''; 30 }
··· 11 # Provide wicd for easy wireless configuration. 12 #networking.wicd.enable = true; 13 14 + # Include gparted for partitioning disks 15 + environment.systemPackages = [ pkgs.gparted ]; 16 + 17 # KDE complains if power management is disabled (to be precise, if 18 # there is no power management backend such as upower). 19 powerManagement.enable = true; ··· 30 AutoLoginUser=root 31 AutoLoginPass="" 32 ''; 33 + 34 + # Custom kde-workspace adding some icons on the desktop 35 + 36 + system.activationScripts.installerDesktop = let 37 + openManual = pkgs.writeScript "nixos-manual.sh" '' 38 + #!${pkgs.stdenv.shell} 39 + cd ${config.system.build.manual.manual}/share/doc/nixos/ 40 + konqueror ./index.html 41 + ''; 42 + 43 + desktopFile = pkgs.writeText "nixos-manual.desktop" '' 44 + [Desktop Entry] 45 + Version=1.0 46 + Type=Application 47 + Name=NixOS Manual 48 + Exec=${openManual} 49 + Icon=konqueror 50 + ''; 51 + 52 + in '' 53 + mkdir -p /root/Desktop 54 + ln -sfT ${desktopFile} /root/Desktop/nixos-manual.desktop 55 + ln -sfT ${pkgs.kde4.konsole}/share/applications/kde4/konsole.desktop /root/Desktop/konsole.desktop 56 + ln -sfT ${pkgs.gparted}/share/applications/gparted.desktop /root/Desktop/gparted.desktop 57 + ''; 58 + 59 + services.xserver.desktopManager.kde4.kdeWorkspacePackage = let 60 + pkg = pkgs.kde4.kde_workspace; 61 + 62 + plasmaInit = pkgs.writeText "00-defaultLayout.js" '' 63 + loadTemplate("org.kde.plasma-desktop.defaultPanel") 64 + 65 + for (var i = 0; i < screenCount; ++i) { 66 + var desktop = new Activity 67 + desktop.name = i18n("Desktop") 68 + desktop.screen = i 69 + desktop.wallpaperPlugin = 'image' 70 + desktop.wallpaperMode = 'SingleImage' 71 + 72 + var folderview = desktop.addWidget("folderview"); 73 + folderview.writeConfig("url", "desktop:/"); 74 + 75 + //Create more panels for other screens 76 + if (i > 0){ 77 + var panel = new Panel 78 + panel.screen = i 79 + panel.location = 'bottom' 80 + panel.height = screenGeometry(i).height > 1024 ? 35 : 27 81 + var tasks = panel.addWidget("tasks") 82 + tasks.writeConfig("showOnlyCurrentScreen", true); 83 + } 84 + } 85 + ''; 86 + 87 + in 88 + pkgs.stdenv.mkDerivation { 89 + inherit (pkg) name meta; 90 + 91 + buildCommand = '' 92 + mkdir -p $out 93 + cp -prf ${pkg}/* $out/ 94 + chmod a+w $out/share/apps/plasma-desktop/init 95 + cp -f ${plasmaInit} $out/share/apps/plasma-desktop/init/00-defaultLayout.js 96 + ''; 97 + }; 98 + 99 }
+1
nixos/modules/rename.nix
··· 131 ++ obsolete' [ "programs" "bash" "enable" ] 132 ++ obsolete' [ "services" "samba" "defaultShare" ] 133 ++ obsolete' [ "services" "syslog-ng" "serviceName" ] 134 135 )
··· 131 ++ obsolete' [ "programs" "bash" "enable" ] 132 ++ obsolete' [ "services" "samba" "defaultShare" ] 133 ++ obsolete' [ "services" "syslog-ng" "serviceName" ] 134 + ++ obsolete' [ "services" "syslog-ng" "listenToJournal" ] 135 136 )
+10 -1
nixos/modules/services/backup/rsnapshot.nix
··· 39 as retain options. 40 ''; 41 }; 42 }; 43 }; 44 45 config = mkIf cfg.enable (let 46 - myRsnapshot = pkgs.rsnapshot.override { configFile = rsnapshotCfg; }; 47 rsnapshotCfg = with pkgs; writeText "gen-rsnapshot.conf" ('' 48 config_version 1.2 49 cmd_cp ${coreutils}/bin/cp
··· 39 as retain options. 40 ''; 41 }; 42 + 43 + package = mkOption { 44 + type = types.package; 45 + default = pkgs.rsnapshot; 46 + example = literalExample "pkgs.rsnapshotGit"; 47 + description = '' 48 + RSnapshot package to use. 49 + ''; 50 + }; 51 }; 52 }; 53 54 config = mkIf cfg.enable (let 55 + myRsnapshot = cfg.package.override { configFile = rsnapshotCfg; }; 56 rsnapshotCfg = with pkgs; writeText "gen-rsnapshot.conf" ('' 57 config_version 1.2 58 cmd_cp ${coreutils}/bin/cp
+14
nixos/modules/services/logging/logstash.nix
··· 7 pluginPath = lib.concatStringsSep ":" cfg.plugins; 8 havePluginPath = lib.length cfg.plugins > 0; 9 ops = lib.optionalString; 10 11 in 12 ··· 35 default = [ ]; 36 example = literalExample "[ pkgs.logstash-contrib ]"; 37 description = "The paths to find other logstash plugins in."; 38 }; 39 40 watchdogTimeout = mkOption { ··· 124 "${cfg.package}/bin/logstash agent " + 125 "-w ${toString cfg.filterWorkers} " + 126 ops havePluginPath "--pluginpath ${pluginPath} " + 127 "--watchdog-timeout ${toString cfg.watchdogTimeout} " + 128 "-f ${writeText "logstash.conf" '' 129 input {
··· 7 pluginPath = lib.concatStringsSep ":" cfg.plugins; 8 havePluginPath = lib.length cfg.plugins > 0; 9 ops = lib.optionalString; 10 + verbosityFlag = { 11 + debug = "--debug"; 12 + info = "--verbose"; 13 + warn = ""; # intentionally empty 14 + error = "--quiet"; 15 + fatal = "--silent"; 16 + }."${cfg.logLevel}"; 17 18 in 19 ··· 42 default = [ ]; 43 example = literalExample "[ pkgs.logstash-contrib ]"; 44 description = "The paths to find other logstash plugins in."; 45 + }; 46 + 47 + logLevel = mkOption { 48 + type = types.enum [ "debug" "info" "warn" "error" "fatal" ]; 49 + default = "warn"; 50 + description = "Logging verbosity level."; 51 }; 52 53 watchdogTimeout = mkOption { ··· 137 "${cfg.package}/bin/logstash agent " + 138 "-w ${toString cfg.filterWorkers} " + 139 ops havePluginPath "--pluginpath ${pluginPath} " + 140 + "${verbosityFlag} " + 141 "--watchdog-timeout ${toString cfg.watchdogTimeout} " + 142 "-f ${writeText "logstash.conf" '' 143 input {
+2 -16
nixos/modules/services/logging/syslog-ng.nix
··· 43 The package providing syslog-ng binaries. 44 ''; 45 }; 46 - listenToJournal = mkOption { 47 - type = types.bool; 48 - default = true; 49 - description = '' 50 - Whether syslog-ng should listen to the syslog socket used 51 - by journald, and therefore receive all logs that journald 52 - produces. 53 - ''; 54 - }; 55 extraModulePaths = mkOption { 56 type = types.listOf types.str; 57 default = []; ··· 74 configHeader = mkOption { 75 type = types.lines; 76 default = '' 77 - @version: 3.5 78 @include "scl.conf" 79 ''; 80 description = '' ··· 86 }; 87 88 config = mkIf cfg.enable { 89 - systemd.sockets.syslog = mkIf cfg.listenToJournal { 90 - wantedBy = [ "sockets.target" ]; 91 - socketConfig.Service = "syslog-ng.service"; 92 - }; 93 systemd.services.syslog-ng = { 94 description = "syslog-ng daemon"; 95 preStart = "mkdir -p /{var,run}/syslog-ng"; 96 - wantedBy = optional (!cfg.listenToJournal) "multi-user.target"; 97 after = [ "multi-user.target" ]; # makes sure hostname etc is set 98 serviceConfig = { 99 Type = "notify"; 100 - Sockets = if cfg.listenToJournal then "syslog.socket" else null; 101 StandardOutput = "null"; 102 Restart = "on-failure"; 103 ExecStart = "${cfg.package}/sbin/syslog-ng ${concatStringsSep " " syslogngOptions}";
··· 43 The package providing syslog-ng binaries. 44 ''; 45 }; 46 extraModulePaths = mkOption { 47 type = types.listOf types.str; 48 default = []; ··· 65 configHeader = mkOption { 66 type = types.lines; 67 default = '' 68 + @version: 3.6 69 @include "scl.conf" 70 ''; 71 description = '' ··· 77 }; 78 79 config = mkIf cfg.enable { 80 systemd.services.syslog-ng = { 81 description = "syslog-ng daemon"; 82 preStart = "mkdir -p /{var,run}/syslog-ng"; 83 + wantedBy = [ "multi-user.target" ]; 84 after = [ "multi-user.target" ]; # makes sure hostname etc is set 85 serviceConfig = { 86 Type = "notify"; 87 StandardOutput = "null"; 88 Restart = "on-failure"; 89 ExecStart = "${cfg.package}/sbin/syslog-ng ${concatStringsSep " " syslogngOptions}";
+11 -3
nixos/modules/services/x11/desktop-managers/kde4.nix
··· 7 xcfg = config.services.xserver; 8 cfg = xcfg.desktopManager.kde4; 9 xorg = pkgs.xorg; 10 11 # Disable Nepomuk and Strigi by default. As of KDE 4.7, they don't 12 # really work very well (e.g. searching files often fails to find ··· 61 example = ["gstreamer" "vlc"]; 62 description = "Which phonon multimedia backend kde should use"; 63 }; 64 }; 65 66 environment.kdePackages = mkOption { ··· 108 fi 109 110 # Start KDE. 111 - exec ${pkgs.kde4.kdebase_workspace}/bin/startkde 112 ''; 113 }; 114 115 security.setuidOwners = singleton 116 { program = "kcheckpass"; 117 - source = "${pkgs.kde4.kdebase_workspace}/lib/kde4/libexec/kcheckpass"; 118 owner = "root"; 119 group = "root"; 120 setuid = true; ··· 124 [ pkgs.kde4.kdelibs 125 126 pkgs.kde4.kde_baseapps # Splitted kdebase 127 - pkgs.kde4.kde_workspace 128 pkgs.kde4.kde_runtime 129 pkgs.kde4.konsole 130 pkgs.kde4.kate
··· 7 xcfg = config.services.xserver; 8 cfg = xcfg.desktopManager.kde4; 9 xorg = pkgs.xorg; 10 + kde_workspace = config.services.xserver.desktopManager.kde4.kdeWorkspacePackage; 11 12 # Disable Nepomuk and Strigi by default. As of KDE 4.7, they don't 13 # really work very well (e.g. searching files often fails to find ··· 62 example = ["gstreamer" "vlc"]; 63 description = "Which phonon multimedia backend kde should use"; 64 }; 65 + 66 + kdeWorkspacePackage = mkOption { 67 + internal = true; 68 + default = pkgs.kde4.kde_workspace; 69 + type = types.package; 70 + description = "Custom kde-workspace, used for NixOS rebranding."; 71 + }; 72 }; 73 74 environment.kdePackages = mkOption { ··· 116 fi 117 118 # Start KDE. 119 + exec ${kde_workspace}/bin/startkde 120 ''; 121 }; 122 123 security.setuidOwners = singleton 124 { program = "kcheckpass"; 125 + source = "${kde_workspace}/lib/kde4/libexec/kcheckpass"; 126 owner = "root"; 127 group = "root"; 128 setuid = true; ··· 132 [ pkgs.kde4.kdelibs 133 134 pkgs.kde4.kde_baseapps # Splitted kdebase 135 + kde_workspace 136 pkgs.kde4.kde_runtime 137 pkgs.kde4.konsole 138 pkgs.kde4.kate
+3 -3
nixos/modules/services/x11/display-managers/default.nix
··· 68 # Start PulseAudio if enabled. 69 ${optionalString (config.hardware.pulseaudio.enable) '' 70 ${optionalString (!config.hardware.pulseaudio.systemWide) 71 - "${pkgs.pulseaudio}/bin/pulseaudio --start" 72 } 73 74 # Publish access credentials in the root window. 75 - ${pkgs.pulseaudio}/bin/pactl load-module module-x11-publish "display=$DISPLAY" 76 77 # Keep track of devices. Mostly useful for Phonon/KDE. 78 - ${pkgs.pulseaudio}/bin/pactl load-module module-device-manager "do_routing=1" 79 ''} 80 81 # Load X defaults.
··· 68 # Start PulseAudio if enabled. 69 ${optionalString (config.hardware.pulseaudio.enable) '' 70 ${optionalString (!config.hardware.pulseaudio.systemWide) 71 + "${config.hardware.pulseaudio.package}/bin/pulseaudio --start" 72 } 73 74 # Publish access credentials in the root window. 75 + ${config.hardware.pulseaudio.package}/bin/pactl load-module module-x11-publish "display=$DISPLAY" 76 77 # Keep track of devices. Mostly useful for Phonon/KDE. 78 + ${config.hardware.pulseaudio.package}/bin/pactl load-module module-device-manager "do_routing=1" 79 ''} 80 81 # Load X defaults.
+20
nixos/modules/services/x11/hardware/synaptics.nix
··· 25 services.xserver.synaptics = { 26 27 enable = mkOption { 28 default = false; 29 example = true; 30 description = "Whether to enable touchpad support."; 31 }; 32 33 dev = mkOption { 34 default = null; 35 example = "/dev/input/event0"; 36 description = ··· 59 }; 60 61 twoFingerScroll = mkOption { 62 default = false; 63 description = "Whether to enable two-finger drag-scrolling."; 64 }; 65 66 vertEdgeScroll = mkOption { 67 default = ! cfg.twoFingerScroll; 68 description = "Whether to enable vertical edge drag-scrolling."; 69 }; 70 71 tapButtons = mkOption { 72 default = true; 73 example = false; 74 description = "Whether to enable tap buttons."; 75 }; 76 77 buttonsMap = mkOption { 78 default = [1 2 3]; 79 example = [1 3 2]; 80 description = "Remap touchpad buttons."; 81 apply = map toString; 82 }; 83 84 palmDetect = mkOption { 85 default = false; 86 example = true; 87 description = "Whether to enable palm detection (hardware support required)"; 88 }; 89 90 horizontalScroll = mkOption { 91 default = true; 92 example = false; 93 description = "Whether to enable horizontal scrolling (on touchpad)"; 94 }; 95 96 additionalOptions = mkOption { 97 default = ""; 98 example = '' 99 Option "RTCornerButton" "2" ··· 130 Option "ClickFinger1" "${builtins.elemAt cfg.buttonsMap 0}" 131 Option "ClickFinger2" "${builtins.elemAt cfg.buttonsMap 1}" 132 Option "ClickFinger3" "${builtins.elemAt cfg.buttonsMap 2}" 133 Option "VertTwoFingerScroll" "${if cfg.twoFingerScroll then "1" else "0"}" 134 Option "HorizTwoFingerScroll" "${if cfg.twoFingerScroll then "1" else "0"}" 135 Option "VertEdgeScroll" "${if cfg.vertEdgeScroll then "1" else "0"}"
··· 25 services.xserver.synaptics = { 26 27 enable = mkOption { 28 + type = types.bool; 29 default = false; 30 example = true; 31 description = "Whether to enable touchpad support."; 32 }; 33 34 dev = mkOption { 35 + type = types.nullOr types.str; 36 default = null; 37 example = "/dev/input/event0"; 38 description = ··· 61 }; 62 63 twoFingerScroll = mkOption { 64 + type = types.bool; 65 default = false; 66 description = "Whether to enable two-finger drag-scrolling."; 67 }; 68 69 vertEdgeScroll = mkOption { 70 + type = types.bool; 71 default = ! cfg.twoFingerScroll; 72 description = "Whether to enable vertical edge drag-scrolling."; 73 }; 74 75 tapButtons = mkOption { 76 + type = types.bool; 77 default = true; 78 example = false; 79 description = "Whether to enable tap buttons."; 80 }; 81 82 buttonsMap = mkOption { 83 + type = types.listOf types.int; 84 default = [1 2 3]; 85 example = [1 3 2]; 86 description = "Remap touchpad buttons."; 87 apply = map toString; 88 }; 89 90 + fingersMap = mkOption { 91 + type = types.listOf types.int; 92 + default = [1 2 3]; 93 + example = [1 3 2]; 94 + description = "Remap several-fingers taps."; 95 + apply = map toString; 96 + }; 97 + 98 palmDetect = mkOption { 99 + type = types.bool; 100 default = false; 101 example = true; 102 description = "Whether to enable palm detection (hardware support required)"; 103 }; 104 105 horizontalScroll = mkOption { 106 + type = types.bool; 107 default = true; 108 example = false; 109 description = "Whether to enable horizontal scrolling (on touchpad)"; 110 }; 111 112 additionalOptions = mkOption { 113 + type = types.str; 114 default = ""; 115 example = '' 116 Option "RTCornerButton" "2" ··· 147 Option "ClickFinger1" "${builtins.elemAt cfg.buttonsMap 0}" 148 Option "ClickFinger2" "${builtins.elemAt cfg.buttonsMap 1}" 149 Option "ClickFinger3" "${builtins.elemAt cfg.buttonsMap 2}" 150 + Option "TapButton1" "${builtins.elemAt cfg.fingersMap 0}" 151 + Option "TapButton2" "${builtins.elemAt cfg.fingersMap 1}" 152 + Option "TapButton3" "${builtins.elemAt cfg.fingersMap 2}" 153 Option "VertTwoFingerScroll" "${if cfg.twoFingerScroll then "1" else "0"}" 154 Option "HorizTwoFingerScroll" "${if cfg.twoFingerScroll then "1" else "0"}" 155 Option "VertEdgeScroll" "${if cfg.vertEdgeScroll then "1" else "0"}"
+1
nixos/release-small.nix
··· 65 mysql51 66 mysql55 67 nginx 68 openjdk 69 openssh 70 php
··· 65 mysql51 66 mysql55 67 nginx 68 + nodejs 69 openjdk 70 openssh 71 php
+3 -3
pkgs/applications/audio/cantata/default.nix
··· 39 assert withReplaygain -> withTaglib; 40 41 let 42 - version = "1.4.2"; 43 pname = "cantata"; 44 fstat = x: fn: "-DENABLE_" + fn + "=" + (if x then "ON" else "OFF"); 45 fstats = x: map (fstat x); ··· 50 51 src = fetchurl { 52 inherit name; 53 - url = "https://drive.google.com/uc?export=download&id=0Bzghs6gQWi60UDFOeU1qSkIzaVE"; 54 - sha256 = "0ycwx75f1jlsaca170bz82av06bnlknl3q0df001rhmhb7wh4j6c"; 55 }; 56 57 buildInputs =
··· 39 assert withReplaygain -> withTaglib; 40 41 let 42 + version = "1.5.0"; 43 pname = "cantata"; 44 fstat = x: fn: "-DENABLE_" + fn + "=" + (if x then "ON" else "OFF"); 45 fstats = x: map (fstat x); ··· 50 51 src = fetchurl { 52 inherit name; 53 + url = "https://drive.google.com/uc?export=download&id=0Bzghs6gQWi60c0pFbEtldEk1UnM"; 54 + sha256 = "0gnqfp3ps79d500hrivxj2xkkia042knhg86md6w8ycl3945611p"; 55 }; 56 57 buildInputs =
+13
pkgs/applications/audio/chuck/darwin-limits.patch
···
··· 1 + --- a/src/util_string.cpp 2014-10-27 22:52:11.875981552 +0100 2 + +++ b/src/util_string.cpp 2014-10-27 22:54:18.613001994 +0100 3 + @@ -40,6 +40,10 @@ 4 + #include <linux/limits.h> 5 + #endif // __PLATFORM_LINUX__ 6 + 7 + +#ifdef __PLATFORM_MACOSX__ 8 + +#include <limits.h> 9 + +#endif // __PLATFORM_MACOSX__ 10 + + 11 + #include <stdio.h> 12 + using namespace std; 13 +
+38
pkgs/applications/audio/chuck/default.nix
···
··· 1 + { stdenv, fetchurl, alsaLib, bison, flex, libsndfile, which }: 2 + 3 + stdenv.mkDerivation rec { 4 + version = "1.3.4.0"; 5 + name = "chuck-${version}"; 6 + 7 + src = fetchurl { 8 + url = "http://chuck.cs.princeton.edu/release/files/chuck-${version}.tgz"; 9 + sha256 = "0cwbk8b1i18nkh2nxwzk2prranw83lgglxw7ccnp6b0r2b2yfpmn"; 10 + }; 11 + 12 + buildInputs = [ bison flex libsndfile which ] 13 + ++ stdenv.lib.optional (!stdenv.isDarwin) alsaLib; 14 + 15 + patches = [ ./darwin-limits.patch ]; 16 + 17 + postPatch = '' 18 + substituteInPlace src/makefile --replace "/usr/bin" "$out/bin" 19 + substituteInPlace src/makefile.osx --replace "xcodebuild" "/usr/bin/xcodebuild" 20 + substituteInPlace src/makefile.osx --replace "weak_framework" "framework" 21 + ''; 22 + 23 + buildPhase = 24 + stdenv.lib.optionals stdenv.isLinux ["make -C src linux-alsa"] ++ 25 + stdenv.lib.optionals stdenv.isDarwin ["make -C src osx"]; 26 + 27 + installPhase = '' 28 + install -Dm755 ./src/chuck $out/bin/chuck 29 + ''; 30 + 31 + meta = { 32 + description = "Programming language for real-time sound synthesis and music creation"; 33 + homepage = http://chuck.cs.princeton.edu; 34 + license = stdenv.lib.licenses.gpl2; 35 + platforms = with stdenv.lib.platforms; linux ++ darwin; 36 + maintainers = with stdenv.lib.maintainers; [ ftrvxmtrx ]; 37 + }; 38 + }
+2 -1
pkgs/applications/audio/gmpc/default.nix
··· 1 { stdenv, fetchurl, libtool, intltool, pkgconfig, glib 2 , gtk, curl, mpd_clientlib, libsoup, gob2, vala, libunique 3 }: 4 5 stdenv.mkDerivation rec { ··· 22 23 buildInputs = [ 24 libtool intltool pkgconfig glib gtk curl mpd_clientlib libsoup 25 - libunique libmpd gob2 vala 26 ]; 27 28 meta = with stdenv.lib; {
··· 1 { stdenv, fetchurl, libtool, intltool, pkgconfig, glib 2 , gtk, curl, mpd_clientlib, libsoup, gob2, vala, libunique 3 + , libSM, libICE 4 }: 5 6 stdenv.mkDerivation rec { ··· 23 24 buildInputs = [ 25 libtool intltool pkgconfig glib gtk curl mpd_clientlib libsoup 26 + libunique libmpd gob2 vala libSM libICE 27 ]; 28 29 meta = with stdenv.lib; {
+2 -2
pkgs/applications/audio/hydrogen/default.nix
··· 2 , liblrdf, libsndfile, pkgconfig, qt4 }: 3 4 stdenv.mkDerivation rec { 5 - version = "0.9.6"; 6 name = "hydrogen-${version}"; 7 8 src = fetchurl { 9 url = "https://github.com/hydrogen-music/hydrogen/archive/${version}.tar.gz"; 10 - sha256 = "1z7j8aq158mp41iv78j0w6fyx98y1y51z592b4x5hkvicabgck5w"; 11 }; 12 13 buildInputs = [
··· 2 , liblrdf, libsndfile, pkgconfig, qt4 }: 3 4 stdenv.mkDerivation rec { 5 + version = "0.9.6.1"; 6 name = "hydrogen-${version}"; 7 8 src = fetchurl { 9 url = "https://github.com/hydrogen-music/hydrogen/archive/${version}.tar.gz"; 10 + sha256 = "0vxnaqfmcv7hhk0cj67imdcqngspnck7f0wfmvhfgfqa7x1xznll"; 11 }; 12 13 buildInputs = [
+2 -2
pkgs/applications/audio/qjackctl/default.nix
··· 1 { stdenv, fetchurl, qt4, alsaLib, jack2, dbus }: 2 3 stdenv.mkDerivation rec { 4 - version = "0.3.11"; 5 name = "qjackctl-${version}"; 6 7 # some dependencies such as killall have to be installed additionally 8 9 src = fetchurl { 10 url = "mirror://sourceforge/qjackctl/${name}.tar.gz"; 11 - sha256 = "1wjzrgx3n2asyxk6cnfcm34msaw84qvsqy08bd4qnghrgpl96hwl"; 12 }; 13 14 buildInputs = [ qt4 alsaLib jack2 dbus ];
··· 1 { stdenv, fetchurl, qt4, alsaLib, jack2, dbus }: 2 3 stdenv.mkDerivation rec { 4 + version = "0.3.12"; 5 name = "qjackctl-${version}"; 6 7 # some dependencies such as killall have to be installed additionally 8 9 src = fetchurl { 10 url = "mirror://sourceforge/qjackctl/${name}.tar.gz"; 11 + sha256 = "14yvnc4k3hwsjflg8b2d04bc63pdl0gyqjc7vl6rdn29nbr23zwc"; 12 }; 13 14 buildInputs = [ qt4 alsaLib jack2 dbus ];
+2 -2
pkgs/applications/editors/atom/default.nix
··· 16 }; 17 in stdenv.mkDerivation rec { 18 name = "atom-${version}"; 19 - version = "0.135.0"; 20 21 src = fetchurl { 22 url = "https://github.com/atom/atom/releases/download/v${version}/atom-amd64.deb"; 23 - sha256 = "0dh8vjhr31y2ibnf4s7adskbx115w8ns9xgrb0md9xc9gm92h405"; 24 name = "${name}.deb"; 25 }; 26
··· 16 }; 17 in stdenv.mkDerivation rec { 18 name = "atom-${version}"; 19 + version = "0.139.0"; 20 21 src = fetchurl { 22 url = "https://github.com/atom/atom/releases/download/v${version}/atom-amd64.deb"; 23 + sha256 = "0732s4r9qx0sgsnz415z5r9685scly2084q80kz2xw0d2gfx04xr"; 24 name = "${name}.deb"; 25 }; 26
+9 -6
pkgs/applications/editors/bvi/default.nix
··· 1 { stdenv, fetchurl, ncurses }: 2 3 - stdenv.mkDerivation { 4 - name = "bvi-1.3.2"; 5 6 src = fetchurl { 7 - url = mirror://sourceforge/bvi/bvi-1.3.2.src.tar.gz; 8 - sha256 = "110wxqnyianqamxq4y53drqqxb9vp4k2fcvic45qggvlqkqhlfgz"; 9 }; 10 11 buildInputs = [ ncurses ]; 12 13 - meta = { 14 description = "Hex editor with vim style keybindings"; 15 homepage = http://bvi.sourceforge.net/download.html; 16 - license = stdenv.lib.licenses.gpl2; 17 }; 18 }
··· 1 { stdenv, fetchurl, ncurses }: 2 3 + stdenv.mkDerivation rec { 4 + name = "bvi-${version}"; 5 + version = "1.4.0"; 6 7 src = fetchurl { 8 + url = "mirror://sourceforge/bvi/${name}.src.tar.gz"; 9 + sha256 = "00pq9rv7s8inqxq2m3xshxi58691i3pxw9smibcrgh6768l3qnh1"; 10 }; 11 12 buildInputs = [ ncurses ]; 13 14 + meta = with stdenv.lib; { 15 description = "Hex editor with vim style keybindings"; 16 homepage = http://bvi.sourceforge.net/download.html; 17 + license = licenses.gpl2; 18 + maintainers = with maintainers; [ pSub ]; 19 + platforms = platforms.linux; 20 }; 21 }
+1 -4
pkgs/applications/editors/emacs-24/default.nix
··· 35 [ "--with-x-toolkit=lucid" "--with-xft" ] 36 else 37 [ "--with-x=no" "--with-xpm=no" "--with-jpeg=no" "--with-png=no" 38 - "--with-gif=no" "--with-tiff=no" ] ) ) 39 - # On NixOS, help Emacs find `crt*.o'. 40 - ++ stdenv.lib.optional (stdenv ? glibc) 41 - [ "--with-crt-dir=${stdenv.glibc}/lib" ]; 42 43 NIX_CFLAGS_COMPILE = stdenv.lib.optionalString (stdenv.isDarwin && withX) 44 "-I${cairo}/include/cairo";
··· 35 [ "--with-x-toolkit=lucid" "--with-xft" ] 36 else 37 [ "--with-x=no" "--with-xpm=no" "--with-jpeg=no" "--with-png=no" 38 + "--with-gif=no" "--with-tiff=no" ] ) ); 39 40 NIX_CFLAGS_COMPILE = stdenv.lib.optionalString (stdenv.isDarwin && withX) 41 "-I${cairo}/include/cairo";
+27
pkgs/applications/editors/emacs-modes/hsc3/default.nix
···
··· 1 + { stdenv, fetchurl, emacs }: 2 + 3 + # this package installs the emacs-mode which 4 + # resides in the hsc3 sources. 5 + 6 + let version = "0.15"; 7 + 8 + in stdenv.mkDerivation { 9 + name = "hsc3-mode-${version}"; 10 + src = fetchurl { 11 + url = http://hackage.haskell.org/package/hsc3-0.15/hsc3-0.15.tar.gz; 12 + sha256 = "2f3b15655419cf8ebe25ab1c6ec22993b2589b4ffca7c3a75ce478ca78a0bde6"; 13 + }; 14 + 15 + buildInputs = [ emacs ]; 16 + 17 + installPhase = '' 18 + mkdir -p "$out/share/emacs/site-lisp" 19 + cp "emacs/hsc3.el" "$out/share/emacs/site-lisp" 20 + ''; 21 + 22 + meta = { 23 + homepage = http://rd.slavepianos.org/?t=hsc3; 24 + description = "hsc3 mode package for Emacs"; 25 + platforms = stdenv.lib.platforms.unix; 26 + }; 27 + }
+2 -2
pkgs/applications/editors/emacs-modes/org/default.nix
··· 2 , texLiveAggregationFun }: 3 4 stdenv.mkDerivation rec { 5 - name = "org-8.2.8"; 6 7 src = fetchurl { 8 url = "http://orgmode.org/${name}.tar.gz"; 9 - sha256 = "0f63w6d1yjiv46ac7d9rqn2wks6sxmldrqmijd9j25qvsc8dcsd8"; 10 }; 11 12 buildInputs = [ emacs ];
··· 2 , texLiveAggregationFun }: 3 4 stdenv.mkDerivation rec { 5 + name = "org-8.2.10"; 6 7 src = fetchurl { 8 url = "http://orgmode.org/${name}.tar.gz"; 9 + sha256 = "1xm8n8zwr3676rl4pd32k61rd7rimlihhrw5a7r4z7r154c4a2fz"; 10 }; 11 12 buildInputs = [ emacs ];
+66 -24
pkgs/applications/editors/idea/default.nix
··· 7 let 8 9 mkIdeaProduct = 10 - { name, product, version, build, src, meta }: 11 12 let loName = stdenv.lib.toLower product; 13 hiName = stdenv.lib.toUpper product; in ··· 26 27 buildInputs = [ makeWrapper patchelf p7zip unzip ]; 28 29 - patchPhase = '' 30 - 31 - get_file_size() { 32 local fname="$1" 33 echo $(ls -l $fname | cut -d ' ' -f5) 34 - } 35 36 - munge_size_hack() { 37 local fname="$1" 38 local size="$2" 39 strip $fname 40 truncate --size=$size $fname 41 - } 42 43 - interpreter=$(echo ${stdenv.glibc}/lib/ld-linux*.so.2) 44 - snappyPath="lib/snappy-java-1.0.5" 45 46 - 7z x -o"$snappyPath" "$snappyPath.jar" 47 - if [ "${stdenv.system}" == "x86_64-linux" ]; then 48 - target_size=$(get_file_size bin/fsnotifier64) 49 - patchelf --set-interpreter "$interpreter" bin/fsnotifier64 50 - patchelf --set-rpath ${stdenv.gcc.gcc}/lib64/ "$snappyPath/org/xerial/snappy/native/Linux/amd64/libsnappyjava.so" 51 - munge_size_hack bin/fsnotifier64 $target_size 52 - else 53 - target_size=$(get_file_size bin/fsnotifier) 54 - patchelf --set-interpreter "$interpreter" bin/fsnotifier 55 - patchelf --set-rpath ${stdenv.gcc.gcc}/lib/ "$snappyPath/org/xerial/snappy/native/Linux/i386/libsnappyjava.so" 56 - munge_size_hack bin/fsnotifier $target_size 57 - fi 58 - 7z a -tzip "$snappyPath.jar" ./"$snappyPath"/* 59 - rm -vr "$snappyPath" 60 - ''; 61 62 installPhase = '' 63 mkdir -vp "$out/bin" "$out/$name" "$out/share/pixmaps" ··· 67 [ -d ${jdk}/lib/openjdk ] \ 68 && jdk=${jdk}/lib/openjdk \ 69 || jdk=${jdk} 70 71 makeWrapper "$out/$name/bin/${loName}.sh" "$out/bin/${loName}" \ 72 --prefix PATH : "${jdk}/bin:${coreutils}/bin:${gnugrep}/bin:${which}/bin:${git}/bin" \ ··· 141 }; 142 }); 143 144 in 145 146 { ··· 203 src = fetchurl { 204 url = "http://download.jetbrains.com/python/${name}.tar.gz"; 205 sha256 = "e4f85f3248e8985ac9f8c326543f979b47ba1d7ac6b128a2cf2b3eb8ec545d2b"; 206 }; 207 }; 208
··· 7 let 8 9 mkIdeaProduct = 10 + { name, product, version, build, src, meta, patchSnappy ? true }: 11 12 let loName = stdenv.lib.toLower product; 13 hiName = stdenv.lib.toUpper product; in ··· 26 27 buildInputs = [ makeWrapper patchelf p7zip unzip ]; 28 29 + patchPhase = lib.concatStringsSep "\n" [ 30 + '' 31 + get_file_size() { 32 local fname="$1" 33 echo $(ls -l $fname | cut -d ' ' -f5) 34 + } 35 36 + munge_size_hack() { 37 local fname="$1" 38 local size="$2" 39 strip $fname 40 truncate --size=$size $fname 41 + } 42 43 + interpreter=$(echo ${stdenv.glibc}/lib/ld-linux*.so.2) 44 + if [ "${stdenv.system}" == "x86_64-linux" ]; then 45 + target_size=$(get_file_size bin/fsnotifier64) 46 + patchelf --set-interpreter "$interpreter" bin/fsnotifier64 47 + munge_size_hack bin/fsnotifier64 $target_size 48 + else 49 + target_size=$(get_file_size bin/fsnotifier) 50 + patchelf --set-interpreter "$interpreter" bin/fsnotifier 51 + munge_size_hack bin/fsnotifier $target_size 52 + fi 53 + '' 54 55 + (lib.optionalString patchSnappy '' 56 + snappyPath="lib/snappy-java-1.0.5" 57 + 7z x -o"$snappyPath" "$snappyPath.jar" 58 + if [ "${stdenv.system}" == "x86_64-linux" ]; then 59 + patchelf --set-rpath ${stdenv.gcc.gcc}/lib64 "$snappyPath/org/xerial/snappy/native/Linux/amd64/libsnappyjava.so" 60 + else 61 + patchelf --set-rpath ${stdenv.gcc.gcc}/lib "$snappyPath/org/xerial/snappy/native/Linux/i386/libsnappyjava.so" 62 + fi 63 + 7z a -tzip "$snappyPath.jar" ./"$snappyPath"/* 64 + rm -vr "$snappyPath" 65 + '') 66 + ]; 67 68 installPhase = '' 69 mkdir -vp "$out/bin" "$out/$name" "$out/share/pixmaps" ··· 73 [ -d ${jdk}/lib/openjdk ] \ 74 && jdk=${jdk}/lib/openjdk \ 75 || jdk=${jdk} 76 + 77 + if [ "${stdenv.system}" == "x86_64-linux" ]; then 78 + makeWrapper "$out/$name/bin/fsnotifier64" "$out/bin/fsnotifier64" 79 + else 80 + makeWrapper "$out/$name/bin/fsnotifier" "$out/bin/fsnotifier" 81 + fi 82 83 makeWrapper "$out/$name/bin/${loName}.sh" "$out/bin/${loName}" \ 84 --prefix PATH : "${jdk}/bin:${coreutils}/bin:${gnugrep}/bin:${which}/bin:${git}/bin" \ ··· 153 }; 154 }); 155 156 + buildPhpStorm = { name, version, build, src, license, description }: 157 + (mkIdeaProduct { 158 + inherit name version build src; 159 + product = "PhpStorm"; 160 + patchSnappy = false; 161 + meta = with stdenv.lib; { 162 + homepage = "https://www.jetbrains.com/phpstorm/"; 163 + inherit description license; 164 + longDescription = '' 165 + PhpStorm provides an editor for PHP, HTML and JavaScript 166 + with on-the-fly code analysis, error prevention and 167 + automated refactorings for PHP and JavaScript code. 168 + ''; 169 + maintainers = with maintainers; [ schristo ]; 170 + platforms = platforms.linux; 171 + }; 172 + }); 173 + 174 in 175 176 { ··· 233 src = fetchurl { 234 url = "http://download.jetbrains.com/python/${name}.tar.gz"; 235 sha256 = "e4f85f3248e8985ac9f8c326543f979b47ba1d7ac6b128a2cf2b3eb8ec545d2b"; 236 + }; 237 + }; 238 + 239 + phpstorm = buildPhpStorm rec { 240 + name = "phpstorm-${version}"; 241 + version = "8.0.1"; 242 + build = "PS-138.2001"; 243 + description = "Professional IDE for Web and PHP developers"; 244 + license = stdenv.lib.licenses.unfree; 245 + src = fetchurl { 246 + url = "http://download.jetbrains.com/webide/PhpStorm-${version}.tar.gz"; 247 + sha256 = "0d46442aa32174fe16846c3c31428178ab69b827d2e0ce31f633f13b64c01afc"; 248 }; 249 }; 250
+2 -2
pkgs/applications/editors/yi/yi-custom.nix
··· 26 27 postInstall = '' 28 makeWrapper ${yi}/bin/yi $out/bin/yi \ 29 - --prefix PATH : ${wrappedGhc}/bin \ 30 - --suffix GHC_PACKAGE_PATH : $(find ${wrappedGhc} -name '*installedconf' | tr \\n :) 31 ''; 32 meta = { 33 homepage = "http://haskell.org/haskellwiki/Yi";
··· 26 27 postInstall = '' 28 makeWrapper ${yi}/bin/yi $out/bin/yi \ 29 + --set NIX_GHC ${wrappedGhc}/bin/ghc \ 30 + --set NIX_GHC_LIBDIR ${wrappedGhc}/lib/ghc-${self.ghc.version} 31 ''; 32 meta = { 33 homepage = "http://haskell.org/haskellwiki/Yi";
+2 -2
pkgs/applications/editors/yi/yi.nix
··· 11 12 cabal.mkDerivation (self: { 13 pname = "yi"; 14 - version = "0.10.1"; 15 - sha256 = "1vj4ndp43w7xlji4p2px79a8g90p64g54sr3hx4pzimwrlpmifk8"; 16 isLibrary = true; 17 isExecutable = true; 18 buildDepends = [
··· 11 12 cabal.mkDerivation (self: { 13 pname = "yi"; 14 + version = "0.11.0"; 15 + sha256 = "1da5wnqx1z8d809dydqr97jh8n5g9phh06lvkgc32hib2rybh5yx"; 16 isLibrary = true; 17 isExecutable = true; 18 buildDepends = [
+2 -2
pkgs/applications/misc/calibre/default.nix
··· 5 }: 6 7 stdenv.mkDerivation rec { 8 - name = "calibre-2.6.0"; 9 10 src = fetchurl { 11 url = "mirror://sourceforge/calibre/${name}.tar.xz"; 12 - sha256 = "0z7nnqsal8yfi83fqari7z9xywq6l84jm0nma2mw0gvybysys4cv"; 13 }; 14 15 inherit python;
··· 5 }: 6 7 stdenv.mkDerivation rec { 8 + name = "calibre-2.7.0"; 9 10 src = fetchurl { 11 url = "mirror://sourceforge/calibre/${name}.tar.xz"; 12 + sha256 = "0j8ypdcrxf961093pw3h5bxhd5kd1i6vjnf9cyi55j54j31zy021"; 13 }; 14 15 inherit python;
+29
pkgs/applications/misc/doomseeker/default.nix
···
··· 1 + { stdenv, cmake, fetchurl, pkgconfig, qt4, zlib, bzip2 }: 2 + 3 + stdenv.mkDerivation rec { 4 + name = "doomseeker-0.12.1b"; 5 + src = fetchurl { 6 + url = "http://doomseeker.drdteam.org/files/${name}_src.tar.bz2"; 7 + sha256 = "110yg3w3y1x8p4gqpxb6djxw348caj50q5liq8ssb5mf78v8gk6b"; 8 + }; 9 + 10 + cmakeFlags = '' 11 + -DCMAKE_BUILD_TYPE=Release 12 + ''; 13 + 14 + buildInputs = [ cmake pkgconfig qt4 zlib bzip2 ]; 15 + 16 + enableParallelBuilding = true; 17 + 18 + patchPhase = '' 19 + sed -e 's#/usr/share/applications#$out/share/applications#' -i src/core/CMakeLists.txt 20 + ''; 21 + 22 + meta = { 23 + homepage = http://doomseeker.drdteam.org/; 24 + description = "Multiplayer server browser for many Doom source ports"; 25 + license = stdenv.lib.licenses.gpl2; 26 + maintainers = with stdenv.lib.maintainers; [ MP2E ]; 27 + }; 28 + } 29 +
+9 -3
pkgs/applications/misc/rtl-sdr/default.nix
··· 12 13 buildInputs = [ cmake pkgconfig libusb1 ]; 14 15 - # Building with -DINSTALL_UDEV_RULES=ON tries to install udev rules to 16 - # /etc/udev/rules.d/, and there is no option to install elsewhere. So install 17 - # rules manually. 18 postInstall = '' 19 mkdir -p "$out/etc/udev/rules.d/" 20 cp ../rtl-sdr.rules "$out/etc/udev/rules.d/99-rtl-sdr.rules" 21 ''; 22 23 meta = with stdenv.lib; {
··· 12 13 buildInputs = [ cmake pkgconfig libusb1 ]; 14 15 + # TODO: get these fixes upstream: 16 + # * Building with -DINSTALL_UDEV_RULES=ON tries to install udev rules to 17 + # /etc/udev/rules.d/, and there is no option to install elsewhere. So install 18 + # rules manually. 19 + # * Propagate libusb-1.0 dependency in pkg-config file. 20 postInstall = '' 21 mkdir -p "$out/etc/udev/rules.d/" 22 cp ../rtl-sdr.rules "$out/etc/udev/rules.d/99-rtl-sdr.rules" 23 + 24 + pcfile="$out"/lib/pkgconfig/librtlsdr.pc 25 + grep -q "Requires:" "$pcfile" && { echo "Upstream has added 'Requires:' in $(basename "$pcfile"); update nix expression."; exit 1; } 26 + echo "Requires: libusb-1.0" >> "$pcfile" 27 ''; 28 29 meta = with stdenv.lib; {
+2 -2
pkgs/applications/misc/taskwarrior/default.nix
··· 1 - { stdenv, fetchurl, cmake, libuuid }: 2 3 stdenv.mkDerivation rec { 4 name = "taskwarrior-${version}"; ··· 11 sha256 = "0wxcfq0n96vmcbwrlk2x377k8cc5k4i64ca6p02y74g6168ji6ib"; 12 }; 13 14 - nativeBuildInputs = [ cmake libuuid ]; 15 16 meta = { 17 description = "GTD (getting things done) implementation";
··· 1 + { stdenv, fetchurl, cmake, libuuid, gnutls }: 2 3 stdenv.mkDerivation rec { 4 name = "taskwarrior-${version}"; ··· 11 sha256 = "0wxcfq0n96vmcbwrlk2x377k8cc5k4i64ca6p02y74g6168ji6ib"; 12 }; 13 14 + nativeBuildInputs = [ cmake libuuid gnutls ]; 15 16 meta = { 17 description = "GTD (getting things done) implementation";
+4 -4
pkgs/applications/misc/termite/default.nix
··· 2 3 stdenv.mkDerivation rec { 4 name = "termite-${version}"; 5 - version = "v7"; 6 7 src = fetchgit { 8 url = "https://github.com/thestinger/termite"; 9 - rev = "f0ff025c1bb6a1e3fd83072f00c2dc42a0701f46"; 10 - sha256 = "057yzlqvp84fkmhn4bz9071glj4rh4187xhg48cdppf2w6phcbxp"; 11 }; 12 13 - makeFlags = "VERSION=${version}"; 14 15 buildInputs = [pkgconfig vte gtk ncurses]; 16
··· 2 3 stdenv.mkDerivation rec { 4 name = "termite-${version}"; 5 + version = "v8"; 6 7 src = fetchgit { 8 url = "https://github.com/thestinger/termite"; 9 + rev = "7f03ded7308ad0e26b72b150080e4f3e70401815"; 10 + sha256 = "1yj4jvjwv73a02p8a0yip8q39znlhfc9zdr19zm1zik2k4h62c2l"; 11 }; 12 13 + makeFlags = "VERSION=v${version}"; 14 15 buildInputs = [pkgconfig vte gtk ncurses]; 16
+3 -3
pkgs/applications/networking/bittorrentsync/default.nix
··· 5 else if stdenv.system == "i686-linux" then "i386" 6 else throw "Bittorrent Sync for: ${stdenv.system} not supported!"; 7 8 - sha256 = if stdenv.system == "x86_64-linux" then "115xsbi5z8ll0z07vx4rzzsgr6qba43f3z3nzx33pva5dpdr3ci9" 9 - else if stdenv.system == "i686-linux" then "110k6cq6l3nr1gak2ri6i1kwis78r3zc1ilbipgcccdczf9fnx7p" 10 else throw "Bittorrent Sync for: ${stdenv.system} not supported!"; 11 12 libPath = stdenv.lib.makeLibraryPath [ stdenv.gcc.libc ]; 13 in 14 stdenv.mkDerivation rec { 15 name = "btsync-${version}"; 16 - version = "1.4.82"; 17 18 src = fetchurl { 19 url = "http://syncapp.bittorrent.com/${version}/btsync_${arch}-${version}.tar.gz";
··· 5 else if stdenv.system == "i686-linux" then "i386" 6 else throw "Bittorrent Sync for: ${stdenv.system} not supported!"; 7 8 + sha256 = if stdenv.system == "x86_64-linux" then "c4b100bbf8cda0334e20793e02bf400d15266cb9d089917bd2b6b9d49dd37d19" 9 + else if stdenv.system == "i686-linux" then "5760471fcea396efd158758aa350b1c48a9d0633765a5e3b059baf8aeab615fa" 10 else throw "Bittorrent Sync for: ${stdenv.system} not supported!"; 11 12 libPath = stdenv.lib.makeLibraryPath [ stdenv.gcc.libc ]; 13 in 14 stdenv.mkDerivation rec { 15 name = "btsync-${version}"; 16 + version = "1.4.93"; 17 18 src = fetchurl { 19 url = "http://syncapp.bittorrent.com/${version}/btsync_${arch}-${version}.tar.gz";
+2 -2
pkgs/applications/networking/browsers/firefox/default.nix
··· 15 16 assert stdenv.gcc ? libc && stdenv.gcc.libc != null; 17 18 - let version = "33.0"; in 19 20 stdenv.mkDerivation rec { 21 name = "firefox-${version}"; 22 23 src = fetchurl { 24 url = "http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/${version}/source/firefox-${version}.source.tar.bz2"; 25 - sha1 = "ad10e8fefcd9687d2b67bacafa4ecb5f5ca4af66"; 26 }; 27 28 buildInputs =
··· 15 16 assert stdenv.gcc ? libc && stdenv.gcc.libc != null; 17 18 + let version = "33.0.1"; in 19 20 stdenv.mkDerivation rec { 21 name = "firefox-${version}"; 22 23 src = fetchurl { 24 url = "http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/${version}/source/firefox-${version}.source.tar.bz2"; 25 + sha1 = "09b9ca1f6af1e0ff8716d559ccf55801ae1a8f2d"; 26 }; 27 28 buildInputs =
+30 -33
pkgs/applications/networking/instant-messengers/pidgin/default.nix
··· 1 - /** 2 - * Possible missing configuration: 3 - * 4 - * - silcclient 5 - * - libebook-1.2 6 - * - libedata-book-1.2 7 - * - checking for XScreenSaverRegister in -lXext... no 8 - * - checking for XScreenSaverRegister in -lXss... no 9 - * - ao 10 - * - audiofile-config 11 - * - doxygen 12 - */ 13 - { stdenv, fetchurl, pkgconfig, gtk, gtkspell, aspell, 14 - gstreamer, gst_plugins_base, startupnotification, gettext, 15 - perl, perlXMLParser, libxml2, nss, nspr, farsight2, 16 - libXScrnSaver, ncurses, avahi, dbus, dbus_glib, intltool, libidn 17 - , lib, python 18 - , openssl ? null 19 - , gnutls ? null 20 - , libgcrypt ? null 21 - } : 22 23 # FIXME: clean the mess around choosing the SSL library (nss by default) 24 25 stdenv.mkDerivation rec { 26 - majorVersion = "2"; 27 - name = "pidgin-${majorVersion}.10.10"; 28 src = fetchurl { 29 url = "mirror://sourceforge/pidgin/${name}.tar.bz2"; 30 sha256 = "0bc2bk2g3w90mpz9sn9j95c71z4i2i3wxaqa2zpmmixf5r8rasyw"; 31 }; 32 33 inherit nss ncurses; 34 buildInputs = [ 35 gtkspell aspell 36 gstreamer gst_plugins_base startupnotification 37 - libxml2] 38 - ++ (lib.optional (openssl != null) openssl) 39 - ++ (lib.optional (gnutls != null) gnutls) 40 - ++ (lib.optional (libgcrypt != null) libgcrypt) 41 - ++ 42 - [nss nspr farsight2 43 libXScrnSaver ncurses python 44 avahi dbus dbus_glib intltool libidn 45 ] 46 - ; 47 48 propagatedBuildInputs = [ 49 pkgconfig gtk perl perlXMLParser gettext ··· 51 52 patches = [./pidgin-makefile.patch ./add-search-path.patch ]; 53 54 - configureFlags="--with-nspr-includes=${nspr}/include/nspr --with-nspr-libs=${nspr}/lib --with-nss-includes=${nss}/include/nss --with-nss-libs=${nss}/lib --with-ncurses-headers=${ncurses}/include --disable-meanwhile --disable-nm --disable-tcl" 55 - + (lib.optionalString (gnutls != null) " --enable-gnutls=yes --enable-nss=no") 56 - ; 57 meta = with stdenv.lib; { 58 description = "Multi-protocol instant messaging client"; 59 homepage = http://pidgin.im;
··· 1 + { stdenv, fetchurl, pkgconfig, gtk, gtkspell, aspell 2 + , gstreamer, gst_plugins_base, startupnotification, gettext 3 + , perl, perlXMLParser, libxml2, nss, nspr, farsight2 4 + , libXScrnSaver, ncurses, avahi, dbus, dbus_glib, intltool, libidn 5 + , lib, python, libICE, libXext, libSM 6 + , openssl ? null 7 + , gnutls ? null 8 + , libgcrypt ? null 9 + }: 10 11 # FIXME: clean the mess around choosing the SSL library (nss by default) 12 13 stdenv.mkDerivation rec { 14 + name = "pidgin-${version}"; 15 + version = "2.10.10"; 16 + 17 src = fetchurl { 18 url = "mirror://sourceforge/pidgin/${name}.tar.bz2"; 19 sha256 = "0bc2bk2g3w90mpz9sn9j95c71z4i2i3wxaqa2zpmmixf5r8rasyw"; 20 }; 21 22 inherit nss ncurses; 23 + 24 buildInputs = [ 25 gtkspell aspell 26 gstreamer gst_plugins_base startupnotification 27 + libxml2 nss nspr farsight2 28 libXScrnSaver ncurses python 29 avahi dbus dbus_glib intltool libidn 30 + libICE libXext libSM 31 ] 32 + ++ (lib.optional (openssl != null) openssl) 33 + ++ (lib.optional (gnutls != null) gnutls) 34 + ++ (lib.optional (libgcrypt != null) libgcrypt); 35 36 propagatedBuildInputs = [ 37 pkgconfig gtk perl perlXMLParser gettext ··· 39 40 patches = [./pidgin-makefile.patch ./add-search-path.patch ]; 41 42 + configureFlags = [ 43 + "--with-nspr-includes=${nspr}/include/nspr" 44 + "--with-nspr-libs=${nspr}/lib" 45 + "--with-nss-includes=${nss}/include/nss" 46 + "--with-nss-libs=${nss}/lib" 47 + "--with-ncurses-headers=${ncurses}/include" 48 + "--disable-meanwhile" 49 + "--disable-nm" 50 + "--disable-tcl" 51 + ] 52 + ++ (lib.optionals (gnutls != null) ["--enable-gnutls=yes" "--enable-nss=no"]); 53 + 54 meta = with stdenv.lib; { 55 description = "Multi-protocol instant messaging client"; 56 homepage = http://pidgin.im;
+3 -3
pkgs/applications/networking/instant-messengers/pidgin/wrapper.nix
··· 1 { stdenv, buildEnv, pidgin, makeWrapper, plugins }: 2 3 let drv = buildEnv { 4 - name = "${pidgin.name}-with-plugins"; 5 6 paths = [ pidgin ] ++ plugins; 7 ··· 15 done 16 fi 17 wrapProgram $out/bin/pidgin \ 18 - --suffix-each PURPLE_PLUGIN_PATH ':' "$out/lib/purple-${pidgin.majorVersion} $out/lib/pidgin" 19 ''; 20 }; 21 - in stdenv.lib.overrideDerivation drv (x : { buildInputs = x.buildInputs ++ [ makeWrapper ]; })
··· 1 { stdenv, buildEnv, pidgin, makeWrapper, plugins }: 2 3 let drv = buildEnv { 4 + name = "pidgin-with-plugins-" + (builtins.parseDrvName pidgin.name).version; 5 6 paths = [ pidgin ] ++ plugins; 7 ··· 15 done 16 fi 17 wrapProgram $out/bin/pidgin \ 18 + --suffix-each PURPLE_PLUGIN_PATH ':' "$out/lib/purple-${pidgin.version} $out/lib/pidgin" 19 ''; 20 }; 21 + in stdenv.lib.overrideDerivation drv (x : { buildInputs = x.buildInputs ++ [ makeWrapper ]; })
+8 -5
pkgs/applications/networking/irc/quassel/default.nix
··· 5 , ssl ? true # enable SSL support 6 , previews ? false # enable webpage previews on hovering over URLs 7 , tag ? "" # tag added to the package name 8 - , stdenv, fetchurl, cmake, makeWrapper, qt4, kdelibs, automoc4, phonon, dconf }: 9 10 let 11 edf = flag: feature: [("-D" + feature + (if flag then "=ON" else "=OFF"))]; 12 13 in with stdenv; mkDerivation rec { 14 15 - version = "0.10.0"; 16 name = "quassel${tag}-${version}"; 17 18 src = fetchurl { 19 url = "http://quassel-irc.org/pub/quassel-${version}.tar.bz2"; 20 - sha256 = "08vwxkwnzlgnxn0wi6ga9fk8qgc6nklb236hsfnr5ad37bi8q8k8"; 21 }; 22 23 enableParallelBuilding = true; 24 25 - buildInputs = [ cmake makeWrapper qt4 ] 26 ++ lib.optional withKDE kdelibs 27 ++ lib.optional withKDE automoc4 28 ++ lib.optional withKDE phonon; ··· 63 license = stdenv.lib.licenses.gpl3; 64 maintainers = [ maintainers.phreedom ]; 65 repositories.git = https://github.com/quassel/quassel.git; 66 - inherit (qt4.meta) platforms; 67 }; 68 }
··· 5 , ssl ? true # enable SSL support 6 , previews ? false # enable webpage previews on hovering over URLs 7 , tag ? "" # tag added to the package name 8 + , stdenv, fetchurl, cmake, makeWrapper, qt, kdelibs, automoc4, phonon, dconf }: 9 + 10 + assert monolithic -> !client && !daemon; 11 + assert client || daemon -> !monolithic; 12 13 let 14 edf = flag: feature: [("-D" + feature + (if flag then "=ON" else "=OFF"))]; 15 16 in with stdenv; mkDerivation rec { 17 18 + version = "0.11.0"; 19 name = "quassel${tag}-${version}"; 20 21 src = fetchurl { 22 url = "http://quassel-irc.org/pub/quassel-${version}.tar.bz2"; 23 + sha256 = "01251y5i1fvm6s2g9acxaczk2jdyw1byr45q41q0yh9apjw938cr"; 24 }; 25 26 enableParallelBuilding = true; 27 28 + buildInputs = [ cmake makeWrapper qt ] 29 ++ lib.optional withKDE kdelibs 30 ++ lib.optional withKDE automoc4 31 ++ lib.optional withKDE phonon; ··· 66 license = stdenv.lib.licenses.gpl3; 67 maintainers = [ maintainers.phreedom ]; 68 repositories.git = https://github.com/quassel/quassel.git; 69 + inherit (qt.meta) platforms; 70 }; 71 }
+2 -2
pkgs/applications/networking/mailreaders/notmuch/default.nix
··· 4 }: 5 6 stdenv.mkDerivation rec { 7 - name = "notmuch-0.18.1"; 8 9 src = fetchurl { 10 url = "http://notmuchmail.org/releases/${name}.tar.gz"; 11 - sha256 = "1pdp9l7yv71d3fjb30qyccva8h03hvg88q4a00yi50v2j70kvmgj"; 12 }; 13 14 buildInputs = [ bash emacs gdb glib gmime gnupg pkgconfig talloc xapian ]
··· 4 }: 5 6 stdenv.mkDerivation rec { 7 + name = "notmuch-0.18.2"; 8 9 src = fetchurl { 10 url = "http://notmuchmail.org/releases/${name}.tar.gz"; 11 + sha256 = "175wzrw1mfpl4h72n9ims66zn5l34zn2dn857vraj2i5w7z7p7z9"; 12 }; 13 14 buildInputs = [ bash emacs gdb glib gmime gnupg pkgconfig talloc xapian ]
+111 -111
pkgs/applications/networking/mailreaders/thunderbird-bin/default.nix
··· 40 assert stdenv.isLinux; 41 42 let 43 - version = "31.1.2"; 44 sources = [ 45 - { locale = "id"; arch = "linux-i686"; sha256 = "210f0037279ec373d5d189a8724962fec3237900c343ca93d2421ca93a35f201"; } 46 - { locale = "id"; arch = "linux-x86_64"; sha256 = "7436275f73a1292567cc587bd41439ecb724fac5e092f0b0f2af932bf39805f7"; } 47 - { locale = "he"; arch = "linux-i686"; sha256 = "14b878d70f96e60e3a73134c3cbb35cc6d468446b588510ae5f2e8934d8fbb3b"; } 48 - { locale = "he"; arch = "linux-x86_64"; sha256 = "6edabe4a5bf81274cb117bdf7ec7d0b89f3759b9f31e1b9e03c0c603cda2e91f"; } 49 - { locale = "el"; arch = "linux-i686"; sha256 = "9f65b45570f83d41b856f99b3077e6e112fa65b3762eb51277269fdbf07cfdb2"; } 50 - { locale = "el"; arch = "linux-x86_64"; sha256 = "6a500164772c004d851f13d77a7a9b84428b5c372fdba6f0936c1ddd398d9087"; } 51 - { locale = "tr"; arch = "linux-i686"; sha256 = "fb5f9ab606101cfebe86f64f64b9e46ecd73a704c1a2a993e4b4d68129d84484"; } 52 - { locale = "tr"; arch = "linux-x86_64"; sha256 = "54517217aa8cf4d715dd2c7d5cf7c4b96bd5f0add2dda9d9d9412ea10b4210a4"; } 53 - { locale = "ast"; arch = "linux-i686"; sha256 = "2ff66a151f4003b5dc0432b43e1038e0c69645c58fc5d6015cab3e493a8ed9a7"; } 54 - { locale = "ast"; arch = "linux-x86_64"; sha256 = "e34c892ff3fe761c2707036c5ea3453fe411dca2ad2e474ead7ef0c209558e06"; } 55 - { locale = "nl"; arch = "linux-i686"; sha256 = "46154b1fab58e9040e4e67b01ae2c5865b644ccf8f2239c396725bf063eae640"; } 56 - { locale = "nl"; arch = "linux-x86_64"; sha256 = "271f169763271582698b8ec23d9ca463b41a7d2b373b56d9c170179e15f0fc34"; } 57 - { locale = "bn-BD"; arch = "linux-i686"; sha256 = "2b3f2e9933bcda04abc5785b77630cedcba2d85a73a9d535d895ed7910c97d54"; } 58 - { locale = "bn-BD"; arch = "linux-x86_64"; sha256 = "e4878b6ec24d75cba9e991f6b852ec280992b205bca0e82a2aecfd9a607cdbb4"; } 59 - { locale = "eu"; arch = "linux-i686"; sha256 = "b2ff2e8b6c9b7ee81d0965380d15e080c204ffac35b687ca29ca41b51804b491"; } 60 - { locale = "eu"; arch = "linux-x86_64"; sha256 = "7afd4c4618f4e7758875ae58295e340289eb994723d3eea13c388751878e0b4e"; } 61 - { locale = "fr"; arch = "linux-i686"; sha256 = "41f07408eaec108a28f03917820329c801a386ad3628ebdeb7abd852e579ae72"; } 62 - { locale = "fr"; arch = "linux-x86_64"; sha256 = "ea667afbfeba6901a56cc44751d6bf202ef978ce7e39719e56c1fe31a622922b"; } 63 - { locale = "br"; arch = "linux-i686"; sha256 = "cea91b552b14e4a417d288d93b4db10b787a1a15316ed7de0b3016be359ddcc5"; } 64 - { locale = "br"; arch = "linux-x86_64"; sha256 = "8d72d7cca4885f527a8e8d2b8e2950d0ea0e5d1a840bcde38c08a77e3b6a69a7"; } 65 - { locale = "pa-IN"; arch = "linux-i686"; sha256 = "92a28502463e92e6bb9cf7854358c13757222433f9931703a2df4d1ef93bdcbb"; } 66 - { locale = "pa-IN"; arch = "linux-x86_64"; sha256 = "6b61650491252bb441a13b2fa550d9bdd76e6f23a0e5da641fde4372637c451c"; } 67 - { locale = "gd"; arch = "linux-i686"; sha256 = "4d35dfe5c9d66ea8f81fa0e5957152296f9af31968b8ed4975563c480abf2da8"; } 68 - { locale = "gd"; arch = "linux-x86_64"; sha256 = "3647b5345ac4fa5cc6cd301fefbe538d2442110f93cccb5e8eca4227bcbcd661"; } 69 - { locale = "bg"; arch = "linux-i686"; sha256 = "b06afea38900f268b95787c257d960de8c0174f582e51434aa97a9535fac43a4"; } 70 - { locale = "bg"; arch = "linux-x86_64"; sha256 = "c4ae2aebdd91543cf3c64ea25931327f6e8d2113b59d0b2fbb19561b4f935134"; } 71 - { locale = "sv-SE"; arch = "linux-i686"; sha256 = "854d4c53fd22c5c1f4635ed41e7dadc6f0603439380e3d3f15ea7a5db5721941"; } 72 - { locale = "sv-SE"; arch = "linux-x86_64"; sha256 = "64842c6606e2102434ed0b33bcb53d0cdef08e4b55e67e85b3c1244a7dab32d5"; } 73 - { locale = "ja"; arch = "linux-i686"; sha256 = "6632eec0a8bf14a77590fae44113d417589634a97cd0b57ef4ede7623cd5b632"; } 74 - { locale = "ja"; arch = "linux-x86_64"; sha256 = "727c25136106eca05d4c0bbddbe01672decc4a9f55b3246290c1c6e41cbef946"; } 75 - { locale = "pt-BR"; arch = "linux-i686"; sha256 = "986ae49f92e2bab52cc3a4da4f9ca9bce34c01e96126d4fd9fe41d39d16a8ee3"; } 76 - { locale = "pt-BR"; arch = "linux-x86_64"; sha256 = "c208dc5adb8bbe39535ec28836425d66d557d4ebb111aca9c0d025750ad0d3c4"; } 77 - { locale = "is"; arch = "linux-i686"; sha256 = "ee8b101070f820849ec2bde48b76e102cf750bbcee106f47238259bb3cb791bb"; } 78 - { locale = "is"; arch = "linux-x86_64"; sha256 = "19471d5e13856f85fc395b825fb297f88805bba5d1d6c2999c49c4947cc6ed43"; } 79 - { locale = "es-AR"; arch = "linux-i686"; sha256 = "b21ec0c7e2ee24b971828ae02419f06e3d9447c5e30b1c8257a1d8e1b5ac383e"; } 80 - { locale = "es-AR"; arch = "linux-x86_64"; sha256 = "6f8eda76fe19bd590e4f8e23e491edc93b870b72064814eb0d6352c99513397f"; } 81 - { locale = "nn-NO"; arch = "linux-i686"; sha256 = "217a6b195255c841ff42f181aa4fa54bd76a91de61662098d96c4fb9e7d6b79a"; } 82 - { locale = "nn-NO"; arch = "linux-x86_64"; sha256 = "f11ce6f7ef22cb99674668bfcd0f3614a4a9e162f9608fa1290ae26c6c199560"; } 83 - { locale = "sr"; arch = "linux-i686"; sha256 = "85f32820095ee3b50716731b2b369378cf530fd1f3ef3522a5cd55e00fb4ce5e"; } 84 - { locale = "sr"; arch = "linux-x86_64"; sha256 = "d67b98991de46de52f84627ccb7f2888551343eef94a5d7562e587fcd8d968ec"; } 85 - { locale = "si"; arch = "linux-i686"; sha256 = "14914642dc540c6a0fa0df5816eb35b39b822dac4da58a79d9cfe1c3bf7ed1c0"; } 86 - { locale = "si"; arch = "linux-x86_64"; sha256 = "c0421803b2be6704151177c0d13557a9d828e3b3333cd214734e2ed4aafce105"; } 87 - { locale = "ro"; arch = "linux-i686"; sha256 = "9226cd799114fcec9c1b53b403708e62ca9f151d43bb53167b822cd3ca779171"; } 88 - { locale = "ro"; arch = "linux-x86_64"; sha256 = "05e13ad7c9a53a123c3a50e858285f730a4a5ec95e93074cfda990f4466a1c4f"; } 89 - { locale = "it"; arch = "linux-i686"; sha256 = "ed9b4f3bfd457d00792795584bf17bebf4b42967c111cf4f778aa7e88b437407"; } 90 - { locale = "it"; arch = "linux-x86_64"; sha256 = "301dbc22a9af014aeb6f151ac1f6ff67ef667dabe31c5e487681f682bf8d567b"; } 91 - { locale = "pl"; arch = "linux-i686"; sha256 = "9894e91593b3d825d2572af8c520c8be5dd791a267bb056180dc4415d55f4dc1"; } 92 - { locale = "pl"; arch = "linux-x86_64"; sha256 = "0531f815bc4325f150465c753ffe849577931e47eb9528df3b58e666155856f0"; } 93 - { locale = "sk"; arch = "linux-i686"; sha256 = "4633afa9f32f6aa1bc91c1ca2e6d1b5622192c9a82fd4c591e0f6a3095ab0baf"; } 94 - { locale = "sk"; arch = "linux-x86_64"; sha256 = "2121bd74ce76a0ec1734e3171c8da8ac4d935c99f6c16344639ff7e60de9a860"; } 95 - { locale = "vi"; arch = "linux-i686"; sha256 = "d10a856d94c790281500cf1c41683255a858eecc43afaa74819ef2d3559216e9"; } 96 - { locale = "vi"; arch = "linux-x86_64"; sha256 = "964343e1ee3209dea0a90dcb1f5371cb0f949b68e059aa23fe80d53747a4699c"; } 97 - { locale = "rm"; arch = "linux-i686"; sha256 = "f28ce0029dc5fb3212bd020065c2d453d36db53c98df1806f0e4192ef3d8c5da"; } 98 - { locale = "rm"; arch = "linux-x86_64"; sha256 = "fb532732406c8338bfb947e20ee6a95ff1bb18b1d6eadcd7525153393894bdf9"; } 99 - { locale = "ar"; arch = "linux-i686"; sha256 = "5e05b156179978920c4c7ed995ef018ddaa6332c5fe1898d94314412d11567b0"; } 100 - { locale = "ar"; arch = "linux-x86_64"; sha256 = "acba5a042588731e8b1af0dcc7e075577551969d7c1081c23df6feae7f4d107d"; } 101 - { locale = "es-ES"; arch = "linux-i686"; sha256 = "92c6f00a0e014617b5fb53167c821f17f550e8307fcd4af831cde04891f00b40"; } 102 - { locale = "es-ES"; arch = "linux-x86_64"; sha256 = "191c531621e961b25bf8f16c2aad2ac57357d3456f84fc5efb4f7b7e9becc202"; } 103 - { locale = "fi"; arch = "linux-i686"; sha256 = "2f061035a0b6b07bb81d9f84f1bad9a7fd50b0546417fc047102e684683241c5"; } 104 - { locale = "fi"; arch = "linux-x86_64"; sha256 = "ee7b57cfbc15104568e12d0cc81a14118c7b0f2708963fbe2ba8ca7a2ce30a0b"; } 105 - { locale = "hu"; arch = "linux-i686"; sha256 = "a493b0d327f608a815654a74b22f0ab3237b139998b8720c197468fc624754b6"; } 106 - { locale = "hu"; arch = "linux-x86_64"; sha256 = "2b9e87e794e6ac423fd7e6c5500b8a63dc2f8a6a4bdf39de2bbfa5c06a2a8f67"; } 107 - { locale = "zh-CN"; arch = "linux-i686"; sha256 = "d272ea7a87f15a649c8d6089b6a5eac91ca732b760163e36ee6634ac2a186313"; } 108 - { locale = "zh-CN"; arch = "linux-x86_64"; sha256 = "2b71cab0bfd437a6c79125cbe0ccb82bc1fe257c6aa24b0b63c1a8456334e6e0"; } 109 - { locale = "uk"; arch = "linux-i686"; sha256 = "56a04b6a6a27d9eea98bb5539c927870a3a43aaace14d31faf54dd56b8ef128b"; } 110 - { locale = "uk"; arch = "linux-x86_64"; sha256 = "99e33539eff6a48d944f47fc86a98e07ab4395e90e509c050403e70820b11db4"; } 111 - { locale = "ko"; arch = "linux-i686"; sha256 = "4c7a67b83db3c15cb8385ec057eff849e59841d2c6e82f6839f76c747c09fd02"; } 112 - { locale = "ko"; arch = "linux-x86_64"; sha256 = "5e54ad0316c905a2fc137365e34ba24391ec3a12c638f1947d8048b9747b2a21"; } 113 - { locale = "cs"; arch = "linux-i686"; sha256 = "735d14680ba5108d9d422fda161d0cd1cf31ffb2d29d66b33671c58504436290"; } 114 - { locale = "cs"; arch = "linux-x86_64"; sha256 = "031b6f8a2f9a14689e91d887754221a972d4c9aa02807209126aa0d26be18b04"; } 115 - { locale = "be"; arch = "linux-i686"; sha256 = "604db8cb078699262bf01f81a97bb745bda26efdb7e81bdae66ae5fe9f546c48"; } 116 - { locale = "be"; arch = "linux-x86_64"; sha256 = "62a3ed654691720ff2cb2402efb450dcbe395baecd6c20dcba3d45455bfb68d1"; } 117 - { locale = "ru"; arch = "linux-i686"; sha256 = "81b2a2eab496824d109faf49b6df93adc9dce838058f3f70c9e9c99ad251baf3"; } 118 - { locale = "ru"; arch = "linux-x86_64"; sha256 = "6cdf95dd941475554630709d89fb802e8744bae7645ad9164dc2e8af701d195e"; } 119 - { locale = "ta-LK"; arch = "linux-i686"; sha256 = "422f2173eae85a95611ba14a9945aac7b44076764b7c67d2c4198b3e6fe2fad7"; } 120 - { locale = "ta-LK"; arch = "linux-x86_64"; sha256 = "d3d3dfc439bcb26cdb8d8f1ef0a9a24e804a6928aa6ac4f9ea2c0994c3e6e2c4"; } 121 - { locale = "zh-TW"; arch = "linux-i686"; sha256 = "6d0e3db5748fa2bce8ebc3b51098241ba80971afea629836a37e4f84feeb0c85"; } 122 - { locale = "zh-TW"; arch = "linux-x86_64"; sha256 = "4dd79725f91c163cd5a2073d52f3f599c2e0e95281e8235df0a20c9f8717fa07"; } 123 - { locale = "de"; arch = "linux-i686"; sha256 = "7b1fb8c036729ee18507e0c3529cbaf93e8776801fba9bd8c93fa7b56dcf460e"; } 124 - { locale = "de"; arch = "linux-x86_64"; sha256 = "926b0ad5e817af337b2f2f7416f98e935b5a6b90171816207275413c04dffb2c"; } 125 - { locale = "nb-NO"; arch = "linux-i686"; sha256 = "a0c9e3abe9f3835166237a9ee12dffdc1e3255b59a47e3ed0f19ecf5a6f41ba8"; } 126 - { locale = "nb-NO"; arch = "linux-x86_64"; sha256 = "173c030e3bba69c1634587a4032e4d0b49f37e0a94ba75c4deda7f23d25b21cc"; } 127 - { locale = "fy-NL"; arch = "linux-i686"; sha256 = "25f3ca3328c99421db81e4d88b8fe51e913b01430e0db412699b11fef0c81240"; } 128 - { locale = "fy-NL"; arch = "linux-x86_64"; sha256 = "df9f7737dddd56fb233d029c83c46a18470f992bc2b0222b54e1c4c36bde135b"; } 129 - { locale = "sq"; arch = "linux-i686"; sha256 = "181bbb3808b28a5dc170db90db69a99137ce5d49c559c59c4a185b1ee48bea3d"; } 130 - { locale = "sq"; arch = "linux-x86_64"; sha256 = "8b06fb2d2e4027aaa3ca5032823b203f5e2628c7673dd956103636916cf28a32"; } 131 - { locale = "ga-IE"; arch = "linux-i686"; sha256 = "e7679ef7d467aeaa796af37e62a48fb08e60299cdeb6cea07fcbd8253cda7288"; } 132 - { locale = "ga-IE"; arch = "linux-x86_64"; sha256 = "83a4b3a22de8be841be0967cda71dcc05958dddb690b7f90d80f1f6235555a49"; } 133 - { locale = "da"; arch = "linux-i686"; sha256 = "b7db83686a2e9bf5e501ae32b608189af09eca9f4996b975960fcab3a97a10d2"; } 134 - { locale = "da"; arch = "linux-x86_64"; sha256 = "aa081115593e5225f5fb47a9ba5bcd983da1c9e088f1a9f5cea3710afda75cd9"; } 135 - { locale = "hr"; arch = "linux-i686"; sha256 = "99698f7259b1c3fa21600c43aa2a946376547a852e04f5a20478282bdbbb99d8"; } 136 - { locale = "hr"; arch = "linux-x86_64"; sha256 = "bb2958eea731689b4fa48e98604233ef03b4de89107d801f72b12843cbc6fc70"; } 137 - { locale = "ca"; arch = "linux-i686"; sha256 = "988e95cda1b412663bcbf1c1b552ad24b889fdfc30e7228bc47ac7f14aa43b31"; } 138 - { locale = "ca"; arch = "linux-x86_64"; sha256 = "ac1f417ddc5b62f674f86f25a248d1434d996453892b4825ffb38852436d2df5"; } 139 - { locale = "en-US"; arch = "linux-i686"; sha256 = "9209fa7bdada6245717dbfaf517d68cef04719812504bc0c988def6adc7baab5"; } 140 - { locale = "en-US"; arch = "linux-x86_64"; sha256 = "6e2f046dae0a6fa80de190b95667340abcb0ddaddf1ecee813099a89142c56e1"; } 141 - { locale = "pt-PT"; arch = "linux-i686"; sha256 = "f4acc2f18f55d7578555ac0b189aeb834adb6c3911ee665790fe4799774c8fe4"; } 142 - { locale = "pt-PT"; arch = "linux-x86_64"; sha256 = "2dc24f408fc801df266f2b890109c2e7d4a0d47bc2db7f541d371037ffad8ff8"; } 143 - { locale = "gl"; arch = "linux-i686"; sha256 = "b9e89373d2d1b0123095cd45867014f87bc2696093127448e7b7b9cf72d294e6"; } 144 - { locale = "gl"; arch = "linux-x86_64"; sha256 = "191f8f5327e8a7607497b990dce09e6219c444cbe9261fdbf709cdd07d6cd57f"; } 145 - { locale = "lt"; arch = "linux-i686"; sha256 = "80cb0818fce6c8130c9344d3259a7bbc1722c1e7896853d365ad06cc4ccddd82"; } 146 - { locale = "lt"; arch = "linux-x86_64"; sha256 = "347027a7c82330f5bc1989a19afb6dde415c260ad4de6c312bd1bda30d4f7651"; } 147 - { locale = "en-GB"; arch = "linux-i686"; sha256 = "94f2742fd3a88826eab8712e77a503fb340437ed0a2c1657b64f13b8522c0ad6"; } 148 - { locale = "en-GB"; arch = "linux-x86_64"; sha256 = "8319f02f751d0683e5d015d32da3e12c94cb8a8fd27f8cdf5cd583e6e594bdfd"; } 149 - { locale = "sl"; arch = "linux-i686"; sha256 = "076ed4c9c2ed99769e278ed0965ca5da7efd00bc9fb225e36cffb712b7cedca5"; } 150 - { locale = "sl"; arch = "linux-x86_64"; sha256 = "e37bf18f4e32f050ac97b1a20cfa44832d4438524e2ef9c4ca82e7ed8c1307cb"; } 151 - { locale = "et"; arch = "linux-i686"; sha256 = "afc9aef58f08bf8f4b300308a5a4e527ba93e1bae024983063efd82e96c36703"; } 152 - { locale = "et"; arch = "linux-x86_64"; sha256 = "d46257893e5e1f17757f0b53c9201b12bc4e5b27bde1eecb007a858f61c49fab"; } 153 - { locale = "hy-AM"; arch = "linux-i686"; sha256 = "8a1cbc00e4e6cffb3a225d9334e9c2372050203a0cba3b31c6537e02404efedb"; } 154 - { locale = "hy-AM"; arch = "linux-x86_64"; sha256 = "ae17a6fb60f27bb95a11501a061c7ab9deb0a6ba89b17e6cf01394e18710a831"; } 155 ]; 156 157 arch = if stdenv.system == "i686-linux"
··· 40 assert stdenv.isLinux; 41 42 let 43 + version = "31.2.0"; 44 sources = [ 45 + { locale = "tr"; arch = "linux-i686"; sha256 = "02dc838606507040c73ddff4a1b60fec7d6e613aa08da2ce1c76e9c367bc29e5"; } 46 + { locale = "tr"; arch = "linux-x86_64"; sha256 = "a93243ab5b1d64a94bf10833d6b8985a65906d0be24bdcdd7b5babfb1d466bcd"; } 47 + { locale = "nl"; arch = "linux-i686"; sha256 = "d675da8358bf4ed519ee49dcc2c2162075b5e9e0fca244b474322a7614f535da"; } 48 + { locale = "nl"; arch = "linux-x86_64"; sha256 = "4e8f9e3f9fe851dc38deae42443cf884776e1d93abf34ce6963651a85afdc4a9"; } 49 + { locale = "he"; arch = "linux-i686"; sha256 = "8a769559e73abfdb610891a23538ef38df3852ffb39d02cba96e6a8ec914f94a"; } 50 + { locale = "he"; arch = "linux-x86_64"; sha256 = "e53b95914753b8640b69e104fbf5efb2fddcecc17eded23974c08274378105c2"; } 51 + { locale = "bg"; arch = "linux-i686"; sha256 = "60deb9deb678c9e5233d9c0146aa4fc8a74b9ba9b5be43ed8c5a452039b8307d"; } 52 + { locale = "bg"; arch = "linux-x86_64"; sha256 = "73e5c984d5d3fa17f93cb947fd63671fba66bab94117db84e187cb9260500101"; } 53 + { locale = "si"; arch = "linux-i686"; sha256 = "669d825940712d7f10c7303e3e0a0ed9c48e9e5c26b0c035ed58bf8694d5ddc3"; } 54 + { locale = "si"; arch = "linux-x86_64"; sha256 = "e60e048af0c965ac6f2adedb58e192d6d4208bf7f57dcef13b899da04ca14420"; } 55 + { locale = "zh-CN"; arch = "linux-i686"; sha256 = "f5f5b653e17b495c3cb4b1a26b39d3fdbeedb22c8d733cb2f3b6e57d46269949"; } 56 + { locale = "zh-CN"; arch = "linux-x86_64"; sha256 = "653cc18216f5fc156feef73170f903471480612a4de6df4efa3cce79b58fee28"; } 57 + { locale = "ro"; arch = "linux-i686"; sha256 = "5cc87c9c84c205f99dc3fa58be8fedd72b9afccb69c91616f11929e2a7e075fd"; } 58 + { locale = "ro"; arch = "linux-x86_64"; sha256 = "dc6e8f5dd30a7e2dcfebabfcc508de89cde3754c036811df7168f4f1e53c1477"; } 59 + { locale = "ast"; arch = "linux-i686"; sha256 = "653025d1260db10310f8d689cb4554acf7a6388a99bac977b6f59b683d7e5983"; } 60 + { locale = "ast"; arch = "linux-x86_64"; sha256 = "1a4623f94b4c68b6b89ec53c512f860388965dc36f2d06272341a194dc85eef6"; } 61 + { locale = "pl"; arch = "linux-i686"; sha256 = "0e0ae13028d5f65a54398c634ed5b4a6685e2dc84b05121e71a0c0ca7a04053e"; } 62 + { locale = "pl"; arch = "linux-x86_64"; sha256 = "2589909994cfa059d55a75b7d8f756c09f67994034f7f45c7b5b8805302645bf"; } 63 + { locale = "gl"; arch = "linux-i686"; sha256 = "155e79bad6226eb2231a08856415b5e4a15cb02235b0b17ff7c0378c38d2dc93"; } 64 + { locale = "gl"; arch = "linux-x86_64"; sha256 = "688d3c51645061fda283e2d486de1306f0b457149c82cbd20c7c019e76ed98b2"; } 65 + { locale = "ja"; arch = "linux-i686"; sha256 = "90b3bbc31046daada0ce995108fb9542aeb878220579836ed0e5b14088199795"; } 66 + { locale = "ja"; arch = "linux-x86_64"; sha256 = "ebd172d4a74ef757ceace8799c752e34fa0fb41dd5f4083d2aad2df4efd0329b"; } 67 + { locale = "ca"; arch = "linux-i686"; sha256 = "c1502e310fd4b0a682fef147b4f5a97db972ed49916012a145ce6d5c4afd6452"; } 68 + { locale = "ca"; arch = "linux-x86_64"; sha256 = "bac8bfe883d35f3624bae8cd4d831694a8e3f2b319a912ad5007e39483a22e70"; } 69 + { locale = "fr"; arch = "linux-i686"; sha256 = "d0315db23af439e736e02d93d2467c86fe2a186c849aef32e928adb5059fa7fd"; } 70 + { locale = "fr"; arch = "linux-x86_64"; sha256 = "8d5c5c4ac8865ee233ea10d2c4b153bb47cf4df4047dfae9aa7b5722c293e5cc"; } 71 + { locale = "fy-NL"; arch = "linux-i686"; sha256 = "9bbac5b2d4ada74e6cdc8730997d47043d319a79a61636322038584265001fed"; } 72 + { locale = "fy-NL"; arch = "linux-x86_64"; sha256 = "ac828318d8ce07332af73b3146f77825e51e8df8e858c0596589dbdfb2c8718f"; } 73 + { locale = "sl"; arch = "linux-i686"; sha256 = "16276607ffd4fa9fac4077cfc6da91ced5d5a4b08d804726d9d4b7e870cc25f2"; } 74 + { locale = "sl"; arch = "linux-x86_64"; sha256 = "7e1c2f2aaa973b7a19518c62beb43130d7fb95d4c5aecd3370d7ab2fb59f37c5"; } 75 + { locale = "be"; arch = "linux-i686"; sha256 = "48b27779e6ee95971d72a6be14e69ac1e724f5450126ad2627a9b2f0511b663c"; } 76 + { locale = "be"; arch = "linux-x86_64"; sha256 = "ebd551829f7a66b47a82cad5db79a27126719af71ada250dbaedf292077e9c8e"; } 77 + { locale = "ko"; arch = "linux-i686"; sha256 = "8f92e772ce7c54d6210c83fee257c9cc0b2a3542f41ac2059ea377c64d4f59ed"; } 78 + { locale = "ko"; arch = "linux-x86_64"; sha256 = "b2cec9901318ec0754e8caca2d56e6e4d08deb4aa21db7fb04c555062b84b9be"; } 79 + { locale = "hr"; arch = "linux-i686"; sha256 = "c5a1da56142398fc79b6d356d600f8228b0a4f1ac40d04df4ff5c25564b77a6f"; } 80 + { locale = "hr"; arch = "linux-x86_64"; sha256 = "5d0308e1c08960a26ac3328eb5be4c237e2320a38a6db077186f1d1a278feb8d"; } 81 + { locale = "nn-NO"; arch = "linux-i686"; sha256 = "d0abb5c4657a4a04999a44f96d00271e8dc3ad79ae0e78cf4b820fc2fd29b266"; } 82 + { locale = "nn-NO"; arch = "linux-x86_64"; sha256 = "fdde99be62fe6a911711e1ba69a2babcdba53216a5942494ab7e52cada8bf893"; } 83 + { locale = "vi"; arch = "linux-i686"; sha256 = "d0420a7ccd8f4fcd7f56497636baa701c71576d3b88440b609cbb3ebf245d4e4"; } 84 + { locale = "vi"; arch = "linux-x86_64"; sha256 = "5657eb2a99f7c2cf32297bbb45fab4c0eb2dd48ba4ba98487beed18aa5e85ada"; } 85 + { locale = "es-AR"; arch = "linux-i686"; sha256 = "fe60d3b13e964bd99730e8082b742729084e87f6a285deb8cd2383dccf881f1c"; } 86 + { locale = "es-AR"; arch = "linux-x86_64"; sha256 = "76faee1fd8da11731ece128832997de0f10501040921e6abb46fc0ae4922d568"; } 87 + { locale = "el"; arch = "linux-i686"; sha256 = "c1ad068c565abb7b3f16c843f6974fcec6f46714c3f9afb193d10ffa3773cbff"; } 88 + { locale = "el"; arch = "linux-x86_64"; sha256 = "b5cd4fb82525b67ef199b9eadaebe25f70a29e1dc43b2ad0f0074bf7d01a05f0"; } 89 + { locale = "is"; arch = "linux-i686"; sha256 = "195cb61263c4c01c345a5effcb5f4f6741a1ee10f716006a614d55721b013e48"; } 90 + { locale = "is"; arch = "linux-x86_64"; sha256 = "42447cb7c7689623a34607a0aa1a9866552756576932d45a4721c5fe8541070f"; } 91 + { locale = "ru"; arch = "linux-i686"; sha256 = "6c0f45046e4d1910a20e245f0b69af5b4fb2a9507abd99217bffe68bf213061e"; } 92 + { locale = "ru"; arch = "linux-x86_64"; sha256 = "408f3b38fc416cc12640af0928fbea1506eae3f4a65b6b3b889bca54bb0a1521"; } 93 + { locale = "pt-BR"; arch = "linux-i686"; sha256 = "330f4546fe50d717fc66b8417405d3c1eef8ca4f312b21563c426739eee4724a"; } 94 + { locale = "pt-BR"; arch = "linux-x86_64"; sha256 = "283d3e581ebb84059985aad40f72338a77b068e27b8247e0ac16b915ed16f797"; } 95 + { locale = "hy-AM"; arch = "linux-i686"; sha256 = "8068738dbfc0ed5f5a08b1b4a65a5e9e1ac780de43fc5f27c269dcd5e9998f97"; } 96 + { locale = "hy-AM"; arch = "linux-x86_64"; sha256 = "a101856b6151cae9d33a909d1a0fc11eb26439ca161db55dc262bf86bb457c29"; } 97 + { locale = "sk"; arch = "linux-i686"; sha256 = "5a790cc811d8e392daa83b11feb232092ab97dc8c9fc0bb47b4013751a30f76e"; } 98 + { locale = "sk"; arch = "linux-x86_64"; sha256 = "7842ceeab524c98387ca6319735bf7c331d34bcfde395078cc32c443e69962ef"; } 99 + { locale = "sr"; arch = "linux-i686"; sha256 = "06ded63a3d09af09ac68b318f79f07e924addb30d4c11903b6a86ba3ef476761"; } 100 + { locale = "sr"; arch = "linux-x86_64"; sha256 = "53a99f98398b2044866422ca44b496d489c0b78724f28afb4f919eca656d528a"; } 101 + { locale = "en-US"; arch = "linux-i686"; sha256 = "4c4da90f383d7b43e97e471656a6cfbbd44d1b80d57b8b2405497678aced46b5"; } 102 + { locale = "en-US"; arch = "linux-x86_64"; sha256 = "41ff22bc9a41aa0e71deebce4894e99f3e3737a57279a1488bf9d2f869cd56ad"; } 103 + { locale = "es-ES"; arch = "linux-i686"; sha256 = "e11451297f17febcf0057ae02dc15a298aacc865146e1aac363300dac6de57c5"; } 104 + { locale = "es-ES"; arch = "linux-x86_64"; sha256 = "0e5d389a2c5b673b423dd2afad375eb6a7e05c8eb0b07ceb4975d658827d6cf5"; } 105 + { locale = "gd"; arch = "linux-i686"; sha256 = "5fc40508e7a6228065084fc91431af3b9231c6ce46ae3e88ef249ad67bf1b545"; } 106 + { locale = "gd"; arch = "linux-x86_64"; sha256 = "ef365e27b05f4bd0c8211ed9e54ecfa4983111be74261303870a8d22e6093c08"; } 107 + { locale = "fi"; arch = "linux-i686"; sha256 = "9461f7d3953dc6aa5c9d2406331138a5e34d114eb5b48b09b562dade25a38ab7"; } 108 + { locale = "fi"; arch = "linux-x86_64"; sha256 = "6a0310cc0e0a5d9e1590c735e91e8c1bb85358687f4a6a59219de05bb0cf9d1d"; } 109 + { locale = "de"; arch = "linux-i686"; sha256 = "b4fd29c1bd06c5d6b85aeb6434746f1fa0af627c5795ce2ebc7d3dddcf78e9e6"; } 110 + { locale = "de"; arch = "linux-x86_64"; sha256 = "b24afec0b5de5e872848dfcd609f1cf81fe2eed96cc9ee1a5f17fd1b68750d34"; } 111 + { locale = "sq"; arch = "linux-i686"; sha256 = "a78274174c8c26426d9f7e85589f6143f47fab9ce8eb9bbb91fc6c9444c1470d"; } 112 + { locale = "sq"; arch = "linux-x86_64"; sha256 = "18c6ee5a732d777d9326593a4edfc30f11acdfef2397aa55c436d54a99de9c3a"; } 113 + { locale = "sv-SE"; arch = "linux-i686"; sha256 = "3e12328500db45ecfb4572c3cad8b75a46d930ec57a426c8fbe6dd8e033f3cfc"; } 114 + { locale = "sv-SE"; arch = "linux-x86_64"; sha256 = "a76f785c8c0b17f3962a94d4cee5bce9be7b91fd2805133f490ad516ba2d5ad8"; } 115 + { locale = "hu"; arch = "linux-i686"; sha256 = "72e1d888516119a6aa21d077fbe8faefc5cf13e8e422ae26aeed4416700f16af"; } 116 + { locale = "hu"; arch = "linux-x86_64"; sha256 = "962f0b046ab3f385348022d78ffffdae6137b351c5031453f62b5fa1dd44a9b3"; } 117 + { locale = "nb-NO"; arch = "linux-i686"; sha256 = "b5b11886e19a03e219bb803c7853bded9c5e4a2cde0a33abba4c0665a44ec8f4"; } 118 + { locale = "nb-NO"; arch = "linux-x86_64"; sha256 = "faa18298e02ecd0eca77f4e68e88ebb91ca8ea3abb6241f53d82e1db7db95076"; } 119 + { locale = "cs"; arch = "linux-i686"; sha256 = "03b23597d55f1db442f8147bcff7108e3b520e0b5d05d819df07915ba6baa35f"; } 120 + { locale = "cs"; arch = "linux-x86_64"; sha256 = "3dea9adb367958babb54dce3102d43d316088aa6140101d18a59cda20522d78f"; } 121 + { locale = "br"; arch = "linux-i686"; sha256 = "7b1814286847188ca68b3f24457b3a6ee5cd967833bf789104db0fedd2993941"; } 122 + { locale = "br"; arch = "linux-x86_64"; sha256 = "7605776d4a72d82fc65280df0cf9812f134a1dc790e0f60f089f287f38ed5db0"; } 123 + { locale = "pt-PT"; arch = "linux-i686"; sha256 = "da8177ab1912d5a0047dd2f6848a421c8fe32d39bacb64e76e0633ddaca5f4de"; } 124 + { locale = "pt-PT"; arch = "linux-x86_64"; sha256 = "60b1c2f1f209c5e16c6f29c0a5bcaf46c04bb2ae289925761193387ae65fe18d"; } 125 + { locale = "rm"; arch = "linux-i686"; sha256 = "29e073a8068f7d060cf2818d85d465df3f606aba95e867dc9aa67533d09e4b55"; } 126 + { locale = "rm"; arch = "linux-x86_64"; sha256 = "8d8ac419650a9cd0b138aa823dcfb67e47f8522a5d51625090c26c45a5c577a7"; } 127 + { locale = "lt"; arch = "linux-i686"; sha256 = "9d537ff70f06a5189296a99126a57ab8664266ec2da673671e60e97678d3ed9d"; } 128 + { locale = "lt"; arch = "linux-x86_64"; sha256 = "77f30fb2b94fa7cb690c5c0f2fff0ec89c1aa8f8915891d17a66357ddd10d462"; } 129 + { locale = "eu"; arch = "linux-i686"; sha256 = "1b613c1cf303a65c3065fc3edf15c6a051c1a7e347512e39cce425ef02828c3c"; } 130 + { locale = "eu"; arch = "linux-x86_64"; sha256 = "a02a04bc88efca8523b4af8e4962b205ad13d9eb9879405db57356966b12202b"; } 131 + { locale = "it"; arch = "linux-i686"; sha256 = "baede1707cca4ff149956884f855fa0077c372275f6be6f59d32e47cc6509b5b"; } 132 + { locale = "it"; arch = "linux-x86_64"; sha256 = "e49f0b02d323e2f83d0da2a5ec2e4585693362545e50bfba51e273d0edf52813"; } 133 + { locale = "id"; arch = "linux-i686"; sha256 = "31691ec0b51d19bdab2efe2ab1813bd3363e71ad62bc4f5a860e017516509ad5"; } 134 + { locale = "id"; arch = "linux-x86_64"; sha256 = "c6241fb8cd1d83ac5753518c2cc215ee831fa24b816a5a522029d14cea24b15b"; } 135 + { locale = "da"; arch = "linux-i686"; sha256 = "aa6c91c15ff9f1769d727883c17720a2732ede4b786c4bff7d42fe25c129246b"; } 136 + { locale = "da"; arch = "linux-x86_64"; sha256 = "b940f8ab5b2ad50faedc4520f4a7bd5936debfd70b2fa86b2abf955a22557b20"; } 137 + { locale = "ta-LK"; arch = "linux-i686"; sha256 = "cc70eb04cbab5bcd674e40c4d58760c07353726c968f766fc749fcd7154fddd9"; } 138 + { locale = "ta-LK"; arch = "linux-x86_64"; sha256 = "948172b68287b1cd8a1d7a32b3e7fd5494390aefea1683cbad34f12ba5d241a7"; } 139 + { locale = "uk"; arch = "linux-i686"; sha256 = "6b45d36abc8fe1c731baf855866000ffa08671d025ab97b5301b22079765d70c"; } 140 + { locale = "uk"; arch = "linux-x86_64"; sha256 = "9d619639157c645bc34628b7c31ccfb4e8223b891cf8e99118e7b767f7f5e24b"; } 141 + { locale = "zh-TW"; arch = "linux-i686"; sha256 = "a9176628228c3f3e07d2929caa872b4a24d9f620de79a148c01f0716c9dd058f"; } 142 + { locale = "zh-TW"; arch = "linux-x86_64"; sha256 = "f067e1f516d639b2cc997019a39b568d6377437d2d6810fb87d23a64e72995a0"; } 143 + { locale = "ar"; arch = "linux-i686"; sha256 = "7b016747c9e9066a8e4383303ee22e600d3b00716c53755c95067dc8b6267046"; } 144 + { locale = "ar"; arch = "linux-x86_64"; sha256 = "f798804c9aa0eb8fd9cde80acf8a2ebc3b4855588ff14092da935cd77bbc660a"; } 145 + { locale = "en-GB"; arch = "linux-i686"; sha256 = "7a19e07c52de321f8f182bd14fdaf137b120167d9d2ab4929476f7cf9a94a744"; } 146 + { locale = "en-GB"; arch = "linux-x86_64"; sha256 = "b66b2ff31cc778f52ce9e987f38a93f973c04dacbf04559b1872537a083cb98e"; } 147 + { locale = "ga-IE"; arch = "linux-i686"; sha256 = "7599ba2b65fcac92464c2ee480c4c823cd0f35661fa30982575e6f87069d3e58"; } 148 + { locale = "ga-IE"; arch = "linux-x86_64"; sha256 = "e81f157f75f2eb94f28dc7f2da5c1d0fbb8f8077c28c3afdb2144dd906ce773f"; } 149 + { locale = "bn-BD"; arch = "linux-i686"; sha256 = "bdcafd77469b70a8e02cacab63503e4ba085e3b4230e012313f743a130448cb1"; } 150 + { locale = "bn-BD"; arch = "linux-x86_64"; sha256 = "2f57c5353e75ec9dd56abf4c4f197af64648e3e2e927b7c868db6f664abb2e14"; } 151 + { locale = "pa-IN"; arch = "linux-i686"; sha256 = "f9d8a77df3e4718260e9235ce09008a224e02bde12efe5a88c9341432637f0c4"; } 152 + { locale = "pa-IN"; arch = "linux-x86_64"; sha256 = "46a4ae81ecd6fb22aed54a0ca40ddf292adc94b37b38a57e9ab64f5bed8b0a39"; } 153 + { locale = "et"; arch = "linux-i686"; sha256 = "f03136ad26eb1d5ead82e26e8620e3cd1b7f30ceb552329d008a33bcb2e930c4"; } 154 + { locale = "et"; arch = "linux-x86_64"; sha256 = "d2e446dea1db14210da9e1556614a92954c61ce00b24958ea4c2a61b597c0b13"; } 155 ]; 156 157 arch = if stdenv.system == "i686-linux"
+9 -9
pkgs/applications/networking/newsreaders/slrn/default.nix
··· 1 - { stdenv, fetchurl, 2 - slang, ncurses 3 - }: 4 5 - let version = "1.0.1"; in 6 7 stdenv.mkDerivation { 8 name = "slrn-${version}"; 9 10 src = fetchurl { 11 - url = "http://www.jedsoft.org/slrn/download/slrn-1.0.1.tar.gz"; 12 - sha256 = "1rmaprfwvshzkv0c5vi43839cz3laqjpl306b9z0ghwyjdha1d06"; 13 }; 14 15 preConfigure = '' ··· 23 24 buildInputs = [ slang ncurses ]; 25 26 - meta = { 27 - description = "Text-based newsreader"; 28 homepage = http://slrn.sourceforge.net/index.html; 29 - license = stdenv.lib.licenses.gpl2; 30 }; 31 }
··· 1 + { stdenv, fetchurl 2 + , slang, ncurses }: 3 4 + let version = "1.0.2"; in 5 6 stdenv.mkDerivation { 7 name = "slrn-${version}"; 8 9 src = fetchurl { 10 + url = "http://www.jedsoft.org/releases/slrn/slrn-${version}.tar.gz"; 11 + sha256 = "1gn6m2zha2nnnrh9lz3m3nrqk6fgfij1wc53pg25j7sdgvlziv12"; 12 }; 13 14 preConfigure = '' ··· 22 23 buildInputs = [ slang ncurses ]; 24 25 + meta = with stdenv.lib; { 26 + description = "The slrn (S-Lang read news) newsreader"; 27 homepage = http://slrn.sourceforge.net/index.html; 28 + maintainers = with maintainers; [ emery ]; 29 + license = licenses.gpl2; 30 }; 31 }
+47
pkgs/applications/networking/remote/teamviewer/9.nix
···
··· 1 + { stdenv, fetchurl, libX11, libXtst, libXext, libXdamage, libXfixes, wineUnstable, makeWrapper, libXau 2 + , bash, patchelf }: 3 + 4 + let 5 + topath = "${wineUnstable}/bin"; 6 + 7 + toldpath = stdenv.lib.concatStringsSep ":" (map (x: "${x}/lib") 8 + [ stdenv.gcc.gcc libX11 libXtst libXext libXdamage libXfixes wineUnstable ]); 9 + in 10 + stdenv.mkDerivation { 11 + name = "teamviewer-9.0.32150"; 12 + src = fetchurl { 13 + url = "http://download.teamviewer.com/download/version_9x/teamviewer_linux_x64.deb"; 14 + sha256 = "0wpwbx0xzn3vlzavszxhfvfcaj3pijlpwvlz5m7w19mb6cky3q13"; 15 + }; 16 + 17 + buildInputs = [ makeWrapper patchelf ]; 18 + 19 + unpackPhase = '' 20 + ar x $src 21 + tar xf data.tar.gz 22 + ''; 23 + 24 + installPhase = '' 25 + mkdir -p $out/share/teamviewer9 $out/bin 26 + cp -a opt/teamviewer9/* $out/share/teamviewer9 27 + rm -R $out/share/teamviewer9/tv_bin/wine/{bin,lib,share} 28 + 29 + cat > $out/bin/teamviewer << EOF 30 + #!${bash}/bin/sh 31 + export LD_LIBRARY_PATH=${toldpath}\''${LD_LIBRARY_PATH:+:\$LD_LIBRARY_PATH} 32 + export PATH=${topath}\''${PATH:+:\$PATH} 33 + $out/share/teamviewer9/tv_bin/script/teamviewer "\$@" 34 + EOF 35 + chmod +x $out/bin/teamviewer 36 + 37 + patchelf --set-rpath "${stdenv.gcc.gcc}/lib64:${stdenv.gcc.gcc}/lib:${libX11}/lib:${libXext}/lib:${libXau}/lib:${libXdamage}/lib:${libXfixes}/lib" $out/share/teamviewer9/tv_bin/teamviewerd 38 + patchelf --set-interpreter "$(cat $NIX_GCC/nix-support/dynamic-linker)" $out/share/teamviewer9/tv_bin/teamviewerd 39 + ln -s $out/share/teamviewer9/tv_bin/teamviewerd $out/bin/ 40 + ''; 41 + 42 + meta = { 43 + homepage = "http://www.teamviewer.com"; 44 + license = stdenv.lib.licenses.unfree; 45 + description = "Desktop sharing application, providing remote support and online meetings"; 46 + }; 47 + }
+5 -6
pkgs/applications/science/electronics/qucs/default.nix
··· 1 - {stdenv, fetchurl, qt3, libX11}: 2 3 stdenv.mkDerivation rec { 4 - name = "qucs-0.0.16"; 5 6 src = fetchurl { 7 url = "mirror://sourceforge/qucs/${name}.tar.gz"; 8 - sha256 = "1h8ba84k06rix5zl5p9p414zj2facbnlf1vxwh4a1sp4h9dbfnzy"; 9 }; 10 11 - patches = [ ./tr1-complex.patch ]; 12 - patchFlags = "-p0"; 13 14 - buildInputs = [ qt3 libX11 ]; 15 16 meta = { 17 description = "Integrated circuit simulator";
··· 1 + {stdenv, fetchurl, flex, bison, qt4, libX11 }: 2 3 stdenv.mkDerivation rec { 4 + name = "qucs-0.0.18"; 5 6 src = fetchurl { 7 url = "mirror://sourceforge/qucs/${name}.tar.gz"; 8 + sha256 = "3609a18b57485dc9f19886ac6694667f3251702175bd1cbbbea37981b2c482a7"; 9 }; 10 11 + QTDIR=qt4; 12 13 + buildInputs = [ flex bison qt4 libX11 ]; 14 15 meta = { 16 description = "Integrated circuit simulator";
+51
pkgs/applications/science/logic/acgtk/default.nix
···
··· 1 + { stdenv, fetchurl, ocaml, findlib, dypgen, bolt, ansiterminal, 2 + buildBytecode ? true, 3 + buildNative ? true, 4 + installExamples ? true, 5 + installEmacsMode ? true }: 6 + 7 + let inherit (stdenv.lib) getVersion versionAtLeast 8 + optionals optionalString; in 9 + 10 + assert versionAtLeast (getVersion ocaml) "3.07"; 11 + assert versionAtLeast (getVersion dypgen) "20080925"; 12 + assert versionAtLeast (getVersion bolt) "1.4"; 13 + 14 + assert buildBytecode || buildNative; 15 + 16 + stdenv.mkDerivation { 17 + 18 + name = "acgtk-1.1"; 19 + 20 + src = fetchurl { 21 + url = "http://www.loria.fr/equipes/calligramme/acg/software/acg-1.1-20140905.tar.gz"; 22 + sha256 = "1k1ldqg34bwmgdpmi9gry9czlsk85ycjxnkd25fhlf3mmgg4n9p6"; 23 + }; 24 + 25 + buildInputs = [ ocaml findlib dypgen bolt ansiterminal ]; 26 + 27 + patches = [ ./install-emacs-to-site-lisp.patch 28 + ./use-nix-ocaml-byteflags.patch ]; 29 + 30 + # The bytecode executable is dependent on the dynamic library provided by 31 + # ANSITerminal. We can use the -dllpath flag of ocamlc (analogous to 32 + # -rpath) to make sure that ocamlrun is able to link the library at 33 + # runtime and that Nix detects a runtime dependency. 34 + NIX_OCAML_BYTEFLAGS = "-dllpath ${ansiterminal}/lib/ocaml/${getVersion ocaml}/site-lib/ANSITerminal"; 35 + 36 + buildFlags = optionalString buildBytecode "byte" 37 + + " " 38 + + optionalString buildNative "opt"; 39 + 40 + installTargets = "install" 41 + + " " + optionalString installExamples "install-examples" 42 + + " " + optionalString installEmacsMode "install-emacs"; 43 + 44 + meta = with stdenv.lib; { 45 + homepage = "http://www.loria.fr/equipes/calligramme/acg"; 46 + description = "A toolkit for developing ACG signatures and lexicon"; 47 + license = licenses.cecill20; 48 + platforms = ocaml.meta.platforms; 49 + maintainers = [ maintainers.jirkamarsik ]; 50 + }; 51 + }
+23
pkgs/applications/science/logic/acgtk/install-emacs-to-site-lisp.patch
···
··· 1 + --- acg-1.1-20140905/Makefile.in 2014-10-24 15:21:39.442287208 +0200 2 + +++ acg-1.1-20140905/Makefile.in.new 2014-10-24 15:24:58.557117228 +0200 3 + @@ -35,6 +35,7 @@ 4 + ACGC_DIR=src/acg-data 5 + 6 + DATA_DIR=@datarootdir@/acgtk 7 + +EMACS_DIR=@prefix@/share/emacs/site-lisp 8 + 9 + 10 + 11 + @@ -82,10 +83,10 @@ 12 + rm -r $(DATA_DIR) 13 + 14 + install-emacs: 15 + - mkdir -p $(DATA_DIR) && cp -r emacs $(DATA_DIR)/. 16 + + mkdir -p $(EMACS_DIR) && cp emacs/acg.el $(EMACS_DIR) 17 + 18 + uninstall-emacs: 19 + - rm -rf $(DATA_DIR)/emacs 20 + + rm -rf $(EMACS_DIR)/emacs 21 + 22 + install-examples: 23 + mkdir -p $(DATA_DIR) && cp -r examples $(DATA_DIR)/.
+11
pkgs/applications/science/logic/acgtk/use-nix-ocaml-byteflags.patch
···
··· 1 + --- acg-1.1-20140905/src/Makefile.master.in 2014-10-27 10:59:42.263382081 +0100 2 + +++ acg-1.1-20140905/src/Makefile.master.in.new 2014-10-27 10:59:59.683597972 +0100 3 + @@ -23,7 +23,7 @@ 4 + # All warnings are treated as errors 5 + WARNINGS = @OCAML09WARNINGS@ -warn-error A 6 + COMMONFLAGS= $(WARNINGS) @TYPES@ 7 + -BYTEFLAGS = $(COMMONFLAGS) $(DEBUGFLAG) 8 + +BYTEFLAGS = $(COMMONFLAGS) $(DEBUGFLAG) $(NIX_OCAML_BYTEFLAGS) 9 + OPTFLAGS = $(COMMONFLAGS) 10 + LFLAGS= -a 11 +
+2 -2
pkgs/applications/version-management/git-and-tools/git-annex/default.nix
··· 17 18 cabal.mkDerivation (self: { 19 pname = "git-annex"; 20 - version = "5.20141013"; 21 - sha256 = "1p2hvw2x0rm9nhk176mzwisl75xphqxv7mhd43mvwlb3q9f57lnc"; 22 isLibrary = false; 23 isExecutable = true; 24 buildDepends = [
··· 17 18 cabal.mkDerivation (self: { 19 pname = "git-annex"; 20 + version = "5.20141024"; 21 + sha256 = "065b181m76a9w3jznrmb087gccwnpgmyzyndgf8krg28g85y0bq5"; 22 isLibrary = false; 23 isExecutable = true; 24 buildDepends = [
+2 -2
pkgs/applications/version-management/git-and-tools/git/default.nix
··· 10 11 let 12 13 - version = "2.1.2"; 14 15 svn = subversionClient.override { perlBindings = true; }; 16 ··· 21 22 src = fetchurl { 23 url = "https://www.kernel.org/pub/software/scm/git/git-${version}.tar.xz"; 24 - sha256 = "12x1qycc0rii6fqpiizp9v9ysdmj6lpi9imqqbrkdx6cifbwh9vv"; 25 }; 26 27 patches = [ ./docbook2texi.patch ./symlinks-in-bin.patch ./cert-path.patch ];
··· 10 11 let 12 13 + version = "2.1.3"; 14 15 svn = subversionClient.override { perlBindings = true; }; 16 ··· 21 22 src = fetchurl { 23 url = "https://www.kernel.org/pub/software/scm/git/git-${version}.tar.xz"; 24 + sha256 = "0mvgvr2hz25p49dhhizcw9591f2h17y2699mpmndis3kzap0c6zy"; 25 }; 26 27 patches = [ ./docbook2texi.patch ./symlinks-in-bin.patch ./cert-path.patch ];
+3 -1
pkgs/applications/video/makemkv/builder.sh
··· 4 lib=" \ 5 makemkv-oss-${ver}/out/libdriveio.so.0 \ 6 makemkv-oss-${ver}/out/libmakemkv.so.1 \ 7 " 8 9 bin=" \ ··· 16 17 ( 18 cd makemkv-oss-${ver} 19 - make -f makefile.linux 20 ) 21 22 chmod +x ${bin}
··· 4 lib=" \ 5 makemkv-oss-${ver}/out/libdriveio.so.0 \ 6 makemkv-oss-${ver}/out/libmakemkv.so.1 \ 7 + makemkv-oss-${ver}/out/libmmbd.so.0 \ 8 " 9 10 bin=" \ ··· 17 18 ( 19 cd makemkv-oss-${ver} 20 + ./configure --prefix=$out 21 + make 22 ) 23 24 chmod +x ${bin}
+5 -5
pkgs/applications/video/makemkv/default.nix
··· 1 { stdenv, fetchurl 2 - , openssl, qt4, mesa, zlib 3 }: 4 5 stdenv.mkDerivation rec { 6 name = "makemkv-${ver}"; 7 - ver = "1.8.0"; 8 builder = ./builder.sh; 9 10 src_bin = fetchurl { 11 url = "http://www.makemkv.com/download/makemkv-bin-${ver}.tar.gz"; 12 - sha256 = "1f465rdv5ibnh5hnfmvmlid0yyzkansjw8l1mi5qd3bc6ca4k30c"; 13 }; 14 15 src_oss = fetchurl { 16 url = "http://www.makemkv.com/download/makemkv-oss-${ver}.tar.gz"; 17 - sha256 = "0kj1mpkzz2cvi0ibdgdzfwbh9k2jfj3ra5m3hd7iyc5ng21v4sk3"; 18 }; 19 20 - buildInputs = [openssl qt4 mesa zlib]; 21 22 libPath = stdenv.lib.makeLibraryPath [stdenv.gcc.gcc openssl mesa qt4 zlib ] 23 + ":" + stdenv.gcc.gcc + "/lib64";
··· 1 { stdenv, fetchurl 2 + , openssl, qt4, mesa, zlib, pkgconfig, libav 3 }: 4 5 stdenv.mkDerivation rec { 6 name = "makemkv-${ver}"; 7 + ver = "1.8.14"; 8 builder = ./builder.sh; 9 10 src_bin = fetchurl { 11 url = "http://www.makemkv.com/download/makemkv-bin-${ver}.tar.gz"; 12 + sha256 = "1kjxawqh6xnjcgvaqy7idg8k0g3zqrr1w5r2r3bf11pg0h1ys5l5"; 13 }; 14 15 src_oss = fetchurl { 16 url = "http://www.makemkv.com/download/makemkv-oss-${ver}.tar.gz"; 17 + sha256 = "0cq3h45yyqma0kzi594dz0gbgjf3gyjcgxkiynifz3hacrbxbnd5"; 18 }; 19 20 + buildInputs = [openssl qt4 mesa zlib pkgconfig libav]; 21 22 libPath = stdenv.lib.makeLibraryPath [stdenv.gcc.gcc openssl mesa qt4 zlib ] 23 + ":" + stdenv.gcc.gcc + "/lib64";
+2 -2
pkgs/applications/video/mkvtoolnix/default.nix
··· 15 }: 16 17 stdenv.mkDerivation rec { 18 - version = "7.2.0"; 19 name = "mkvtoolnix-${version}"; 20 21 src = fetchurl { 22 url = "http://www.bunkus.org/videotools/mkvtoolnix/sources/${name}.tar.xz"; 23 - sha256 = "1bpmd37y2v4icv9iqjv3p4kr62jbdng2ar8vpiij3bdgwrjc6gv1"; 24 }; 25 26 buildInputs = [
··· 15 }: 16 17 stdenv.mkDerivation rec { 18 + version = "7.3.0"; 19 name = "mkvtoolnix-${version}"; 20 21 src = fetchurl { 22 url = "http://www.bunkus.org/videotools/mkvtoolnix/sources/${name}.tar.xz"; 23 + sha256 = "086lg64pki6mz00h0a735hgvz4347zbcp3wz384sigqndn99zc1c"; 24 }; 25 26 buildInputs = [
+2 -2
pkgs/applications/video/mpv/default.nix
··· 58 59 stdenv.mkDerivation rec { 60 name = "mpv-${version}"; 61 - version = "0.5.4"; 62 63 src = fetchurl { 64 url = "https://github.com/mpv-player/mpv/archive/v${version}.tar.gz"; 65 - sha256 = "1n992nvylnh27jc6425daasq0nsxjfc1mxhhlhvlwzxm724x94xp"; 66 }; 67 68 buildInputs = with stdenv.lib;
··· 58 59 stdenv.mkDerivation rec { 60 name = "mpv-${version}"; 61 + version = "0.6.1"; 62 63 src = fetchurl { 64 url = "https://github.com/mpv-player/mpv/archive/v${version}.tar.gz"; 65 + sha256 = "03vzsvvb1dvm4rn70m97fdbzhlqj9crk7zpvcp00bcl956xjfc9s"; 66 }; 67 68 buildInputs = with stdenv.lib;
+6 -2
pkgs/applications/video/xbmc/default.nix
··· 24 # TODO: librtmp 25 , libvdpau ? null, vdpauSupport ? true 26 , pulseaudio ? null, pulseSupport ? true 27 }: 28 29 assert dbusSupport -> dbus_libs != null; ··· 32 assert sambaSupport -> samba != null; 33 assert vdpauSupport -> libvdpau != null && ffmpeg.vdpauSupport; 34 assert pulseSupport -> pulseaudio != null; 35 36 stdenv.mkDerivation rec { 37 name = "xbmc-13.2"; ··· 65 ++ lib.optional usbSupport libusb 66 ++ lib.optional sambaSupport samba 67 ++ lib.optional vdpauSupport libvdpau 68 - ++ lib.optional pulseSupport pulseaudio; 69 70 dontUseCmakeConfigure = true; 71 ··· 91 --prefix LD_LIBRARY_PATH ":" "${curl}/lib" \ 92 --prefix LD_LIBRARY_PATH ":" "${systemd}/lib" \ 93 --prefix LD_LIBRARY_PATH ":" "${libmad}/lib" \ 94 - --prefix LD_LIBRARY_PATH ":" "${libvdpau}/lib" 95 done 96 ''; 97
··· 24 # TODO: librtmp 25 , libvdpau ? null, vdpauSupport ? true 26 , pulseaudio ? null, pulseSupport ? true 27 + , libcec ? null, cecSupport ? true 28 }: 29 30 assert dbusSupport -> dbus_libs != null; ··· 33 assert sambaSupport -> samba != null; 34 assert vdpauSupport -> libvdpau != null && ffmpeg.vdpauSupport; 35 assert pulseSupport -> pulseaudio != null; 36 + assert cecSupport -> libcec != null; 37 38 stdenv.mkDerivation rec { 39 name = "xbmc-13.2"; ··· 67 ++ lib.optional usbSupport libusb 68 ++ lib.optional sambaSupport samba 69 ++ lib.optional vdpauSupport libvdpau 70 + ++ lib.optional pulseSupport pulseaudio 71 + ++ lib.optional cecSupport libcec; 72 73 dontUseCmakeConfigure = true; 74 ··· 94 --prefix LD_LIBRARY_PATH ":" "${curl}/lib" \ 95 --prefix LD_LIBRARY_PATH ":" "${systemd}/lib" \ 96 --prefix LD_LIBRARY_PATH ":" "${libmad}/lib" \ 97 + --prefix LD_LIBRARY_PATH ":" "${libvdpau}/lib" \ 98 + --prefix LD_LIBRARY_PATH ":" "${libcec}/lib" 99 done 100 ''; 101
+41
pkgs/applications/video/zdfmediathk/default.nix
···
··· 1 + { stdenv, fetchurl, unzip, jre }: 2 + 3 + with stdenv; 4 + 5 + mkDerivation rec { 6 + 7 + version = "8"; 8 + name = "zdfmediathk"; 9 + src = fetchurl { 10 + url = "http://downloads.sourceforge.net/project/zdfmediathk/Mediathek/Mediathek%208/MediathekView_${version}.zip"; 11 + sha256 = "1sglzk8zh6cyijyw82k49yqzjv0ywglp03w09s7wr4mzk48mfjj9"; 12 + }; 13 + 14 + buildInputs = [ unzip ]; 15 + 16 + unpackPhase = "unzip $src"; 17 + 18 + installPhase = '' 19 + mkdir -p $out/{lib,bin,share/{doc,licenses}} 20 + install -m644 MediathekView.jar $out/ 21 + install -m644 -t $out/lib lib/* 22 + install -m755 bin/flv.sh $out/bin/ 23 + install -m644 -t $out/share/doc Anleitung/*.pdf 24 + install -m644 -t $out/share/licenses Copyright/{*.*,_copyright} 25 + bin="$out/bin/mediathek" 26 + cat >> "$bin" << EOF 27 + #!/bin/sh 28 + exec ${jre}/bin/java -cp "$out/lib/*" -Xms128M -Xmx1G -jar "$out/MediathekView.jar" "\$@" 29 + EOF 30 + chmod +x "$bin" 31 + ''; 32 + 33 + meta = with stdenv.lib; { 34 + description = "Offers access to the Mediathek of different tv stations (ARD, ZDF, Arte, etc.)"; 35 + homepage = "http://zdfmediathk.sourceforge.net/"; 36 + license = licenses.gpl3; 37 + maintainers = [ maintainers.flosse ]; 38 + platforms = platforms.all; 39 + }; 40 + 41 + }
+6 -1
pkgs/applications/window-managers/stumpwm/default.nix
··· 23 ''; 24 25 configurePhase = '' 26 - ./configure --prefix=$out --with-contrib-dir=${pkgs.stumpwmContrib}/contrib 27 ''; 28 29 installPhase = '' 30 make 31 make install 32 ''; 33 34 meta = with stdenv.lib; {
··· 23 ''; 24 25 configurePhase = '' 26 + ./configure --prefix=$out --with-contrib-dir=${stumpwmContrib}/contrib 27 ''; 28 29 installPhase = '' 30 make 31 make install 32 + # For some reason, stumpwmContrib is not retained as a runtime 33 + # dependency (probably because $out/bin/stumpwm is compressed or 34 + # obfuscated in some way). Thus we add an explicit reference here. 35 + mkdir $out/nix-support 36 + echo ${stumpwmContrib} > $out/nix-support/stumpwm-contrib 37 ''; 38 39 meta = with stdenv.lib; {
+45
pkgs/applications/window-managers/xmonad-log-applet/default.nix
···
··· 1 + { stdenv, fetchFromGitHub, pkgconfig, autoreconfHook, glib, dbus_glib 2 + , desktopSupport 3 + , gtk2, gnome2_panel, GConf2 4 + , libxfce4util, xfce4panel 5 + }: 6 + 7 + assert desktopSupport == "gnome2" || desktopSupport == "gnome3" || desktopSupport == "xfce4"; 8 + 9 + stdenv.mkDerivation rec { 10 + version = "2.1.0"; 11 + pname = "xmonad-log-applet"; 12 + name = "${pname}-${version}-${desktopSupport}"; 13 + 14 + src = fetchFromGitHub { 15 + owner = "alexkay"; 16 + repo = pname; 17 + rev = "${version}"; 18 + sha256 = "1g1fisyaw83v72b25fxfjln8f4wlw3rm6nyk27mrqlhsc1spnb5p"; 19 + }; 20 + 21 + buildInputs = with stdenv.lib; 22 + [ glib dbus_glib ] 23 + ++ optionals (desktopSupport == "gnome2") [ gtk2 gnome2_panel GConf2 ] 24 + # TODO: no idea where to find libpanelapplet-4.0 25 + ++ optionals (desktopSupport == "gnome3") [ ] 26 + ++ optionals (desktopSupport == "xfce4") [ gtk2 libxfce4util xfce4panel ] 27 + ; 28 + 29 + nativeBuildInputs = [ autoreconfHook pkgconfig ]; 30 + 31 + configureFlags = [ "--with-panel=${desktopSupport}" ]; 32 + 33 + patches = [ ./fix-paths.patch ]; 34 + 35 + meta = with stdenv.lib; { 36 + homepage = http://github.com/alexkay/xmonad-log-applet; 37 + license = licenses.bsd3; 38 + description = "An applet that will display XMonad log information (${desktopSupport} version)"; 39 + platforms = platforms.linux; 40 + maintainers = with maintainers; [ abbradar ]; 41 + 42 + broken = desktopSupport == "gnome3"; 43 + }; 44 + } 45 +
+50
pkgs/applications/window-managers/xmonad-log-applet/fix-paths.patch
···
··· 1 + diff --git a/Makefile.am b/Makefile.am 2 + index 619012d..dcc6d3c 100644 3 + --- a/Makefile.am 4 + +++ b/Makefile.am 5 + @@ -1,4 +1,5 @@ 6 + plugindir = $(PLUGIN_DIR) 7 + +SESSION_BUS_SERVICES_DIR = $(prefix)/share/dbus-1/services 8 + plugin_PROGRAMS = xmonad-log-applet 9 + 10 + xmonad_log_applet_SOURCES = main.c 11 + diff --git a/configure.ac b/configure.ac 12 + index ad4cffb..110c953 100644 13 + --- a/configure.ac 14 + +++ b/configure.ac 15 + @@ -27,28 +27,28 @@ AC_ARG_WITH( 16 + AS_IF( 17 + [test "x$panel" = xgnome2], 18 + [PKG_CHECK_MODULES(LIBPANEL, libpanelapplet-3.0 >= 2.32.0)] 19 + - LIBPANEL_APPLET_DIR=`$PKG_CONFIG --variable=prefix libpanelapplet-3.0`/share/gnome-panel/applets 20 + - PLUGIN_DIR=`$PKG_CONFIG --variable=prefix libpanelapplet-3.0`/libexec 21 + + LIBPANEL_APPLET_DIR=${prefix}/share/gnome-panel/applets 22 + + PLUGIN_DIR=${prefix}/libexec 23 + [AC_DEFINE(PANEL_GNOME, 1, [panel type])] 24 + [AC_DEFINE(PANEL_GNOME2, 1, [panel type])] 25 + , 26 + [test "x$panel" = xgnome3], 27 + [PKG_CHECK_MODULES(LIBPANEL, libpanelapplet-4.0 >= 3.0.0)] 28 + LIBPANEL_APPLET_DIR=`$PKG_CONFIG --variable=libpanel_applet_dir libpanelapplet-4.0` 29 + - PLUGIN_DIR=`$PKG_CONFIG --variable=prefix libpanelapplet-4.0`/libexec 30 + + PLUGIN_DIR=${prefix}/libexec 31 + [AC_DEFINE(PANEL_GNOME, 1, [panel type])] 32 + [AC_DEFINE(PANEL_GNOME3, 1, [panel type])] 33 + , 34 + [test "x$panel" = xmate], 35 + [PKG_CHECK_MODULES(LIBPANEL, libmatepanelapplet-3.0 >= 1.4.0)] 36 + - LIBPANEL_APPLET_DIR=`$PKG_CONFIG --variable=prefix libmatepanelapplet-3.0`/share/mate-panel/applets 37 + - PLUGIN_DIR=`$PKG_CONFIG --variable=prefix libmatepanelapplet-3.0`/libexec 38 + + LIBPANEL_APPLET_DIR=${prefix}/share/mate-panel/applets 39 + + PLUGIN_DIR=${prefix}/libexec 40 + [AC_DEFINE(PANEL_MATE, 1, [panel type])] 41 + , 42 + [test "x$panel" = xxfce4], 43 + [PKG_CHECK_MODULES(LIBPANEL, libxfce4panel-1.0 >= 4.6.0)] 44 + - LIBPANEL_APPLET_DIR=`$PKG_CONFIG --variable=prefix libxfce4panel-1.0`/share/xfce4/panel-plugins 45 + - PLUGIN_DIR=`$PKG_CONFIG --variable=libdir libxfce4panel-1.0`/xfce4/panel/plugins 46 + + LIBPANEL_APPLET_DIR=${prefix}/share/xfce4/panel-plugins 47 + + PLUGIN_DIR=${prefix}/lib/xfce4/panel/plugins 48 + [AC_DEFINE(PANEL_XFCE4, 1, [panel type])] 49 + , 50 + [AC_MSG_ERROR([Unknown panel type, use gnome2, gnome3, mate or xfce4])]
+9
pkgs/build-support/fetchegg/builder.sh
···
··· 1 + source $stdenv/setup 2 + 3 + header "exporting egg ${eggName} (version $version) into $out" 4 + 5 + mkdir -p $out 6 + chicken-install -r "${eggName}:${version}" 7 + cp -r ${eggName}/* $out/ 8 + 9 + stopNest
+28
pkgs/build-support/fetchegg/default.nix
···
··· 1 + # Fetches a chicken egg from henrietta using `chicken-install -r' 2 + # See: http://wiki.call-cc.org/chicken-projects/egg-index-4.html 3 + 4 + { stdenv, chicken }: 5 + { name, version, md5 ? "", sha256 ? "" }: 6 + 7 + stdenv.mkDerivation { 8 + name = "chicken-${name}-export"; 9 + builder = ./builder.sh; 10 + buildInputs = [ chicken ]; 11 + 12 + outputHashAlgo = if sha256 == "" then "md5" else "sha256"; 13 + outputHashMode = "recursive"; 14 + outputHash = if sha256 == "" then md5 else sha256; 15 + 16 + inherit version; 17 + 18 + eggName = name; 19 + 20 + impureEnvVars = [ 21 + # We borrow these environment variables from the caller to allow 22 + # easy proxy configuration. This is impure, but a fixed-output 23 + # derivation like fetchurl is allowed to do so since its result is 24 + # by definition pure. 25 + "http_proxy" "https_proxy" "ftp_proxy" "all_proxy" "no_proxy" 26 + ]; 27 + } 28 +
+1
pkgs/build-support/fetchurl/mirrors.nix
··· 173 ftp://ftp.nl.debian.org/debian/ 174 ftp://ftp.ru.debian.org/debian/ 175 ftp://ftp.debian.org/debian/ 176 http://archive.debian.org/debian-archive/debian/ 177 ftp://ftp.funet.fi/pub/mirrors/ftp.debian.org/debian/ 178 ];
··· 173 ftp://ftp.nl.debian.org/debian/ 174 ftp://ftp.ru.debian.org/debian/ 175 ftp://ftp.debian.org/debian/ 176 + http://ftp.debian.org/debian/ 177 http://archive.debian.org/debian-archive/debian/ 178 ftp://ftp.funet.fi/pub/mirrors/ftp.debian.org/debian/ 179 ];
+2 -2
pkgs/data/documentation/man-pages/default.nix
··· 1 { stdenv, fetchurl }: 2 3 stdenv.mkDerivation rec { 4 - name = "man-pages-3.74"; 5 6 src = fetchurl { 7 url = "mirror://kernel/linux/docs/man-pages/${name}.tar.xz"; 8 - sha256 = "10c6jra95ccdhz22xhmpskxcn29xvirkxzwr8dhz3jazyqwhq58y"; 9 }; 10 11 preBuild =
··· 1 { stdenv, fetchurl }: 2 3 stdenv.mkDerivation rec { 4 + name = "man-pages-3.75"; 5 6 src = fetchurl { 7 url = "mirror://kernel/linux/docs/man-pages/${name}.tar.xz"; 8 + sha256 = "1xnja13a3zb7gzcsdn7sx962lk6mj8m3rz1w7fpgvhsq745cmah6"; 9 }; 10 11 preBuild =
+42
pkgs/data/fonts/meslo-lg/default.nix
···
··· 1 + { stdenv, fetchurl, unzip }: 2 + 3 + stdenv.mkDerivation rec { 4 + version = "1.2.1"; 5 + 6 + name = "meslo-lg"; 7 + 8 + meslo-lg = fetchurl { 9 + url="https://github.com/andreberg/Meslo-Font/blob/master/dist/v${version}/Meslo%20LG%20v${version}.zip?raw=true"; 10 + name="${name}"; 11 + sha256="1l08mxlzaz3i5bamnfr49s2k4k23vdm64b8nz2ha33ysimkbgg6h"; 12 + }; 13 + 14 + meslo-lg-dz = fetchurl { 15 + url="https://github.com/andreberg/Meslo-Font/blob/master/dist/v${version}/Meslo%20LG%20DZ%20v${version}.zip?raw=true"; 16 + name="${name}-dz"; 17 + sha256="0lnbkrvcpgz9chnvix79j6fiz36wj6n46brb7b1746182rl1l875"; 18 + }; 19 + 20 + buildInputs = [ unzip ]; 21 + 22 + sourceRoot = "."; 23 + 24 + phases = [ "unpackPhase" "installPhase" ]; 25 + unpackPhase = '' 26 + unzip -j ${meslo-lg} 27 + unzip -j ${meslo-lg-dz} 28 + ''; 29 + 30 + installPhase = '' 31 + mkdir -p $out/share/fonts/truetype 32 + cp *.ttf $out/share/fonts/truetype 33 + ''; 34 + 35 + meta = { 36 + description = "A customized version of Apple’s Menlo-Regular font"; 37 + homepage = https://github.com/andreberg/Meslo-Font/; 38 + license = stdenv.lib.licenses.asl20; 39 + maintainers = with stdenv.lib.maintainers; [ balajisivaraman ]; 40 + platforms = with stdenv.lib.platforms; all; 41 + }; 42 + }
+4 -3
pkgs/data/misc/tzdata/default.nix
··· 1 { stdenv, fetchurl }: 2 3 - let version = "2014g"; in 4 5 stdenv.mkDerivation rec { 6 name = "tzdata-${version}"; ··· 8 srcs = 9 [ (fetchurl { 10 url = "http://www.iana.org/time-zones/repository/releases/tzdata${version}.tar.gz"; 11 - sha256 = "0w52hafnf82vy678rm8p39ckymcj6shv5376zwzzbxw2m6vxaism"; 12 }) 13 (fetchurl { 14 url = "http://www.iana.org/time-zones/repository/releases/tzcode${version}.tar.gz"; 15 - sha256 = "0ymg0cscpbfj9jpnx4g9apmfrixq6z8dch99h6a77k2pmnj5ymfz"; 16 }) 17 ]; 18 ··· 34 meta = { 35 homepage = http://www.iana.org/time-zones; 36 description = "Database of current and historical time zones"; 37 }; 38 }
··· 1 { stdenv, fetchurl }: 2 3 + let version = "2014i"; in 4 5 stdenv.mkDerivation rec { 6 name = "tzdata-${version}"; ··· 8 srcs = 9 [ (fetchurl { 10 url = "http://www.iana.org/time-zones/repository/releases/tzdata${version}.tar.gz"; 11 + sha256 = "0lv1i3ikibf9yn1l3hcy00x5ghwxn87k1myyp1cyr55psayk3wra"; 12 }) 13 (fetchurl { 14 url = "http://www.iana.org/time-zones/repository/releases/tzcode${version}.tar.gz"; 15 + sha256 = "10s7x24lh2vm3magl7dq2xs9pw47hhyaq6xpi6c4aiqdzdsi0nb2"; 16 }) 17 ]; 18 ··· 34 meta = { 35 homepage = http://www.iana.org/time-zones; 36 description = "Database of current and historical time zones"; 37 + platforms = stdenv.lib.platforms.all; 38 }; 39 }
+1 -1
pkgs/desktops/gnome-2/desktop/scrollkeeper/default.nix
··· 14 "; 15 16 buildInputs = [pkgconfig perl perlXMLParser libxml2 libxslt gettext]; 17 - configureFlags = "--with-xml-catalog=${docbook_xml_dtd_42}/xml/dtd/docbook/docbook.cat"; 18 }
··· 14 "; 15 16 buildInputs = [pkgconfig perl perlXMLParser libxml2 libxslt gettext]; 17 + configureFlags = "--with-xml-catalog=${docbook_xml_dtd_42}/xml/dtd/docbook/catalog.xml"; 18 }
+1 -1
pkgs/desktops/gnome-3/3.10/default.nix
··· 109 110 gucharmap = callPackage ./core/gucharmap { }; 111 112 - gvfs = pkgs.gvfs.override { gnome = pkgs.gnome3; lightWeight = false; }; 113 114 eog = callPackage ./core/eog { }; 115
··· 109 110 gucharmap = callPackage ./core/gucharmap { }; 111 112 + gvfs = pkgs.gvfs.override { gnome = pkgs.gnome3; gnomeSupport = true; }; 113 114 eog = callPackage ./core/eog { }; 115
+4 -3
pkgs/desktops/gnome-3/3.12/apps/pomodoro/default.nix
··· 4 }: 5 6 stdenv.mkDerivation rec { 7 - name = "gnome-shell-pomodoro-0.10.2-11-gd5f5b69"; 8 9 src = fetchFromGitHub { 10 owner = "codito"; 11 repo = "gnome-shell-pomodoro"; 12 - rev = "0.10.2"; 13 - sha256 = "1jd4xmcx0fbcn57d1qj7b4xkj0dv4i75s367nifabm47akqzyn4f"; 14 }; 15 16 configureScript = ''./autogen.sh'';
··· 4 }: 5 6 stdenv.mkDerivation rec { 7 + rev = "0.10.3"; 8 + name = "gnome-shell-pomodoro-${rev}-61df3fa"; 9 10 src = fetchFromGitHub { 11 owner = "codito"; 12 repo = "gnome-shell-pomodoro"; 13 + rev = "${rev}"; 14 + sha256 = "0i0glmijalppb5hdb1xd6xnmv824l2w831rpkqmhxi0iqbvaship"; 15 }; 16 17 configureScript = ''./autogen.sh'';
+45
pkgs/desktops/gnome-3/3.12/core/vte/0.38.0.nix
···
··· 1 + { stdenv, fetchurl, intltool, pkgconfig, gnome3, ncurses, gobjectIntrospection, vala, libxml2 2 + , selectTextPatch ? false }: 3 + 4 + stdenv.mkDerivation rec { 5 + versionMajor = "0.38"; 6 + versionMinor = "0"; 7 + moduleName = "vte"; 8 + 9 + name = "${moduleName}-${versionMajor}.${versionMinor}"; 10 + 11 + src = fetchurl { 12 + url = "mirror://gnome/sources/${moduleName}/${versionMajor}/${name}.tar.xz"; 13 + sha256 = "1llg2xnjpn630vd86ci8csbjjacj3ia6syck2bsq4kinr66z5zsw"; 14 + }; 15 + 16 + patches = with stdenv.lib; optional selectTextPatch ./expose_select_text.0.38.0.patch; 17 + 18 + buildInputs = [ gobjectIntrospection intltool pkgconfig gnome3.glib gnome3.gtk3 ncurses vala libxml2 ]; 19 + 20 + preConfigure = "patchShebangs ."; 21 + 22 + configureFlags = [ "--enable-introspection" ]; 23 + 24 + enableParallelBuilding = true; 25 + 26 + postInstall = '' 27 + substituteInPlace $out/lib/libvte2_90.la --replace "-lncurses" "-L${ncurses}/lib -lncurses" 28 + ''; 29 + 30 + meta = with stdenv.lib; { 31 + homepage = http://www.gnome.org/; 32 + description = "A library implementing a terminal emulator widget for GTK+"; 33 + longDescription = '' 34 + VTE is a library (libvte) implementing a terminal emulator widget for 35 + GTK+, and a minimal sample application (vte) using that. Vte is 36 + mainly used in gnome-terminal, but can also be used to embed a 37 + console/terminal in games, editors, IDEs, etc. VTE supports Unicode and 38 + character set conversion, as well as emulating any terminal known to 39 + the system's terminfo database. 40 + ''; 41 + license = licenses.lgpl2; 42 + maintainers = with maintainers; [ astsmtl antono lethalman ]; 43 + platforms = platforms.linux; 44 + }; 45 + }
+1 -1
pkgs/desktops/gnome-3/3.12/core/vte/default.nix
··· 1 - { stdenv, fetchurl, intltool, pkgconfig, gnome3, ncurses, gobjectIntrospection, vala, libxml2 2 , selectTextPatch ? false }: 3 4 stdenv.mkDerivation rec {
··· 1 + { stdenv, fetchurl, intltool, pkgconfig, gnome3, ncurses, gobjectIntrospection 2 , selectTextPatch ? false }: 3 4 stdenv.mkDerivation rec {
+227
pkgs/desktops/gnome-3/3.12/core/vte/expose_select_text.0.38.0.patch
···
··· 1 + Only in vte-0.38.0.new: expose_select_text.patch 2 + diff -aur vte-0.38.0/src/vteaccess.c vte-0.38.0.new/src/vteaccess.c 3 + --- vte-0.38.0/src/vteaccess.c 2014-08-13 08:00:38.000000000 -0400 4 + +++ vte-0.38.0.new/src/vteaccess.c 2014-09-21 17:05:23.934641193 -0400 5 + @@ -1427,7 +1427,7 @@ 6 + *start_offset = offset_from_xy (priv, start_x, start_y); 7 + _vte_terminal_get_end_selection (terminal, &end_x, &end_y); 8 + *end_offset = offset_from_xy (priv, end_x, end_y); 9 + - return _vte_terminal_get_selection (terminal); 10 + + return vte_terminal_get_selection (terminal); 11 + } 12 + 13 + static gboolean 14 + diff -aur vte-0.38.0/src/vte.c vte-0.38.0.new/src/vte.c 15 + --- vte-0.38.0/src/vte.c 2014-09-13 03:23:47.000000000 -0400 16 + +++ vte-0.38.0.new/src/vte.c 2014-09-21 17:03:04.671656749 -0400 17 + @@ -122,7 +122,6 @@ 18 + gpointer data, 19 + GArray *attributes, 20 + gboolean include_trailing_spaces); 21 + -static void _vte_terminal_disconnect_pty_read(VteTerminal *terminal); 22 + static void _vte_terminal_disconnect_pty_write(VteTerminal *terminal); 23 + static void vte_terminal_stop_processing (VteTerminal *terminal); 24 + 25 + @@ -3267,9 +3266,10 @@ 26 + _vte_debug_print (VTE_DEBUG_IO, "removed poll of vte_terminal_io_read\n"); 27 + terminal->pvt->pty_input_source = 0; 28 + } 29 + -static void 30 + -_vte_terminal_connect_pty_read(VteTerminal *terminal) 31 + +void 32 + +vte_terminal_connect_pty_read(VteTerminal *terminal) 33 + { 34 + + g_return_if_fail(VTE_IS_TERMINAL(terminal)); 35 + if (terminal->pvt->pty_channel == NULL) { 36 + return; 37 + } 38 + @@ -3321,9 +3321,10 @@ 39 + } 40 + } 41 + 42 + -static void 43 + -_vte_terminal_disconnect_pty_read(VteTerminal *terminal) 44 + +void 45 + +vte_terminal_disconnect_pty_read(VteTerminal *terminal) 46 + { 47 + + g_return_if_fail(VTE_IS_TERMINAL(terminal)); 48 + if (terminal->pvt->pty_input_source != 0) { 49 + _vte_debug_print (VTE_DEBUG_IO, "disconnecting poll of vte_terminal_io_read\n"); 50 + g_source_remove(terminal->pvt->pty_input_source); 51 + @@ -6154,6 +6155,28 @@ 52 + } 53 + } 54 + 55 + +/** 56 + + * vte_terminal_set_cursor_position: 57 + + * @terminal: a #VteTerminal 58 + + * @column: the new cursor column 59 + + * @row: the new cursor row 60 + + * 61 + + * Set the location of the cursor. 62 + + */ 63 + +void 64 + +vte_terminal_set_cursor_position(VteTerminal *terminal, 65 + + long column, long row) 66 + +{ 67 + + g_return_if_fail(VTE_IS_TERMINAL(terminal)); 68 + + 69 + + _vte_invalidate_cursor_once(terminal, FALSE); 70 + + terminal->pvt->screen->cursor_current.col = column; 71 + + terminal->pvt->screen->cursor_current.row = row; 72 + + _vte_invalidate_cursor_once(terminal, FALSE); 73 + + _vte_check_cursor_blink(terminal); 74 + + vte_terminal_queue_cursor_moved(terminal); 75 + +} 76 + + 77 + static GtkClipboard * 78 + vte_terminal_clipboard_get(VteTerminal *terminal, GdkAtom board) 79 + { 80 + @@ -6319,7 +6342,7 @@ 81 + vte_terminal_extend_selection(terminal, x, y, FALSE, TRUE); 82 + 83 + /* Temporarily stop caring about input from the child. */ 84 + - _vte_terminal_disconnect_pty_read(terminal); 85 + + vte_terminal_disconnect_pty_read(terminal); 86 + } 87 + 88 + static gboolean 89 + @@ -6336,7 +6359,7 @@ 90 + terminal->pvt->selecting = FALSE; 91 + 92 + /* Reconnect to input from the child if we paused it. */ 93 + - _vte_terminal_connect_pty_read(terminal); 94 + + vte_terminal_connect_pty_read(terminal); 95 + 96 + return TRUE; 97 + } 98 + @@ -6834,6 +6857,50 @@ 99 + vte_terminal_deselect_all (terminal); 100 + } 101 + 102 + +/** 103 + + * vte_terminal_get_selection_block_mode: 104 + + * @terminal: a #VteTerminal 105 + + * 106 + + * Checks whether or not block selection is enabled. 107 + + * 108 + + * Returns: %TRUE if block selection is enabled, %FALSE if not 109 + + */ 110 + +gboolean 111 + +vte_terminal_get_selection_block_mode(VteTerminal *terminal) { 112 + + g_return_val_if_fail(VTE_IS_TERMINAL(terminal), FALSE); 113 + + return terminal->pvt->selection_block_mode; 114 + +} 115 + + 116 + +/** 117 + + * vte_terminal_set_selection_block_mode: 118 + + * @terminal: a #VteTerminal 119 + + * @block_mode: whether block selection is enabled 120 + + * 121 + + * Sets whether or not block selection is enabled. 122 + + */ 123 + +void 124 + +vte_terminal_set_selection_block_mode(VteTerminal *terminal, gboolean block_mode) { 125 + + g_return_if_fail(VTE_IS_TERMINAL(terminal)); 126 + + terminal->pvt->selection_block_mode = block_mode; 127 + +} 128 + + 129 + +/** 130 + + * vte_terminal_select_text: 131 + + * @terminal: a #VteTerminal 132 + + * @start_col: the starting column for the selection 133 + + * @start_row: the starting row for the selection 134 + + * @end_col: the end column for the selection 135 + + * @end_row: the end row for the selection 136 + + * 137 + + * Sets the current selection region. 138 + + */ 139 + +void 140 + +vte_terminal_select_text(VteTerminal *terminal, 141 + + long start_col, long start_row, 142 + + long end_col, long end_row) { 143 + + _vte_terminal_select_text(terminal, start_col, start_row, end_col, end_row, 0, 0); 144 + +} 145 + + 146 + /* Autoscroll a bit. */ 147 + static gboolean 148 + vte_terminal_autoscroll(VteTerminal *terminal) 149 + @@ -8476,7 +8543,7 @@ 150 + #endif 151 + kill(terminal->pvt->pty_pid, SIGHUP); 152 + } 153 + - _vte_terminal_disconnect_pty_read(terminal); 154 + + vte_terminal_disconnect_pty_read(terminal); 155 + _vte_terminal_disconnect_pty_write(terminal); 156 + if (terminal->pvt->pty_channel != NULL) { 157 + g_io_channel_unref (terminal->pvt->pty_channel); 158 + @@ -12533,7 +12600,7 @@ 159 + g_object_freeze_notify(object); 160 + 161 + if (pvt->pty != NULL) { 162 + - _vte_terminal_disconnect_pty_read(terminal); 163 + + vte_terminal_disconnect_pty_read(terminal); 164 + _vte_terminal_disconnect_pty_write(terminal); 165 + 166 + if (terminal->pvt->pty_channel != NULL) { 167 + @@ -12588,7 +12655,7 @@ 168 + _vte_terminal_setup_utf8 (terminal); 169 + 170 + /* Open channels to listen for input on. */ 171 + - _vte_terminal_connect_pty_read (terminal); 172 + + vte_terminal_connect_pty_read (terminal); 173 + 174 + g_object_notify(object, "pty"); 175 + 176 + @@ -12623,7 +12690,7 @@ 177 + } 178 + 179 + char * 180 + -_vte_terminal_get_selection(VteTerminal *terminal) 181 + +vte_terminal_get_selection(VteTerminal *terminal) 182 + { 183 + g_return_val_if_fail(VTE_IS_TERMINAL(terminal), NULL); 184 + 185 + Only in vte-0.38.0.new/src: .vte.c.swp 186 + diff -aur vte-0.38.0/src/vteint.h vte-0.38.0.new/src/vteint.h 187 + --- vte-0.38.0/src/vteint.h 2014-05-16 13:51:26.000000000 -0400 188 + +++ vte-0.38.0.new/src/vteint.h 2014-09-21 17:05:44.934589281 -0400 189 + @@ -25,7 +25,6 @@ 190 + G_BEGIN_DECLS 191 + 192 + void _vte_terminal_accessible_ref(VteTerminal *terminal); 193 + -char* _vte_terminal_get_selection(VteTerminal *terminal); 194 + void _vte_terminal_get_start_selection(VteTerminal *terminal, long *x, long *y); 195 + void _vte_terminal_get_end_selection(VteTerminal *terminal, long *x, long *y); 196 + void _vte_terminal_select_text(VteTerminal *terminal, long start_x, long start_y, long end_x, long end_y, int start_offset, int end_offset); 197 + diff -aur vte-0.38.0/src/vteterminal.h vte-0.38.0.new/src/vteterminal.h 198 + --- vte-0.38.0/src/vteterminal.h 2014-09-13 03:23:47.000000000 -0400 199 + +++ vte-0.38.0.new/src/vteterminal.h 2014-09-21 17:03:39.094903032 -0400 200 + @@ -170,6 +170,18 @@ 201 + 202 + void vte_terminal_select_all(VteTerminal *terminal) _VTE_GNUC_NONNULL(1); 203 + void vte_terminal_unselect_all(VteTerminal *terminal) _VTE_GNUC_NONNULL(1); 204 + +gboolean vte_terminal_get_selection_block_mode(VteTerminal *terminal) _VTE_GNUC_NONNULL(1); 205 + +void vte_terminal_set_selection_block_mode(VteTerminal *terminal, 206 + + gboolean block_mode) _VTE_GNUC_NONNULL(1); 207 + +void vte_terminal_select_text(VteTerminal *terminal, 208 + + long start_col, long start_row, 209 + + long end_col, long end_row) _VTE_GNUC_NONNULL(1); 210 + +char * 211 + +vte_terminal_get_selection(VteTerminal *terminal) _VTE_GNUC_NONNULL(1); 212 + + 213 + +/* pause and unpause output */ 214 + +void vte_terminal_disconnect_pty_read(VteTerminal *vte); 215 + +void vte_terminal_connect_pty_read(VteTerminal *vte); 216 + 217 + /* Set the terminal's size. */ 218 + void vte_terminal_set_size(VteTerminal *terminal, 219 + @@ -276,6 +288,8 @@ 220 + void vte_terminal_get_cursor_position(VteTerminal *terminal, 221 + glong *column, 222 + glong *row) _VTE_GNUC_NONNULL(1); 223 + +void vte_terminal_set_cursor_position(VteTerminal *terminal, 224 + + long column, long row) _VTE_GNUC_NONNULL(1); 225 + 226 + /* Add a matching expression, returning the tag the widget assigns to that 227 + * expression. */
+99 -86
pkgs/desktops/gnome-3/3.12/core/vte/expose_select_text.patch
··· 1 - diff -aur vte-0.32.2-old/src/vte.c vte-0.32.2/src/vte.c 2 - --- vte-0.32.2-old/src/vte.c 2012-07-13 21:09:04.003969877 -0400 3 - +++ vte-0.32.2/src/vte.c 2012-08-30 04:30:04.285924831 -0400 4 - @@ -129,7 +129,6 @@ 5 gpointer data, 6 GArray *attributes, 7 gboolean include_trailing_spaces); ··· 9 static void _vte_terminal_disconnect_pty_write(VteTerminal *terminal); 10 static void vte_terminal_stop_processing (VteTerminal *terminal); 11 12 - @@ -3508,8 +3507,8 @@ 13 _vte_debug_print (VTE_DEBUG_IO, "removed poll of vte_terminal_io_read\n"); 14 terminal->pvt->pty_input_source = 0; 15 } ··· 18 +void 19 +vte_terminal_connect_pty_read(VteTerminal *terminal) 20 { 21 if (terminal->pvt->pty_channel == NULL) { 22 return; 23 - @@ -3560,8 +3559,8 @@ 24 } 25 } 26 ··· 29 +void 30 +vte_terminal_disconnect_pty_read(VteTerminal *terminal) 31 { 32 if (terminal->pvt->pty_input_source != 0) { 33 _vte_debug_print (VTE_DEBUG_IO, "disconnecting poll of vte_terminal_io_read\n"); 34 - @@ -3708,8 +3707,8 @@ 35 - return NULL; 36 - } 37 - 38 - -static char * 39 - -_vte_terminal_get_user_shell_with_fallback (void) 40 - +char * 41 - +vte_terminal_get_user_shell_with_fallback (void) 42 - { 43 - char *command; 44 - const gchar *env; 45 - @@ -3744,7 +3743,7 @@ 46 - char **argv2; 47 - char *shell = NULL; 48 - 49 - - argv2 = __vte_pty_get_argv(command ? command : (shell = _vte_terminal_get_user_shell_with_fallback ()), 50 - + argv2 = __vte_pty_get_argv(command ? command : (shell = vte_terminal_get_user_shell_with_fallback ()), 51 - argv, 52 - flags); 53 - g_free(shell); 54 - @@ -6545,6 +6544,28 @@ 55 } 56 } 57 ··· 80 static GtkClipboard * 81 vte_terminal_clipboard_get(VteTerminal *terminal, GdkAtom board) 82 { 83 - @@ -6676,7 +6697,7 @@ 84 - terminal->pvt->selection_start.row); 85 86 /* Temporarily stop caring about input from the child. */ 87 - _vte_terminal_disconnect_pty_read(terminal); ··· 89 } 90 91 static gboolean 92 - @@ -6693,7 +6714,7 @@ 93 terminal->pvt->selecting = FALSE; 94 95 /* Reconnect to input from the child if we paused it. */ ··· 98 99 return TRUE; 100 } 101 - @@ -8994,7 +9015,7 @@ 102 - #endif 103 - kill(terminal->pvt->pty_pid, SIGHUP); 104 - } 105 - - _vte_terminal_disconnect_pty_read(terminal); 106 - + vte_terminal_disconnect_pty_read(terminal); 107 - _vte_terminal_disconnect_pty_write(terminal); 108 - if (terminal->pvt->pty_channel != NULL) { 109 - g_io_channel_unref (terminal->pvt->pty_channel); 110 - @@ -14384,7 +14405,7 @@ 111 - g_object_freeze_notify(object); 112 - 113 - if (pvt->pty != NULL) { 114 - - _vte_terminal_disconnect_pty_read(terminal); 115 - + vte_terminal_disconnect_pty_read(terminal); 116 - _vte_terminal_disconnect_pty_write(terminal); 117 - 118 - if (terminal->pvt->pty_channel != NULL) { 119 - @@ -14440,7 +14461,7 @@ 120 - _vte_terminal_setup_utf8 (terminal); 121 - 122 - /* Open channels to listen for input on. */ 123 - - _vte_terminal_connect_pty_read (terminal); 124 - + vte_terminal_connect_pty_read (terminal); 125 - 126 - g_object_notify(object, "pty"); 127 - g_object_notify(object, "pty-object"); 128 - @@ -14567,6 +14588,50 @@ 129 - } 130 } 131 132 +/** ··· 173 + _vte_terminal_select_text(terminal, start_col, start_row, end_col, end_row, 0, 0); 174 +} 175 + 176 - void 177 - _vte_terminal_select_text(VteTerminal *terminal, 178 - long start_col, long start_row, 179 - diff -aur vte-0.32.2-old/src/vte.h vte-0.32.2/src/vte.h 180 - --- vte-0.32.2-old/src/vte.h 2012-07-13 21:09:04.003969877 -0400 181 - +++ vte-0.32.2/src/vte.h 2012-08-30 04:30:09.695999432 -0400 182 - @@ -296,6 +296,15 @@ 183 - /* simple manipulation of selection */ 184 - void vte_terminal_select_all(VteTerminal *terminal); 185 - void vte_terminal_select_none(VteTerminal *terminal); 186 - +gboolean vte_terminal_get_selection_block_mode(VteTerminal *terminal); 187 - +void vte_terminal_set_selection_block_mode(VteTerminal *terminal, gboolean block_mode); 188 +void vte_terminal_select_text(VteTerminal *terminal, 189 + long start_col, long start_row, 190 - + long end_col, long end_row); 191 + 192 +/* pause and unpause output */ 193 +void vte_terminal_disconnect_pty_read(VteTerminal *vte); ··· 195 196 /* Set the terminal's size. */ 197 void vte_terminal_set_size(VteTerminal *terminal, 198 - @@ -435,6 +444,8 @@ 199 - GArray *attributes); 200 void vte_terminal_get_cursor_position(VteTerminal *terminal, 201 - glong *column, glong *row); 202 +void vte_terminal_set_cursor_position(VteTerminal *terminal, 203 - + long column, long row); 204 - /* Display string matching: clear all matching expressions. */ 205 - void vte_terminal_match_clear_all(VteTerminal *terminal); 206 207 - @@ -484,6 +495,7 @@ 208 - VtePty *vte_terminal_get_pty_object(VteTerminal *terminal); 209 - 210 - char *vte_get_user_shell (void); 211 - +char *vte_terminal_get_user_shell_with_fallback(void); 212 - 213 - /* Accessors for bindings. */ 214 - #if !GTK_CHECK_VERSION (2, 91, 2)
··· 1 + Only in vte-0.38.0.new: expose_select_text.patch 2 + diff -aur vte-0.38.0/src/vteaccess.c vte-0.38.0.new/src/vteaccess.c 3 + --- vte-0.38.0/src/vteaccess.c 2014-08-13 08:00:38.000000000 -0400 4 + +++ vte-0.38.0.new/src/vteaccess.c 2014-09-21 17:05:23.934641193 -0400 5 + @@ -1427,7 +1427,7 @@ 6 + *start_offset = offset_from_xy (priv, start_x, start_y); 7 + _vte_terminal_get_end_selection (terminal, &end_x, &end_y); 8 + *end_offset = offset_from_xy (priv, end_x, end_y); 9 + - return _vte_terminal_get_selection (terminal); 10 + + return vte_terminal_get_selection (terminal); 11 + } 12 + 13 + static gboolean 14 + diff -aur vte-0.38.0/src/vte.c vte-0.38.0.new/src/vte.c 15 + --- vte-0.38.0/src/vte.c 2014-09-13 03:23:47.000000000 -0400 16 + +++ vte-0.38.0.new/src/vte.c 2014-09-21 17:03:04.671656749 -0400 17 + @@ -122,7 +122,6 @@ 18 gpointer data, 19 GArray *attributes, 20 gboolean include_trailing_spaces); ··· 22 static void _vte_terminal_disconnect_pty_write(VteTerminal *terminal); 23 static void vte_terminal_stop_processing (VteTerminal *terminal); 24 25 + @@ -3267,9 +3266,10 @@ 26 _vte_debug_print (VTE_DEBUG_IO, "removed poll of vte_terminal_io_read\n"); 27 terminal->pvt->pty_input_source = 0; 28 } ··· 31 +void 32 +vte_terminal_connect_pty_read(VteTerminal *terminal) 33 { 34 + + g_return_if_fail(VTE_IS_TERMINAL(terminal)); 35 if (terminal->pvt->pty_channel == NULL) { 36 return; 37 + } 38 + @@ -3321,9 +3321,10 @@ 39 } 40 } 41 ··· 44 +void 45 +vte_terminal_disconnect_pty_read(VteTerminal *terminal) 46 { 47 + + g_return_if_fail(VTE_IS_TERMINAL(terminal)); 48 if (terminal->pvt->pty_input_source != 0) { 49 _vte_debug_print (VTE_DEBUG_IO, "disconnecting poll of vte_terminal_io_read\n"); 50 + g_source_remove(terminal->pvt->pty_input_source); 51 + @@ -6154,6 +6155,28 @@ 52 } 53 } 54 ··· 77 static GtkClipboard * 78 vte_terminal_clipboard_get(VteTerminal *terminal, GdkAtom board) 79 { 80 + @@ -6319,7 +6342,7 @@ 81 + vte_terminal_extend_selection(terminal, x, y, FALSE, TRUE); 82 83 /* Temporarily stop caring about input from the child. */ 84 - _vte_terminal_disconnect_pty_read(terminal); ··· 86 } 87 88 static gboolean 89 + @@ -6336,7 +6359,7 @@ 90 terminal->pvt->selecting = FALSE; 91 92 /* Reconnect to input from the child if we paused it. */ ··· 95 96 return TRUE; 97 } 98 + @@ -6834,6 +6857,50 @@ 99 + vte_terminal_deselect_all (terminal); 100 } 101 102 +/** ··· 143 + _vte_terminal_select_text(terminal, start_col, start_row, end_col, end_row, 0, 0); 144 +} 145 + 146 + /* Autoscroll a bit. */ 147 + static gboolean 148 + vte_terminal_autoscroll(VteTerminal *terminal) 149 + @@ -8476,7 +8543,7 @@ 150 + #endif 151 + kill(terminal->pvt->pty_pid, SIGHUP); 152 + } 153 + - _vte_terminal_disconnect_pty_read(terminal); 154 + + vte_terminal_disconnect_pty_read(terminal); 155 + _vte_terminal_disconnect_pty_write(terminal); 156 + if (terminal->pvt->pty_channel != NULL) { 157 + g_io_channel_unref (terminal->pvt->pty_channel); 158 + @@ -12533,7 +12600,7 @@ 159 + g_object_freeze_notify(object); 160 + 161 + if (pvt->pty != NULL) { 162 + - _vte_terminal_disconnect_pty_read(terminal); 163 + + vte_terminal_disconnect_pty_read(terminal); 164 + _vte_terminal_disconnect_pty_write(terminal); 165 + 166 + if (terminal->pvt->pty_channel != NULL) { 167 + @@ -12588,7 +12655,7 @@ 168 + _vte_terminal_setup_utf8 (terminal); 169 + 170 + /* Open channels to listen for input on. */ 171 + - _vte_terminal_connect_pty_read (terminal); 172 + + vte_terminal_connect_pty_read (terminal); 173 + 174 + g_object_notify(object, "pty"); 175 + 176 + @@ -12623,7 +12690,7 @@ 177 + } 178 + 179 + char * 180 + -_vte_terminal_get_selection(VteTerminal *terminal) 181 + +vte_terminal_get_selection(VteTerminal *terminal) 182 + { 183 + g_return_val_if_fail(VTE_IS_TERMINAL(terminal), NULL); 184 + 185 + Only in vte-0.38.0.new/src: .vte.c.swp 186 + diff -aur vte-0.38.0/src/vteint.h vte-0.38.0.new/src/vteint.h 187 + --- vte-0.38.0/src/vteint.h 2014-05-16 13:51:26.000000000 -0400 188 + +++ vte-0.38.0.new/src/vteint.h 2014-09-21 17:05:44.934589281 -0400 189 + @@ -25,7 +25,6 @@ 190 + G_BEGIN_DECLS 191 + 192 + void _vte_terminal_accessible_ref(VteTerminal *terminal); 193 + -char* _vte_terminal_get_selection(VteTerminal *terminal); 194 + void _vte_terminal_get_start_selection(VteTerminal *terminal, long *x, long *y); 195 + void _vte_terminal_get_end_selection(VteTerminal *terminal, long *x, long *y); 196 + void _vte_terminal_select_text(VteTerminal *terminal, long start_x, long start_y, long end_x, long end_y, int start_offset, int end_offset); 197 + diff -aur vte-0.38.0/src/vteterminal.h vte-0.38.0.new/src/vteterminal.h 198 + --- vte-0.38.0/src/vteterminal.h 2014-09-13 03:23:47.000000000 -0400 199 + +++ vte-0.38.0.new/src/vteterminal.h 2014-09-21 17:03:39.094903032 -0400 200 + @@ -170,6 +170,18 @@ 201 + 202 + void vte_terminal_select_all(VteTerminal *terminal) _VTE_GNUC_NONNULL(1); 203 + void vte_terminal_unselect_all(VteTerminal *terminal) _VTE_GNUC_NONNULL(1); 204 + +gboolean vte_terminal_get_selection_block_mode(VteTerminal *terminal) _VTE_GNUC_NONNULL(1); 205 + +void vte_terminal_set_selection_block_mode(VteTerminal *terminal, 206 + + gboolean block_mode) _VTE_GNUC_NONNULL(1); 207 +void vte_terminal_select_text(VteTerminal *terminal, 208 + long start_col, long start_row, 209 + + long end_col, long end_row) _VTE_GNUC_NONNULL(1); 210 + +char * 211 + +vte_terminal_get_selection(VteTerminal *terminal) _VTE_GNUC_NONNULL(1); 212 + 213 +/* pause and unpause output */ 214 +void vte_terminal_disconnect_pty_read(VteTerminal *vte); ··· 216 217 /* Set the terminal's size. */ 218 void vte_terminal_set_size(VteTerminal *terminal, 219 + @@ -276,6 +288,8 @@ 220 void vte_terminal_get_cursor_position(VteTerminal *terminal, 221 + glong *column, 222 + glong *row) _VTE_GNUC_NONNULL(1); 223 +void vte_terminal_set_cursor_position(VteTerminal *terminal, 224 + + long column, long row) _VTE_GNUC_NONNULL(1); 225 226 + /* Add a matching expression, returning the tag the widget assigns to that 227 + * expression. */
+4 -2
pkgs/desktops/gnome-3/3.12/default.nix
··· 118 119 gucharmap = callPackage ./core/gucharmap { }; 120 121 - gvfs = pkgs.gvfs.override { gnome = gnome3; lightWeight = false; }; 122 123 eog = callPackage ./core/eog { }; 124 ··· 176 177 vte = callPackage ./core/vte { }; 178 179 - vte-select-text = callPackage ./core/vte { selectTextPatch = true; }; 180 181 vino = callPackage ./core/vino { }; 182
··· 118 119 gucharmap = callPackage ./core/gucharmap { }; 120 121 + gvfs = pkgs.gvfs.override { gnome = gnome3; gnomeSupport = true; }; 122 123 eog = callPackage ./core/eog { }; 124 ··· 176 177 vte = callPackage ./core/vte { }; 178 179 + vte_038 = callPackage ./core/vte/0.38.0.nix { }; # To be moved in gnome 3.14 when available 180 + 181 + vte-select-text = vte_038.override { selectTextPatch = true; }; 182 183 vino = callPackage ./core/vino { }; 184
+16 -2
pkgs/development/arduino/arduino-core/default.nix
··· 1 - { stdenv, fetchFromGitHub, jdk, jre, ant, coreutils, gnugrep }: 2 3 stdenv.mkDerivation rec { 4 ··· 12 sha256 = "0nr5b719qi03rcmx6swbhccv6kihxz3b8b6y46bc2j348rja5332"; 13 }; 14 15 - buildInputs = [ jdk ant ]; 16 17 buildPhase = '' 18 cd ./core && ant ··· 27 cp -r ./build/linux/work/tools/ $out/share/arduino 28 cp -r ./build/linux/work/lib/ $out/share/arduino 29 echo ${version} > $out/share/arduino/lib/version.txt 30 ''; 31 32 meta = {
··· 1 + { stdenv, fetchFromGitHub, jdk, jre, ant, coreutils, gnugrep, file }: 2 3 stdenv.mkDerivation rec { 4 ··· 12 sha256 = "0nr5b719qi03rcmx6swbhccv6kihxz3b8b6y46bc2j348rja5332"; 13 }; 14 15 + buildInputs = [ jdk ant file ]; 16 17 buildPhase = '' 18 cd ./core && ant ··· 27 cp -r ./build/linux/work/tools/ $out/share/arduino 28 cp -r ./build/linux/work/lib/ $out/share/arduino 29 echo ${version} > $out/share/arduino/lib/version.txt 30 + 31 + # Fixup "/lib64/ld-linux-x86-64.so.2" like references in ELF executables. 32 + echo "running patchelf on prebuilt binaries:" 33 + find "$out" | while read filepath; do 34 + if file "$filepath" | grep -q "ELF.*executable"; then 35 + # skip target firmware files 36 + if echo "$filepath" | grep -q "\.elf$"; then 37 + continue 38 + fi 39 + echo "setting interpreter $(cat "$NIX_GCC"/nix-support/dynamic-linker) in $filepath" 40 + patchelf --set-interpreter "$(cat "$NIX_GCC"/nix-support/dynamic-linker)" "$filepath" 41 + test $? -eq 0 || { echo "patchelf failed to process $filepath"; exit 1; } 42 + fi 43 + done 44 ''; 45 46 meta = {
+2 -2
pkgs/development/compilers/ats2/default.nix
··· 2 3 stdenv.mkDerivation rec { 4 name = "ats2-${version}"; 5 - version = "0.1.3"; 6 7 src = fetchurl { 8 url = "mirror://sourceforge/ats2-lang/ATS2-Postiats-${version}.tgz"; 9 - sha256 = "157k703zsdf0gr7mwz08rdldfgwfsm5ipg36xcc8092fcjs5ryqp"; 10 }; 11 12 buildInputs = [ gmp ];
··· 2 3 stdenv.mkDerivation rec { 4 name = "ats2-${version}"; 5 + version = "0.1.4"; 6 7 src = fetchurl { 8 url = "mirror://sourceforge/ats2-lang/ATS2-Postiats-${version}.tgz"; 9 + sha256 = "174kxdvdgp2rlb0qq7d854n6m9gzy0g8annk3bmbqb23m36n2g39"; 10 }; 11 12 buildInputs = [ gmp ];
+9 -9
pkgs/development/compilers/bigloo/default.nix
··· 1 - { fetchurl, stdenv }: 2 3 stdenv.mkDerivation rec { 4 name = "bigloo-${version}"; 5 - version = "3.7a"; 6 7 src = fetchurl { 8 url = "ftp://ftp-sop.inria.fr/indes/fp/Bigloo/bigloo${version}.tar.gz"; 9 - sha256 = "0y8i87c2bpqzap8rhzgpyfgdzq21py5xq6mgp0w6xv4rjcj9d0v1"; 10 }; 11 12 preConfigure = 13 # Help libgc's configure. ··· 32 33 meta = { 34 description = "Efficient Scheme compiler"; 35 36 longDescription = '' 37 Bigloo is a Scheme implementation devoted to one goal: enabling ··· 44 Scheme and C programs, between Scheme and Java programs, and 45 between Scheme and C# programs. 46 ''; 47 - 48 - homepage = http://www-sop.inria.fr/indes/fp/Bigloo/; 49 - license = stdenv.lib.licenses.gpl2Plus; 50 - 51 - maintainers = [ stdenv.lib.maintainers.ludo ]; 52 - platforms = stdenv.lib.platforms.gnu; # arbitrary choice 53 }; 54 }
··· 1 + { fetchurl, stdenv, gmp }: 2 3 stdenv.mkDerivation rec { 4 name = "bigloo-${version}"; 5 + version = "4.1a-2"; 6 7 src = fetchurl { 8 url = "ftp://ftp-sop.inria.fr/indes/fp/Bigloo/bigloo${version}.tar.gz"; 9 + sha256 = "09yrz8r0jpj7bda39fdxzrrdyhi851nlfajsyf0b6jxanz6ygcjx"; 10 }; 11 + 12 + buildInputs = [ gmp ]; 13 14 preConfigure = 15 # Help libgc's configure. ··· 34 35 meta = { 36 description = "Efficient Scheme compiler"; 37 + homepage = http://www-sop.inria.fr/indes/fp/Bigloo/; 38 + license = stdenv.lib.licenses.gpl2Plus; 39 + platforms = stdenv.lib.platforms.unix; 40 + maintainers = with stdenv.lib.maintainers; [ ludo thoughtpolice ]; 41 42 longDescription = '' 43 Bigloo is a Scheme implementation devoted to one goal: enabling ··· 50 Scheme and C programs, between Scheme and Java programs, and 51 between Scheme and C# programs. 52 ''; 53 }; 54 }
+130
pkgs/development/compilers/chicken/0001-Introduce-CHICKEN_REPOSITORY_EXTRA.patch
···
··· 1 + From 752dff853186dc334c519a86fa92f087795fea02 Mon Sep 17 00:00:00 2001 2 + From: Moritz Heidkamp <moritz.heidkamp@bevuta.com> 3 + Date: Wed, 1 Oct 2014 22:41:30 +0200 4 + Subject: [PATCH] Introduce CHICKEN_REPOSITORY_EXTRA 5 + 6 + This environment variable works like CHICKEN_REPOSITORY but supports 7 + multiple paths separated by `:'. Those paths are searched after 8 + CHICKEN_REPOSITORY when loading extensions via `require-library' and 9 + friends. It can be accessed and changed at runtime via the new procedure 10 + `repository-extra-paths' which is analog to `repository-path'. 11 + --- 12 + chicken-install.scm | 11 +++++++---- 13 + chicken.import.scm | 1 + 14 + eval.scm | 37 +++++++++++++++++++++++++++++++------ 15 + 3 files changed, 39 insertions(+), 10 deletions(-) 16 + 17 + diff --git a/chicken-install.scm b/chicken-install.scm 18 + index 2ef6ef4..b5c6bf8 100644 19 + --- a/chicken-install.scm 20 + +++ b/chicken-install.scm 21 + @@ -109,10 +109,10 @@ 22 + (define *show-foreign-depends* #f) 23 + (define *hacks* '()) 24 + 25 + - (define (repo-path) 26 + + (define (repo-paths) 27 + (if (and *cross-chicken* (not *host-extension*)) 28 + - (make-pathname C_TARGET_LIB_HOME (sprintf "chicken/~a" C_BINARY_VERSION)) 29 + - (repository-path))) 30 + + (list (make-pathname C_TARGET_LIB_HOME (sprintf "chicken/~a" C_BINARY_VERSION))) 31 + + (cons (repository-path) (repository-extra-paths)))) 32 + 33 + (define (get-prefix #!optional runtime) 34 + (cond ((and *cross-chicken* 35 + @@ -757,7 +757,10 @@ 36 + "installed extension has no information about which egg it belongs to" 37 + (pathname-file sf)) 38 + #f)))) 39 + - (glob (make-pathname (repo-path) "*" "setup-info"))) 40 + + (append-map 41 + + (lambda (path) 42 + + (glob (make-pathname path "*" "setup-info"))) 43 + + (repo-paths))) 44 + equal?)) 45 + 46 + (define (list-available-extensions trans locn) 47 + diff --git a/chicken.import.scm b/chicken.import.scm 48 + index baa7316..2839b16 100644 49 + --- a/chicken.import.scm 50 + +++ b/chicken.import.scm 51 + @@ -201,6 +201,7 @@ 52 + repl 53 + repl-prompt 54 + repository-path 55 + + repository-extra-paths 56 + require 57 + reset 58 + reset-handler 59 + diff --git a/eval.scm b/eval.scm 60 + index bbcd86c..838588d 100644 61 + --- a/eval.scm 62 + +++ b/eval.scm 63 + @@ -81,6 +81,7 @@ 64 + (define-constant source-file-extension ".scm") 65 + (define-constant setup-file-extension "setup-info") 66 + (define-constant repository-environment-variable "CHICKEN_REPOSITORY") 67 + +(define-constant repository-extra-environment-variable "CHICKEN_REPOSITORY_EXTRA") 68 + (define-constant prefix-environment-variable "CHICKEN_PREFIX") 69 + 70 + ; these are actually in unit extras, but that is used by default 71 + @@ -1180,6 +1181,25 @@ 72 + 73 + (define repository-path ##sys#repository-path) 74 + 75 + +(define ##sys#repository-extra-paths 76 + + (let* ((repaths (get-environment-variable repository-extra-environment-variable)) 77 + + (repaths (if repaths 78 + + (let ((len (string-length repaths))) 79 + + (let loop ((i 0) (offset 0) (res '())) 80 + + (cond ((> i len) 81 + + (reverse res)) 82 + + ((or (= i len) (eq? #\: (string-ref repaths i))) 83 + + (loop (+ i 1) (+ i 1) (cons (substring repaths offset i) res))) 84 + + (else 85 + + (loop (+ i 1) offset res))))) 86 + + '()))) 87 + + (lambda (#!optional val) 88 + + (if val 89 + + (set! repaths val) 90 + + repaths)))) 91 + + 92 + +(define repository-extra-paths ##sys#repository-extra-paths) 93 + + 94 + (define ##sys#setup-mode #f) 95 + 96 + (define ##sys#find-extension 97 + @@ -1197,6 +1217,7 @@ 98 + (let loop ((paths (##sys#append 99 + (if ##sys#setup-mode '(".") '()) 100 + (if rp (list rp) '()) 101 + + (##sys#repository-extra-paths) 102 + (if inc? ##sys#include-pathnames '()) 103 + (if ##sys#setup-mode '() '("."))) )) 104 + (and (pair? paths) 105 + @@ -1256,12 +1277,16 @@ 106 + [string-append string-append] 107 + [read read] ) 108 + (lambda (id loc) 109 + - (and-let* ((rp (##sys#repository-path))) 110 + - (let* ((p (##sys#canonicalize-extension-path id loc)) 111 + - (rpath (string-append rp "/" p ".")) ) 112 + - (cond ((file-exists? (string-append rpath setup-file-extension)) 113 + - => (cut with-input-from-file <> read) ) 114 + - (else #f) ) ) ) ) )) 115 + + (let loop ((rpaths (cons (##sys#repository-path) (##sys#repository-extra-paths)))) 116 + + (and (pair? rpaths) 117 + + (let ((rp (car rpaths))) 118 + + (if (not rp) 119 + + (loop (cdr rpaths)) 120 + + (let* ((p (##sys#canonicalize-extension-path id loc)) 121 + + (rpath (string-append rp "/" p ".")) ) 122 + + (cond ((file-exists? (string-append rpath setup-file-extension)) 123 + + => (cut with-input-from-file <> read) ) 124 + + (else (loop (cdr rpaths))) ) )) ))) ) )) 125 + 126 + (define (extension-information ext) 127 + (##sys#extension-information ext 'extension-information) ) 128 + -- 129 + 2.1.0 130 +
+40 -1
pkgs/development/compilers/chicken/default.nix
··· 1 - { stdenv, fetchurl }: 2 3 let 4 version = "4.9.0.1"; ··· 8 else if isBSD then "bsd" 9 else if isSunOS then "solaris" 10 else "linux"; # Should be a sane default 11 in 12 stdenv.mkDerivation { 13 name = "chicken-${version}"; 14 15 src = fetchurl { 16 url = "http://code.call-cc.org/releases/4.9.0/chicken-${version}.tar.gz"; 17 sha256 = "0598mar1qswfd8hva9nqs88zjn02lzkqd8fzdd21dz1nki1prpq4"; 18 }; 19 20 buildFlags = "PLATFORM=${platform} PREFIX=$(out) VARDIR=$(out)/var/lib"; 21 installFlags = "PLATFORM=${platform} PREFIX=$(out) VARDIR=$(out)/var/lib"; 22 23 meta = { 24 homepage = http://www.call-cc.org/;
··· 1 + { stdenv, fetchurl, makeWrapper, bootstrap-chicken ? null }: 2 3 let 4 version = "4.9.0.1"; ··· 8 else if isBSD then "bsd" 9 else if isSunOS then "solaris" 10 else "linux"; # Should be a sane default 11 + lib = stdenv.lib; 12 in 13 stdenv.mkDerivation { 14 name = "chicken-${version}"; 15 16 + binaryVersion = 7; 17 + 18 src = fetchurl { 19 url = "http://code.call-cc.org/releases/4.9.0/chicken-${version}.tar.gz"; 20 sha256 = "0598mar1qswfd8hva9nqs88zjn02lzkqd8fzdd21dz1nki1prpq4"; 21 }; 22 23 + setupHook = lib.ifEnable (bootstrap-chicken != null) ./setup-hook.sh; 24 + 25 buildFlags = "PLATFORM=${platform} PREFIX=$(out) VARDIR=$(out)/var/lib"; 26 installFlags = "PLATFORM=${platform} PREFIX=$(out) VARDIR=$(out)/var/lib"; 27 + 28 + # We need a bootstrap-chicken to regenerate the c-files after 29 + # applying a patch to add support for CHICKEN_REPOSITORY_EXTRA 30 + patches = lib.ifEnable (bootstrap-chicken != null) [ 31 + ./0001-Introduce-CHICKEN_REPOSITORY_EXTRA.patch 32 + ]; 33 + 34 + buildInputs = [ 35 + makeWrapper 36 + ] ++ (lib.ifEnable (bootstrap-chicken != null) [ 37 + bootstrap-chicken 38 + ]); 39 + 40 + preBuild = lib.ifEnable (bootstrap-chicken != null) '' 41 + # Backup the build* files - those are generated from hostname, 42 + # git-tag, etc. and we don't need/want that 43 + mkdir -p build-backup 44 + mv buildid buildbranch buildtag.h build-backup 45 + 46 + # Regenerate eval.c after the patch 47 + make spotless $buildFlags 48 + 49 + mv build-backup/* . 50 + ''; 51 + 52 + postInstall = '' 53 + for f in $out/bin/* 54 + do 55 + wrapProgram $f \ 56 + --prefix PATH : ${stdenv.gcc}/bin 57 + done 58 + ''; 59 + 60 + # TODO: Assert csi -R files -p '(pathname-file (repository-path))' == binaryVersion 61 62 meta = { 63 homepage = http://www.call-cc.org/;
+46
pkgs/development/compilers/chicken/eggDerivation.nix
···
··· 1 + { stdenv, fetchegg, chicken, makeWrapper }: 2 + { name, src 3 + , buildInputs ? [] 4 + , chickenInstallFlags ? [] 5 + , cscOptions ? [] 6 + , ...} @ args: 7 + 8 + let 9 + libPath = "${chicken}/var/lib/chicken/${toString chicken.binaryVersion}/"; 10 + overrides = import ./overrides.nix; 11 + lib = stdenv.lib; 12 + baseName = (builtins.parseDrvName name).name; 13 + override = if builtins.hasAttr baseName overrides 14 + then 15 + builtins.getAttr baseName overrides 16 + else 17 + {}; 18 + in 19 + stdenv.mkDerivation ({ 20 + name = "chicken-${name}"; 21 + propagatedBuildInputs = buildInputs ++ [ chicken ]; 22 + propagatedUserEnvPkgs = buildInputs ++ [ chicken ]; 23 + buildInputs = [ makeWrapper ]; 24 + 25 + CSC_OPTIONS = stdenv.lib.concatStringsSep " " cscOptions; 26 + 27 + CHICKEN_REPOSITORY = libPath; 28 + CHICKEN_INSTALL_PREFIX = "$out"; 29 + 30 + installPhase = '' 31 + runHook preInstall 32 + 33 + chicken-install -p $out ${stdenv.lib.concatStringsSep " " chickenInstallFlags} 34 + 35 + for f in $out/bin/* 36 + do 37 + wrapProgram $f \ 38 + --set CHICKEN_REPOSITORY $CHICKEN_REPOSITORY \ 39 + --prefix CHICKEN_REPOSITORY_EXTRA : "$out/lib/chicken/${toString chicken.binaryVersion}/:$CHICKEN_REPOSITORY_EXTRA" \ 40 + --prefix CHICKEN_INCLUDE_PATH \; \"$CHICKEN_INCLUDE_PATH\;$out/share/\" \ 41 + --prefix PATH : "$out/bin:${chicken}/bin:$CHICKEN_REPOSITORY_EXTRA:$CHICKEN_REPOSITORY" 42 + done 43 + 44 + runHook postInstall 45 + ''; 46 + } // (builtins.removeAttrs args ["name" "buildInputs"]) // override)
+10
pkgs/development/compilers/chicken/overrides.nix
···
··· 1 + { 2 + setup-helper = { 3 + preBuild = '' 4 + substituteInPlace setup-helper.setup \ 5 + --replace "(chicken-home)" \"$out/share/\" 6 + 7 + cat setup-helper.setup 8 + ''; 9 + }; 10 + }
+7
pkgs/development/compilers/chicken/setup-hook.sh
···
··· 1 + addChickenRepositoryPath() { 2 + addToSearchPathWithCustomDelimiter : CHICKEN_REPOSITORY_EXTRA "$1/lib/chicken/7/" 3 + # addToSearchPathWithCustomDelimiter \; CHICKEN_INCLUDE_PATH "$1/share/" 4 + export CHICKEN_INCLUDE_PATH="$1/share;$CHICKEN_INCLUDE_PATH" 5 + } 6 + 7 + envHooks=(${envHooks[@]} addChickenRepositoryPath)
+18 -24
pkgs/development/compilers/gambit/default.nix
··· 1 - x@{stdenv, fetchurl, builderDefsPackage, ...}: 2 - builderDefsPackage 3 - (a : 4 - let 5 - s = import ./src-for-default.nix; 6 - helperArgNames = ["stdenv" "fetchurl" "builderDefsPackage"] ++ []; 7 - buildInputs = map (n: builtins.getAttr n x) 8 - (builtins.attrNames (builtins.removeAttrs x helperArgNames)); 9 - in 10 - rec { 11 - src = a.fetchUrlFromSrcInfo s; 12 13 - inherit (s) name; 14 - inherit buildInputs; 15 - configureFlags = ["--enable-shared"]; 16 17 - /* doConfigure should be removed if not needed */ 18 - phaseNames = ["doConfigure" "doMakeInstall"]; 19 - 20 meta = { 21 - description = "Scheme to C compiler"; 22 - maintainers = [ 23 - a.lib.maintainers.raskin 24 - ]; 25 - platforms = with a.lib.platforms; 26 - linux ++ freebsd; 27 }; 28 - }) x
··· 1 + { stdenv, fetchurl }: 2 3 + stdenv.mkDerivation rec { 4 + name = "gambit-${version}"; 5 + version = "4.7.3"; 6 + devver = "4_7_3"; 7 8 + src = fetchurl { 9 + url = "http://www.iro.umontreal.ca/~gambit/download/gambit/v4.7/source/gambc-v${devver}-devel.tgz"; 10 + sha256 = "12jbr6bc0zmc7vw07a9pliadbvqgwkpmw6cj8awz73clv1j7pxha"; 11 + }; 12 + 13 + configureFlags = [ "--enable-shared" "--enable-single-host" ]; 14 + 15 meta = { 16 + description = "Optimizing Scheme to C compiler"; 17 + homepage = "http://gambitscheme.org"; 18 + license = stdenv.lib.licenses.lgpl2; 19 + platforms = stdenv.lib.platforms.linux; 20 + maintainers = with stdenv.lib.maintainers; [ thoughtpolice raskin ]; 21 }; 22 + }
-9
pkgs/development/compilers/gambit/src-for-default.nix
··· 1 - rec { 2 - version="v4_6_1"; 3 - name="gambit-v4_6_1"; 4 - hash="0ad6c63dg5ggaamixxinvlf3128mra8xzss5chh66lkii4dc3m7g"; 5 - url="http://www.iro.umontreal.ca/~gambit/download/gambit/v4.6/source/gambc-${version}-devel.tgz"; 6 - advertisedUrl="http://www.iro.umontreal.ca/~gambit/download/gambit/v4.6/source/gambc-v4_6_1-devel.tgz"; 7 - 8 - 9 - }
···
-7
pkgs/development/compilers/gambit/src-info-for-default.nix
··· 1 - { 2 - downloadPage = "http://dynamo.iro.umontreal.ca/~gambit/wiki/index.php/Main_Page"; 3 - baseName = "gambit"; 4 - sourceRegexp = "[.]tgz"; 5 - versionExtractorSedScript = ''s/.*-(v[_0-9]+)-devel[.].*/\1/''; 6 - versionReferenceCreator = ''$(replaceAllVersionOccurences)''; 7 - }
···
+2 -2
pkgs/development/compilers/gcc-arm-embedded/default.nix
··· 1 - { stdenv, bzip2, patchelf, glibc, gcc, fetchurl, version, releaseType, sha256 }: 2 with stdenv.lib; 3 let 4 versionParts = splitString "-" version; # 4.7 2013q3 20130916 ··· 31 for f in $(find $out); do 32 if [ -f "$f" ] && patchelf "$f" 2> /dev/null; then 33 patchelf --set-interpreter ${glibc}/lib/ld-linux.so.2 \ 34 - --set-rpath $out/lib:${gcc}/lib \ 35 "$f" || true 36 fi 37 done
··· 1 + { stdenv, bzip2, patchelf, glibc, gcc, fetchurl, version, releaseType, sha256, ncurses }: 2 with stdenv.lib; 3 let 4 versionParts = splitString "-" version; # 4.7 2013q3 20130916 ··· 31 for f in $(find $out); do 32 if [ -f "$f" ] && patchelf "$f" 2> /dev/null; then 33 patchelf --set-interpreter ${glibc}/lib/ld-linux.so.2 \ 34 + --set-rpath $out/lib:${gcc}/lib:${ncurses}/lib \ 35 "$f" || true 36 fi 37 done
+10 -13
pkgs/development/compilers/idris/default.nix
··· 1 # This file was auto-generated by cabal2nix. Please do NOT edit manually! 2 3 { cabal, annotatedWlPprint, ansiTerminal, ansiWlPprint 4 - , base64Bytestring, binary, blazeHtml, blazeMarkup, boehmgc, Cabal 5 , cheapskate, deepseq, filepath, fingertree, gmp, happy, haskeline 6 - , languageJava, lens, libffi, llvmGeneral, llvmGeneralPure, mtl 7 - , network, optparseApplicative, parsers, split, text, time 8 - , transformers, trifecta, unorderedContainers, utf8String, vector 9 - , vectorBinaryInstances, xml, zlib 10 }: 11 12 cabal.mkDerivation (self: { 13 pname = "idris"; 14 - version = "0.9.14.3"; 15 - sha256 = "03zppfqjamy4mdwcfx3x1wzxav67ha1zgnynrxhvdqw3zcsrwnlr"; 16 isLibrary = true; 17 isExecutable = true; 18 buildDepends = [ 19 annotatedWlPprint ansiTerminal ansiWlPprint base64Bytestring binary 20 - blazeHtml blazeMarkup Cabal cheapskate deepseq filepath fingertree 21 - haskeline languageJava lens libffi llvmGeneral llvmGeneralPure mtl 22 - network optparseApplicative parsers split text time transformers 23 - trifecta unorderedContainers utf8String vector 24 - vectorBinaryInstances xml zlib 25 ]; 26 buildTools = [ happy ]; 27 extraLibraries = [ boehmgc gmp ]; ··· 31 description = "Functional Programming Language with Dependent Types"; 32 license = self.stdenv.lib.licenses.bsd3; 33 platforms = self.ghc.meta.platforms; 34 - maintainers = with self.stdenv.lib.maintainers; [ aycanirican ]; 35 }; 36 })
··· 1 # This file was auto-generated by cabal2nix. Please do NOT edit manually! 2 3 { cabal, annotatedWlPprint, ansiTerminal, ansiWlPprint 4 + , base64Bytestring, binary, blazeHtml, blazeMarkup, boehmgc 5 , cheapskate, deepseq, filepath, fingertree, gmp, happy, haskeline 6 + , lens, libffi, mtl, network, optparseApplicative, parsers, split 7 + , text, time, transformers, trifecta, unorderedContainers 8 + , utf8String, vector, vectorBinaryInstances, xml, zlib 9 }: 10 11 cabal.mkDerivation (self: { 12 pname = "idris"; 13 + version = "0.9.15.1"; 14 + sha256 = "0r31jcqs9kgknm66v7bbcgj9md7z49sgvn0nhk1dwg8jj2rmfll8"; 15 isLibrary = true; 16 isExecutable = true; 17 buildDepends = [ 18 annotatedWlPprint ansiTerminal ansiWlPprint base64Bytestring binary 19 + blazeHtml blazeMarkup cheapskate deepseq filepath fingertree 20 + haskeline lens libffi mtl network optparseApplicative parsers split 21 + text time transformers trifecta unorderedContainers utf8String 22 + vector vectorBinaryInstances xml zlib 23 ]; 24 buildTools = [ happy ]; 25 extraLibraries = [ boehmgc gmp ]; ··· 29 description = "Functional Programming Language with Dependent Types"; 30 license = self.stdenv.lib.licenses.bsd3; 31 platforms = self.ghc.meta.platforms; 32 }; 33 })
+3 -3
pkgs/development/compilers/oraclejdk/jdk7-linux.nix
··· 1 import ./jdk-linux-base.nix { 2 productVersion = "7"; 3 - patchVersion = "72"; 4 downloadUrl = http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html; 5 - sha256_i686 = "01zl82hnb9pynxw04zaq4745av42cga97cbckcwb8lh752hchxh3"; 6 - sha256_x86_64 = "13nyx8p27crnnybkzdaiv9l1azap7c8g4na6xasrnjvx3f7467fx"; 7 jceName = "UnlimitedJCEPolicyJDK7.zip"; 8 jceDownloadUrl = http://www.oracle.com/technetwork/java/javase/downloads/jce-7-download-432124.html; 9 sha256JCE = "7a8d790e7bd9c2f82a83baddfae765797a4a56ea603c9150c87b7cdb7800194d";
··· 1 import ./jdk-linux-base.nix { 2 productVersion = "7"; 3 + patchVersion = "71"; 4 downloadUrl = http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html; 5 + sha256_i686 = "d3c09a35abc0464d8ad70dfe17e02597eb4c5d489ff4d1bcd14088aeb5016424"; 6 + sha256_x86_64 = "80d5705fc37fc4eabe3cea480e0530ae0436c2c086eb8fc6f65bb21e8594baf8"; 7 jceName = "UnlimitedJCEPolicyJDK7.zip"; 8 jceDownloadUrl = http://www.oracle.com/technetwork/java/javase/downloads/jce-7-download-432124.html; 9 sha256JCE = "7a8d790e7bd9c2f82a83baddfae765797a4a56ea603c9150c87b7cdb7800194d";
+10
pkgs/development/compilers/oraclejdk/jdk7psu-linux.nix
···
··· 1 + import ./jdk-linux-base.nix { 2 + productVersion = "7"; 3 + patchVersion = "72"; 4 + downloadUrl = http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html; 5 + sha256_i686 = "0376c8a0280752b4389b6cb193d463826c55c821587d0278b7fea665a140f407"; 6 + sha256_x86_64 = "dd1d438e1b7d4b9bb5ea4659f2103b577d1568da51b53f97b736b3232eeade8e"; 7 + jceName = "UnlimitedJCEPolicyJDK7.zip"; 8 + jceDownloadUrl = http://www.oracle.com/technetwork/java/javase/downloads/jce-7-download-432124.html; 9 + sha256JCE = "7a8d790e7bd9c2f82a83baddfae765797a4a56ea603c9150c87b7cdb7800194d"; 10 + }
+3 -3
pkgs/development/compilers/oraclejdk/jdk8-linux.nix
··· 1 import ./jdk-linux-base.nix { 2 productVersion = "8"; 3 - patchVersion = "20"; 4 downloadUrl = http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html; 5 - sha256_i686 = "fa013b3fcbb1308040bf0e75bbd6ef7e8396b547cbc8dd79e3cb8153604bfd06"; 6 - sha256_x86_64 = "3e717622ae48af5ca7298e7797cb71d4d545238f362741a83e69c097ca055de4"; 7 jceName = "jce_policy-8.zip"; 8 jceDownloadUrl = http://www.oracle.com/technetwork/java/javase/downloads/jce8-download-2133166.html; 9 sha256JCE = "f3020a3922efd6626c2fff45695d527f34a8020e938a49292561f18ad1320b59";
··· 1 import ./jdk-linux-base.nix { 2 productVersion = "8"; 3 + patchVersion = "25"; 4 downloadUrl = http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html; 5 + sha256_i686 = "17f396a541db09c732032185f10f9c6eb42ac7b5776814602342de9655b2e0e2"; 6 + sha256_x86_64 = "057f660799be2307d2eefa694da9d3fce8e165807948f5bcaa04f72845d2f529"; 7 jceName = "jce_policy-8.zip"; 8 jceDownloadUrl = http://www.oracle.com/technetwork/java/javase/downloads/jce8-download-2133166.html; 9 sha256JCE = "f3020a3922efd6626c2fff45695d527f34a8020e938a49292561f18ad1320b59";
+2 -2
pkgs/development/compilers/swi-prolog/default.nix
··· 4 }: 5 6 let 7 - version = "6.6.5"; 8 in 9 stdenv.mkDerivation { 10 name = "swi-prolog-${version}"; 11 12 src = fetchurl { 13 url = "http://www.swi-prolog.org/download/stable/src/pl-${version}.tar.gz"; 14 - sha256 = "0lsa90sdnkd286xgm1amwkdhvnrpsz7imfzczrfdaw4arqk4bvkr"; 15 }; 16 17 buildInputs = [ gmp readline openssl libjpeg unixODBC libXinerama
··· 4 }: 5 6 let 7 + version = "6.6.6"; 8 in 9 stdenv.mkDerivation { 10 name = "swi-prolog-${version}"; 11 12 src = fetchurl { 13 url = "http://www.swi-prolog.org/download/stable/src/pl-${version}.tar.gz"; 14 + sha256 = "0vcrfskm2hyhv30lxr6v261myb815jc3bgmcn1lgsc9g9qkvp04z"; 15 }; 16 17 buildInputs = [ gmp readline openssl libjpeg unixODBC libXinerama
+20
pkgs/development/guile-modules/guile-opengl/default.nix
···
··· 1 + { stdenv, fetchurl, pkgconfig, guile }: 2 + 3 + stdenv.mkDerivation rec { 4 + name = "guile-opengl-0.1.0"; 5 + 6 + meta = with stdenv.lib; { 7 + description = "Guile binding for the OpenGL graphics API"; 8 + homepage = "http://gnu.org/s/guile-opengl"; 9 + license = licenses.gpl3Plus; 10 + platforms = platforms.linux; 11 + maintainers = with maintainers; [ iyzsong ]; 12 + }; 13 + 14 + src = fetchurl { 15 + url = "mirror://gnu/guile-opengl/${name}.tar.gz"; 16 + sha256 = "13qfx4xh8baryxqrv986l848ygd0piqwm6s2s90pxk9c0m9vklim"; 17 + }; 18 + 19 + nativeBuildInputs = [ pkgconfig guile ]; 20 + }
+35
pkgs/development/interpreters/eff/default.nix
···
··· 1 + { stdenv, fetchgit, ocaml, findlib, menhir, which }: 2 + 3 + let inherit (stdenv.lib) getVersion versionAtLeast; in 4 + 5 + assert versionAtLeast (getVersion ocaml) "3.12"; 6 + 7 + stdenv.mkDerivation { 8 + 9 + name = "eff-20140928"; 10 + 11 + src = fetchgit { 12 + url = "https://github.com/matijapretnar/eff.git"; 13 + rev = "90f884a790fddddb51d4d1d3b7c2edf1e8aabb64"; 14 + sha256 = "28e389b35e6959072c245c2e79fe305885b1b2d44ff540a02a097e09e9f9698f"; 15 + }; 16 + 17 + buildInputs = [ ocaml findlib menhir which ]; 18 + 19 + doCheck = true; 20 + checkTarget = "test"; 21 + 22 + meta = with stdenv.lib; { 23 + homepage = "http://www.eff-lang.org"; 24 + description = "A functional programming language based on algebraic effects and their handlers"; 25 + longDescription = '' 26 + Eff is a functional language with handlers of not only exceptions, 27 + but also of other computational effects such as state or I/O. With 28 + handlers, you can simply implement transactions, redirections, 29 + backtracking, multi-threading, and much more... 30 + ''; 31 + license = licenses.bsd2; 32 + platforms = ocaml.meta.platforms; 33 + maintainers = [ maintainers.jirkamarsik ]; 34 + }; 35 + }
+4 -4
pkgs/development/interpreters/nix-exec/default.nix
··· 1 - { stdenv, fetchurl, pkgconfig, nix }: let 2 - version = "1.1.0"; 3 in stdenv.mkDerivation { 4 name = "nix-exec-${version}"; 5 6 src = fetchurl { 7 url = "https://github.com/shlevy/nix-exec/releases/download/v${version}/nix-exec-${version}.tar.xz"; 8 9 - sha256 = "0w1dq2svv1l8x18q5syraf80xpyyrcxbrab51cszc3v4m04b4saa"; 10 }; 11 12 - buildInputs = [ pkgconfig nix ]; 13 14 meta = { 15 description = "Run programs defined in nix expressions";
··· 1 + { stdenv, fetchurl, pkgconfig, nix, git }: let 2 + version = "2.0.1"; 3 in stdenv.mkDerivation { 4 name = "nix-exec-${version}"; 5 6 src = fetchurl { 7 url = "https://github.com/shlevy/nix-exec/releases/download/v${version}/nix-exec-${version}.tar.xz"; 8 9 + sha256 = "1iyz19c15yw0p5lgfbfh8arja2cy3apx5697cm671j4qzjkws32p"; 10 }; 11 12 + buildInputs = [ pkgconfig nix git ]; 13 14 meta = { 15 description = "Run programs defined in nix expressions";
+8 -2
pkgs/development/interpreters/pure/default.nix
··· 4 stdenv.mkDerivation rec { 5 baseName="pure"; 6 project="pure-lang"; 7 - version="0.62"; 8 name="${baseName}-${version}"; 9 extension="tar.gz"; 10 11 src = fetchurl { 12 url="https://bitbucket.org/purelang/${project}/downloads/${name}.${extension}"; 13 - sha256="77df64e8154ef6f8fac66f8bcc471dc8f994862d1ee77b7c98003607757a013b"; 14 }; 15 16 buildInputs = [ bison flex makeWrapper ]; 17 propagatedBuildInputs = [ llvm gmp mpfr readline ]; 18 19 postInstall = '' 20 wrapProgram $out/bin/pure --prefix LD_LIBRARY_PATH : ${llvm}/lib 21 ''; ··· 25 maintainers = with lib.maintainers; 26 [ 27 raskin 28 ]; 29 platforms = with lib.platforms; 30 linux;
··· 4 stdenv.mkDerivation rec { 5 baseName="pure"; 6 project="pure-lang"; 7 + version="0.63"; 8 name="${baseName}-${version}"; 9 extension="tar.gz"; 10 11 src = fetchurl { 12 url="https://bitbucket.org/purelang/${project}/downloads/${name}.${extension}"; 13 + sha256="33acb2d560b21813f5e856973b493d9cfafba82bd6f539425ce07aa22f84ee29"; 14 }; 15 16 buildInputs = [ bison flex makeWrapper ]; 17 propagatedBuildInputs = [ llvm gmp mpfr readline ]; 18 19 + configureFlags = [ "--enable-release" ]; 20 + doCheck = true; 21 + checkPhase = '' 22 + LD_LIBRARY_PATH=$LD_LIBRARY_PATH:${llvm}/lib make check 23 + ''; 24 postInstall = '' 25 wrapProgram $out/bin/pure --prefix LD_LIBRARY_PATH : ${llvm}/lib 26 ''; ··· 30 maintainers = with lib.maintainers; 31 [ 32 raskin 33 + asppsa 34 ]; 35 platforms = with lib.platforms; 36 linux;
-5
pkgs/development/interpreters/python/2.6/default.nix
··· 135 136 buildPhase = 137 '' 138 - # Fake the build environment that setup.py expects. 139 - ln -s ${python}/include/python*/pyconfig.h . 140 - ln -s ${python}/lib/python*/config/Setup Modules/ 141 - ln -s ${python}/lib/python*/config/Setup.local Modules/ 142 - 143 substituteInPlace setup.py --replace 'self.extensions = extensions' \ 144 'self.extensions = [ext for ext in self.extensions if ext.name in ["${internalName}"]]' 145
··· 135 136 buildPhase = 137 '' 138 substituteInPlace setup.py --replace 'self.extensions = extensions' \ 139 'self.extensions = [ext for ext in self.extensions if ext.name in ["${internalName}"]]' 140
+6
pkgs/development/interpreters/ruby/ruby-1.9.3.nix
··· 48 49 enableParallelBuilding = true; 50 51 patches = [ 52 ./ruby19-parallel-install.patch 53 ./bitperfect-rdoc.patch
··· 48 49 enableParallelBuilding = true; 50 51 + # Fix a build failure on systems with nix store optimisation. 52 + # (The build process attempted to copy file a overwriting file b, where a and 53 + # b are hard-linked, which results in cp returning a non-zero exit code.) 54 + # https://github.com/NixOS/nixpkgs/issues/4266 55 + postUnpack = ''rm "$sourceRoot/enc/unicode/name2ctype.h"''; 56 + 57 patches = [ 58 ./ruby19-parallel-install.patch 59 ./bitperfect-rdoc.patch
+8
pkgs/development/interpreters/ruby/ruby-2.0.0.nix
··· 5 , ncurses, readline, cursesSupport ? false 6 , groff, docSupport ? false 7 , libyaml, yamlSupport ? true 8 , ruby_2_0_0, autoreconfHook, bison, useRailsExpress ? true 9 }: 10 ··· 34 NROFF = "${groff}/bin/nroff"; 35 36 buildInputs = ops useRailsExpress [ autoreconfHook bison ] 37 ++ (ops cursesSupport [ ncurses readline ] ) 38 ++ (op docSupport groff ) 39 ++ (op zlibSupport zlib) ··· 47 ++ (op (!cursesSupport && stdenv.isDarwin) readline); 48 49 enableParallelBuilding = true; 50 51 patches = ops useRailsExpress [ 52 "${patchSet}/patches/ruby/2.0.0/p481/01-zero-broken-tests.patch"
··· 5 , ncurses, readline, cursesSupport ? false 6 , groff, docSupport ? false 7 , libyaml, yamlSupport ? true 8 + , libffi, fiddleSupport ? true 9 , ruby_2_0_0, autoreconfHook, bison, useRailsExpress ? true 10 }: 11 ··· 35 NROFF = "${groff}/bin/nroff"; 36 37 buildInputs = ops useRailsExpress [ autoreconfHook bison ] 38 + ++ (op fiddleSupport libffi) 39 ++ (ops cursesSupport [ ncurses readline ] ) 40 ++ (op docSupport groff ) 41 ++ (op zlibSupport zlib) ··· 49 ++ (op (!cursesSupport && stdenv.isDarwin) readline); 50 51 enableParallelBuilding = true; 52 + 53 + # Fix a build failure on systems with nix store optimisation. 54 + # (The build process attempted to copy file a overwriting file b, where a and 55 + # b are hard-linked, which results in cp returning a non-zero exit code.) 56 + # https://github.com/NixOS/nixpkgs/issues/4266 57 + postUnpack = ''rm "$sourceRoot/enc/unicode/name2ctype.h"''; 58 59 patches = ops useRailsExpress [ 60 "${patchSet}/patches/ruby/2.0.0/p481/01-zero-broken-tests.patch"
+8
pkgs/development/interpreters/ruby/ruby-2.1.0.nix
··· 5 , ncurses, readline, cursesSupport ? false 6 , groff, docSupport ? false 7 , libyaml, yamlSupport ? true 8 , ruby_2_1_0, autoreconfHook, bison, useRailsExpress ? true 9 }: 10 ··· 35 NROFF = "${groff}/bin/nroff"; 36 37 buildInputs = ops useRailsExpress [ autoreconfHook bison ] 38 ++ (ops cursesSupport [ ncurses readline ] ) 39 ++ (op docSupport groff ) 40 ++ (op zlibSupport zlib) ··· 48 ++ (op (!cursesSupport && stdenv.isDarwin) readline); 49 50 enableParallelBuilding = true; 51 52 patches = ops useRailsExpress [ 53 "${patchSet}/patches/ruby/2.1.0/railsexpress/01-current-2.1.1-fixes.patch"
··· 5 , ncurses, readline, cursesSupport ? false 6 , groff, docSupport ? false 7 , libyaml, yamlSupport ? true 8 + , libffi, fiddleSupport ? true 9 , ruby_2_1_0, autoreconfHook, bison, useRailsExpress ? true 10 }: 11 ··· 36 NROFF = "${groff}/bin/nroff"; 37 38 buildInputs = ops useRailsExpress [ autoreconfHook bison ] 39 + ++ (op fiddleSupport libffi) 40 ++ (ops cursesSupport [ ncurses readline ] ) 41 ++ (op docSupport groff ) 42 ++ (op zlibSupport zlib) ··· 50 ++ (op (!cursesSupport && stdenv.isDarwin) readline); 51 52 enableParallelBuilding = true; 53 + 54 + # Fix a build failure on systems with nix store optimisation. 55 + # (The build process attempted to copy file a overwriting file b, where a and 56 + # b are hard-linked, which results in cp returning a non-zero exit code.) 57 + # https://github.com/NixOS/nixpkgs/issues/4266 58 + postUnpack = ''rm "$sourceRoot/enc/unicode/name2ctype.h"''; 59 60 patches = ops useRailsExpress [ 61 "${patchSet}/patches/ruby/2.1.0/railsexpress/01-current-2.1.1-fixes.patch"
+8
pkgs/development/interpreters/ruby/ruby-2.1.1.nix
··· 5 , ncurses, readline, cursesSupport ? false 6 , groff, docSupport ? false 7 , libyaml, yamlSupport ? true 8 , ruby_2_1_1, autoreconfHook, bison, useRailsExpress ? true 9 }: 10 ··· 35 NROFF = "${groff}/bin/nroff"; 36 37 buildInputs = ops useRailsExpress [ autoreconfHook bison ] 38 ++ (ops cursesSupport [ ncurses readline ] ) 39 ++ (op docSupport groff ) 40 ++ (op zlibSupport zlib) ··· 48 ++ (op (!cursesSupport && stdenv.isDarwin) readline); 49 50 enableParallelBuilding = true; 51 52 patches = ops useRailsExpress [ 53 "${patchSet}/patches/ruby/2.1.0/railsexpress/01-zero-broken-tests.patch"
··· 5 , ncurses, readline, cursesSupport ? false 6 , groff, docSupport ? false 7 , libyaml, yamlSupport ? true 8 + , libffi, fiddleSupport ? true 9 , ruby_2_1_1, autoreconfHook, bison, useRailsExpress ? true 10 }: 11 ··· 36 NROFF = "${groff}/bin/nroff"; 37 38 buildInputs = ops useRailsExpress [ autoreconfHook bison ] 39 + ++ (op fiddleSupport libffi) 40 ++ (ops cursesSupport [ ncurses readline ] ) 41 ++ (op docSupport groff ) 42 ++ (op zlibSupport zlib) ··· 50 ++ (op (!cursesSupport && stdenv.isDarwin) readline); 51 52 enableParallelBuilding = true; 53 + 54 + # Fix a build failure on systems with nix store optimisation. 55 + # (The build process attempted to copy file a overwriting file b, where a and 56 + # b are hard-linked, which results in cp returning a non-zero exit code.) 57 + # https://github.com/NixOS/nixpkgs/issues/4266 58 + postUnpack = ''rm "$sourceRoot/enc/unicode/name2ctype.h"''; 59 60 patches = ops useRailsExpress [ 61 "${patchSet}/patches/ruby/2.1.0/railsexpress/01-zero-broken-tests.patch"
+8
pkgs/development/interpreters/ruby/ruby-2.1.2.nix
··· 5 , ncurses, readline, cursesSupport ? false 6 , groff, docSupport ? false 7 , libyaml, yamlSupport ? true 8 , ruby_2_1_2, autoreconfHook, bison, useRailsExpress ? true 9 }: 10 ··· 35 NROFF = "${groff}/bin/nroff"; 36 37 buildInputs = ops useRailsExpress [ autoreconfHook bison ] 38 ++ (ops cursesSupport [ ncurses readline ] ) 39 ++ (op docSupport groff ) 40 ++ (op zlibSupport zlib) ··· 48 ++ (op (!cursesSupport && stdenv.isDarwin) readline); 49 50 enableParallelBuilding = true; 51 52 patches = ops useRailsExpress [ 53 "${patchSet}/patches/ruby/2.1.2/railsexpress/01-zero-broken-tests.patch"
··· 5 , ncurses, readline, cursesSupport ? false 6 , groff, docSupport ? false 7 , libyaml, yamlSupport ? true 8 + , libffi, fiddleSupport ? true 9 , ruby_2_1_2, autoreconfHook, bison, useRailsExpress ? true 10 }: 11 ··· 36 NROFF = "${groff}/bin/nroff"; 37 38 buildInputs = ops useRailsExpress [ autoreconfHook bison ] 39 + ++ (op fiddleSupport libffi) 40 ++ (ops cursesSupport [ ncurses readline ] ) 41 ++ (op docSupport groff ) 42 ++ (op zlibSupport zlib) ··· 50 ++ (op (!cursesSupport && stdenv.isDarwin) readline); 51 52 enableParallelBuilding = true; 53 + 54 + # Fix a build failure on systems with nix store optimisation. 55 + # (The build process attempted to copy file a overwriting file b, where a and 56 + # b are hard-linked, which results in cp returning a non-zero exit code.) 57 + # https://github.com/NixOS/nixpkgs/issues/4266 58 + postUnpack = ''rm "$sourceRoot/enc/unicode/name2ctype.h"''; 59 60 patches = ops useRailsExpress [ 61 "${patchSet}/patches/ruby/2.1.2/railsexpress/01-zero-broken-tests.patch"
+114
pkgs/development/interpreters/ruby/ruby-2.1.3.nix
···
··· 1 + { stdenv, fetchurl, fetchgit, fetchFromGitHub 2 + , zlib, zlibSupport ? true 3 + , openssl, opensslSupport ? true 4 + , gdbm, gdbmSupport ? true 5 + , ncurses, readline, cursesSupport ? false 6 + , groff, docSupport ? false 7 + , libyaml, yamlSupport ? true 8 + , libffi, fiddleSupport ? true 9 + , ruby_2_1_3, autoreconfHook, bison, useRailsExpress ? true 10 + }: 11 + 12 + let 13 + op = stdenv.lib.optional; 14 + ops = stdenv.lib.optionals; 15 + patchSet = import ./rvm-patchsets.nix { inherit fetchFromGitHub; }; 16 + config = import ./config.nix fetchgit; 17 + baseruby = ruby_2_1_3.override { useRailsExpress = false; }; 18 + in 19 + 20 + stdenv.mkDerivation rec { 21 + version = with passthru; "${majorVersion}.${minorVersion}.${teenyVersion}-p${patchLevel}"; 22 + 23 + name = "ruby-${version}"; 24 + 25 + src = if useRailsExpress then fetchFromGitHub { 26 + owner = "ruby"; 27 + repo = "ruby"; 28 + rev = "v2_1_3"; 29 + sha256 = "1pnam9jry2l2mbji3gvrbb7jyisxl99xjz6l1qrccwnfinxxbmhv"; 30 + } else fetchurl { 31 + url = "http://cache.ruby-lang.org/pub/ruby/2.1/ruby-2.1.3.tar.gz"; 32 + sha256 = "00bz6jcbxgnllplk4b9lnyc3w8yd3pz5rn11rmca1s8cn6vvw608"; 33 + }; 34 + 35 + # Have `configure' avoid `/usr/bin/nroff' in non-chroot builds. 36 + NROFF = "${groff}/bin/nroff"; 37 + 38 + buildInputs = ops useRailsExpress [ autoreconfHook bison ] 39 + ++ (op fiddleSupport libffi) 40 + ++ (ops cursesSupport [ ncurses readline ]) 41 + ++ (op docSupport groff) 42 + ++ (op zlibSupport zlib) 43 + ++ (op opensslSupport openssl) 44 + ++ (op gdbmSupport gdbm) 45 + ++ (op yamlSupport libyaml) 46 + # Looks like ruby fails to build on darwin without readline even if curses 47 + # support is not enabled, so add readline to the build inputs if curses 48 + # support is disabled (if it's enabled, we already have it) and we're 49 + # running on darwin 50 + ++ (op (!cursesSupport && stdenv.isDarwin) readline); 51 + 52 + enableParallelBuilding = true; 53 + 54 + # Fix a build failure on systems with nix store optimisation. 55 + # (The build process attempted to copy file a overwriting file b, where a and 56 + # b are hard-linked, which results in cp returning a non-zero exit code.) 57 + # https://github.com/NixOS/nixpkgs/issues/4266 58 + postUnpack = ''rm "$sourceRoot/enc/unicode/name2ctype.h"''; 59 + 60 + patches = ops useRailsExpress [ 61 + "${patchSet}/patches/ruby/2.1.3/railsexpress/01-zero-broken-tests.patch" 62 + "${patchSet}/patches/ruby/2.1.3/railsexpress/02-improve-gc-stats.patch" 63 + "${patchSet}/patches/ruby/2.1.3/railsexpress/03-display-more-detailed-stack-trace.patch" 64 + "${patchSet}/patches/ruby/2.1.3/railsexpress/04-show-full-backtrace-on-stack-overflow.patch" 65 + "${patchSet}/patches/ruby/2.1.3/railsexpress/05-funny-falcon-stc-density.patch" 66 + "${patchSet}/patches/ruby/2.1.3/railsexpress/06-funny-falcon-stc-pool-allocation.patch" 67 + "${patchSet}/patches/ruby/2.1.3/railsexpress/07-aman-opt-aset-aref-str.patch" 68 + "${patchSet}/patches/ruby/2.1.3/railsexpress/08-funny-falcon-method-cache.patch" 69 + ]; 70 + 71 + # Ruby >= 2.1.0 tries to download config.{guess,sub} 72 + postPatch = '' 73 + rm tool/config_files.rb 74 + cp ${config}/config.guess tool/ 75 + cp ${config}/config.sub tool/ 76 + ''; 77 + 78 + configureFlags = ["--enable-shared" ] 79 + ++ op useRailsExpress "--with-baseruby=${baseruby}/bin/ruby" 80 + # on darwin, we have /usr/include/tk.h -- so the configure script detects 81 + # that tk is installed 82 + ++ ( if stdenv.isDarwin then [ "--with-out-ext=tk " ] else [ ]); 83 + 84 + installFlags = stdenv.lib.optionalString docSupport "install-doc"; 85 + # Bundler tries to create this directory 86 + postInstall = '' 87 + # Bundler tries to create this directory 88 + mkdir -pv $out/${passthru.gemPath} 89 + mkdir -p $out/nix-support 90 + cat > $out/nix-support/setup-hook <<EOF 91 + addGemPath() { 92 + addToSearchPath GEM_PATH \$1/${passthru.gemPath} 93 + } 94 + 95 + envHooks+=(addGemPath) 96 + EOF 97 + ''; 98 + 99 + meta = { 100 + license = "Ruby"; 101 + homepage = "http://www.ruby-lang.org/en/"; 102 + description = "The Ruby language"; 103 + platforms = stdenv.lib.platforms.all; 104 + }; 105 + 106 + passthru = rec { 107 + majorVersion = "2"; 108 + minorVersion = "1"; 109 + teenyVersion = "3"; 110 + patchLevel = "0"; 111 + libPath = "lib/ruby/${majorVersion}.${minorVersion}"; 112 + gemPath = "lib/ruby/gems/${majorVersion}.${minorVersion}"; 113 + }; 114 + }
+2 -2
pkgs/development/interpreters/ruby/rvm-patchsets.nix
··· 3 fetchFromGitHub { 4 owner = "skaes"; 5 repo = "rvm-patchsets"; 6 - rev = "13d535bbc060b1b8166673932fe7098abf4216b8"; 7 - sha256 = "0hf1m2bsdgdnyi4427gknvpd8cfribw77lf2k980flb1z9g5d7ib"; 8 }
··· 3 fetchFromGitHub { 4 owner = "skaes"; 5 repo = "rvm-patchsets"; 6 + rev = "fb6b427f71e756900184d1b6eaeb10245ec8405a"; 7 + sha256 = "10k7p3nymj7y5a0az8v1aks2w5w190zfqv9kiiafcx0a3qfswnck"; 8 }
+2 -2
pkgs/development/libraries/SDL_mixer/default.nix
··· 1 - { stdenv, fetchurl, SDL, libogg, libvorbis, enableNativeMidi ? false, fluidsynth ? null }: 2 3 stdenv.mkDerivation rec { 4 pname = "SDL_mixer"; ··· 10 sha256 = "0alrhqgm40p4c92s26mimg9cm1y7rzr6m0p49687jxd9g6130i0n"; 11 }; 12 13 - buildInputs = [SDL libogg libvorbis fluidsynth]; 14 15 configureFlags = "--disable-music-ogg-shared" + stdenv.lib.optionalString enableNativeMidi " --enable-music-native-midi-gpl"; 16
··· 1 + { stdenv, fetchurl, SDL, libogg, libvorbis, smpeg, enableNativeMidi ? false, fluidsynth ? null }: 2 3 stdenv.mkDerivation rec { 4 pname = "SDL_mixer"; ··· 10 sha256 = "0alrhqgm40p4c92s26mimg9cm1y7rzr6m0p49687jxd9g6130i0n"; 11 }; 12 13 + buildInputs = [SDL libogg libvorbis fluidsynth smpeg]; 14 15 configureFlags = "--disable-music-ogg-shared" + stdenv.lib.optionalString enableNativeMidi " --enable-music-native-midi-gpl"; 16
+2 -2
pkgs/development/libraries/accountsservice/default.nix
··· 3 4 stdenv.mkDerivation rec { 5 name = "accountsservice-${version}"; 6 - version = "0.6.38"; 7 8 src = fetchurl { 9 url = "http://www.freedesktop.org/software/accountsservice/accountsservice-${version}.tar.xz"; 10 - sha256 = "1ad32qv57rx9yzrvzsw0d0lh0j7adlh664lachv621wb8ya22crn"; 11 }; 12 13 buildInputs = [ pkgconfig glib intltool libtool makeWrapper
··· 3 4 stdenv.mkDerivation rec { 5 name = "accountsservice-${version}"; 6 + version = "0.6.39"; 7 8 src = fetchurl { 9 url = "http://www.freedesktop.org/software/accountsservice/accountsservice-${version}.tar.xz"; 10 + sha256 = "0p9kfnr1wvg1qwi6zsgxw031j1wqh41137xl0mv4rm6x2zas6f7r"; 11 }; 12 13 buildInputs = [ pkgconfig glib intltool libtool makeWrapper
+1
pkgs/development/libraries/aspell/default.nix
··· 31 homepage = http://aspell.net/; 32 license = stdenv.lib.licenses.lgpl2Plus; 33 maintainers = [ ]; 34 }; 35 }
··· 31 homepage = http://aspell.net/; 32 license = stdenv.lib.licenses.lgpl2Plus; 33 maintainers = [ ]; 34 + platforms = with stdenv.lib.platforms; all; 35 }; 36 }
+8 -1
pkgs/development/libraries/freetds/default.nix
··· 1 - { stdenv, fetchurl }: 2 3 stdenv.mkDerivation { 4 name = "freetds-0.91"; ··· 7 url = ftp://ftp.astron.com/pub/freetds/stable/freetds-stable.tgz; 8 sha256 = "0r946axzxs0czsmr7283w7vmk5jx3jnxxc32d2ncxsrsh2yli0ba"; 9 }; 10 11 doDist = true; 12
··· 1 + { stdenv, fetchurl 2 + , odbcSupport ? false, unixODBC ? null }: 3 + 4 + assert odbcSupport -> unixODBC != null; 5 6 stdenv.mkDerivation { 7 name = "freetds-0.91"; ··· 10 url = ftp://ftp.astron.com/pub/freetds/stable/freetds-stable.tgz; 11 sha256 = "0r946axzxs0czsmr7283w7vmk5jx3jnxxc32d2ncxsrsh2yli0ba"; 12 }; 13 + 14 + buildInputs = stdenv.lib.optional odbcSupport [ unixODBC ]; 15 + 16 + configureFlags = stdenv.lib.optionalString odbcSupport "--with-odbc=${unixODBC}"; 17 18 doDist = true; 19
+6 -6
pkgs/development/libraries/gvfs/default.nix
··· 1 { stdenv, fetchurl, pkgconfig, intltool, libtool 2 , glib, dbus, udev, udisks2, libgcrypt 3 , libgphoto2, avahi, libarchive, fuse, libcdio 4 - , libxml2, libxslt, docbook_xsl 5 - , lightWeight ? true, gnome, samba, libgnome_keyring, gconf, makeWrapper }: 6 7 let 8 ver_maj = "1.18"; ··· 21 buildInputs = 22 [ makeWrapper glib dbus.libs udev udisks2 libgcrypt 23 libgphoto2 avahi libarchive fuse libcdio 24 - libxml2 libxslt docbook_xsl 25 # ToDo: a ligther version of libsoup to have FTP/HTTP support? 26 - ] ++ stdenv.lib.optionals (!lightWeight) (with gnome; [ 27 - gtk libsoup libgnome_keyring gconf samba 28 # ToDo: not working and probably useless until gnome3 from x-updates 29 ]); 30 ··· 36 ''; 37 38 meta = { 39 - description = "Virtual Filesystem support library" + stdenv.lib.optionalString lightWeight " (light-weight)"; 40 platforms = stdenv.lib.platforms.linux; 41 }; 42 }
··· 1 { stdenv, fetchurl, pkgconfig, intltool, libtool 2 , glib, dbus, udev, udisks2, libgcrypt 3 , libgphoto2, avahi, libarchive, fuse, libcdio 4 + , libxml2, libxslt, docbook_xsl, samba 5 + , gnomeSupport ? false, gnome,libgnome_keyring, gconf, makeWrapper }: 6 7 let 8 ver_maj = "1.18"; ··· 21 buildInputs = 22 [ makeWrapper glib dbus.libs udev udisks2 libgcrypt 23 libgphoto2 avahi libarchive fuse libcdio 24 + libxml2 libxslt docbook_xsl samba 25 # ToDo: a ligther version of libsoup to have FTP/HTTP support? 26 + ] ++ stdenv.lib.optionals gnomeSupport (with gnome; [ 27 + gtk libsoup libgnome_keyring gconf 28 # ToDo: not working and probably useless until gnome3 from x-updates 29 ]); 30 ··· 36 ''; 37 38 meta = { 39 + description = "Virtual Filesystem support library" + stdenv.lib.optionalString gnomeSupport " (full GNOME support)"; 40 platforms = stdenv.lib.platforms.linux; 41 }; 42 }
+3 -2
pkgs/development/libraries/haskell/HandsomeSoup/default.nix
··· 6 7 cabal.mkDerivation (self: { 8 pname = "HandsomeSoup"; 9 - version = "0.3.3"; 10 - sha256 = "0g2b3mw0asam005kz77zm3bsrjaa7q3n6wdj3ahr7hppivsdwizk"; 11 isLibrary = true; 12 isExecutable = true; 13 buildDepends = [ 14 HTTP hxt hxtHttp MaybeT mtl network networkUri parsec transformers 15 ]; 16 testDepends = [ hspec hxt ]; 17 doCheck = false; 18 meta = { 19 homepage = "https://github.com/egonSchiele/HandsomeSoup";
··· 6 7 cabal.mkDerivation (self: { 8 pname = "HandsomeSoup"; 9 + version = "0.3.4"; 10 + sha256 = "0xpimys8pb0kzqnfxxf04dbxfmcrry5pzgmagyydcrmafacg0vjb"; 11 isLibrary = true; 12 isExecutable = true; 13 buildDepends = [ 14 HTTP hxt hxtHttp MaybeT mtl network networkUri parsec transformers 15 ]; 16 testDepends = [ hspec hxt ]; 17 + jailbreak = true; 18 doCheck = false; 19 meta = { 20 homepage = "https://github.com/egonSchiele/HandsomeSoup";
+2 -3
pkgs/development/libraries/haskell/HaskellNet-SSL/default.nix
··· 4 5 cabal.mkDerivation (self: { 6 pname = "HaskellNet-SSL"; 7 - version = "0.2.5.1"; 8 - sha256 = "0qkc0bw0p201wi3v8ck348j8m32x9dn8lkf6r787sd1bxhrsd2z7"; 9 buildDepends = [ connection dataDefault HaskellNet network tls ]; 10 meta = { 11 homepage = "https://github.com/dpwright/HaskellNet-SSL"; 12 description = "Helpers to connect to SSL/TLS mail servers with HaskellNet"; 13 license = self.stdenv.lib.licenses.bsd3; 14 platforms = self.ghc.meta.platforms; 15 - broken = true; 16 }; 17 })
··· 4 5 cabal.mkDerivation (self: { 6 pname = "HaskellNet-SSL"; 7 + version = "0.2.5.2"; 8 + sha256 = "0jhm43zd6jvhbahk4ki29ydg02qnjj4mw823rckqxk6f91q00qlp"; 9 buildDepends = [ connection dataDefault HaskellNet network tls ]; 10 meta = { 11 homepage = "https://github.com/dpwright/HaskellNet-SSL"; 12 description = "Helpers to connect to SSL/TLS mail servers with HaskellNet"; 13 license = self.stdenv.lib.licenses.bsd3; 14 platforms = self.ghc.meta.platforms; 15 }; 16 })
+3 -3
pkgs/development/libraries/haskell/ObjectName/default.nix
··· 4 5 cabal.mkDerivation (self: { 6 pname = "ObjectName"; 7 - version = "1.0.0.0"; 8 - sha256 = "0yr1aa0ail2h9qsq2bslcwwq6cxl2lzajmc1laj19r7ks62p32rm"; 9 meta = { 10 - homepage = "http://www.haskell.org/HOpenGL/"; 11 description = "Explicitly handled object names"; 12 license = self.stdenv.lib.licenses.bsd3; 13 platforms = self.ghc.meta.platforms;
··· 4 5 cabal.mkDerivation (self: { 6 pname = "ObjectName"; 7 + version = "1.0.1.0"; 8 + sha256 = "1aw221i1cisk7jpgchs16f3br0ddllh0n0idhw5v6n6ysv4vv155"; 9 meta = { 10 + homepage = "https://github.com/haskell-opengl/ObjectName"; 11 description = "Explicitly handled object names"; 12 license = self.stdenv.lib.licenses.bsd3; 13 platforms = self.ghc.meta.platforms;
+2
pkgs/development/libraries/haskell/OpenGL/2.6.0.1.nix
··· 10 sha256 = "1fpabhpjfl1bj0dhlj2sg8zsn3l6py4zw1arplwmqalz3xbkkgdi"; 11 buildDepends = [ GLURaw ObjectName OpenGLRaw StateVar Tensor ]; 12 extraLibraries = [ libX11 mesa ]; 13 meta = { 14 homepage = "http://www.haskell.org/haskellwiki/Opengl"; 15 description = "A binding for the OpenGL graphics system"; 16 license = self.stdenv.lib.licenses.bsd3; 17 platforms = self.ghc.meta.platforms; 18 hydraPlatforms = self.stdenv.lib.platforms.none; 19 }; 20 })
··· 10 sha256 = "1fpabhpjfl1bj0dhlj2sg8zsn3l6py4zw1arplwmqalz3xbkkgdi"; 11 buildDepends = [ GLURaw ObjectName OpenGLRaw StateVar Tensor ]; 12 extraLibraries = [ libX11 mesa ]; 13 + jailbreak = true; 14 meta = { 15 homepage = "http://www.haskell.org/haskellwiki/Opengl"; 16 description = "A binding for the OpenGL graphics system"; 17 license = self.stdenv.lib.licenses.bsd3; 18 platforms = self.ghc.meta.platforms; 19 hydraPlatforms = self.stdenv.lib.platforms.none; 20 + broken = true; 21 }; 22 })
+3 -3
pkgs/development/libraries/haskell/StateVar/default.nix
··· 4 5 cabal.mkDerivation (self: { 6 pname = "StateVar"; 7 - version = "1.0.0.0"; 8 - sha256 = "1c1b6a6nn1cdnba08zzp0645wl482h7yaa69zw2l3wwyyyccjic4"; 9 meta = { 10 - homepage = "http://www.haskell.org/HOpenGL/"; 11 description = "State variables"; 12 license = self.stdenv.lib.licenses.bsd3; 13 platforms = self.ghc.meta.platforms;
··· 4 5 cabal.mkDerivation (self: { 6 pname = "StateVar"; 7 + version = "1.0.1.0"; 8 + sha256 = "02n2sxxkr0ydc77dc3amwp5jrw289d2s2z55rhrmhxxg1c7lp5js"; 9 meta = { 10 + homepage = "https://github.com/haskell-opengl/StateVar"; 11 description = "State variables"; 12 license = self.stdenv.lib.licenses.bsd3; 13 platforms = self.ghc.meta.platforms;
+3 -4
pkgs/development/libraries/haskell/Tensor/default.nix
··· 4 5 cabal.mkDerivation (self: { 6 pname = "Tensor"; 7 - version = "1.0.0.1"; 8 - sha256 = "10arhk5gkn5jxpb53r80bblpk0afdax1fc2mik40hj5g5g960cp9"; 9 meta = { 10 - homepage = "http://www.haskell.org/HOpenGL/"; 11 description = "Tensor data types"; 12 license = self.stdenv.lib.licenses.bsd3; 13 platforms = self.ghc.meta.platforms; 14 - hydraPlatforms = self.stdenv.lib.platforms.none; 15 }; 16 })
··· 4 5 cabal.mkDerivation (self: { 6 pname = "Tensor"; 7 + version = "1.1.0.0"; 8 + sha256 = "1vn409805p5b47v5mf7rk0gypqag5bn1pzlsmsp9blr3jyj6dgph"; 9 meta = { 10 + homepage = "https://github.com/haskell-opengl/Tensor"; 11 description = "Tensor data types"; 12 license = self.stdenv.lib.licenses.bsd3; 13 platforms = self.ghc.meta.platforms; 14 }; 15 })
+15
pkgs/development/libraries/haskell/acme-lookofdisapproval/default.nix
···
··· 1 + # This file was auto-generated by cabal2nix. Please do NOT edit manually! 2 + 3 + { cabal }: 4 + 5 + cabal.mkDerivation (self: { 6 + pname = "acme-lookofdisapproval"; 7 + version = "0.1"; 8 + sha256 = "194xvcab14bs3b3nrayxp4z3da60afxa9cmip58mkms5016kwhis"; 9 + meta = { 10 + homepage = "https://github.com/llelf/acme-lookofdisapproval"; 11 + description = "Express your disapproval"; 12 + license = self.stdenv.lib.licenses.bsd3; 13 + platforms = self.ghc.meta.platforms; 14 + }; 15 + })
+2 -2
pkgs/development/libraries/haskell/ansi-terminal/default.nix
··· 4 5 cabal.mkDerivation (self: { 6 pname = "ansi-terminal"; 7 - version = "0.6.1.1"; 8 - sha256 = "06pdcpp2z7wk9mkr5lzwk64lqhj09c7l1ah4s3vz7zwrdzfaccwi"; 9 isLibrary = true; 10 isExecutable = true; 11 meta = {
··· 4 5 cabal.mkDerivation (self: { 6 pname = "ansi-terminal"; 7 + version = "0.6.2.1"; 8 + sha256 = "1xmp8wpcyvqys777qpyfx99bhlnvmr7jil7r78j5n6fx3mkkhnln"; 9 isLibrary = true; 10 isExecutable = true; 11 meta = {
+13 -7
pkgs/development/libraries/haskell/ariadne/default.nix
··· 1 # This file was auto-generated by cabal2nix. Please do NOT edit manually! 2 3 - { cabal, bert, Cabal, haskellNames, haskellPackages, haskellSrcExts 4 - , mtl, utf8String 5 }: 6 7 cabal.mkDerivation (self: { 8 pname = "ariadne"; 9 - version = "0.1.2.1"; 10 - sha256 = "1gx6jrv3s86h02cjx8pvqyklp445ljiysx29hg39qykyhi1q5a3z"; 11 isLibrary = false; 12 isExecutable = true; 13 buildDepends = [ 14 - bert Cabal haskellNames haskellPackages haskellSrcExts mtl 15 - utf8String 16 ]; 17 meta = { 18 homepage = "https://github.com/feuerbach/ariadne"; 19 description = "Go-to-definition for Haskell"; 20 license = self.stdenv.lib.licenses.mit; 21 platforms = self.ghc.meta.platforms; 22 maintainers = with self.stdenv.lib.maintainers; [ ocharles ]; 23 - broken = true; 24 }; 25 })
··· 1 # This file was auto-generated by cabal2nix. Please do NOT edit manually! 2 3 + { cabal, async, bert, Cabal, dataLens, dataLensFd, dataLensTemplate 4 + , filepath, haskellNames, haskellPackages, haskellSrcExts, hseCpp 5 + , hslogger, mtl, stm, tagged, tasty, tastyHunit, transformers 6 + , utf8String 7 }: 8 9 cabal.mkDerivation (self: { 10 pname = "ariadne"; 11 + version = "0.1.2.2"; 12 + sha256 = "0dp2xs1g9cw27gwvw2qzyv1qk3z97mg8ab6rfx967r7ad76lkzx2"; 13 isLibrary = false; 14 isExecutable = true; 15 buildDepends = [ 16 + async bert Cabal dataLens dataLensFd dataLensTemplate filepath 17 + haskellNames haskellPackages haskellSrcExts hseCpp hslogger mtl stm 18 + tagged transformers utf8String 19 ]; 20 + testDepends = [ 21 + bert filepath haskellSrcExts tasty tastyHunit utf8String 22 + ]; 23 + doCheck = false; 24 meta = { 25 homepage = "https://github.com/feuerbach/ariadne"; 26 description = "Go-to-definition for Haskell"; 27 license = self.stdenv.lib.licenses.mit; 28 platforms = self.ghc.meta.platforms; 29 maintainers = with self.stdenv.lib.maintainers; [ ocharles ]; 30 }; 31 })
+18
pkgs/development/libraries/haskell/bitset/default.nix
···
··· 1 + # This file was auto-generated by cabal2nix. Please do NOT edit manually! 2 + 3 + { cabal, deepseq, gmp, QuickCheck, tasty, tastyQuickcheck }: 4 + 5 + cabal.mkDerivation (self: { 6 + pname = "bitset"; 7 + version = "1.4.8"; 8 + sha256 = "0h912i3wb6v8sx0c4mlp0j65l3yhpdsk3my8zhif2jls2sxns988"; 9 + buildDepends = [ deepseq ]; 10 + testDepends = [ QuickCheck tasty tastyQuickcheck ]; 11 + extraLibraries = [ gmp ]; 12 + doCheck = false; 13 + meta = { 14 + description = "A space-efficient set data structure"; 15 + license = self.stdenv.lib.licenses.mit; 16 + platforms = self.ghc.meta.platforms; 17 + }; 18 + })
+2 -2
pkgs/development/libraries/haskell/cipher-aes/default.nix
··· 6 7 cabal.mkDerivation (self: { 8 pname = "cipher-aes"; 9 - version = "0.2.8"; 10 - sha256 = "13hg8gxhs7hmni72kp14hmhvfv1kj7fnl83i72bz3aq15vx3z61z"; 11 buildDepends = [ byteable cryptoCipherTypes securemem ]; 12 testDepends = [ 13 byteable cryptoCipherTests cryptoCipherTypes QuickCheck
··· 6 7 cabal.mkDerivation (self: { 8 pname = "cipher-aes"; 9 + version = "0.2.9"; 10 + sha256 = "1nkrh8mrrh14zfhjz0lfidw0hw9c70hap9w24rvb14zgfnnasnlq"; 11 buildDepends = [ byteable cryptoCipherTypes securemem ]; 12 testDepends = [ 13 byteable cryptoCipherTests cryptoCipherTypes QuickCheck
+2 -2
pkgs/development/libraries/haskell/conduit-extra/default.nix
··· 7 8 cabal.mkDerivation (self: { 9 pname = "conduit-extra"; 10 - version = "1.1.4"; 11 - sha256 = "117mzy0qm8w2kzjcshcwcfbx01ybbhn63vdgzllc7cb9x4cj2ibv"; 12 buildDepends = [ 13 attoparsec blazeBuilder conduit filepath monadControl network 14 primitive resourcet stm streamingCommons text transformers
··· 7 8 cabal.mkDerivation (self: { 9 pname = "conduit-extra"; 10 + version = "1.1.4.1"; 11 + sha256 = "18q2d9ga49gldw4i8a5vnncsr712b21ik0160gdw3czqilvf8nbr"; 12 buildDepends = [ 13 attoparsec blazeBuilder conduit filepath monadControl network 14 primitive resourcet stm streamingCommons text transformers
+4 -4
pkgs/development/libraries/haskell/cprng-aes/default.nix
··· 1 # This file was auto-generated by cabal2nix. Please do NOT edit manually! 2 3 - { cabal, byteable, cipherAes, cryptoRandom, random }: 4 5 cabal.mkDerivation (self: { 6 pname = "cprng-aes"; 7 - version = "0.5.2"; 8 - sha256 = "1nf8dd83ywriq2ynv48f2s5lvc9s3srq4j5vbspmf0kc74kmq2pf"; 9 - buildDepends = [ byteable cipherAes cryptoRandom random ]; 10 meta = { 11 homepage = "http://github.com/vincenthz/hs-cprng-aes"; 12 description = "Crypto Pseudo Random Number Generator using AES in counter mode";
··· 1 # This file was auto-generated by cabal2nix. Please do NOT edit manually! 2 3 + { cabal, byteable, cipherAes, cryptoRandom }: 4 5 cabal.mkDerivation (self: { 6 pname = "cprng-aes"; 7 + version = "0.6.0"; 8 + sha256 = "0d6m6mjkwvkg1cqq3q3hc64hp445kbcdf12lwm6k2scrpd2r7bhq"; 9 + buildDepends = [ byteable cipherAes cryptoRandom ]; 10 meta = { 11 homepage = "http://github.com/vincenthz/hs-cprng-aes"; 12 description = "Crypto Pseudo Random Number Generator using AES in counter mode";
+16
pkgs/development/libraries/haskell/data-lens-fd/default.nix
···
··· 1 + # This file was auto-generated by cabal2nix. Please do NOT edit manually! 2 + 3 + { cabal, comonad, dataLens, mtl, transformers }: 4 + 5 + cabal.mkDerivation (self: { 6 + pname = "data-lens-fd"; 7 + version = "2.0.5"; 8 + sha256 = "0r8cfgn6wx304b5ihmwgsxxjwalb7086wii655mgmb6cn3nirpyk"; 9 + buildDepends = [ comonad dataLens mtl transformers ]; 10 + meta = { 11 + homepage = "http://github.com/roconnor/data-lens-fd/"; 12 + description = "Lenses"; 13 + license = self.stdenv.lib.licenses.bsd3; 14 + platforms = self.ghc.meta.platforms; 15 + }; 16 + })
-1
pkgs/development/libraries/haskell/data-lens-template/default.nix
··· 12 description = "Utilities for Data.Lens"; 13 license = self.stdenv.lib.licenses.bsd3; 14 platforms = self.ghc.meta.platforms; 15 - hydraPlatforms = self.stdenv.lib.platforms.none; 16 }; 17 })
··· 12 description = "Utilities for Data.Lens"; 13 license = self.stdenv.lib.licenses.bsd3; 14 platforms = self.ghc.meta.platforms; 15 }; 16 })
+1 -1
pkgs/development/libraries/haskell/data-lens/default.nix
··· 7 version = "2.10.5"; 8 sha256 = "11na4wx0f0ihk87d00njwrfc430nb25dkkadv1n47yvcyfc60i90"; 9 buildDepends = [ comonad semigroupoids transformers ]; 10 meta = { 11 homepage = "http://github.com/roconnor/data-lens/"; 12 description = "Used to be Haskell 98 Lenses"; 13 license = self.stdenv.lib.licenses.bsd3; 14 platforms = self.ghc.meta.platforms; 15 hydraPlatforms = self.stdenv.lib.platforms.none; 16 - broken = true; 17 }; 18 })
··· 7 version = "2.10.5"; 8 sha256 = "11na4wx0f0ihk87d00njwrfc430nb25dkkadv1n47yvcyfc60i90"; 9 buildDepends = [ comonad semigroupoids transformers ]; 10 + jailbreak = true; 11 meta = { 12 homepage = "http://github.com/roconnor/data-lens/"; 13 description = "Used to be Haskell 98 Lenses"; 14 license = self.stdenv.lib.licenses.bsd3; 15 platforms = self.ghc.meta.platforms; 16 hydraPlatforms = self.stdenv.lib.platforms.none; 17 }; 18 })
+2 -2
pkgs/development/libraries/haskell/esqueleto/default.nix
··· 7 8 cabal.mkDerivation (self: { 9 pname = "esqueleto"; 10 - version = "2.1.0"; 11 - sha256 = "1qkxp12444wgf2hvhj3yw928sbd8y8rxpw90xpi2nx5jw5ws86qc"; 12 buildDepends = [ 13 conduit monadLogger persistent resourcet tagged text transformers 14 unorderedContainers
··· 7 8 cabal.mkDerivation (self: { 9 pname = "esqueleto"; 10 + version = "2.1.1"; 11 + sha256 = "0nr18wjih1rbkprr7cvacgnk0m05m79l0sd25fihy5fy7sqqh3yw"; 12 buildDepends = [ 13 conduit monadLogger persistent resourcet tagged text transformers 14 unorderedContainers
+2 -2
pkgs/development/libraries/haskell/extra/default.nix
··· 4 5 cabal.mkDerivation (self: { 6 pname = "extra"; 7 - version = "0.3.2"; 8 - sha256 = "0in340mmbgqkafj60pas7dm6bn080nimxk8b9b6xzv0giih6dx66"; 9 buildDepends = [ filepath time ]; 10 testDepends = [ QuickCheck time ]; 11 meta = {
··· 4 5 cabal.mkDerivation (self: { 6 pname = "extra"; 7 + version = "0.4"; 8 + sha256 = "1wqhnfm297iwf6l4bkhnlbv4bb54b9y5qig7h5n7fjn88bxgwj1l"; 9 buildDepends = [ filepath time ]; 10 testDepends = [ QuickCheck time ]; 11 meta = {
+2 -2
pkgs/development/libraries/haskell/ghc-vis/default.nix
··· 6 7 cabal.mkDerivation (self: { 8 pname = "ghc-vis"; 9 - version = "0.7.2.5"; 10 - sha256 = "15dp34dvcqs3b0np1xpi3s6543svhgmxy1kzggw0rmflmq2whsd8"; 11 buildDepends = [ 12 cairo deepseq fgl ghcHeapView graphviz gtk mtl svgcairo text 13 transformers xdot
··· 6 7 cabal.mkDerivation (self: { 8 pname = "ghc-vis"; 9 + version = "0.7.2.6"; 10 + sha256 = "12jyxcqyrqiai0fdfnpvsn1v64is7p8zixi745k29h54i0px1j89"; 11 buildDepends = [ 12 cairo deepseq fgl ghcHeapView graphviz gtk mtl svgcairo text 13 transformers xdot
+17
pkgs/development/libraries/haskell/gloss-banana/default.nix
···
··· 1 + # This file was auto-generated by cabal2nix. Please do NOT edit manually! 2 + 3 + { cabal, gloss, reactiveBanana }: 4 + 5 + cabal.mkDerivation (self: { 6 + pname = "gloss-banana"; 7 + version = "0.1.0.4"; 8 + sha256 = "0zzpdryfcqvxpzv53ymsvkm2nza9ryvzqgf3n89pnvrni91avgj3"; 9 + buildDepends = [ gloss reactiveBanana ]; 10 + meta = { 11 + homepage = "https://github.com/Twey/gloss-banana"; 12 + description = "An Interface for gloss in terms of a reactive-banana Behavior"; 13 + license = self.stdenv.lib.licenses.gpl3; 14 + platforms = self.ghc.meta.platforms; 15 + maintainers = with self.stdenv.lib.maintainers; [ twey ]; 16 + }; 17 + })
+5 -7
pkgs/development/libraries/haskell/hakyll/default.nix
··· 11 12 cabal.mkDerivation (self: { 13 pname = "hakyll"; 14 - version = "4.5.5.0"; 15 - sha256 = "1igna446dsidlq3f9myclgcdawgvyyjxjk3r3icjra6zgdqd6j4l"; 16 isLibrary = true; 17 isExecutable = true; 18 - patches = [ ./deps.patch ]; 19 - doCheck = !self.stdenv.isDarwin; 20 buildDepends = [ 21 binary blazeHtml blazeMarkup cmdargs cryptohash dataDefault deepseq 22 filepath fsnotify httpConduit httpTypes lrucache mtl network ··· 28 filepath fsnotify httpConduit httpTypes HUnit lrucache mtl network 29 networkUri pandoc pandocCiteproc parsec QuickCheck random regexBase 30 regexTdfa snapCore snapServer systemFilepath tagsoup testFramework 31 - testFrameworkHunit testFrameworkQuickcheck2 text time 32 - ] ++ (self.stdenv.lib.optional self.stdenv.isLinux utillinux); 33 meta = { 34 homepage = "http://jaspervdj.be/hakyll"; 35 description = "A static website compiler library"; 36 license = self.stdenv.lib.licenses.bsd3; 37 platforms = self.ghc.meta.platforms; 38 maintainers = with self.stdenv.lib.maintainers; [ fuuzetsu ]; 39 - broken = self.stdenv.lib.versionOlder "7.7" self.ghc.version; 40 }; 41 })
··· 11 12 cabal.mkDerivation (self: { 13 pname = "hakyll"; 14 + version = "4.5.5.1"; 15 + sha256 = "060wcak242p2gja616bdair4sg2k04s8cld5nlk8p3b6an2isld9"; 16 isLibrary = true; 17 isExecutable = true; 18 buildDepends = [ 19 binary blazeHtml blazeMarkup cmdargs cryptohash dataDefault deepseq 20 filepath fsnotify httpConduit httpTypes lrucache mtl network ··· 26 filepath fsnotify httpConduit httpTypes HUnit lrucache mtl network 27 networkUri pandoc pandocCiteproc parsec QuickCheck random regexBase 28 regexTdfa snapCore snapServer systemFilepath tagsoup testFramework 29 + testFrameworkHunit testFrameworkQuickcheck2 text time utillinux 30 + ]; 31 + jailbreak = true; 32 meta = { 33 homepage = "http://jaspervdj.be/hakyll"; 34 description = "A static website compiler library"; 35 license = self.stdenv.lib.licenses.bsd3; 36 platforms = self.ghc.meta.platforms; 37 maintainers = with self.stdenv.lib.maintainers; [ fuuzetsu ]; 38 }; 39 })
-20
pkgs/development/libraries/haskell/hakyll/deps.patch
··· 1 - --- a/hakyll.cabal.orig 2014-10-16 17:34:22.000000000 -0500 2 - +++ b/hakyll.cabal 2014-10-16 17:34:30.000000000 -0500 3 - @@ -163,7 +163,7 @@ 4 - pandoc-citeproc >= 0.4 && < 0.5, 5 - parsec >= 3.0 && < 3.2, 6 - process >= 1.0 && < 1.3, 7 - - random >= 1.0 && < 1.1, 8 - + random >= 1.0 && < 1.2, 9 - regex-base >= 0.93 && < 0.94, 10 - regex-tdfa >= 1.1 && < 1.3, 11 - tagsoup >= 0.13.1 && < 0.14, 12 - @@ -250,7 +250,7 @@ 13 - pandoc-citeproc >= 0.4 && < 0.5, 14 - parsec >= 3.0 && < 3.2, 15 - process >= 1.0 && < 1.3, 16 - - random >= 1.0 && < 1.1, 17 - + random >= 1.0 && < 1.2, 18 - regex-base >= 0.93 && < 0.94, 19 - regex-tdfa >= 1.1 && < 1.3, 20 - tagsoup >= 0.13.1 && < 0.14,
···
+9 -7
pkgs/development/libraries/haskell/haste-compiler/default.nix
··· 2 3 { cabal, binary, blazeBuilder, bzlib, dataBinaryIeee754 4 , dataDefault, either, filepath, ghcPaths, HTTP, monadsTf, mtl 5 - , network, random, shellmate, systemFileio, tar, transformers 6 - , utf8String, websockets 7 }: 8 9 cabal.mkDerivation (self: { 10 pname = "haste-compiler"; 11 - version = "0.4.2"; 12 - sha256 = "0agbd21c7mgzxyg6lwjl3n8w2r7xcrv3811y0x86rg7q1m7z730m"; 13 isLibrary = true; 14 isExecutable = true; 15 buildDepends = [ 16 binary blazeBuilder bzlib dataBinaryIeee754 dataDefault either 17 - filepath ghcPaths HTTP monadsTf mtl network random shellmate 18 - systemFileio tar transformers utf8String websockets 19 ]; 20 meta = { 21 - homepage = "http://github.com/valderman/haste-compiler"; 22 description = "Haskell To ECMAScript compiler"; 23 license = self.stdenv.lib.licenses.bsd3; 24 platforms = self.ghc.meta.platforms;
··· 2 3 { cabal, binary, blazeBuilder, bzlib, dataBinaryIeee754 4 , dataDefault, either, filepath, ghcPaths, HTTP, monadsTf, mtl 5 + , network, networkUri, random, shellmate, systemFileio, tar 6 + , transformers, utf8String, websockets 7 }: 8 9 cabal.mkDerivation (self: { 10 pname = "haste-compiler"; 11 + version = "0.4.3"; 12 + sha256 = "1wkb6a1jwmpjr0jlz5fjq652jz6a6agg0a5pfazyfpdznvd4mm62"; 13 isLibrary = true; 14 isExecutable = true; 15 + noHaddock = true; 16 buildDepends = [ 17 binary blazeBuilder bzlib dataBinaryIeee754 dataDefault either 18 + filepath ghcPaths HTTP monadsTf mtl network networkUri random 19 + shellmate systemFileio tar transformers utf8String websockets 20 ]; 21 + configureFlags = "-fportable"; 22 meta = { 23 + homepage = "http://haste-lang.org/"; 24 description = "Haskell To ECMAScript compiler"; 25 license = self.stdenv.lib.licenses.bsd3; 26 platforms = self.ghc.meta.platforms;
+2 -3
pkgs/development/libraries/haskell/hmatrix-special/default.nix
··· 1 # This file was auto-generated by cabal2nix. Please do NOT edit manually! 2 3 - { cabal, hmatrix }: 4 5 cabal.mkDerivation (self: { 6 pname = "hmatrix-special"; 7 version = "0.2.0"; 8 sha256 = "0lp8mvagbzayq3r08wgk498n6d9vgb1skb8wzrzi5a1fc5j8m0wj"; 9 buildDepends = [ hmatrix ]; 10 meta = { 11 homepage = "http://perception.inf.um.es/hmatrix"; 12 description = "Interface to GSL special functions"; 13 license = "GPL"; 14 platforms = self.ghc.meta.platforms; 15 - hydraPlatforms = self.stdenv.lib.platforms.none; 16 - broken = true; 17 }; 18 })
··· 1 # This file was auto-generated by cabal2nix. Please do NOT edit manually! 2 3 + { cabal, gsl, hmatrix }: 4 5 cabal.mkDerivation (self: { 6 pname = "hmatrix-special"; 7 version = "0.2.0"; 8 sha256 = "0lp8mvagbzayq3r08wgk498n6d9vgb1skb8wzrzi5a1fc5j8m0wj"; 9 buildDepends = [ hmatrix ]; 10 + extraLibraries = [ gsl ]; 11 meta = { 12 homepage = "http://perception.inf.um.es/hmatrix"; 13 description = "Interface to GSL special functions"; 14 license = "GPL"; 15 platforms = self.ghc.meta.platforms; 16 }; 17 })
+24
pkgs/development/libraries/haskell/hosc/default.nix
···
··· 1 + # This file was auto-generated by cabal2nix. Please do NOT edit manually! 2 + 3 + { cabal, binary, blazeBuilder, dataBinaryIeee754, network 4 + , QuickCheck, testFramework, testFrameworkQuickcheck2, time 5 + , transformers 6 + }: 7 + 8 + cabal.mkDerivation (self: { 9 + pname = "hosc"; 10 + version = "0.15"; 11 + sha256 = "1yp25n159p69r32y3x7iwc55l5q9qaamj2vyl1473x8ras5afdcf"; 12 + buildDepends = [ 13 + binary blazeBuilder dataBinaryIeee754 network time transformers 14 + ]; 15 + testDepends = [ 16 + QuickCheck testFramework testFrameworkQuickcheck2 17 + ]; 18 + meta = { 19 + homepage = "http://rd.slavepianos.org/t/hosc"; 20 + description = "Haskell Open Sound Control"; 21 + license = "GPL"; 22 + platforms = self.ghc.meta.platforms; 23 + }; 24 + })
+17
pkgs/development/libraries/haskell/hsc3-db/default.nix
···
··· 1 + # This file was auto-generated by cabal2nix. Please do NOT edit manually! 2 + 3 + { cabal, hsc3, safe }: 4 + 5 + cabal.mkDerivation (self: { 6 + pname = "hsc3-db"; 7 + version = "0.15"; 8 + sha256 = "0sj3hq0d8dl4m6fn75lvyr78sg283p6y13lg8yi2yrgz74kn4zbl"; 9 + buildDepends = [ hsc3 safe ]; 10 + noHaddock = true; 11 + meta = { 12 + homepage = "http://rd.slavepianos.org/t/hsc3-db"; 13 + description = "Haskell SuperCollider Unit Generator Database"; 14 + license = "GPL"; 15 + platforms = self.ghc.meta.platforms; 16 + }; 17 + })
+16
pkgs/development/libraries/haskell/hsc3-dot/default.nix
···
··· 1 + # This file was auto-generated by cabal2nix. Please do NOT edit manually! 2 + 3 + { cabal, filepath, hsc3 }: 4 + 5 + cabal.mkDerivation (self: { 6 + pname = "hsc3-dot"; 7 + version = "0.15"; 8 + sha256 = "1ck2g15zw23smry1xvn9ida8ln57vnvkxvr3khhp5didwisgm90m"; 9 + buildDepends = [ filepath hsc3 ]; 10 + meta = { 11 + homepage = "http://rd.slavepianos.org/t/hsc3-dot"; 12 + description = "haskell supercollider graph drawing"; 13 + license = "GPL"; 14 + platforms = self.ghc.meta.platforms; 15 + }; 16 + })
+23
pkgs/development/libraries/haskell/hsc3-lang/default.nix
···
··· 1 + # This file was auto-generated by cabal2nix. Please do NOT edit manually! 2 + 3 + { cabal, bifunctors, dataDefault, dataOrdlist, dlist, hashable 4 + , hmatrixSpecial, hosc, hsc3, MonadRandom, random, randomShuffle 5 + , split, transformers, vector 6 + }: 7 + 8 + cabal.mkDerivation (self: { 9 + pname = "hsc3-lang"; 10 + version = "0.15"; 11 + sha256 = "09qn9kb8h40cwhnjf4pl70i2vi7cn4pa4wkdwjbn07hrdpvxgihf"; 12 + buildDepends = [ 13 + bifunctors dataDefault dataOrdlist dlist hashable hmatrixSpecial 14 + hosc hsc3 MonadRandom random randomShuffle split transformers 15 + vector 16 + ]; 17 + meta = { 18 + homepage = "http://rd.slavepianos.org/t/hsc3-lang"; 19 + description = "Haskell SuperCollider Language"; 20 + license = "GPL"; 21 + platforms = self.ghc.meta.platforms; 22 + }; 23 + })
+22
pkgs/development/libraries/haskell/hsc3-process/default.nix
···
··· 1 + # This file was auto-generated by cabal2nix. Please do NOT edit manually! 2 + 3 + { cabal, dataDefault, filepath, hosc, hsc3, time, timeCompat 4 + , transformers 5 + }: 6 + 7 + cabal.mkDerivation (self: { 8 + pname = "hsc3-process"; 9 + version = "0.10.0"; 10 + sha256 = "1h769akpd5gsmmlzmhya3dh56rhpf4fkj0vl6zngahc5hl4s7qxc"; 11 + isLibrary = true; 12 + isExecutable = true; 13 + buildDepends = [ 14 + dataDefault filepath hosc hsc3 time timeCompat transformers 15 + ]; 16 + meta = { 17 + homepage = "https://github.com/kaoskorobase/hsc3-process"; 18 + description = "Create and control scsynth processes"; 19 + license = "GPL"; 20 + platforms = self.ghc.meta.platforms; 21 + }; 22 + })
+21
pkgs/development/libraries/haskell/hsc3/default.nix
···
··· 1 + # This file was auto-generated by cabal2nix. Please do NOT edit manually! 2 + 3 + { cabal, binary, dataDefault, dataOrdlist, filepath, hashable, hosc 4 + , network, random, safe, split, transformers 5 + }: 6 + 7 + cabal.mkDerivation (self: { 8 + pname = "hsc3"; 9 + version = "0.15"; 10 + sha256 = "1rmxl1wcly74bjkw79zw9ydmiclk5716w75b4nz8xkqraijiafrg"; 11 + buildDepends = [ 12 + binary dataDefault dataOrdlist filepath hashable hosc network 13 + random safe split transformers 14 + ]; 15 + meta = { 16 + homepage = "http://rd.slavepianos.org/t/hsc3"; 17 + description = "Haskell SuperCollider"; 18 + license = "GPL"; 19 + platforms = self.ghc.meta.platforms; 20 + }; 21 + })
+2 -2
pkgs/development/libraries/haskell/http-conduit/default.nix
··· 9 10 cabal.mkDerivation (self: { 11 pname = "http-conduit"; 12 - version = "2.1.4.5"; 13 - sha256 = "0damsk83j52ndciybxiss0whd486i10ibawxj70z1c0h78f9wwrs"; 14 buildDepends = [ 15 conduit httpClient httpClientTls httpTypes liftedBase monadControl 16 mtl resourcet transformers
··· 9 10 cabal.mkDerivation (self: { 11 pname = "http-conduit"; 12 + version = "2.1.4.7"; 13 + sha256 = "1fr8vxv2xidysls9g8zh04qddg9s6i9vs1xr4zkwr6fw750547n3"; 14 buildDepends = [ 15 conduit httpClient httpClientTls httpTypes liftedBase monadControl 16 mtl resourcet transformers
+2 -2
pkgs/development/libraries/haskell/mime-mail/default.nix
··· 6 7 cabal.mkDerivation (self: { 8 pname = "mime-mail"; 9 - version = "0.4.5.2"; 10 - sha256 = "0s5fj20n3lc2hn1mqpsvai63pgrl7vhqv26psdzqdwl70w9c04zf"; 11 buildDepends = [ 12 base64Bytestring blazeBuilder filepath random text 13 ];
··· 6 7 cabal.mkDerivation (self: { 8 pname = "mime-mail"; 9 + version = "0.4.6"; 10 + sha256 = "051mqpzypg4r6rd06qb75pl3nq9p68r1sl73r0pwl1imcp158aw6"; 11 buildDepends = [ 12 base64Bytestring blazeBuilder filepath random text 13 ];
+2 -2
pkgs/development/libraries/haskell/network-carbon/default.nix
··· 4 5 cabal.mkDerivation (self: { 6 pname = "network-carbon"; 7 - version = "1.0.1"; 8 - sha256 = "1q3b7vw80yw6fkmpwgazy8ikhbwjmmqmm4fry8c9f8ckkpzahj2b"; 9 buildDepends = [ network text time vector ]; 10 jailbreak = true; 11 meta = {
··· 4 5 cabal.mkDerivation (self: { 6 pname = "network-carbon"; 7 + version = "1.0.2"; 8 + sha256 = "0r9riydwvmn8v9iih475agl4idb3z6v3djmn3pjlda28g3p0zw9h"; 9 buildDepends = [ network text time vector ]; 10 jailbreak = true; 11 meta = {
-25
pkgs/development/libraries/haskell/optparse-applicative/0.9.1.1.nix
··· 1 - # This file was auto-generated by cabal2nix. Please do NOT edit manually! 2 - 3 - { cabal, ansiWlPprint, HUnit, QuickCheck, testFramework 4 - , testFrameworkHunit, testFrameworkQuickcheck2 5 - , testFrameworkThPrime, transformers, transformersCompat 6 - }: 7 - 8 - cabal.mkDerivation (self: { 9 - pname = "optparse-applicative"; 10 - version = "0.9.1.1"; 11 - sha256 = "1fy8839y9dg2a5pj7abjiqkm3qcz8faip32q3x1zi5mrz4v3q2g6"; 12 - buildDepends = [ ansiWlPprint transformers transformersCompat ]; 13 - testDepends = [ 14 - HUnit QuickCheck testFramework testFrameworkHunit 15 - testFrameworkQuickcheck2 testFrameworkThPrime 16 - ]; 17 - jailbreak = true; 18 - meta = { 19 - homepage = "https://github.com/pcapriotti/optparse-applicative"; 20 - description = "Utilities and combinators for parsing command line options"; 21 - license = self.stdenv.lib.licenses.bsd3; 22 - platforms = self.ghc.meta.platforms; 23 - hydraPlatforms = self.stdenv.lib.platforms.none; 24 - }; 25 - })
···
+23
pkgs/development/libraries/haskell/pipes-shell/default.nix
···
··· 1 + # This file was auto-generated by cabal2nix. Please do NOT edit manually! 2 + 3 + { cabal, async, hspec, pipes, pipesBytestring, pipesSafe, stm 4 + , stmChans, text 5 + }: 6 + 7 + cabal.mkDerivation (self: { 8 + pname = "pipes-shell"; 9 + version = "0.1.2"; 10 + sha256 = "18ikjkppds7k9fgjn39qvdp8avj8vv3csiqcrhgrpfqy1d0hgrlw"; 11 + buildDepends = [ 12 + async pipes pipesBytestring pipesSafe stm stmChans text 13 + ]; 14 + testDepends = [ 15 + async hspec pipes pipesBytestring pipesSafe stm stmChans text 16 + ]; 17 + doCheck = false; 18 + meta = { 19 + description = "Create proper Pipes from System.Process"; 20 + license = self.stdenv.lib.licenses.bsd3; 21 + platforms = self.ghc.meta.platforms; 22 + }; 23 + })
+2 -3
pkgs/development/libraries/haskell/protocol-buffers-descriptor/default.nix
··· 4 5 cabal.mkDerivation (self: { 6 pname = "protocol-buffers-descriptor"; 7 - version = "2.0.14"; 8 - sha256 = "0xbpmm9a4fg42c9zbarawqdl4klfjjc233ilbsibb7asa3v7zmj3"; 9 buildDepends = [ protocolBuffers ]; 10 meta = { 11 homepage = "http://code.haskell.org/protocol-buffers/"; 12 description = "Text.DescriptorProto.Options and code generated from the Google Protocol Buffer specification"; 13 license = self.stdenv.lib.licenses.bsd3; 14 platforms = self.ghc.meta.platforms; 15 - hydraPlatforms = self.stdenv.lib.platforms.none; 16 }; 17 })
··· 4 5 cabal.mkDerivation (self: { 6 pname = "protocol-buffers-descriptor"; 7 + version = "2.0.17"; 8 + sha256 = "0jl041645d83iqqiw891d2k760jql6djvi2mmjh9lnmp48lwjy3p"; 9 buildDepends = [ protocolBuffers ]; 10 meta = { 11 homepage = "http://code.haskell.org/protocol-buffers/"; 12 description = "Text.DescriptorProto.Options and code generated from the Google Protocol Buffer specification"; 13 license = self.stdenv.lib.licenses.bsd3; 14 platforms = self.ghc.meta.platforms; 15 }; 16 })
+4 -6
pkgs/development/libraries/haskell/protocol-buffers/default.nix
··· 1 # This file was auto-generated by cabal2nix. Please do NOT edit manually! 2 3 - { cabal, binary, filepath, mtl, syb, utf8String }: 4 5 cabal.mkDerivation (self: { 6 pname = "protocol-buffers"; 7 - version = "2.0.14"; 8 - sha256 = "1wihnpvc7kjq345a6v702s42gmrqd9cjm50safc7kigyvhr5vm1i"; 9 - buildDepends = [ binary filepath mtl syb utf8String ]; 10 meta = { 11 homepage = "http://code.haskell.org/protocol-buffers/"; 12 description = "Parse Google Protocol Buffer specifications"; 13 license = self.stdenv.lib.licenses.bsd3; 14 platforms = self.ghc.meta.platforms; 15 - hydraPlatforms = self.stdenv.lib.platforms.none; 16 - broken = self.stdenv.lib.versionOlder "7.7" self.ghc.version; 17 }; 18 })
··· 1 # This file was auto-generated by cabal2nix. Please do NOT edit manually! 2 3 + { cabal, binary, filepath, mtl, parsec, syb, utf8String }: 4 5 cabal.mkDerivation (self: { 6 pname = "protocol-buffers"; 7 + version = "2.0.17"; 8 + sha256 = "12aky44ssgdj6vsjg0yvr8350cym7n6kn7gdaax0nxzpfxrjfy1v"; 9 + buildDepends = [ binary filepath mtl parsec syb utf8String ]; 10 meta = { 11 homepage = "http://code.haskell.org/protocol-buffers/"; 12 description = "Parse Google Protocol Buffer specifications"; 13 license = self.stdenv.lib.licenses.bsd3; 14 platforms = self.ghc.meta.platforms; 15 }; 16 })
+2 -3
pkgs/development/libraries/haskell/pure-cdb/default.nix
··· 4 5 cabal.mkDerivation (self: { 6 pname = "pure-cdb"; 7 - version = "0.1"; 8 - sha256 = "0fxfhd73h5frnjpk617lspwf17wldsrd5a5cxar5y3a8wi0i4b8c"; 9 buildDepends = [ binary mtl vector ]; 10 testDepends = [ mtl testSimple Unixutils vector ]; 11 - doCheck = false; 12 meta = { 13 homepage = "https://github.com/bosu/pure-cdb"; 14 description = "Another pure-haskell CDB (Constant Database) implementation";
··· 4 5 cabal.mkDerivation (self: { 6 pname = "pure-cdb"; 7 + version = "0.1.1"; 8 + sha256 = "1yjh7h02hkhx2vgvn7qfmfd3bp12ibpkf4znybsd2bfh0i1pzn0n"; 9 buildDepends = [ binary mtl vector ]; 10 testDepends = [ mtl testSimple Unixutils vector ]; 11 meta = { 12 homepage = "https://github.com/bosu/pure-cdb"; 13 description = "Another pure-haskell CDB (Constant Database) implementation";
+2 -2
pkgs/development/libraries/haskell/purescript/default.nix
··· 7 8 cabal.mkDerivation (self: { 9 pname = "purescript"; 10 - version = "0.5.6.3"; 11 - sha256 = "0f9jzv886dg9aphwaqgx17xk2j6j4v2n12y3yhkbs46icmlr8zxp"; 12 isLibrary = true; 13 isExecutable = true; 14 buildDepends = [
··· 7 8 cabal.mkDerivation (self: { 9 pname = "purescript"; 10 + version = "0.5.7.1"; 11 + sha256 = "1xjihv7lq5b2cw44jhxwzr21749gayqfiqjkryz6z9p820hg1zzv"; 12 isLibrary = true; 13 isExecutable = true; 14 buildDepends = [
+15
pkgs/development/libraries/haskell/rawStringsQq/default.nix
···
··· 1 + # This file was auto-generated by cabal2nix. Please do NOT edit manually! 2 + 3 + { cabal }: 4 + 5 + cabal.mkDerivation (self: { 6 + pname = "raw-strings-qq"; 7 + version = "1.0.2"; 8 + sha256 = "0wnifa97am2s9bqixlidw3nf8w14h2qkg3sn1rxzgvc3fws57jg9"; 9 + meta = { 10 + homepage = "https://github.com/23Skidoo/raw-strings-qq"; 11 + description = "Raw string literals for Haskell"; 12 + license = self.stdenv.lib.licenses.bsd3; 13 + platforms = self.ghc.meta.platforms; 14 + }; 15 + })
+2 -2
pkgs/development/libraries/haskell/resource-pool/default.nix
··· 6 7 cabal.mkDerivation (self: { 8 pname = "resource-pool"; 9 - version = "0.2.3.0"; 10 - sha256 = "15igbvnqs6ig1k30l3jngyi60ay7k15mwgza5smv8zbpx86vb1mh"; 11 buildDepends = [ 12 hashable monadControl stm time transformers transformersBase vector 13 ];
··· 6 7 cabal.mkDerivation (self: { 8 pname = "resource-pool"; 9 + version = "0.2.3.1"; 10 + sha256 = "02fpw5jfzcdhijx8mfpb6j4c8sxl36f04i2nx3cbivh9yhbgqr92"; 11 buildDepends = [ 12 hashable monadControl stm time transformers transformersBase vector 13 ];
+2 -2
pkgs/development/libraries/haskell/rest-core/default.nix
··· 8 9 cabal.mkDerivation (self: { 10 pname = "rest-core"; 11 - version = "0.33"; 12 - sha256 = "05m8cvkm0nsi1yixk0dj5j6nvzzzs07i0pmyaj0ww6v5vkmcgmfb"; 13 buildDepends = [ 14 aeson aesonUtils either errors fclabels hxt hxtPickleUtils 15 jsonSchema mtl multipart random restStringmap restTypes safe split
··· 8 9 cabal.mkDerivation (self: { 10 pname = "rest-core"; 11 + version = "0.33.1"; 12 + sha256 = "0vrxdfnv53f65nifvvjj961h9nj7dlbfwk5y21zy9cl5w0dbg5yy"; 13 buildDepends = [ 14 aeson aesonUtils either errors fclabels hxt hxtPickleUtils 15 jsonSchema mtl multipart random restStringmap restTypes safe split
+2 -2
pkgs/development/libraries/haskell/rest-gen/default.nix
··· 9 10 cabal.mkDerivation (self: { 11 pname = "rest-gen"; 12 - version = "0.16.0.3"; 13 - sha256 = "1gl0dhl2dajlgms8f297x1763dqbrp9cszfq2qggzcdn896zxxgn"; 14 buildDepends = [ 15 aeson blazeHtml Cabal codeBuilder fclabels filepath hashable 16 haskellSrcExts hslogger HStringTemplate hxt jsonSchema restCore
··· 9 10 cabal.mkDerivation (self: { 11 pname = "rest-gen"; 12 + version = "0.16.0.4"; 13 + sha256 = "1qh8sg4klkssxwqyi7r5hzjzg45csxy7f7cznv27hmrpji28z2x2"; 14 buildDepends = [ 15 aeson blazeHtml Cabal codeBuilder fclabels filepath hashable 16 haskellSrcExts hslogger HStringTemplate hxt jsonSchema restCore
+2 -2
pkgs/development/libraries/haskell/rest-types/default.nix
··· 6 7 cabal.mkDerivation (self: { 8 pname = "rest-types"; 9 - version = "1.11"; 10 - sha256 = "16ki6sqi88s8ykwdhsk0xparvv90zzj4jidk0mhsd2wi3l4w1l6i"; 11 buildDepends = [ 12 aeson genericAeson hxt jsonSchema mtl regular regularXmlpickler 13 restStringmap text uuid
··· 6 7 cabal.mkDerivation (self: { 8 pname = "rest-types"; 9 + version = "1.11.1"; 10 + sha256 = "1dqjch3h3hv4s1v0wkbd4spn26f068bqpsz6mr0vdacdbhjwnigg"; 11 buildDepends = [ 12 aeson genericAeson hxt jsonSchema mtl regular regularXmlpickler 13 restStringmap text uuid
+17
pkgs/development/libraries/haskell/serialport/default.nix
···
··· 1 + # This file was auto-generated by cabal2nix. Please do NOT edit manually! 2 + 3 + { cabal, HUnit }: 4 + 5 + cabal.mkDerivation (self: { 6 + pname = "serialport"; 7 + version = "0.4.7"; 8 + sha256 = "1z2drw7ighyws72wqms015n5hy0zxbrphdca7ldn34pz28122z07"; 9 + testDepends = [ HUnit ]; 10 + doCheck = false; # Test requires a connected Arduino... 11 + meta = { 12 + homepage = "https://github.com/jputcu/serialport"; 13 + description = "Cross platform serial port library"; 14 + license = self.stdenv.lib.licenses.bsd3; 15 + platforms = self.ghc.meta.platforms; 16 + }; 17 + })
+2 -2
pkgs/development/libraries/haskell/stm-containers/default.nix
··· 6 7 cabal.mkDerivation (self: { 8 pname = "stm-containers"; 9 - version = "0.1.3"; 10 - sha256 = "0ir2b6y1sqr0i68j0fqmwyysk7x9z18n84dbjppyjzzidcsrkar0"; 11 buildDepends = [ 12 basePrelude focus hashable lochTh placeholders primitive 13 ];
··· 6 7 cabal.mkDerivation (self: { 8 pname = "stm-containers"; 9 + version = "0.1.4"; 10 + sha256 = "15h7qxxbr1ifkvmxsj30k0v3hp83m04iq25bvi3jmagvvk5hv5bj"; 11 buildDepends = [ 12 basePrelude focus hashable lochTh placeholders primitive 13 ];
+2 -2
pkgs/development/libraries/haskell/tasty-ant-xml/default.nix
··· 6 7 cabal.mkDerivation (self: { 8 pname = "tasty-ant-xml"; 9 - version = "1.0.0.11"; 10 - sha256 = "0cia8n31pyyax7v02xgpznanzd5wd32kps0dzx5ky1bmgbi9w4am"; 11 buildDepends = [ 12 genericDeriving mtl stm tagged tasty transformers xml 13 ];
··· 6 7 cabal.mkDerivation (self: { 8 pname = "tasty-ant-xml"; 9 + version = "1.0.1"; 10 + sha256 = "1wb9lm9rbk46g9cm2lpcrzh59zpcy270p824agg61bj1xb9jymsc"; 11 buildDepends = [ 12 genericDeriving mtl stm tagged tasty transformers xml 13 ];
+4 -3
pkgs/development/libraries/haskell/tasty-quickcheck/default.nix
··· 1 # This file was auto-generated by cabal2nix. Please do NOT edit manually! 2 3 - { cabal, QuickCheck, tagged, tasty }: 4 5 cabal.mkDerivation (self: { 6 pname = "tasty-quickcheck"; 7 - version = "0.8.2"; 8 - sha256 = "16fdzdlvivrkhpg9nbfz9gamvlpb25fgcxnshzg7i7hkrgzhbrji"; 9 buildDepends = [ QuickCheck tagged tasty ]; 10 meta = { 11 homepage = "http://documentup.com/feuerbach/tasty"; 12 description = "QuickCheck support for the Tasty test framework";
··· 1 # This file was auto-generated by cabal2nix. Please do NOT edit manually! 2 3 + { cabal, pcreLight, QuickCheck, tagged, tasty, tastyHunit }: 4 5 cabal.mkDerivation (self: { 6 pname = "tasty-quickcheck"; 7 + version = "0.8.3"; 8 + sha256 = "0vfxdcsj92d5z3yx45ccymln7ikdvqryc64x33gkyv1yqk4h42r9"; 9 buildDepends = [ QuickCheck tagged tasty ]; 10 + testDepends = [ pcreLight tasty tastyHunit ]; 11 meta = { 12 homepage = "http://documentup.com/feuerbach/tasty"; 13 description = "QuickCheck support for the Tasty test framework";
+2 -2
pkgs/development/libraries/haskell/tasty/default.nix
··· 6 7 cabal.mkDerivation (self: { 8 pname = "tasty"; 9 - version = "0.10.0.2"; 10 - sha256 = "0d2lmdrhdcmpay1yj613ckmjhwnrmaazcy3xhbc3fjlmd0rma44q"; 11 buildDepends = [ 12 ansiTerminal async deepseq mtl optparseApplicative regexTdfaRc stm 13 tagged time unboundedDelays
··· 6 7 cabal.mkDerivation (self: { 8 pname = "tasty"; 9 + version = "0.10.0.4"; 10 + sha256 = "028i567qmfkgriqs5y7vp6g5lz557cy5awhblcp6y2ya0aj78w5r"; 11 buildDepends = [ 12 ansiTerminal async deepseq mtl optparseApplicative regexTdfaRc stm 13 tagged time unboundedDelays
+3 -3
pkgs/development/libraries/haskell/wai-middleware-static/default.nix
··· 4 5 cabal.mkDerivation (self: { 6 pname = "wai-middleware-static"; 7 - version = "0.6.0"; 8 - sha256 = "1rsy8qkxcjqdpzqkar0smyy49p8vqapi47k8d24101lz3rym6018"; 9 buildDepends = [ filepath httpTypes mtl text wai ]; 10 jailbreak = true; 11 meta = { 12 - homepage = "https://github.com/scotty-web/scotty"; 13 description = "WAI middleware that serves requests to static files"; 14 license = self.stdenv.lib.licenses.bsd3; 15 platforms = self.ghc.meta.platforms;
··· 4 5 cabal.mkDerivation (self: { 6 pname = "wai-middleware-static"; 7 + version = "0.6.0.1"; 8 + sha256 = "1ylf2nm535d3dw0ksa9dfz1b4b78mqzkdrpdfd5pxswcqbgs266d"; 9 buildDepends = [ filepath httpTypes mtl text wai ]; 10 jailbreak = true; 11 meta = { 12 + homepage = "https://github.com/scotty-web/wai-middleware-static"; 13 description = "WAI middleware that serves requests to static files"; 14 license = self.stdenv.lib.licenses.bsd3; 15 platforms = self.ghc.meta.platforms;
+2 -2
pkgs/development/libraries/haskell/yesod-auth/default.nix
··· 11 12 cabal.mkDerivation (self: { 13 pname = "yesod-auth"; 14 - version = "1.4.0.1"; 15 - sha256 = "1d5rimp6jnxi8j518g3hg74a4g90rvgfhnxpz2kj6881v85avvh3"; 16 buildDepends = [ 17 aeson authenticate base16Bytestring base64Bytestring binary 18 blazeBuilder blazeHtml blazeMarkup byteable conduit conduitExtra
··· 11 12 cabal.mkDerivation (self: { 13 pname = "yesod-auth"; 14 + version = "1.4.0.2"; 15 + sha256 = "15k30si28jj6ivazwxbcy15hplvbpwwgwf5zcvzchi2w56z8j5gn"; 16 buildDepends = [ 17 aeson authenticate base16Bytestring base64Bytestring binary 18 blazeBuilder blazeHtml blazeMarkup byteable conduit conduitExtra
+2 -2
pkgs/development/libraries/haskell/yesod-bin/default.nix
··· 11 12 cabal.mkDerivation (self: { 13 pname = "yesod-bin"; 14 - version = "1.4.0.4"; 15 - sha256 = "1f05y5nh218c2r7d67r3lpxkbf6f6irhy7mg8pvbgy9yz90k0j8b"; 16 isLibrary = false; 17 isExecutable = true; 18 buildDepends = [
··· 11 12 cabal.mkDerivation (self: { 13 pname = "yesod-bin"; 14 + version = "1.4.0.5"; 15 + sha256 = "06rwmcag0vlj8q647mwimk5fsjfmrxc6d1yg95b7a2g48rh1m25x"; 16 isLibrary = false; 17 isExecutable = true; 18 buildDepends = [
-22
pkgs/development/libraries/haskell/yi-contrib/default.nix
··· 1 - # This file was auto-generated by cabal2nix. Please do NOT edit manually! 2 - 3 - { cabal, filepath, lens, mtl, ooPrototypes, split, text, time 4 - , transformersBase, yi, yiLanguage, yiRope 5 - }: 6 - 7 - cabal.mkDerivation (self: { 8 - pname = "yi-contrib"; 9 - version = "0.10.1"; 10 - sha256 = "053hsahkxwg2mnf3h4j95gj18x5791dqqji43l310i4l7mliw91k"; 11 - buildDepends = [ 12 - filepath lens mtl ooPrototypes split text time transformersBase yi 13 - yiLanguage yiRope 14 - ]; 15 - meta = { 16 - homepage = "http://haskell.org/haskellwiki/Yi"; 17 - description = "Add-ons to Yi, the Haskell-Scriptable Editor"; 18 - license = self.stdenv.lib.licenses.gpl2; 19 - platforms = self.ghc.meta.platforms; 20 - maintainers = with self.stdenv.lib.maintainers; [ fuuzetsu ]; 21 - }; 22 - })
···
+22
pkgs/development/libraries/haskell/yi-fuzzy-open/default.nix
···
··· 1 + # This file was auto-generated by cabal2nix. Please do NOT edit manually! 2 + 3 + { cabal, binary, dataDefault, filepath, mtl, text, transformersBase 4 + , vector, yi, yiLanguage, yiRope 5 + }: 6 + 7 + cabal.mkDerivation (self: { 8 + pname = "yi-fuzzy-open"; 9 + version = "0.1.0"; 10 + sha256 = "03y7ddas8w380asx4ldafp1r3h4nlyjky7n4n5sdyvwbi0rix1gc"; 11 + buildDepends = [ 12 + binary dataDefault filepath mtl text transformersBase vector yi 13 + yiLanguage yiRope 14 + ]; 15 + meta = { 16 + homepage = "https://github.com/yi-editor/yi-fuzzy-open"; 17 + description = "Fuzzy open plugin for Yi"; 18 + license = self.stdenv.lib.licenses.gpl2; 19 + platforms = self.ghc.meta.platforms; 20 + maintainers = with self.stdenv.lib.maintainers; [ fuuzetsu ]; 21 + }; 22 + })
+17
pkgs/development/libraries/haskell/yi-monokai/default.nix
···
··· 1 + # This file was auto-generated by cabal2nix. Please do NOT edit manually! 2 + 3 + { cabal, yi }: 4 + 5 + cabal.mkDerivation (self: { 6 + pname = "yi-monokai"; 7 + version = "0.1.1.2"; 8 + sha256 = "1nghfyiy8jdz144nbw0c2cdy8n6xyjmk31g6z24jk8dij7iwb60l"; 9 + buildDepends = [ yi ]; 10 + meta = { 11 + homepage = "https://github.com/Fuuzetsu/yi-monokai"; 12 + description = "Monokai colour theme for the Yi text editor"; 13 + license = self.stdenv.lib.licenses.bsd3; 14 + platforms = self.ghc.meta.platforms; 15 + maintainers = with self.stdenv.lib.maintainers; [ fuuzetsu ]; 16 + }; 17 + })
+7 -5
pkgs/development/libraries/haskell/yi-rope/default.nix
··· 1 # This file was auto-generated by cabal2nix. Please do NOT edit manually! 2 3 - { cabal, binary, dataDefault, deepseq, fingertree, hspec 4 - , QuickCheck, quickcheckInstances, text 5 }: 6 7 cabal.mkDerivation (self: { 8 pname = "yi-rope"; 9 - version = "0.4.1.0"; 10 - sha256 = "11k0fl2m6m7idvanfrgvl3h068i6yj6rzxmwpjylz4vdqq618rcq"; 11 - buildDepends = [ binary dataDefault deepseq fingertree text ]; 12 testDepends = [ hspec QuickCheck quickcheckInstances text ]; 13 meta = { 14 description = "A rope data structure used by Yi";
··· 1 # This file was auto-generated by cabal2nix. Please do NOT edit manually! 2 3 + { cabal, binary, charsetdetectAe, dataDefault, deepseq, fingertree 4 + , hspec, QuickCheck, quickcheckInstances, text, textIcu 5 }: 6 7 cabal.mkDerivation (self: { 8 pname = "yi-rope"; 9 + version = "0.6.0.0"; 10 + sha256 = "1r52mybqzy28zsv6r6a0cfmi8qaiscc91q2dhfq8rlp63l7ghq36"; 11 + buildDepends = [ 12 + binary charsetdetectAe dataDefault deepseq fingertree text textIcu 13 + ]; 14 testDepends = [ hspec QuickCheck quickcheckInstances text ]; 15 meta = { 16 description = "A rope data structure used by Yi";
+17
pkgs/development/libraries/haskell/yi-snippet/default.nix
···
··· 1 + # This file was auto-generated by cabal2nix. Please do NOT edit manually! 2 + 3 + { cabal, yi, yiRope }: 4 + 5 + cabal.mkDerivation (self: { 6 + pname = "yi-snippet"; 7 + version = "0.1.0.0"; 8 + sha256 = "0qbn5x7lbvb9h6gdqgvldzyy7z5y5aa9a02ss48zkccss5p6939d"; 9 + buildDepends = [ yi yiRope ]; 10 + meta = { 11 + homepage = "https://github.com/yi-editor/yi-snippet"; 12 + description = "Snippet support for Yi"; 13 + license = self.stdenv.lib.licenses.gpl2; 14 + platforms = self.ghc.meta.platforms; 15 + maintainers = with self.stdenv.lib.maintainers; [ fuuzetsu ]; 16 + }; 17 + })
+22
pkgs/development/libraries/hidapi/default.nix
···
··· 1 + { stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, udev, libusb }: 2 + 3 + stdenv.mkDerivation rec { 4 + name = "hidapi-0.8.0-rc1"; 5 + 6 + src = fetchFromGitHub { 7 + owner = "signal11"; 8 + repo = "hidapi"; 9 + rev = name; 10 + sha256 = "13d5jkmh9nh4c2kjch8k8amslnxapa9vkqzrk1z6rqmw8qgvzbkj"; 11 + }; 12 + 13 + buildInputs = [ autoreconfHook pkgconfig udev libusb ]; 14 + 15 + meta = with stdenv.lib; { 16 + homepage = https://github.com/signal11/hidapi; 17 + description = "for communicating with USB and Bluetooth HID devices"; 18 + license = licenses.bsd3; 19 + platforms = platforms.unix; 20 + maintainers = with maintainers; [ wkennington ]; 21 + }; 22 + }
+2 -2
pkgs/development/libraries/libassuan/default.nix
··· 1 { fetchurl, stdenv, pth, libgpgerror }: 2 3 stdenv.mkDerivation rec { 4 - name = "libassuan-2.1.1"; 5 6 src = fetchurl { 7 url = "mirror://gnupg/libassuan/${name}.tar.bz2"; 8 - sha256 = "1783nb0b6nr9yjhb5wfh8ykc5w89f4anppz1kz9913mqg5vxdqi3"; 9 }; 10 11 propagatedBuildInputs = [ libgpgerror pth ];
··· 1 { fetchurl, stdenv, pth, libgpgerror }: 2 3 stdenv.mkDerivation rec { 4 + name = "libassuan-2.1.2"; 5 6 src = fetchurl { 7 url = "mirror://gnupg/libassuan/${name}.tar.bz2"; 8 + sha256 = "0yxp3mdsxg75aj3h2r94vzad5i1y2mh0df9pv76ggals6k4sgy1r"; 9 }; 10 11 propagatedBuildInputs = [ libgpgerror pth ];
+22
pkgs/development/libraries/libcec/default.nix
···
··· 1 + { stdenv, fetchurl, autoreconfHook, pkgconfig, udev }: 2 + 3 + let version = "2.1.4"; in 4 + 5 + stdenv.mkDerivation { 6 + name = "libcec-${version}"; 7 + 8 + src = fetchurl { 9 + url = "https://github.com/Pulse-Eight/libcec/archive/libcec-${version}.tar.gz"; 10 + sha256 = "0iz11zclbs3gk4ddq0pm4vyq015qmvy4nb9sra3vk6jw58izbgkr"; 11 + }; 12 + 13 + buildInputs = [ autoreconfHook pkgconfig udev ]; 14 + 15 + meta = { 16 + description = "USB CEC adapter communication library"; 17 + homepage = "http://libcec.pulse-eight.com"; 18 + repositories.git = "https://github.com/Pulse-Eight/libcec.git"; 19 + license = "GPLv2+"; 20 + platforms = stdenv.lib.platforms.linux; 21 + }; 22 + }
+2 -2
pkgs/development/libraries/libgpg-error/default.nix
··· 1 { stdenv, fetchurl, bash, gettext }: 2 3 stdenv.mkDerivation (rec { 4 - name = "libgpg-error-1.16"; 5 6 src = fetchurl { 7 url = "mirror://gnupg/libgpg-error/${name}.tar.bz2"; 8 - sha256 = "16xv59zcr177gvgj97vg0rm4rixrpb4lz1q9fji3xay47i83gm62"; 9 }; 10 11 # If architecture-dependent MO files aren't available, they're generated
··· 1 { stdenv, fetchurl, bash, gettext }: 2 3 stdenv.mkDerivation (rec { 4 + name = "libgpg-error-1.17"; 5 6 src = fetchurl { 7 url = "mirror://gnupg/libgpg-error/${name}.tar.bz2"; 8 + sha256 = "1dapxzxl1naghf342fwfc2w2f2c5hb9gr1a1s4n8dsqn26kybx1z"; 9 }; 10 11 # If architecture-dependent MO files aren't available, they're generated
+7 -4
pkgs/development/libraries/libksba/default.nix
··· 1 { stdenv, fetchurl, libgpgerror }: 2 3 stdenv.mkDerivation rec { 4 - name = "libksba-1.2.0"; 5 6 src = fetchurl { 7 url = "mirror://gnupg/libksba/${name}.tar.bz2"; 8 - sha256 = "0jwk7hm3x3g4hd7l12z3d79dy7359x7lc88dq6z7q0ixn1jwxbq9"; 9 }; 10 11 - propagatedBuildInputs = [libgpgerror]; 12 13 - meta = { 14 homepage = http://www.gnupg.org; 15 description = "CMS and X.509 access library under development"; 16 }; 17 }
··· 1 { stdenv, fetchurl, libgpgerror }: 2 3 stdenv.mkDerivation rec { 4 + name = "libksba-1.3.1"; 5 6 src = fetchurl { 7 url = "mirror://gnupg/libksba/${name}.tar.bz2"; 8 + sha256 = "1ya6mcd6pk2v1pylvlk6wv3869aslz2mr2xw2gs6faxx2ravk5mw"; 9 }; 10 11 + propagatedBuildInputs = [ libgpgerror ]; 12 13 + meta = with stdenv.lib; { 14 homepage = http://www.gnupg.org; 15 description = "CMS and X.509 access library under development"; 16 + platforms = platforms.all; 17 + license = licenses.lgpl3; 18 + maintainers = with maintainers; [ wkennington ]; 19 }; 20 }
+3 -1
pkgs/development/libraries/libmsgpack/CMakeLists.patch
··· 1 diff -r 791a4edd7e1d CMakeLists.txt 2 --- a/CMakeLists.txt Sun Oct 05 13:14:14 2014 +0100 3 +++ b/CMakeLists.txt Sun Oct 05 13:20:12 2014 +0100 4 - @@ -158,7 +158,7 @@ 5 INSTALL (TARGETS msgpack msgpack-static DESTINATION lib) 6 INSTALL (DIRECTORY src/msgpack DESTINATION include) 7 INSTALL (FILES src/msgpack.h src/msgpack.hpp DESTINATION include) 8 -INSTALL (FILES msgpack.pc DESTINATION lib/pkgconfig) 9 +INSTALL (FILES ${CMAKE_CURRENT_BINARY_DIR}/msgpack.pc DESTINATION lib/pkgconfig)
··· 1 diff -r 791a4edd7e1d CMakeLists.txt 2 --- a/CMakeLists.txt Sun Oct 05 13:14:14 2014 +0100 3 +++ b/CMakeLists.txt Sun Oct 05 13:20:12 2014 +0100 4 + @@ -157,8 +157,9 @@ 5 + 6 INSTALL (TARGETS msgpack msgpack-static DESTINATION lib) 7 INSTALL (DIRECTORY src/msgpack DESTINATION include) 8 + +INSTALL (FILES ${CMAKE_CURRENT_BINARY_DIR}/src/msgpack/version.h DESTINATION include/msgpack) 9 INSTALL (FILES src/msgpack.h src/msgpack.hpp DESTINATION include) 10 -INSTALL (FILES msgpack.pc DESTINATION lib/pkgconfig) 11 +INSTALL (FILES ${CMAKE_CURRENT_BINARY_DIR}/msgpack.pc DESTINATION lib/pkgconfig)
+6 -1
pkgs/development/libraries/libpcap/default.nix
··· 10 11 nativeBuildInputs = [ flex bison ]; 12 13 - configureFlags = stdenv.lib.optionals stdenv.isLinux "--with-pcap=linux"; 14 15 preInstall = ''mkdir -p $out/bin''; 16
··· 10 11 nativeBuildInputs = [ flex bison ]; 12 13 + # We need to force the autodetection because detection doesn't 14 + # work in pure build enviroments. 15 + configureFlags = 16 + if stdenv.isLinux then [ "--with-pcap=linux" ] 17 + else if stdenv.isDarwin then [ "--with-pcap=bpf" ] 18 + else []; 19 20 preInstall = ''mkdir -p $out/bin''; 21
+4 -4
pkgs/development/libraries/libtorrent-rasterbar/default.nix
··· 1 { stdenv, fetchurl, boost, openssl, pkgconfig, zlib, python, libiconvOrNull, geoip }: 2 3 stdenv.mkDerivation rec { 4 - name = "libtorrent-rasterbar-${version}"; 5 - version = "0.16.16"; 6 7 src = fetchurl { 8 - url = mirror://sourceforge/libtorrent/libtorrent-rasterbar-0.16.16.tar.gz; 9 - sha256 = "1a3yxwjs4qb0rwx6cfpvar0a8jmavb6ik580b27md08jhvq80if7"; 10 }; 11 12 buildInputs = [ boost boost.lib pkgconfig openssl zlib python libiconvOrNull geoip ]; ··· 17 "--enable-python-binding" 18 "--with-libgeoip=system" 19 "--with-libiconv=yes" 20 ]; 21 22 meta = with stdenv.lib; {
··· 1 { stdenv, fetchurl, boost, openssl, pkgconfig, zlib, python, libiconvOrNull, geoip }: 2 3 stdenv.mkDerivation rec { 4 + name = "libtorrent-rasterbar-1.0.2"; 5 6 src = fetchurl { 7 + url = "mirror://sourceforge/libtorrent/${name}.tar.gz"; 8 + sha256 = "1ph4cb6nrk2hiy89j3kz1wj16ph0b9yixrf4f4935rnzhha8x31w"; 9 }; 10 11 buildInputs = [ boost boost.lib pkgconfig openssl zlib python libiconvOrNull geoip ]; ··· 16 "--enable-python-binding" 17 "--with-libgeoip=system" 18 "--with-libiconv=yes" 19 + "--with-boost=${boost.lib}" 20 ]; 21 22 meta = with stdenv.lib; {
+20
pkgs/development/libraries/libu2f-host/default.nix
···
··· 1 + { stdenv, fetchurl, pkgconfig, json_c, hidapi }: 2 + 3 + stdenv.mkDerivation rec { 4 + name = "libu2f-host-0.0"; 5 + 6 + src = fetchurl { 7 + url = "https://developers.yubico.com/libu2f-host/Releases/${name}.tar.xz"; 8 + sha256 = "02pjald2j6syvxm5pszxcpqhpp7c80hblnzh6wrafkmpkpzi3rq5"; 9 + }; 10 + 11 + buildInputs = [ pkgconfig json_c hidapi ]; 12 + 13 + meta = with stdenv.lib; { 14 + homepage = https://developers.yubico.com/libu2f-host; 15 + description = "a C library and command-line tool thati mplements the host-side of the U2F protocol"; 16 + license = licenses.bsd2; 17 + platforms = platforms.unix; 18 + maintainers = with maintainers; [ wkennington ]; 19 + }; 20 + }
+5 -8
pkgs/development/libraries/libusb1/default.nix
··· 1 - { stdenv, fetchurl, pkgconfig, udev }: 2 3 - let 4 - version = "1.0.18"; 5 - in 6 stdenv.mkDerivation rec { 7 - name = "libusb-${version}"; # at 1.0.18 libusb joined with libusbx 8 9 src = fetchurl { 10 - url = "mirror://sourceforge/libusb/libusb-${version}.tar.bz2"; 11 - sha256 = "081px0j98az0pjwwyjlq4qcmfn194fvm3qd4im0r9pm58pn5qgy7"; 12 }; 13 14 buildInputs = [ pkgconfig ]; 15 - propagatedBuildInputs = stdenv.lib.optional (stdenv.isLinux) udev; 16 17 NIX_LDFLAGS = stdenv.lib.optionalString stdenv.isLinux "-lgcc_s"; 18
··· 1 + { stdenv, fetchurl, pkgconfig, udev ? null }: 2 3 stdenv.mkDerivation rec { 4 + name = "libusb-1.0.19"; 5 6 src = fetchurl { 7 + url = "mirror://sourceforge/libusb/${name}.tar.bz2"; 8 + sha256 = "0h38p9rxfpg9vkrbyb120i1diq57qcln82h5fr7hvy82c20jql3c"; 9 }; 10 11 buildInputs = [ pkgconfig ]; 12 + propagatedBuildInputs = stdenv.lib.optional stdenv.isLinux udev; 13 14 NIX_LDFLAGS = stdenv.lib.optionalString stdenv.isLinux "-lgcc_s"; 15
+2 -1
pkgs/development/libraries/libvirt/default.nix
··· 1 { stdenv, fetchurl, pkgconfig, libxml2, gnutls, devicemapper, perl, python 2 , iproute, iptables, readline, lvm2, utillinux, udev, libpciaccess, gettext 3 , libtasn1, ebtables, libgcrypt, yajl, makeWrapper, pmutils, libcap_ng 4 - , dnsmasq, libnl 5 , pythonPackages 6 }: 7 ··· 34 "--with-init-script=redhat" 35 "--with-macvtap" 36 "--with-virtualport" 37 ]; 38 39 installFlags = [
··· 1 { stdenv, fetchurl, pkgconfig, libxml2, gnutls, devicemapper, perl, python 2 , iproute, iptables, readline, lvm2, utillinux, udev, libpciaccess, gettext 3 , libtasn1, ebtables, libgcrypt, yajl, makeWrapper, pmutils, libcap_ng 4 + , dnsmasq, libnl, libpcap 5 , pythonPackages 6 }: 7 ··· 34 "--with-init-script=redhat" 35 "--with-macvtap" 36 "--with-virtualport" 37 + "--with-libpcap" 38 ]; 39 40 installFlags = [
+2 -2
pkgs/development/libraries/libxml2/default.nix
··· 5 #TODO: share most stuff between python and non-python builds, perhaps via multiple-output 6 7 let 8 - version = "2.9.1"; 9 in 10 11 stdenv.mkDerivation (rec { ··· 13 14 src = fetchurl { 15 url = "ftp://xmlsoft.org/libxml2/${name}.tar.gz"; 16 - sha256 = "1nqgd1qqmg0cg09mch78m2ac9klj9n87blilx4kymi7jcv5n8g7x"; 17 }; 18 19 buildInputs = stdenv.lib.optional pythonSupport python
··· 5 #TODO: share most stuff between python and non-python builds, perhaps via multiple-output 6 7 let 8 + version = "2.9.2"; 9 in 10 11 stdenv.mkDerivation (rec { ··· 13 14 src = fetchurl { 15 url = "ftp://xmlsoft.org/libxml2/${name}.tar.gz"; 16 + sha256 = "1g6mf03xcabmk5ing1lwqmasr803616gb2xhn7pll10x2l5w6y2i"; 17 }; 18 19 buildInputs = stdenv.lib.optional pythonSupport python
-8
pkgs/development/libraries/libxml2/setup-hook.sh
··· 11 if test -z "$libxmlHookDone"; then 12 libxmlHookDone=1 13 14 - # Set http_proxy and ftp_proxy to an invalid host to prevent 15 - # xmllint and xsltproc from trying to download DTDs from the 16 - # network even when --nonet is not given. That would be impure. 17 - # (Note that .invalid is a reserved domain guaranteed not to 18 - # work.) 19 - export http_proxy=http://nodtd.invalid/ 20 - export ftp_proxy=http://nodtd.invalid/ 21 - 22 # Set up XML_CATALOG_FILES. An empty initial value prevents 23 # xmllint and xsltproc from looking in /etc/xml/catalog. 24 export XML_CATALOG_FILES
··· 11 if test -z "$libxmlHookDone"; then 12 libxmlHookDone=1 13 14 # Set up XML_CATALOG_FILES. An empty initial value prevents 15 # xmllint and xsltproc from looking in /etc/xml/catalog. 16 export XML_CATALOG_FILES
+24
pkgs/development/libraries/libykneomgr/default.nix
···
··· 1 + { stdenv, fetchurl, pkgconfig, pcsclite, libzip, help2man }: 2 + 3 + stdenv.mkDerivation rec { 4 + name = "libykneomgr-0.1.6"; 5 + 6 + src = fetchurl { 7 + url = "https://developers.yubico.com/libykneomgr/Releases/${name}.tar.gz"; 8 + sha256 = "15fa4sslbzhzmkf0xik36as9lsmys1apqwjxv8sx7qlpacmxy3bw"; 9 + }; 10 + 11 + buildInputs = [ pkgconfig pcsclite libzip help2man ]; 12 + 13 + configureFlags = [ 14 + "--with-backend=pcsc" 15 + ]; 16 + 17 + meta = with stdenv.lib; { 18 + homepage = https://developers.yubico.com/libykneomgr; 19 + description = "a C library to interact with the CCID-part of the Yubikey NEO"; 20 + license = licenses.bsd3; 21 + platforms = platforms.unix; 22 + maintainers = with maintainers; [ wkennington ]; 23 + }; 24 + }
+9 -12
pkgs/development/libraries/libyubikey/default.nix
··· 1 - {stdenv, fetchurl}: 2 3 - stdenv.mkDerivation rec 4 - { 5 - version = "1.12"; 6 - name = "libyubikey-${version}"; 7 8 - src = fetchurl 9 - { 10 - url = "http://opensource.yubico.com/yubico-c/releases/${name}.tar.gz"; 11 sha256 = "1f0plzmr1gwry4rfgq9q70v6qwqny009hac289ad5m6sj7vqflxr"; 12 }; 13 14 - meta = 15 - { 16 homepage = "http://opensource.yubico.com/yubico-c/"; 17 description = "C library for manipulating Yubico YubiKey One-Time Passwords (OTPs)"; 18 - license = "bsd"; 19 - maintainers = [ stdenv.lib.maintainers.calrama ]; 20 }; 21 }
··· 1 + { stdenv, fetchurl }: 2 3 + stdenv.mkDerivation rec { 4 + name = "libyubikey-1.12"; 5 6 + src = fetchurl { 7 + url = "https://developers.yubico.com/yubico-c/Releases/${name}.tar.gz"; 8 sha256 = "1f0plzmr1gwry4rfgq9q70v6qwqny009hac289ad5m6sj7vqflxr"; 9 }; 10 11 + meta = with stdenv.lib; { 12 homepage = "http://opensource.yubico.com/yubico-c/"; 13 description = "C library for manipulating Yubico YubiKey One-Time Passwords (OTPs)"; 14 + license = licenses.bsd2; 15 + maintainers = with maintainers; [ calrama wkennington ]; 16 + platforms = platforms.unix; 17 }; 18 }
+5 -5
pkgs/development/libraries/npth/default.nix
··· 1 { stdenv, fetchurl }: 2 3 stdenv.mkDerivation rec { 4 - name = "npth-0.91"; 5 6 src = fetchurl { 7 url = "ftp://ftp.gnupg.org/gcrypt/npth/${name}.tar.bz2"; 8 - sha256 = "1qgs1n70x83dyyysabg50dh8s3464jwsa63qi5if2cd3sk78dvya"; 9 }; 10 11 - meta = { 12 description = "The New GNU Portable Threads Library"; 13 longDescription = '' 14 This is a library to provide the GNU Pth API and thus a non-preemptive ··· 20 that this is a solid way to provide a co-routine based framework. 21 ''; 22 homepage = http://www.gnupg.org; 23 - license = stdenv.lib.licenses.lgpl3; 24 - platforms = stdenv.lib.platforms.all; 25 }; 26 }
··· 1 { stdenv, fetchurl }: 2 3 stdenv.mkDerivation rec { 4 + name = "npth-1.0"; 5 6 src = fetchurl { 7 url = "ftp://ftp.gnupg.org/gcrypt/npth/${name}.tar.bz2"; 8 + sha256 = "0vppr13821bkdv8348067l1aj3sb0n0rbmnsgymzy3iifvirvm4s"; 9 }; 10 11 + meta = with stdenv.lib; { 12 description = "The New GNU Portable Threads Library"; 13 longDescription = '' 14 This is a library to provide the GNU Pth API and thus a non-preemptive ··· 20 that this is a solid way to provide a co-routine based framework. 21 ''; 22 homepage = http://www.gnupg.org; 23 + license = licenses.lgpl3; 24 + platforms = platforms.all; 25 }; 26 }
+2 -2
pkgs/development/libraries/openldap/default.nix
··· 1 {stdenv, fetchurl, openssl, cyrus_sasl, db, groff}: 2 3 stdenv.mkDerivation rec { 4 - name = "openldap-2.4.39"; 5 6 src = fetchurl { 7 url = "http://www.openldap.org/software/download/OpenLDAP/openldap-release/${name}.tgz"; 8 - sha256 = "19zq9dc7dl03wmqd11fbsdii1npyq1vlicl3nxbfygqh8xrwhrw2"; 9 }; 10 11 buildInputs = [ openssl cyrus_sasl db groff ];
··· 1 {stdenv, fetchurl, openssl, cyrus_sasl, db, groff}: 2 3 stdenv.mkDerivation rec { 4 + name = "openldap-2.4.40"; 5 6 src = fetchurl { 7 url = "http://www.openldap.org/software/download/OpenLDAP/openldap-release/${name}.tgz"; 8 + sha256 = "1nyslrgwxwilgv5sixc37svls5rbvhsv9drb7hlrjr2vqaji29ni"; 9 }; 10 11 buildInputs = [ openssl cyrus_sasl db groff ];
+8 -2
pkgs/development/libraries/smpeg/default.nix
··· 1 - { stdenv, fetchsvn, SDL, autoconf, automake, libtool, gtk, m4, pkgconfig, mesa }: 2 3 stdenv.mkDerivation rec { 4 name = "smpeg-svn${version}"; ··· 12 13 enableParallelBuilding = true; 14 15 - buildInputs = [ SDL autoconf automake libtool gtk m4 pkgconfig mesa ]; 16 17 preConfigure = '' 18 touch NEWS AUTHORS ChangeLog ··· 26 -e 's,"SDL_thread.h",<SDL/SDL_thread.h>,' \ 27 -e 's,"SDL_types.h",<SDL/SDL_types.h>,' \ 28 $out/include/smpeg/*.h 29 ''; 30 31 meta = {
··· 1 + { stdenv, fetchsvn, SDL, autoconf, automake, libtool, gtk, m4, pkgconfig, mesa, makeWrapper }: 2 3 stdenv.mkDerivation rec { 4 name = "smpeg-svn${version}"; ··· 12 13 enableParallelBuilding = true; 14 15 + buildInputs = [ SDL gtk mesa ]; 16 + 17 + nativeBuildInputs = [ autoconf automake libtool m4 pkgconfig makeWrapper ]; 18 19 preConfigure = '' 20 touch NEWS AUTHORS ChangeLog ··· 28 -e 's,"SDL_thread.h",<SDL/SDL_thread.h>,' \ 29 -e 's,"SDL_types.h",<SDL/SDL_types.h>,' \ 30 $out/include/smpeg/*.h 31 + 32 + wrapProgram $out/bin/smpeg-config \ 33 + --prefix PATH ":" "${pkgconfig}/bin" \ 34 + --prefix PKG_CONFIG_PATH ":" "${SDL}/lib/pkgconfig" 35 ''; 36 37 meta = {
+8 -3
pkgs/development/mobile/titaniumenv/build-app.nix
··· 1 {stdenv, androidsdk, titaniumsdk, titanium, xcodewrapper, jdk, python, which, xcodeBaseDir}: 2 { name, src, target, androidPlatformVersions ? [ "8" ], androidAbiVersions ? [ "armeabi" "armeabi-v7a" ], tiVersion ? null 3 , release ? false, androidKeyStore ? null, androidKeyAlias ? null, androidKeyStorePassword ? null 4 - , iosMobileProvisioningProfile ? null, iosCertificateName ? null, iosCertificate ? null, iosCertificatePassword ? null, iosVersion ? "8.0" 5 , enableWirelessDistribution ? false, installURL ? null 6 }: 7 ··· 16 useGoogleAPIs = true; 17 }; 18 19 - deleteKeychain = "security delete-keychain $keychainName"; 20 in 21 stdenv.mkDerivation { 22 name = stdenv.lib.replaceChars [" "] [""] name; ··· 75 security default-keychain -s $keychainName 76 security unlock-keychain -p "" $keychainName 77 security import ${iosCertificate} -k $keychainName -P "${iosCertificatePassword}" -A 78 - 79 provisioningId=$(grep UUID -A1 -a ${iosMobileProvisioningProfile} | grep -o "[-A-Za-z0-9]\{36\}") 80 81 # Ensure that the requested provisioning profile can be found
··· 1 {stdenv, androidsdk, titaniumsdk, titanium, xcodewrapper, jdk, python, which, xcodeBaseDir}: 2 { name, src, target, androidPlatformVersions ? [ "8" ], androidAbiVersions ? [ "armeabi" "armeabi-v7a" ], tiVersion ? null 3 , release ? false, androidKeyStore ? null, androidKeyAlias ? null, androidKeyStorePassword ? null 4 + , iosMobileProvisioningProfile ? null, iosCertificateName ? null, iosCertificate ? null, iosCertificatePassword ? null, iosVersion ? "8.0", iosWwdrCertificate ? null 5 , enableWirelessDistribution ? false, installURL ? null 6 }: 7 ··· 16 useGoogleAPIs = true; 17 }; 18 19 + deleteKeychain = '' 20 + security default-keychain -s login.keychain 21 + security delete-keychain $keychainName 22 + ''; 23 in 24 stdenv.mkDerivation { 25 name = stdenv.lib.replaceChars [" "] [""] name; ··· 78 security default-keychain -s $keychainName 79 security unlock-keychain -p "" $keychainName 80 security import ${iosCertificate} -k $keychainName -P "${iosCertificatePassword}" -A 81 + ${stdenv.lib.optionalString (iosWwdrCertificate != null) '' 82 + security import ${iosWwdrCertificate} -k $keychainName 83 + ''} 84 provisioningId=$(grep UUID -A1 -a ${iosMobileProvisioningProfile} | grep -o "[-A-Za-z0-9]\{36\}") 85 86 # Ensure that the requested provisioning profile can be found
+3 -3
pkgs/development/mobile/titaniumenv/examples/default.nix
··· 4 , xcodeBaseDir ? "/Applications/Xcode.app" 5 , tiVersion ? "3.4.0.GA" 6 , rename ? false 7 - , newBundleId ? "com.example.kitchensink", iosMobileProvisioningProfile ? null, iosCertificate ? null, iosCertificateName ? "Example", iosCertificatePassword ? "" 8 , allowUnfree ? false 9 , enableWirelessDistribution ? false, installURL ? null 10 }: ··· 62 kitchensink_ios_development = import ./kitchensink { 63 inherit (pkgs) fetchgit; 64 titaniumenv = pkgs.titaniumenv.override { inherit xcodeVersion xcodeBaseDir tiVersion; }; 65 - inherit tiVersion; 66 target = "iphone"; 67 }; 68 ··· 84 inherit tiVersion; 85 release = true; 86 rename = true; 87 - inherit newBundleId iosMobileProvisioningProfile iosCertificate iosCertificateName iosCertificatePassword; 88 inherit enableWirelessDistribution installURL; 89 }; 90 }
··· 4 , xcodeBaseDir ? "/Applications/Xcode.app" 5 , tiVersion ? "3.4.0.GA" 6 , rename ? false 7 + , newBundleId ? "com.example.kitchensink", iosMobileProvisioningProfile ? null, iosCertificate ? null, iosCertificateName ? "Example", iosCertificatePassword ? "", iosVersion ? "8.0", iosWwdrCertificate ? null 8 , allowUnfree ? false 9 , enableWirelessDistribution ? false, installURL ? null 10 }: ··· 62 kitchensink_ios_development = import ./kitchensink { 63 inherit (pkgs) fetchgit; 64 titaniumenv = pkgs.titaniumenv.override { inherit xcodeVersion xcodeBaseDir tiVersion; }; 65 + inherit tiVersion iosVersion; 66 target = "iphone"; 67 }; 68 ··· 84 inherit tiVersion; 85 release = true; 86 rename = true; 87 + inherit newBundleId iosMobileProvisioningProfile iosCertificate iosCertificateName iosCertificatePassword iosVersion iosWwdrCertificate; 88 inherit enableWirelessDistribution installURL; 89 }; 90 }
+2 -2
pkgs/development/mobile/titaniumenv/examples/kitchensink/default.nix
··· 1 { titaniumenv, fetchgit, target, androidPlatformVersions ? [ "14" ], tiVersion ? "3.2.3.GA", release ? false 2 - , rename ? false, stdenv ? null, newBundleId ? null, iosMobileProvisioningProfile ? null, iosCertificate ? null, iosCertificateName ? null, iosCertificatePassword ? null 3 , enableWirelessDistribution ? false, installURL ? null 4 }: 5 ··· 37 androidKeyAlias = "myfirstapp"; 38 androidKeyStorePassword = "mykeystore"; 39 40 - inherit iosMobileProvisioningProfile iosCertificate iosCertificateName iosCertificatePassword; 41 inherit enableWirelessDistribution installURL; 42 }
··· 1 { titaniumenv, fetchgit, target, androidPlatformVersions ? [ "14" ], tiVersion ? "3.2.3.GA", release ? false 2 + , rename ? false, stdenv ? null, newBundleId ? null, iosMobileProvisioningProfile ? null, iosCertificate ? null, iosCertificateName ? null, iosCertificatePassword ? null, iosVersion ? "8.0", iosWwdrCertificate ? null 3 , enableWirelessDistribution ? false, installURL ? null 4 }: 5 ··· 37 androidKeyAlias = "myfirstapp"; 38 androidKeyStorePassword = "mykeystore"; 39 40 + inherit iosMobileProvisioningProfile iosCertificate iosCertificateName iosCertificatePassword iosVersion iosWwdrCertificate; 41 inherit enableWirelessDistribution installURL; 42 }
+4 -1
pkgs/development/mobile/xcodeenv/build-app.nix
··· 46 else sdk; 47 48 # The following is to prevent repetition 49 - deleteKeychain = "security delete-keychain $keychainName"; 50 in 51 stdenv.mkDerivation { 52 name = stdenv.lib.replaceChars [" "] [""] name;
··· 46 else sdk; 47 48 # The following is to prevent repetition 49 + deleteKeychain = '' 50 + security default-keychain -s login.keychain 51 + security delete-keychain $keychainName 52 + ''; 53 in 54 stdenv.mkDerivation { 55 name = stdenv.lib.replaceChars [" "] [""] name;
+34
pkgs/development/ocaml-modules/ansiterminal/default.nix
···
··· 1 + { stdenv, fetchurl, ocaml, findlib }: 2 + 3 + stdenv.mkDerivation { 4 + 5 + name = "ansiterminal-0.6.5"; 6 + 7 + src = fetchurl { 8 + url = "https://forge.ocamlcore.org/frs/download.php/1206/ANSITerminal-0.6.5.tar.gz"; 9 + sha256 = "1j9kflv2i16vf9hy031cl6z8hv6791mjbhnd9bw07y1pswdlx1r6"; 10 + }; 11 + 12 + buildInputs = [ ocaml findlib ]; 13 + 14 + configurePhase = "ocaml setup.ml -configure --prefix $out"; 15 + 16 + buildPhase = "ocaml setup.ml -build"; 17 + 18 + installPhase = "ocaml setup.ml -install"; 19 + 20 + createFindlibDestdir = true; 21 + 22 + meta = with stdenv.lib; { 23 + homepage = "https://forge.ocamlcore.org/projects/ansiterminal"; 24 + description = "A module allowing to use the colors and cursor movements on ANSI terminals"; 25 + longDescription = '' 26 + ANSITerminal is a module allowing to use the colors and cursor 27 + movements on ANSI terminals. It also works on the windows shell (but 28 + this part is currently work in progress). 29 + ''; 30 + license = licenses.lgpl3; 31 + platforms = ocaml.meta.platforms; 32 + maintainers = [ maintainers.jirkamarsik ]; 33 + }; 34 + }
+41
pkgs/development/ocaml-modules/bolt/default.nix
···
··· 1 + { stdenv, fetchurl, ocaml, findlib, which }: 2 + 3 + let inherit (stdenv.lib) getVersion versionAtLeast; in 4 + 5 + assert versionAtLeast (getVersion ocaml) "4.00.0"; 6 + assert versionAtLeast (getVersion findlib) "1.3.3"; 7 + 8 + stdenv.mkDerivation rec { 9 + 10 + name = "bolt-1.4"; 11 + 12 + src = fetchurl { 13 + url = "https://forge.ocamlcore.org/frs/download.php/1043/${name}.tar.gz"; 14 + sha256 = "1c807wrpxra9sbb34lajhimwra28ldxv04m570567lh2b04n38zy"; 15 + }; 16 + 17 + buildInputs = [ ocaml findlib which ]; 18 + 19 + # The custom `configure` script does not expect the --prefix 20 + # option. Installation is handled by ocamlfind. 21 + dontAddPrefix = true; 22 + 23 + createFindlibDestdir = true; 24 + 25 + buildFlags = "all"; 26 + 27 + doCheck = true; 28 + checkTarget = "tests"; 29 + 30 + meta = with stdenv.lib; { 31 + homepage = "http://bolt.x9c.fr"; 32 + description = "A logging tool for the OCaml language"; 33 + longDescription = '' 34 + Bolt is a logging tool for the OCaml language. It is inspired by and 35 + modeled after the famous log4j logging framework for Java. 36 + ''; 37 + license = licenses.lgpl3; 38 + platforms = ocaml.meta.platforms; 39 + maintainers = [ maintainers.jirkamarsik ]; 40 + }; 41 + }
+2 -2
pkgs/development/pharo/vm/default.nix
··· 2 3 stdenv.mkDerivation rec { 4 5 - version = "2014.09.20"; 6 7 name = "pharo-vm-core-i386-${version}"; 8 system = "x86_32-linux"; 9 src = fetchurl { 10 url = "http://files.pharo.org/vm/src/vm-unix-sources/blessed/pharo-vm-${version}.tar.bz2"; 11 - md5 = "f4183566aeeb7cb9d0d7832b4e40b573"; 12 }; 13 14 sources10Zip = fetchurl {
··· 2 3 stdenv.mkDerivation rec { 4 5 + version = "2014.10.28"; 6 7 name = "pharo-vm-core-i386-${version}"; 8 system = "x86_32-linux"; 9 src = fetchurl { 10 url = "http://files.pharo.org/vm/src/vm-unix-sources/blessed/pharo-vm-${version}.tar.bz2"; 11 + md5 = "c1d25d5beac15dc8e5bd3f84ab9b0ac3"; 12 }; 13 14 sources10Zip = fetchurl {
+14
pkgs/development/python-modules/box2d/disable-test.patch
···
··· 1 + Common subdirectories: Box2D-2.3b0/Box2D and Box2D-2.3b0.new/Box2D 2 + Common subdirectories: Box2D-2.3b0/examples and Box2D-2.3b0.new/examples 3 + Common subdirectories: Box2D-2.3b0/library and Box2D-2.3b0.new/library 4 + diff -u Box2D-2.3b0/setup.py Box2D-2.3b0.new/setup.py 5 + --- Box2D-2.3b0/setup.py 2013-02-02 18:09:34.000000000 +0100 6 + +++ Box2D-2.3b0.new/setup.py 2014-10-25 13:32:07.136922343 +0200 7 + @@ -176,7 +176,6 @@ 8 + package_dir = {'Box2D': library_path, 9 + 'Box2D.b2': os.path.join(library_path, 'b2'), 10 + 'Box2D.tests' : 'tests'}, 11 + - test_suite = 'tests', 12 + options = { 'build_ext': { 'swig_opts' : swig_arguments }, 13 + 'egg_info' : { 'egg_base' : library_base }, 14 + },
+5 -4
pkgs/development/tools/analysis/checkstyle/default.nix
··· 1 { stdenv, fetchurl }: 2 3 stdenv.mkDerivation rec { 4 - version = "5.7"; 5 name = "checkstyle-${version}"; 6 7 src = fetchurl { 8 url = "mirror://sourceforge/checkstyle/${version}/${name}-bin.tar.gz"; 9 - sha256 = "0kzj507ylynq6p7v097bjzsckkjny5i2fxwxyrlwi5samhi2m06x"; 10 }; 11 12 installPhase = '' ··· 14 cp -R * $out/checkstyle 15 ''; 16 17 - meta = { 18 description = "Checks Java source against a coding standard"; 19 longDescription = '' 20 checkstyle is a development tool to help programmers write Java code that ··· 22 Conventions, but is highly configurable. 23 ''; 24 homepage = http://checkstyle.sourceforge.net/; 25 - license = stdenv.lib.licenses.lgpl21; 26 }; 27 }
··· 1 { stdenv, fetchurl }: 2 3 stdenv.mkDerivation rec { 4 + version = "6.0"; 5 name = "checkstyle-${version}"; 6 7 src = fetchurl { 8 url = "mirror://sourceforge/checkstyle/${version}/${name}-bin.tar.gz"; 9 + sha256 = "08qjx7yfx5p7ydbcm6lzm15qcwkgcf1jw27i9fnyr01wppz9yrsx"; 10 }; 11 12 installPhase = '' ··· 14 cp -R * $out/checkstyle 15 ''; 16 17 + meta = with stdenv.lib; { 18 description = "Checks Java source against a coding standard"; 19 longDescription = '' 20 checkstyle is a development tool to help programmers write Java code that ··· 22 Conventions, but is highly configurable. 23 ''; 24 homepage = http://checkstyle.sourceforge.net/; 25 + license = licenses.lgpl21; 26 + maintainers = with maintainers; [ pSub ]; 27 }; 28 }
+3 -3
pkgs/development/tools/build-managers/gradle/default.nix
··· 1 { stdenv, fetchurl, unzip, jdk, makeWrapper }: 2 3 stdenv.mkDerivation rec { 4 - name = "gradle-1.11"; 5 6 src = fetchurl { 7 url = "http://services.gradle.org/distributions/${name}-bin.zip"; 8 - sha256 = "14a0qdzjiar97l9a0i3ds2y48p1lrqkj7skkkvhz0r29hbgkbqh7"; 9 }; 10 11 installPhase = '' ··· 14 15 makeWrapper ${jdk}/bin/java $out/bin/gradle \ 16 --set JAVA_HOME ${jdk} \ 17 - --add-flags "-classpath $out/lib/gradle-launcher-1.11.jar org.gradle.launcher.GradleMain" 18 ''; 19 20 phases = "unpackPhase installPhase";
··· 1 { stdenv, fetchurl, unzip, jdk, makeWrapper }: 2 3 stdenv.mkDerivation rec { 4 + name = "gradle-2.1"; 5 6 src = fetchurl { 7 url = "http://services.gradle.org/distributions/${name}-bin.zip"; 8 + sha256 = "0y7qifc61nng24zn73bdwh5d0m25dnllfiwfkyw220mblag4zviy"; 9 }; 10 11 installPhase = '' ··· 14 15 makeWrapper ${jdk}/bin/java $out/bin/gradle \ 16 --set JAVA_HOME ${jdk} \ 17 + --add-flags "-classpath $out/lib/gradle-launcher-2.1.jar org.gradle.launcher.GradleMain" 18 ''; 19 20 phases = "unpackPhase installPhase";
+296
pkgs/development/tools/egg2nix/chicken-eggs.nix
···
··· 1 + { pkgs, stdenv }: 2 + rec { 3 + inherit (pkgs) eggDerivation fetchegg; 4 + 5 + base64 = eggDerivation { 6 + name = "base64-3.3.1"; 7 + 8 + src = fetchegg { 9 + name = "base64"; 10 + version = "3.3.1"; 11 + sha256 = "0wmldiwwg1jpcn07wb906nc53si5j7sa83wgyq643xzqcx4v4x1d"; 12 + }; 13 + 14 + buildInputs = [ 15 + 16 + ]; 17 + }; 18 + 19 + blob-utils = eggDerivation { 20 + name = "blob-utils-1.0.3"; 21 + 22 + src = fetchegg { 23 + name = "blob-utils"; 24 + version = "1.0.3"; 25 + sha256 = "17vdn02fnxnjx5ixgqimln93lqvzyq4y9w02fw7xnbdcjzqm0xml"; 26 + }; 27 + 28 + buildInputs = [ 29 + setup-helper 30 + string-utils 31 + ]; 32 + }; 33 + 34 + check-errors = eggDerivation { 35 + name = "check-errors-1.13.0"; 36 + 37 + src = fetchegg { 38 + name = "check-errors"; 39 + version = "1.13.0"; 40 + sha256 = "12a0sn82n98jybh72zb39fdddmr5k4785xglxb16750fhy8rmjwi"; 41 + }; 42 + 43 + buildInputs = [ 44 + setup-helper 45 + ]; 46 + }; 47 + 48 + defstruct = eggDerivation { 49 + name = "defstruct-1.6"; 50 + 51 + src = fetchegg { 52 + name = "defstruct"; 53 + version = "1.6"; 54 + sha256 = "0lsgl32nmb5hxqiii4r3292cx5vqh50kp6v062nfiyid9lhrj0li"; 55 + }; 56 + 57 + buildInputs = [ 58 + 59 + ]; 60 + }; 61 + 62 + http-client = eggDerivation { 63 + name = "http-client-0.7.1"; 64 + 65 + src = fetchegg { 66 + name = "http-client"; 67 + version = "0.7.1"; 68 + sha256 = "1s03zgmb7kb99ld0f2ylqgicrab9qgza53fkgsqvg7bh5njmzhxr"; 69 + }; 70 + 71 + buildInputs = [ 72 + intarweb 73 + uri-common 74 + message-digest 75 + md5 76 + string-utils 77 + sendfile 78 + ]; 79 + }; 80 + 81 + intarweb = eggDerivation { 82 + name = "intarweb-1.3"; 83 + 84 + src = fetchegg { 85 + name = "intarweb"; 86 + version = "1.3"; 87 + sha256 = "0izlby78c25py29bdcbc0vapb6h7xgchqrzi6i51d0rb3mnwy88h"; 88 + }; 89 + 90 + buildInputs = [ 91 + defstruct 92 + uri-common 93 + base64 94 + ]; 95 + }; 96 + 97 + lookup-table = eggDerivation { 98 + name = "lookup-table-1.13.5"; 99 + 100 + src = fetchegg { 101 + name = "lookup-table"; 102 + version = "1.13.5"; 103 + sha256 = "1nzly6rhynawlvzlyilk8z8cxz57cf9n5iv20glkhh28pz2izmrb"; 104 + }; 105 + 106 + buildInputs = [ 107 + setup-helper 108 + check-errors 109 + miscmacros 110 + record-variants 111 + synch 112 + ]; 113 + }; 114 + 115 + matchable = eggDerivation { 116 + name = "matchable-3.3"; 117 + 118 + src = fetchegg { 119 + name = "matchable"; 120 + version = "3.3"; 121 + sha256 = "07y3lpzgm4djiwi9y2adc796f9kwkmdr28fkfkw65syahdax8990"; 122 + }; 123 + 124 + buildInputs = [ 125 + 126 + ]; 127 + }; 128 + 129 + md5 = eggDerivation { 130 + name = "md5-3.1.0"; 131 + 132 + src = fetchegg { 133 + name = "md5"; 134 + version = "3.1.0"; 135 + sha256 = "0bka43nx8x9b0b079qpvml2fl20km19ny0qjmhwzlh6rwmzazj2a"; 136 + }; 137 + 138 + buildInputs = [ 139 + message-digest 140 + ]; 141 + }; 142 + 143 + message-digest = eggDerivation { 144 + name = "message-digest-3.1.0"; 145 + 146 + src = fetchegg { 147 + name = "message-digest"; 148 + version = "3.1.0"; 149 + sha256 = "1w6bax19dwgih78vcimiws0rja7qsd8hmbm6qqg2hf9cw3vab21s"; 150 + }; 151 + 152 + buildInputs = [ 153 + setup-helper 154 + miscmacros 155 + check-errors 156 + variable-item 157 + blob-utils 158 + string-utils 159 + ]; 160 + }; 161 + 162 + miscmacros = eggDerivation { 163 + name = "miscmacros-2.96"; 164 + 165 + src = fetchegg { 166 + name = "miscmacros"; 167 + version = "2.96"; 168 + sha256 = "1ajdgjrni10i2hmhcp4rawnxajjxry3kmq1krdmah4sf0kjrgajc"; 169 + }; 170 + 171 + buildInputs = [ 172 + 173 + ]; 174 + }; 175 + 176 + record-variants = eggDerivation { 177 + name = "record-variants-0.5.1"; 178 + 179 + src = fetchegg { 180 + name = "record-variants"; 181 + version = "0.5.1"; 182 + sha256 = "15wgysxkm8m4hx9nhhw9akchzipdnqc7yj3qd3zn0z7sxg4sld1h"; 183 + }; 184 + 185 + buildInputs = [ 186 + 187 + ]; 188 + }; 189 + 190 + sendfile = eggDerivation { 191 + name = "sendfile-1.7.29"; 192 + 193 + src = fetchegg { 194 + name = "sendfile"; 195 + version = "1.7.29"; 196 + sha256 = "1dc02cbkx5kixhbqjy26g6gs680vy7krc9qis1p1v4aa0b2lgj7k"; 197 + }; 198 + 199 + buildInputs = [ 200 + 201 + ]; 202 + }; 203 + 204 + setup-helper = eggDerivation { 205 + name = "setup-helper-1.5.4"; 206 + 207 + src = fetchegg { 208 + name = "setup-helper"; 209 + version = "1.5.4"; 210 + sha256 = "1k644y0md2isdcvazqfm4nyc8rh3dby6b0j3r4na4w8ryspqp6gj"; 211 + }; 212 + 213 + buildInputs = [ 214 + 215 + ]; 216 + }; 217 + 218 + string-utils = eggDerivation { 219 + name = "string-utils-1.2.4"; 220 + 221 + src = fetchegg { 222 + name = "string-utils"; 223 + version = "1.2.4"; 224 + sha256 = "07alvghg0dahilrm4jg44bndl0x69sv1zbna9l20cbdvi35i0jp1"; 225 + }; 226 + 227 + buildInputs = [ 228 + setup-helper 229 + miscmacros 230 + lookup-table 231 + check-errors 232 + ]; 233 + }; 234 + 235 + synch = eggDerivation { 236 + name = "synch-2.1.2"; 237 + 238 + src = fetchegg { 239 + name = "synch"; 240 + version = "2.1.2"; 241 + sha256 = "1m9mnbq0m5jsxmd1a3rqpwpxj0l1b7vn1fknvxycc047pmlcyl00"; 242 + }; 243 + 244 + buildInputs = [ 245 + setup-helper 246 + check-errors 247 + ]; 248 + }; 249 + 250 + uri-common = eggDerivation { 251 + name = "uri-common-1.4"; 252 + 253 + src = fetchegg { 254 + name = "uri-common"; 255 + version = "1.4"; 256 + sha256 = "01ds1gixcn4rz657x3hr4rhw2496hsjff42ninw0k39l8i1cbh7c"; 257 + }; 258 + 259 + buildInputs = [ 260 + uri-generic 261 + defstruct 262 + matchable 263 + ]; 264 + }; 265 + 266 + uri-generic = eggDerivation { 267 + name = "uri-generic-2.41"; 268 + 269 + src = fetchegg { 270 + name = "uri-generic"; 271 + version = "2.41"; 272 + sha256 = "1r5jbzjllbnmhm5n0m3fcx0g6dc2c2jzp1dcndkfmxz0cl99zxac"; 273 + }; 274 + 275 + buildInputs = [ 276 + matchable 277 + defstruct 278 + ]; 279 + }; 280 + 281 + variable-item = eggDerivation { 282 + name = "variable-item-1.3.1"; 283 + 284 + src = fetchegg { 285 + name = "variable-item"; 286 + version = "1.3.1"; 287 + sha256 = "19b3mhb8kr892sz9yyzq79l0vv28dgilw9cf415kj6aq16yp4d5n"; 288 + }; 289 + 290 + buildInputs = [ 291 + setup-helper 292 + check-errors 293 + ]; 294 + }; 295 + } 296 +
+5
pkgs/development/tools/egg2nix/chicken-eggs.scm
···
··· 1 + ;; Eggs used by egg2nix 2 + http-client 3 + intarweb 4 + matchable 5 + uri-common
+27
pkgs/development/tools/egg2nix/default.nix
···
··· 1 + { stdenv, eggDerivation, fetchurl, chickenEggs }: 2 + 3 + # Note: This mostly reimplements the default.nix already contained in 4 + # the tarball. Is there a nicer way than duplicating code? 5 + 6 + let 7 + version = "0.4"; 8 + in 9 + eggDerivation { 10 + src = fetchurl { 11 + url = "https://github.com/the-kenny/egg2nix/archive/${version}.tar.gz"; 12 + sha256 = "1xn79fgqxg0i47asjah31zi56v60is1n8d0cy8w4gbj0i41z7pvm"; 13 + }; 14 + 15 + name = "egg2nix-${version}"; 16 + buildInputs = with chickenEggs; [ 17 + matchable http-client 18 + ]; 19 + 20 + meta = { 21 + description = "Generate nix-expression from CHICKEN scheme eggs"; 22 + homepage = https://github.com/the-kenny/egg2nix; 23 + license = stdenv.lib.licenses.bsd3; 24 + platforms = stdenv.lib.platforms.unix; 25 + maintainers = [ stdenv.lib.maintainers.the-kenny ]; 26 + }; 27 + }
+20
pkgs/development/tools/haskell/ghcid/default.nix
···
··· 1 + # This file was auto-generated by cabal2nix. Please do NOT edit manually! 2 + 3 + { cabal, cmdargs, filepath, tasty, tastyHunit, time }: 4 + 5 + cabal.mkDerivation (self: { 6 + pname = "ghcid"; 7 + version = "0.2"; 8 + sha256 = "1g0jwj8s0rgwrdgyn6dwrqhf9v4kck5kfr4ggmp9c0mjjyfxq6pf"; 9 + isLibrary = true; 10 + isExecutable = true; 11 + buildDepends = [ cmdargs filepath time ]; 12 + testDepends = [ cmdargs filepath tasty tastyHunit time ]; 13 + doCheck = false; 14 + meta = { 15 + homepage = "https://github.com/ndmitchell/ghcid#readme"; 16 + description = "GHCi based bare bones IDE"; 17 + license = self.stdenv.lib.licenses.bsd3; 18 + platforms = self.ghc.meta.platforms; 19 + }; 20 + })
+3 -1
pkgs/development/tools/misc/autoconf/2.13.nix
··· 2 3 stdenv.mkDerivation rec { 4 name = "autoconf-2.13"; 5 - 6 src = fetchurl { 7 url = "mirror://gnu/autoconf/${name}.tar.gz"; 8 sha256 = "07krzl4czczdsgzrrw9fiqx35xcf32naf751khg821g5pqv12qgh"; ··· 15 # Don't fixup "#! /bin/sh" in Autoconf, otherwise it will use the 16 # "fixed" path in generated files! 17 dontPatchShebangs = true; 18 19 meta = { 20 homepage = http://www.gnu.org/software/autoconf/;
··· 2 3 stdenv.mkDerivation rec { 4 name = "autoconf-2.13"; 5 + 6 src = fetchurl { 7 url = "mirror://gnu/autoconf/${name}.tar.gz"; 8 sha256 = "07krzl4czczdsgzrrw9fiqx35xcf32naf751khg821g5pqv12qgh"; ··· 15 # Don't fixup "#! /bin/sh" in Autoconf, otherwise it will use the 16 # "fixed" path in generated files! 17 dontPatchShebangs = true; 18 + 19 + postInstall = ''ln -s autoconf "$out"/bin/autoconf-2.13''; 20 21 meta = { 22 homepage = http://www.gnu.org/software/autoconf/;
+43
pkgs/development/tools/misc/chruby/default.nix
···
··· 1 + { stdenv, lib, fetchFromGitHub, runCommand, rubies ? null }: 2 + 3 + let 4 + rubiesEnv = runCommand "chruby-env" { preferLocalBuild = true; } '' 5 + mkdir $out 6 + ${lib.concatStrings 7 + (lib.mapAttrsToList (name: path: "ln -s ${path} $out/${name}\n") rubies)} 8 + ''; 9 + 10 + in stdenv.mkDerivation rec { 11 + name = "chruby"; 12 + 13 + src = fetchFromGitHub { 14 + owner = "postmodern"; 15 + repo = "chruby"; 16 + rev = "d5ae98410311aec1358d4cfcc1e3ec02de593c3b"; 17 + sha256 = "1iq9milnnj3189yw02hkly2pnnh4g0vn2fxq6dfx90kldjwpwxq5"; 18 + }; 19 + 20 + phases = [ "unpackPhase" "patchPhase" "installPhase" "fixupPhase" ]; 21 + 22 + patches = lib.optionalString (rubies != null) [ 23 + ./env.patch 24 + ]; 25 + 26 + postPatch = lib.optionalString (rubies != null) '' 27 + substituteInPlace share/chruby/chruby.sh --replace "@rubiesEnv@" ${rubiesEnv} 28 + ''; 29 + 30 + installPhase = '' 31 + mkdir $out 32 + cp -r bin $out 33 + cp -r share $out 34 + ''; 35 + 36 + meta = with lib; { 37 + description = "Changes the current Ruby"; 38 + homepage = https://github.com/postmodern/chruby; 39 + license = licenses.mit; 40 + platforms = platforms.unix; 41 + maintainers = with maintainers; [ cstrahan ]; 42 + }; 43 + }
+12
pkgs/development/tools/misc/chruby/env.patch
···
··· 1 + diff --git a/share/chruby/chruby.sh b/share/chruby/chruby.sh 2 + --- a/share/chruby/chruby.sh 3 + +++ b/share/chruby/chruby.sh 4 + @@ -1,7 +1,7 @@ 5 + CHRUBY_VERSION="0.3.8" 6 + RUBIES=() 7 + 8 + -for dir in "$PREFIX/opt/rubies" "$HOME/.rubies"; do 9 + +for dir in @rubiesEnv@; do 10 + [[ -d "$dir" && -n "$(ls -A "$dir")" ]] && RUBIES+=("$dir"/*) 11 + done 12 + unset dir
+2 -2
pkgs/development/tools/ocaml/cppo/default.nix
··· 1 {stdenv, fetchurl, ocaml, findlib}: 2 let 3 pname = "cppo"; 4 - version = "0.9.4"; 5 webpage = "http://mjambon.com/${pname}.html"; 6 in 7 assert stdenv.lib.versionAtLeast (stdenv.lib.getVersion ocaml) "3.12"; ··· 11 12 src = fetchurl { 13 url = "http://mjambon.com/releases/${pname}/${name}.tar.gz"; 14 - sha256 = "1m7cbja7cf74l45plqnmjrjjz55v8x65rvx0ikk9mg1ak8lcmvxa"; 15 }; 16 17 buildInputs = [ ocaml findlib ];
··· 1 {stdenv, fetchurl, ocaml, findlib}: 2 let 3 pname = "cppo"; 4 + version = "1.0.1"; 5 webpage = "http://mjambon.com/${pname}.html"; 6 in 7 assert stdenv.lib.versionAtLeast (stdenv.lib.getVersion ocaml) "3.12"; ··· 11 12 src = fetchurl { 13 url = "http://mjambon.com/releases/${pname}/${name}.tar.gz"; 14 + sha256 = "1r71qv9sl6jpza1vi5kgmbi7iwbddh3f9j7yji063c9vimp9f25z"; 15 }; 16 17 buildInputs = [ ocaml findlib ];
+40
pkgs/development/tools/ocaml/ocp-build/default.nix
···
··· 1 + { stdenv, fetchurl, ocaml, findlib, ncurses }: 2 + 3 + stdenv.mkDerivation { 4 + 5 + name = "ocp-build-1.99.8-beta"; 6 + 7 + src = fetchurl { 8 + url = "https://github.com/OCamlPro/ocp-build/archive/ocp-build.1.99.8-beta.tar.gz"; 9 + sha256 = "06qh8v7k5m52xbivas08lblspsnvdl0vd7ghfj6wvpnfl8qvqabn"; 10 + }; 11 + 12 + buildInputs = [ ocaml findlib ncurses ]; 13 + 14 + patches = [ ./fix-for-no-term.patch ]; 15 + 16 + # In the Nix sandbox, the TERM variable is unset and stty does not 17 + # work. In such a case, ocp-build crashes due to a bug. The 18 + # ./fix-for-no-term.patch fixes this bug in the source code and hence 19 + # also in the final installed version of ocp-build. However, it does not 20 + # fix the bug in the precompiled bootstrap version of ocp-build that is 21 + # used during the compilation process. In order to bypass the bug until 22 + # it's also fixed upstream, we simply set TERM to some valid entry in the 23 + # terminfo database during the bootstrap. 24 + TERM = "xterm"; 25 + 26 + meta = with stdenv.lib; { 27 + homepage = "http://typerex.ocamlpro.com/ocp-build.html"; 28 + description = "A build tool for OCaml"; 29 + longDescription = '' 30 + ocp-build is a build system for OCaml application, based on simple 31 + descriptions of packages. ocp-build combines the descriptions of 32 + packages, and optimize the parallel compilation of files depending on 33 + the number of cores and the automatically-infered dependencies 34 + between source files. 35 + ''; 36 + license = licenses.gpl3; 37 + platforms = ocaml.meta.platforms; 38 + maintainers = [ maintainers.jirkamarsik ]; 39 + }; 40 + }
+11
pkgs/development/tools/ocaml/ocp-build/fix-for-no-term.patch
···
··· 1 + --- ocp-build-ocp-build.1.99.8-beta/src/ocp-build/buildTerm.ml 2014-10-27 13:54:37.532023502 +0100 2 + +++ ocp-build-ocp-build.1.99.8-beta/src/ocp-build/buildTerm.ml.new 2014-10-27 13:54:43.397099033 +0100 3 + @@ -49,7 +49,7 @@ 4 + | _ -> failwith "stty" 5 + end 6 + | _ -> raise Not_found 7 + - with Unix.Unix_error _ | End_of_file | Failure _ -> 8 + + with Unix.Unix_error _ | End_of_file | Failure _ | Not_found -> 9 + try 10 + (* shell envvar *) 11 + int_of_string (Sys.getenv "COLUMNS")
+41
pkgs/development/tools/ocaml/ocp-indent/default.nix
···
··· 1 + { stdenv, fetchurl, ocaml, findlib, ocpBuild, opam, cmdliner }: 2 + 3 + let inherit (stdenv.lib) getVersion versionAtLeast; in 4 + 5 + assert versionAtLeast (getVersion ocaml) "3.12.1"; 6 + assert versionAtLeast (getVersion ocpBuild) "1.99.3-beta"; 7 + 8 + stdenv.mkDerivation { 9 + 10 + name = "ocp-indent-1.4.2b"; 11 + 12 + src = fetchurl { 13 + url = "https://github.com/OCamlPro/ocp-indent/archive/1.4.2b.tar.gz"; 14 + sha256 = "1p0n2zcl5kf543x2xlqrz1aa51f0dqal8l392sa41j6wx82j0gpb"; 15 + }; 16 + 17 + buildInputs = [ ocaml findlib ocpBuild opam cmdliner ]; 18 + 19 + createFindlibDestdir = true; 20 + 21 + # The supplied installer uses opam-installer which breaks when run 22 + # normally since it tries to `mkdir $HOME`. However, we can use 23 + # `opam-installer --script` to get the shell script that performs only 24 + # the installation and just run that. Furthermore, we do the same that is 25 + # done by pkgs/development/ocaml-modules/react and rename the paths meant 26 + # for opam-installer so that they are in line with the other OCaml 27 + # libraries in Nixpkgs. 28 + installPhase = '' 29 + opam-installer --script --prefix=$out ocp-indent.install \ 30 + | sed s!lib/ocp-indent!lib/ocaml/${getVersion ocaml}/site-lib/ocp-indent! \ 31 + | sh 32 + ''; 33 + 34 + meta = with stdenv.lib; { 35 + homepage = "http://typerex.ocamlpro.com/ocp-indent.html"; 36 + description = "A customizable tool to indent OCaml code"; 37 + license = licenses.gpl3; 38 + platforms = ocaml.meta.platforms; 39 + maintainers = [ maintainers.jirkamarsik ]; 40 + }; 41 + }
+29
pkgs/development/tools/parsing/hammer/default.nix
···
··· 1 + { stdenv, fetchgit, glib, pkgconfig, python, scons, pythonPackages }: 2 + 3 + stdenv.mkDerivation rec { 4 + name = "hammer-${version}"; 5 + version = "e7aa734"; 6 + 7 + src = fetchgit { 8 + url = "git://github.com/UpstandingHackers/hammer"; 9 + sha256 = "1v8f2a6bgjgdkhbqz751bqjlwb9lmqn5x63xcskwcl2b9n36vqi9"; 10 + rev = "e7aa73446e23f4af2fce5f88572aae848f212c16"; 11 + }; 12 + 13 + buildInputs = [ glib pkgconfig python scons ]; 14 + buildPhase = "scons prefix=$out"; 15 + installPhase = "scons prefix=$out install"; 16 + 17 + meta = with stdenv.lib; { 18 + description = "Hammer is a parsing library"; 19 + longDescription = "Hammer is a parsing library. Like many modern parsing libraries, 20 + it provides a parser combinator interface for writing grammars 21 + as inline domain-specific languages, but Hammer also provides a 22 + variety of parsing backends. It's also bit-oriented rather than 23 + character-oriented, making it ideal for parsing binary data such 24 + as images, network packets, audio, and executables."; 25 + homepage = https://github.com/UpstandingHackers/hammer; 26 + license = licenses.gpl2; 27 + platforms = platforms.linux; 28 + }; 29 + }
+1
pkgs/development/tools/slimerjs/default.nix
··· 34 echo 'export SLIMERJSLAUNCHER=${xulrunner}/bin/xulrunner' >> "$out/bin/slimerjs" 35 echo "'$out/lib/slimerjs/slimerjs' \"\$@\"" >> "$out/bin/slimerjs" 36 chmod a+x "$out/bin/slimerjs" 37 ''; 38 meta = { 39 inherit (s) version;
··· 34 echo 'export SLIMERJSLAUNCHER=${xulrunner}/bin/xulrunner' >> "$out/bin/slimerjs" 35 echo "'$out/lib/slimerjs/slimerjs' \"\$@\"" >> "$out/bin/slimerjs" 36 chmod a+x "$out/bin/slimerjs" 37 + sed -e 's@MaxVersion=32[.]@MaxVersion=33.@' -i "$out/lib/slimerjs/application.ini" 38 ''; 39 meta = { 40 inherit (s) version;
+2 -2
pkgs/development/web/remarkjs/default.nix
··· 14 in stdenv.mkDerivation rec { 15 name = "remarkjs-${version}"; 16 17 - version = "0.6.5"; 18 19 src = fetchurl { 20 url = "https://github.com/gnab/remark/archive/v${version}.tar.gz"; 21 - sha256 = "1bh3hmhq99qqd3qg747xwjqkyppc9vf3b5nhi56556rwc02cn17p"; 22 }; 23 24 buildInputs = with nodePackages; [
··· 14 in stdenv.mkDerivation rec { 15 name = "remarkjs-${version}"; 16 17 + version = "0.7.0"; 18 19 src = fetchurl { 20 url = "https://github.com/gnab/remark/archive/v${version}.tar.gz"; 21 + sha256 = "1a2il6aa0g9cnig56ykmq8lr626pbxlsllk6js41h6gcn214rw60"; 22 }; 23 24 buildInputs = with nodePackages; [
+3 -3
pkgs/games/hawkthorne/default.nix
··· 1 { fetchgit, stdenv, love, curl, zip }: 2 3 stdenv.mkDerivation rec { 4 - version = "0.9.1"; 5 name = "hawkthorne-${version}"; 6 7 src = fetchgit { 8 url = "https://github.com/hawkthorne/hawkthorne-journey.git"; 9 - rev = "e48b5eef0058f63bb8ee746bc00b47b3e03f0854"; 10 - sha256 = "0rvcpv8fsi450xs2cglv4w6m5iqbhsr2n09pcvhh0krhg7xay538"; 11 }; 12 13 buildInputs = [
··· 1 { fetchgit, stdenv, love, curl, zip }: 2 3 stdenv.mkDerivation rec { 4 + version = "0.12.1"; 5 name = "hawkthorne-${version}"; 6 7 src = fetchgit { 8 url = "https://github.com/hawkthorne/hawkthorne-journey.git"; 9 + rev = "610b9b3907b2a1b21da2ae926e4c7c4c9e19959b"; 10 + sha256 = "0n2fkk34wr3kyzfhz2mbrzn94vjivblqk2xaid5mj7ls0ymxbmgd"; 11 }; 12 13 buildInputs = [
+24
pkgs/games/odamex/default.nix
···
··· 1 + { stdenv, cmake, fetchurl, pkgconfig, SDL, SDL_mixer, SDL_net }: 2 + 3 + stdenv.mkDerivation rec { 4 + name = "odamex-0.7.0"; 5 + src = fetchurl { 6 + url = http://downloads.sourceforge.net/odamex/odamex-src-0.7.0.tar.bz2; 7 + sha256 = "0cb6p58yv55kdyfj7s9n9xcwpvxrj8nyc6brw9jvwlc5n4y3cd5a"; 8 + }; 9 + 10 + cmakeFlags = '' 11 + -DCMAKE_BUILD_TYPE=Release 12 + ''; 13 + 14 + buildInputs = [ cmake pkgconfig SDL SDL_mixer SDL_net ]; 15 + 16 + enableParallelBuilding = true; 17 + 18 + meta = { 19 + homepage = http://odamex.net/; 20 + description = "A client/server port for playing old-school Doom online"; 21 + license = stdenv.lib.licenses.gpl2; 22 + maintainers = with stdenv.lib.maintainers; [ MP2E ]; 23 + }; 24 + }
+34
pkgs/games/onscripter-en/default.nix
···
··· 1 + { stdenv, fetchurl 2 + , libpng, libjpeg, libogg, libvorbis, freetype, smpeg 3 + , SDL, SDL_image, SDL_mixer, SDL_ttf }: 4 + 5 + 6 + stdenv.mkDerivation rec { 7 + name = "onscripter-en-20110930"; 8 + 9 + src = fetchurl { 10 + url = "http://unclemion.com/dev/attachments/download/36/${name}-src.tar.bz2"; 11 + sha256 = "1kzm6d894c0ihgkwhd03x3kaqqz0sb6kf0r86xrrz12y309zfam6"; 12 + }; 13 + 14 + buildInputs = [ libpng libjpeg libogg libvorbis freetype smpeg 15 + SDL SDL_image SDL_mixer SDL_ttf 16 + ]; 17 + 18 + configureFlags = [ "--no-werror" ]; 19 + 20 + # Without this libvorbisfile.so is not getting linked properly for some reason. 21 + NIX_CFLAGS_LINK = [ "-lvorbisfile" ]; 22 + 23 + preBuild = '' 24 + sed -i 's/.dll//g' Makefile 25 + ''; 26 + 27 + meta = with stdenv.lib; { 28 + description = "Japanese visual novel scripting engine"; 29 + homepage = "http://dev.haeleth.net/onscripter.shtml"; 30 + license = licenses.gpl2; 31 + platforms = platforms.unix; 32 + maintainers = maintainers.abbradar; 33 + }; 34 + }
+1
pkgs/misc/beep/default.nix
··· 20 description = "The advanced PC speaker beeper"; 21 homepage = http://www.johnath.com/beep/; 22 license = stdenv.lib.licenses.gpl2; 23 }; 24 }
··· 20 description = "The advanced PC speaker beeper"; 21 homepage = http://www.johnath.com/beep/; 22 license = stdenv.lib.licenses.gpl2; 23 + platforms = stdenv.lib.platforms.linux; 24 }; 25 }
+4 -4
pkgs/misc/drivers/hplip/default.nix
··· 5 }: 6 7 stdenv.mkDerivation rec { 8 - name = "hplip-3.14.4"; 9 10 src = fetchurl { 11 url = "mirror://sourceforge/hplip/${name}.tar.gz"; 12 - sha256 = "1j8h44f8igl95wqypj4rk9awcw513hlps980jmcnkx60xghc4l6f"; 13 }; 14 15 plugin = fetchurl { 16 url = "http://www.openprinting.org/download/printdriver/auxfiles/HP/plugins/${name}-plugin.run"; 17 - sha256 = "0k1vpmy7babbm3c5v4dcbhq0jgyr8as722nylfs8zx0dy7kr8874"; 18 }; 19 20 hplip_state = ./hplip.state; ··· 120 homepage = http://hplipopensource.com/; 121 license = if withPlugin then licenses.unfree else "free"; # MIT/BSD/GPL 122 platforms = platforms.linux; 123 - maintainers = with maintainers; [ ttuegel ]; 124 }; 125 }
··· 5 }: 6 7 stdenv.mkDerivation rec { 8 + name = "hplip-3.14.10"; 9 10 src = fetchurl { 11 url = "mirror://sourceforge/hplip/${name}.tar.gz"; 12 + sha256 = "164mm30yb61psk5j4ziybxdd310y09fixgl09hmb59ny261wvcqi"; 13 }; 14 15 plugin = fetchurl { 16 url = "http://www.openprinting.org/download/printdriver/auxfiles/HP/plugins/${name}-plugin.run"; 17 + sha256 = "10cvgy1h84fwh7xpw4x6cbkpisqbn3nbcqrgd9xz5fc6mn0b95dk"; 18 }; 19 20 hplip_state = ./hplip.state; ··· 120 homepage = http://hplipopensource.com/; 121 license = if withPlugin then licenses.unfree else "free"; # MIT/BSD/GPL 122 platforms = platforms.linux; 123 + maintainers = with maintainers; [ ttuegel jgeerds ]; 124 }; 125 }
+13 -1
pkgs/misc/emulators/retroarch/cores.nix
··· 133 description = "Enhanced Genesis Plus libretro port"; 134 }; 135 136 mupen64plus = (mkLibRetroCore rec { 137 core = "mupen64plus"; 138 src = fetchRetro { ··· 281 }; 282 description = "VBA-M libretro port with modifications for speed"; 283 }; 284 - }
··· 133 description = "Enhanced Genesis Plus libretro port"; 134 }; 135 136 + mednafen-pce-fast = (mkLibRetroCore rec { 137 + core = "mednafen-pce-fast"; 138 + src = fetchRetro { 139 + repo = "beetle-pce-fast-libretro"; 140 + rev = "bef70147f73e8a4b5e8a9d535fc59a597843d657"; 141 + sha256 = "0kkj5g5kajz4mx5xsixd2f6qnx3p68p0px2m0i8045yih50gsilp"; 142 + }; 143 + description = "Port of Mednafen's PC Engine core to libretro"; 144 + }).override { 145 + buildPhase = "make"; 146 + }; 147 + 148 mupen64plus = (mkLibRetroCore rec { 149 core = "mupen64plus"; 150 src = fetchRetro { ··· 293 }; 294 description = "VBA-M libretro port with modifications for speed"; 295 }; 296 + }
+37
pkgs/misc/frescobaldi/default.nix
···
··· 1 + { stdenv, fetchurl, pythonPackages, lilypond, pyqt4 }: 2 + 3 + pythonPackages.buildPythonPackage rec { 4 + name = "frescobaldi-${version}"; 5 + version = "2.0.16"; 6 + 7 + src = fetchurl { 8 + url = "https://github.com/wbsoft/frescobaldi/releases/download/" 9 + + "v2.0.16/${name}.tar.gz"; 10 + sha256 = "12pabvq5b2lq84q3kx8lh02zh6ali6v4wnin2k2ycnm45mk9ms6q"; 11 + }; 12 + 13 + propagatedBuildInputs = with pythonPackages; [ lilypond 14 + pyqt4 poppler-qt4 ]; 15 + 16 + patches = [ ./setup.cfg.patch ./python-path.patch ]; 17 + 18 + meta = with stdenv.lib; { 19 + homepage = http://frescobaldi.org/; 20 + description = ''Frescobaldi is a LilyPond sheet music text editor''; 21 + longDescription = '' 22 + Powerful text editor with syntax highlighting and automatic completion, 23 + Music view with advanced Point & Click, Midi player to proof-listen 24 + LilyPond-generated MIDI files, Midi capturing to enter music, 25 + Powerful Score Wizard to quickly setup a music score, Snippet Manager 26 + to store and apply text snippets, templates or scripts, Use multiple 27 + versions of LilyPond, automatically selects the correct version, Built-in 28 + LilyPond documentation browser and built-in User Guide, Smart 29 + layout-control functions like coloring specific objects in the PDF, 30 + MusicXML import, Modern user iterface with configurable colors, 31 + fonts and keyboard shortcuts 32 + ''; 33 + license = licenses.gpl2Plus; 34 + maintainers = [ maintainers.sepi ]; 35 + platforms = platforms.all; 36 + }; 37 + }
+11
pkgs/misc/frescobaldi/python-path.patch
···
··· 1 + diff -u frescobaldi-2.0.16.old/frescobaldi frescobaldi-2.0.16/frescobaldi 2 + --- frescobaldi-2.0.16/frescobaldi 2014-10-24 11:29:28.705687224 +0200 3 + +++ frescobaldi-2.0.16.new/frescobaldi 2014-10-24 11:31:08.086444793 +0200 4 + @@ -1,4 +1,4 @@ 5 + -#!/usr/bin/python 6 + +#!/usr/bin/env python 7 + import sys 8 + import frescobaldi_app.main 9 + import app 10 + Common subdirectories: frescobaldi-2.0.16/frescobaldi_app and frescobaldi-2.0.16.new/frescobaldi_app 11 + Common subdirectories: frescobaldi-2.0.16/macosx and frescobaldi-2.0.16.new/macosx
+13
pkgs/misc/frescobaldi/setup.cfg.patch
···
··· 1 + Common subdirectories: frescobaldi-2.0.16.old/build and frescobaldi-2.0.16/build 2 + Common subdirectories: frescobaldi-2.0.16.old/frescobaldi_app and frescobaldi-2.0.16/frescobaldi_app 3 + Common subdirectories: frescobaldi-2.0.16.old/macosx and frescobaldi-2.0.16/macosx 4 + diff -u frescobaldi-2.0.16.old/setup.cfg frescobaldi-2.0.16/setup.cfg 5 + --- frescobaldi-2.0.16.old/setup.cfg 2012-02-05 07:08:24.000000000 +0100 6 + +++ frescobaldi-2.0.16/setup.cfg 2014-10-24 15:08:48.141335620 +0200 7 + @@ -1,6 +1,2 @@ 8 + -[bdist_wininst] 9 + -bitmap=frescobaldi-wininst.bmp 10 + -install-script=frescobaldi-wininst.py 11 + - 12 + [sdist] 13 + force-manifest=1
+2 -2
pkgs/misc/themes/gtk2/oxygen-gtk/default.nix
··· 2 cmake, dbus_glib, glib, gtk, gdk_pixbuf, pkgconfig, xorg }: 3 4 stdenv.mkDerivation rec { 5 - version = "1.4.5"; 6 name = "oxygen-gtk2-${version}"; 7 8 src = fetchurl { 9 url = "mirror://kde/stable/oxygen-gtk2/${version}/src/${name}.tar.bz2"; 10 - sha256 = "00ykq4aafakdkvww7kz84bvg9wc2gdji4m7z87f49hj1jxm84v2v"; 11 }; 12 13 buildInputs = [ cmake dbus_glib glib gtk gdk_pixbuf
··· 2 cmake, dbus_glib, glib, gtk, gdk_pixbuf, pkgconfig, xorg }: 3 4 stdenv.mkDerivation rec { 5 + version = "1.4.6"; 6 name = "oxygen-gtk2-${version}"; 7 8 src = fetchurl { 9 url = "mirror://kde/stable/oxygen-gtk2/${version}/src/${name}.tar.bz2"; 10 + sha256 = "09mz4szsz3yswbj0nbw6qzlc5bc4id0f9r6ifm60b5nc8x1l72d2"; 11 }; 12 13 buildInputs = [ cmake dbus_glib glib gtk gdk_pixbuf
+2 -2
pkgs/misc/themes/gtk3/oxygen-gtk3/default.nix
··· 2 , cmake, dbus_glib, glib, gtk3, gdk_pixbuf, pkgconfig, xorg }: 3 4 stdenv.mkDerivation rec { 5 - version = "1.4.0"; 6 name = "oxygen-gtk3-${version}"; 7 8 src = fetchurl { 9 url = "mirror://kde/stable/oxygen-gtk3/${version}/src/${name}.tar.bz2"; 10 - sha256 = "d119bcc94ffc04b67e7d238fc922b37f2904447085a06758451b8c0b0302ab80"; 11 }; 12 13 buildInputs = [ cmake dbus_glib glib gtk3 gdk_pixbuf
··· 2 , cmake, dbus_glib, glib, gtk3, gdk_pixbuf, pkgconfig, xorg }: 3 4 stdenv.mkDerivation rec { 5 + version = "1.4.1"; 6 name = "oxygen-gtk3-${version}"; 7 8 src = fetchurl { 9 url = "mirror://kde/stable/oxygen-gtk3/${version}/src/${name}.tar.bz2"; 10 + sha256 = "0pd7wjzh5xgd24yg6b2avaiz1aq6rmh13d7c0jclffkmhmy24r0f"; 11 }; 12 13 buildInputs = [ cmake dbus_glib glib gtk3 gdk_pixbuf
+2 -2
pkgs/os-specific/linux/kernel/linux-3.10.nix
··· 1 { stdenv, fetchurl, ... } @ args: 2 3 import ./generic.nix (args // rec { 4 - version = "3.10.58"; 5 extraMeta.branch = "3.10"; 6 7 src = fetchurl { 8 url = "mirror://kernel/linux/kernel/v3.x/linux-${version}.tar.xz"; 9 - sha256 = "06wn2ghqjcna517dmqj4yx5c5vl1mnn610xs5wdsyv2ikpr5mzfz"; 10 }; 11 12 features.iwlwifi = true;
··· 1 { stdenv, fetchurl, ... } @ args: 2 3 import ./generic.nix (args // rec { 4 + version = "3.10.59"; 5 extraMeta.branch = "3.10"; 6 7 src = fetchurl { 8 url = "mirror://kernel/linux/kernel/v3.x/linux-${version}.tar.xz"; 9 + sha256 = "0d5bbppxnykwg8nvbjg7vfjh2napcx77jy1xqvic9n3fh2civmz9"; 10 }; 11 12 features.iwlwifi = true;
+2 -2
pkgs/os-specific/linux/kernel/linux-3.12.nix
··· 1 { stdenv, fetchurl, ... } @ args: 2 3 import ./generic.nix (args // rec { 4 - version = "3.12.30"; 5 extraMeta.branch = "3.12"; 6 7 src = fetchurl { 8 url = "mirror://kernel/linux/kernel/v3.x/linux-${version}.tar.xz"; 9 - sha256 = "101lcf83y93pwz96glr93gnkkrx4xvwkxrjr1l45didrwnkim514"; 10 }; 11 12 features.iwlwifi = true;
··· 1 { stdenv, fetchurl, ... } @ args: 2 3 import ./generic.nix (args // rec { 4 + version = "3.12.31"; 5 extraMeta.branch = "3.12"; 6 7 src = fetchurl { 8 url = "mirror://kernel/linux/kernel/v3.x/linux-${version}.tar.xz"; 9 + sha256 = "02azv8csa248ba9fvaja2n1r4dvc8irjg2z1pax1hxqrfkqaxvp3"; 10 }; 11 12 features.iwlwifi = true;
+2 -2
pkgs/os-specific/linux/kernel/linux-3.14.nix
··· 1 { stdenv, fetchurl, ... } @ args: 2 3 import ./generic.nix (args // rec { 4 - version = "3.14.22"; 5 extraMeta.branch = "3.14"; 6 7 src = fetchurl { 8 url = "mirror://kernel/linux/kernel/v3.x/linux-${version}.tar.xz"; 9 - sha256 = "115hcaxavgqz549y0ly5ijf7cwc0z549wlwwjlm27i0z3fjcg83p"; 10 }; 11 12 features.iwlwifi = true;
··· 1 { stdenv, fetchurl, ... } @ args: 2 3 import ./generic.nix (args // rec { 4 + version = "3.14.23"; 5 extraMeta.branch = "3.14"; 6 7 src = fetchurl { 8 url = "mirror://kernel/linux/kernel/v3.x/linux-${version}.tar.xz"; 9 + sha256 = "1zqh7fza318yv04qssw9lkcxpw590vrigbdrswcr885iwk561cb8"; 10 }; 11 12 features.iwlwifi = true;
+2 -2
pkgs/os-specific/linux/kernel/linux-3.16.nix
··· 1 { stdenv, fetchurl, ... } @ args: 2 3 import ./generic.nix (args // rec { 4 - version = "3.16.6"; 5 extraMeta.branch = "3.16"; 6 7 src = fetchurl { 8 url = "mirror://kernel/linux/kernel/v3.x/linux-${version}.tar.xz"; 9 - sha256 = "1wh662krzgcgkhymqrjn8rasv92zsz0nmlwii85h8cwrszzxrs9i"; 10 }; 11 12 features.iwlwifi = true;
··· 1 { stdenv, fetchurl, ... } @ args: 2 3 import ./generic.nix (args // rec { 4 + version = "3.16.7"; 5 extraMeta.branch = "3.16"; 6 7 src = fetchurl { 8 url = "mirror://kernel/linux/kernel/v3.x/linux-${version}.tar.xz"; 9 + sha256 = "0vm3ahw6wzq72z6jim05pcj9gzjw8jc4r1dr5wnfl810nib89pbk"; 10 }; 11 12 features.iwlwifi = true;
+2 -2
pkgs/os-specific/linux/kernel/linux-3.17.nix
··· 1 { stdenv, fetchurl, ... } @ args: 2 3 import ./generic.nix (args // rec { 4 - version = "3.17.1"; 5 extraMeta.branch = "3.17"; 6 7 src = fetchurl { 8 url = "mirror://kernel/linux/kernel/v3.x/linux-${version}.tar.xz"; 9 - sha256 = "1hhxsb4gsaj2mlmshivild7ayagam8f3xfl27n4652b1z4n0171c"; 10 }; 11 12 features.iwlwifi = true;
··· 1 { stdenv, fetchurl, ... } @ args: 2 3 import ./generic.nix (args // rec { 4 + version = "3.17.2"; 5 extraMeta.branch = "3.17"; 6 7 src = fetchurl { 8 url = "mirror://kernel/linux/kernel/v3.x/linux-${version}.tar.xz"; 9 + sha256 = "15m7mrl4vrwddh7ivjarjfivmjr63zmbb2vvnn532mc9hz01s8pr"; 10 }; 11 12 features.iwlwifi = true;
+4 -4
pkgs/os-specific/linux/kernel/patches.nix
··· 61 62 grsecurity_stable = grsecPatch 63 { kversion = "3.14.22"; 64 - revision = "201410192047"; 65 branch = "stable"; 66 - sha256 = "0f6mdc0m89idlygm75x3z01rqacla4r26cgz1ai1c6sm5vp9yvw1"; 67 }; 68 69 grsecurity_unstable = grsecPatch 70 { kversion = "3.17.1"; 71 - revision = "201410192051"; 72 branch = "test"; 73 - sha256 = "1ny8h6dd5mijg7lwi7zwqc6x5n5wkv19avl1d5qx8g2fs6qxbg0m"; 74 }; 75 76 grsec_fix_path =
··· 61 62 grsecurity_stable = grsecPatch 63 { kversion = "3.14.22"; 64 + revision = "201410250026"; 65 branch = "stable"; 66 + sha256 = "1yvzdykg7dkza4iwhwlrjw8p5k6pyxy91z7xckbq46vbj8xikpk2"; 67 }; 68 69 grsecurity_unstable = grsecPatch 70 { kversion = "3.17.1"; 71 + revision = "201410281754"; 72 branch = "test"; 73 + sha256 = "0igpbk10j1iiwgc7v9rkq1hfg9nb98f0fw6zs2qs7d9j1gx3xks5"; 74 }; 75 76 grsec_fix_path =
+62
pkgs/os-specific/linux/kernel/update.sh
···
··· 1 + #!/usr/bin/env bash 2 + set -e 3 + 4 + # Get the latest versions from kernel.org 5 + LINUXSED='s/.*linux-\([0-9]\+\(.[0-9]\+\)*\).*/\1/p' 6 + KDATA="$(curl -s https://www.kernel.org | sed -n -e '/Download complete/p')" 7 + VERSIONS=($(sed -n -e $LINUXSED <<< "$KDATA" | sort -Vr)) 8 + 9 + # Remove mainline version if there is a stable update 10 + # Note due to sorting these two will always exist at the bottom 11 + if grep -q "^${VERSIONS[1]}" <<< "${VERSIONS[0]}"; then 12 + VERSIONS=(${VERSIONS[@]:0:1} ${VERSIONS[@]:2}) 13 + fi 14 + 15 + # Inspect each file and see if it has the latest version 16 + NIXPKGS="$(git rev-parse --show-toplevel)" 17 + ls $NIXPKGS/pkgs/os-specific/linux/kernel | while read FILE; do 18 + KERNEL="$(sed -n $LINUXSED <<< "$FILE")" 19 + [ -z "$KERNEL" ] && continue 20 + 21 + # Find the matching new kernel version 22 + MATCHING="" 23 + for V in "${VERSIONS[@]}"; do 24 + if grep -q "^$KERNEL" <<< "$V"; then 25 + MATCHING="$V" 26 + break 27 + fi 28 + done 29 + if [ -z "$MATCHING" ]; then 30 + echo "Out-of-support $KERNEL" 31 + continue 32 + fi 33 + 34 + # Inspect the nix expression to check for changes 35 + DATA="$(<$NIXPKGS/pkgs/os-specific/linux/kernel/$FILE)" 36 + URL="$(sed -n -e 's/.*url = "\(.*\)";.*/\1/p' <<< "$DATA" | sed -e "s/\${version}/$MATCHING/g")" 37 + OLDVER=$(sed -n -e 's/.*version = "\(.*\)".*/\1/p' <<< "$DATA") 38 + if [ "$OLDVER" = "$V" ]; then 39 + echo "No updates for $KERNEL" 40 + continue 41 + fi 42 + 43 + # Download the new file for the hash 44 + if ! HASH="$(nix-prefetch-url $URL 2>/dev/null)"; then 45 + echo "Failed to get hash of $URL" 46 + continue 47 + fi 48 + sed -i "s/sha256 = \".*\"/sha256 = \"$HASH\"/g" $NIXPKGS/pkgs/os-specific/linux/kernel/$FILE 49 + 50 + # Rewrite the expression 51 + sed -i -e '/version = /d' -e '/modDirVersion = /d' $NIXPKGS/pkgs/os-specific/linux/kernel/$FILE 52 + if grep -q '^[0-9]\+.[0-9]\+$' <<< "$V"; then 53 + sed -i "\#import ./generic.nix (args // rec {#a \ modDirVersion = \"${V}.0\";" $NIXPKGS/pkgs/os-specific/linux/kernel/$FILE 54 + fi 55 + sed -i "\#import ./generic.nix (args // rec {#a \ version = \"$V\";" $NIXPKGS/pkgs/os-specific/linux/kernel/$FILE 56 + 57 + # Commit the changes 58 + git add -u $NIXPKGS/pkgs/os-specific/linux/kernel/$FILE 59 + git commit -m "kernel: $OLDVER -> $V" >/dev/null 2>&1 60 + 61 + echo "Updated $OLDVER -> $V" 62 + done
+2 -2
pkgs/os-specific/linux/xf86-input-wacom/default.nix
··· 3 , ncurses, pkgconfig, randrproto, xorgserver, xproto, udev, libXinerama, pixman }: 4 5 stdenv.mkDerivation rec { 6 - name = "xf86-input-wacom-0.26.1"; 7 8 src = fetchurl { 9 url = "mirror://sourceforge/linuxwacom/${name}.tar.bz2"; 10 - sha256 = "1qlls71k10igjx9c5lwqa6cdl31ncpdkzirpl85acpmqbqc63qh8"; 11 }; 12 13 buildInputs = [ inputproto libX11 libXext libXi libXrandr libXrender
··· 3 , ncurses, pkgconfig, randrproto, xorgserver, xproto, udev, libXinerama, pixman }: 4 5 stdenv.mkDerivation rec { 6 + name = "xf86-input-wacom-0.26.99.1"; 7 8 src = fetchurl { 9 url = "mirror://sourceforge/linuxwacom/${name}.tar.bz2"; 10 + sha256 = "00sclpsmimqfr79zkm8lvkd0b80x62rmcflbv558zy479bnsazav"; 11 }; 12 13 buildInputs = [ inputproto libX11 libXext libXi libXrandr libXrender
+60
pkgs/servers/brickd/default.nix
···
··· 1 + { stdenv, fetchgit, libusb, pkgconfig, pmutils, udev} : 2 + 3 + let 4 + 5 + version = "2.1.1"; 6 + daemonlib = fetchgit { 7 + url = "https://github.com/Tinkerforge/daemonlib.git"; 8 + rev = "refs/tags/brickd-${version}"; 9 + sha256 = "097kaz7d0rzg0ijvcna3y620k3m5fgxpqsac5gbhah8pd7vlj1a4"; 10 + }; 11 + 12 + in 13 + 14 + stdenv.mkDerivation rec { 15 + name = "brickd-${version}"; 16 + 17 + src = fetchgit { 18 + url = "git://github.com/Tinkerforge/brickd.git"; 19 + rev = "refs/tags/v${version}"; 20 + sha256 = "08g587bgx628g5vykh482wxiw0z98fmq4lf5ka6aw0v8l9gim9yf"; 21 + }; 22 + 23 + buildInputs = [ libusb pkgconfig pmutils udev ]; 24 + 25 + # shell thing didn't work so i replaced it using nix 26 + prePatch = '' 27 + substituteInPlace src/brickd/Makefile --replace 'PKG_CONFIG := $(shell which pkg-config 2> /dev/null)' "PKG_CONFIG := $pkgconfig/bin/pkg_config"; 28 + ''; 29 + 30 + buildPhase = '' 31 + export 32 + # build the brickd binary 33 + mkdir src/daemonlib 34 + cp -r ${daemonlib}/* src/daemonlib 35 + cd src/brickd 36 + make 37 + 38 + # build and execute the unit tests 39 + cd ../tests 40 + make 41 + for i in array_test base58_test node_test putenv_test queue_test sha1_test; do 42 + echo "running unit test $i:" 43 + ./$i 44 + done 45 + ''; 46 + 47 + installPhase = '' 48 + cd ../brickd 49 + mkdir -p $out/bin 50 + cp brickd $out/bin/brickd 51 + ''; 52 + 53 + meta = { 54 + homepage = http://www.tinkerforge.com/; 55 + description = "The Brick Daemon is a daemon (or service on Windows) that acts as a bridge between the Bricks/Bricklets and the API bindings for the different programming languages."; 56 + maintainers = [ stdenv.lib.maintainers.qknight ]; 57 + license = "GPLv2"; 58 + platforms = stdenv.lib.platforms.all; 59 + }; 60 + }
+1
pkgs/servers/http/tomcat/recent.nix
··· 20 meta = { 21 homepage = http://tomcat.apache.org/; 22 description = "An implementation of the Java Servlet and JavaServer Pages technologies"; 23 }; 24 }
··· 20 meta = { 21 homepage = http://tomcat.apache.org/; 22 description = "An implementation of the Java Servlet and JavaServer Pages technologies"; 23 + platforms = with stdenv.lib.platforms; all; 24 }; 25 }
+2 -2
pkgs/servers/mail/dovecot/2.2.x.nix
··· 2 , inotifyTools, clucene_core_2, sqlite }: 3 4 stdenv.mkDerivation rec { 5 - name = "dovecot-2.2.14"; 6 7 buildInputs = [perl openssl bzip2 zlib openldap clucene_core_2 sqlite] 8 ++ stdenv.lib.optionals (stdenv.isLinux) [ systemd pam inotifyTools ]; 9 10 src = fetchurl { 11 url = "http://dovecot.org/releases/2.2/${name}.tar.gz"; 12 - sha256 = "1w7bd2yhzk4jg1b5946r84yx10jrj7scr0zyl4li21660nhhzb38"; 13 }; 14 15 preConfigure = ''
··· 2 , inotifyTools, clucene_core_2, sqlite }: 3 4 stdenv.mkDerivation rec { 5 + name = "dovecot-2.2.15"; 6 7 buildInputs = [perl openssl bzip2 zlib openldap clucene_core_2 sqlite] 8 ++ stdenv.lib.optionals (stdenv.isLinux) [ systemd pam inotifyTools ]; 9 10 src = fetchurl { 11 url = "http://dovecot.org/releases/2.2/${name}.tar.gz"; 12 + sha256 = "17rr7krfvyk706j12y9wy6nf7wh5vppqjrgxjdf66z9nw9lpf3ni"; 13 }; 14 15 preConfigure = ''
+2 -2
pkgs/servers/mail/postfix/2.11.nix
··· 6 7 name = "postfix-${version}"; 8 9 - version = "2.11.1"; 10 11 src = fetchurl { 12 url = "ftp://ftp.cs.uu.nl/mirror/postfix/postfix-release/official/${name}.tar.gz"; 13 - sha256 = "1ql9cifjcfhfi81lrf6zvk0r3spgcp01xwna16a7k9cm7fkrhzs8"; 14 }; 15 16 patches = [ ./postfix-2.11.0.patch ];
··· 6 7 name = "postfix-${version}"; 8 9 + version = "2.11.3"; 10 11 src = fetchurl { 12 url = "ftp://ftp.cs.uu.nl/mirror/postfix/postfix-release/official/${name}.tar.gz"; 13 + sha256 = "1hq213s36wp94q72ciix5pi2rcd4901mjg7nx6m1n9jndrp19r84"; 14 }; 15 16 patches = [ ./postfix-2.11.0.patch ];
+10 -11
pkgs/servers/mediatomb/default.nix
··· 1 - { stdenv, fetchurl 2 - , sqlite, expat, spidermonkey, taglib, libexif, curl, ffmpeg, file }: 3 4 stdenv.mkDerivation rec { 5 6 name = "mediatomb-${version}"; 7 version = "0.12.1"; 8 9 - src = fetchurl { 10 - url = "mirror://sourceforge/mediatomb/${name}.tar.gz"; 11 - sha256 = "1k8i5zvgik7cad7znd8358grzwh62frpqww1a5rwkldrlws3q5ii"; 12 }; 13 14 - patches = [ ./zmm_new.patch ]; 15 - 16 - buildInputs = [ sqlite expat spidermonkey taglib libexif curl ffmpeg file ]; 17 - 18 - configureFlags = [ "--enable-inotify" ]; 19 20 meta = with stdenv.lib; { 21 homepage = http://mediatomb.cc; 22 description = "UPnP MediaServer with a web user interface"; 23 license = licenses.gpl2; 24 maintainers = [ maintainers.phreedom ]; 25 platforms = platforms.linux; 26 - broken = true; 27 }; 28 }
··· 1 + { stdenv, fetchgit 2 + , sqlite, expat, mp4v2, flac, spidermonkey, taglib, libexif, curl, ffmpeg, file 3 + , pkgconfig, autoreconfHook }: 4 5 stdenv.mkDerivation rec { 6 7 name = "mediatomb-${version}"; 8 version = "0.12.1"; 9 10 + src = fetchgit { 11 + url = meta.repositories.git; 12 + rev = "7ab761696354868bd5d67ff4f2d849994e4c98e2"; 13 + sha256 = "7b51d488ac0b93c7720f8f8373970884a55b0879b1f6941873e916f41177d062"; 14 }; 15 16 + buildInputs = [ sqlite expat spidermonkey taglib libexif curl ffmpeg file mp4v2 flac 17 + pkgconfig autoreconfHook ]; 18 19 meta = with stdenv.lib; { 20 homepage = http://mediatomb.cc; 21 + repositories.git = git://mediatomb.git.sourceforge.net/gitroot/mediatomb/mediatomb; 22 description = "UPnP MediaServer with a web user interface"; 23 license = licenses.gpl2; 24 maintainers = [ maintainers.phreedom ]; 25 platforms = platforms.linux; 26 }; 27 }
-13
pkgs/servers/mediatomb/zmm_new.patch
··· 1 - diff -rc mediatomb-0.12.1.old/src/zmm/object.h mediatomb-0.12.1/src/zmm/object.h 2 - *** mediatomb-0.12.1.old/src/zmm/object.h 2010-03-25 07:58:08.000000000 -0700 3 - --- mediatomb-0.12.1/src/zmm/object.h 2013-02-15 17:57:02.000000000 -0800 4 - *************** 5 - *** 33,38 **** 6 - --- 33,39 ---- 7 - #define __ZMM_OBJECT_H__ 8 - 9 - #include <new> // for size_t 10 - + #include <stddef.h> 11 - #include "atomic.h" 12 - 13 - namespace zmm
···
+2 -2
pkgs/servers/xmpp/prosody/default.nix
··· 10 in 11 12 stdenv.mkDerivation rec { 13 - version = "0.9.5"; 14 name = "prosody-${version}"; 15 src = fetchurl { 16 url = "http://prosody.im/downloads/source/${name}.tar.gz"; 17 - sha256 = "1gcvmdsyx3fjiqybgkp8vr847p9rlfz42lywxpph3jc14yh63z3n"; 18 }; 19 20 communityModules = fetchhg {
··· 10 in 11 12 stdenv.mkDerivation rec { 13 + version = "0.9.6"; 14 name = "prosody-${version}"; 15 src = fetchurl { 16 url = "http://prosody.im/downloads/source/${name}.tar.gz"; 17 + sha256 = "1rs0aqn1rkddgfq9pm7mi7xm5lbvxjpf8d8ijc085fc90zwqq8bm"; 18 }; 19 20 communityModules = fetchhg {
+2 -2
pkgs/tools/admin/awscli/default.nix
··· 2 3 pythonPackages.buildPythonPackage rec { 4 name = "awscli-${version}"; 5 - version = "1.2.13"; 6 namePrefix = ""; 7 8 src = fetchurl { 9 url = "https://github.com/aws/aws-cli/archive/${version}.tar.gz"; 10 - sha256 = "1mpy1q9y5qiq1fr2xc98sn1njx0p0b1g21p0rdh4ccsf9w7i0rpb"; 11 }; 12 13 propagatedBuildInputs = [
··· 2 3 pythonPackages.buildPythonPackage rec { 4 name = "awscli-${version}"; 5 + version = "1.5.3"; 6 namePrefix = ""; 7 8 src = fetchurl { 9 url = "https://github.com/aws/aws-cli/archive/${version}.tar.gz"; 10 + sha256 = "058lc4qj4xkjha9d1b5wrk2ca3lqfb9b45sb7czv0k1nwc0fciq1"; 11 }; 12 13 propagatedBuildInputs = [
+52
pkgs/tools/backup/rsnapshot/git.nix
···
··· 1 + { fetchFromGitHub, stdenv, writeText, perl, openssh, rsync, logger, 2 + configFile ? "/etc/rsnapshot.conf" }: 3 + 4 + let patch = writeText "rsnapshot-config.patch" '' 5 + --- rsnapshot-program.pl 2013-10-05 20:31:08.715991442 +0200 6 + +++ rsnapshot-program.pl 2013-10-05 20:31:42.496193633 +0200 7 + @@ -383,7 +383,7 @@ 8 + } 9 + 10 + # set global variable 11 + - $config_file = $default_config_file; 12 + + $config_file = '${configFile}'; 13 + } 14 + 15 + # accepts no args 16 + ''; 17 + in 18 + stdenv.mkDerivation rec { 19 + name = "rsnapshot-1.4git"; 20 + src = fetchFromGitHub { 21 + owner = "DrHyde"; 22 + repo = "rsnapshot"; 23 + rev = "1047cbb57937c29233388e2fcd847fecd3babe74"; 24 + sha256 = "173y9q89dp4zf7nysqhjp3i2m086n7qdpawb9vx0ml5zha6mxf2p"; 25 + }; 26 + 27 + propagatedBuildInputs = [perl openssh rsync logger]; 28 + 29 + patchPhase = '' 30 + substituteInPlace "Makefile.in" --replace \ 31 + "/usr/bin/pod2man" "${perl}/bin/pod2man" 32 + patch -p0 <${patch} 33 + ''; 34 + 35 + # I still think this is a good idea, but it currently fails in the chroot because it checks 36 + # that things are writable and so on. 37 + #checkPhase = '' 38 + # if [ -f "${configFile}" ] 39 + # then 40 + # ${perl}/bin/perl -w ./rsnapshot configtest 41 + # else 42 + # echo File "${configFile}" does not exist, not checking 43 + # fi 44 + #''; 45 + 46 + meta = with stdenv.lib; { 47 + description = "A filesystem snapshot utility for making backups of local and remote systems"; 48 + homepage = http://rsnapshot.org/; 49 + license = stdenv.lib.licenses.gpl2Plus; 50 + platforms = platforms.linux; 51 + }; 52 + }
+25
pkgs/tools/filesystems/ifuse/default.nix
···
··· 1 + { stdenv, fetchurl, pkgconfig, usbmuxd, fuse, gnutls, libgcrypt, 2 + libplist, libimobiledevice }: 3 + 4 + stdenv.mkDerivation rec { 5 + name = "ifuse-1.1.3"; 6 + 7 + nativeBuildInputs = [ pkgconfig fuse libplist usbmuxd gnutls libgcrypt libimobiledevice ]; 8 + 9 + src = fetchurl { 10 + url = "${meta.homepage}/downloads/${name}.tar.bz2"; 11 + sha256 = "1p9a4n36jb194cnp6v57cz2bggwbywaz8pbpb95ch83pzdkdx257"; 12 + }; 13 + 14 + meta = { 15 + homepage = http://www.libimobiledevice.org; 16 + license = stdenv.lib.licenses.lgpl21Plus; 17 + description = "A fuse filesystem implementation to access the contents of iOS devices"; 18 + longDescription = '' 19 + Mount directories of an iOS device locally using fuse. By default the media 20 + directory is mounted, options allow to also mount the sandbox container of an 21 + app, an app's documents folder or even the root filesystem on jailbroken 22 + devices.''; 23 + inherit (usbmuxd.meta) platforms maintainers; 24 + }; 25 + }
+3 -3
pkgs/tools/graphics/gifsicle/default.nix
··· 3 with stdenv.lib; 4 5 stdenv.mkDerivation { 6 - name = "gifsicle-1.84"; 7 8 src = fetchurl { 9 - url = http://www.lcdf.org/gifsicle/gifsicle-1.84.tar.gz; 10 - sha256 = "1ymk7lkk50fds6090icnjg69dswzz5zyiirq2ws23aagw3l46z86"; 11 }; 12 13 buildInputs = optional gifview [ xproto libXt libX11 ];
··· 3 with stdenv.lib; 4 5 stdenv.mkDerivation { 6 + name = "gifsicle-1.86"; 7 8 src = fetchurl { 9 + url = http://www.lcdf.org/gifsicle/gifsicle-1.86.tar.gz; 10 + sha256 = "153knkff04wh1szbmqklyq371m9whib007j0lq0dwh4jc5g6s15h"; 11 }; 12 13 buildInputs = optional gifview [ xproto libXt libX11 ];
+2 -2
pkgs/tools/misc/parallel/default.nix
··· 1 { fetchurl, stdenv, perl }: 2 3 stdenv.mkDerivation rec { 4 - name = "parallel-20140922"; 5 6 src = fetchurl { 7 url = "mirror://gnu/parallel/${name}.tar.bz2"; 8 - sha256 = "0hxx1h2ba6y2y1vy02r2hzndid2b469hj08f0vlmpjqw5g4f52a5"; 9 }; 10 11 patchPhase =
··· 1 { fetchurl, stdenv, perl }: 2 3 stdenv.mkDerivation rec { 4 + name = "parallel-20141022"; 5 6 src = fetchurl { 7 url = "mirror://gnu/parallel/${name}.tar.bz2"; 8 + sha256 = "1dpssybids6k6na4rh2gwv1m581h28rcmsvq0hs56hrrh7qpjmvp"; 9 }; 10 11 patchPhase =
+16
pkgs/tools/misc/rcm/default.nix
···
··· 1 + { stdenv, fetchurl }: 2 + 3 + stdenv.mkDerivation rec { 4 + name = "rcm-1.2.3"; 5 + 6 + src = fetchurl { 7 + url = https://thoughtbot.github.io/rcm/dist/rcm-1.2.3.tar.gz; 8 + sha256 = "0gwpclbc152jkclj3w83s2snx3dcgljwr75q1z8czl3yar7d8bsh"; 9 + }; 10 + 11 + meta = { 12 + description = "Management Suite for Dotfiles"; 13 + homepage = https://github.com/thoughtbot/rcm; 14 + license = stdenv.lib.licenses.bsd3; 15 + }; 16 + }
+2 -2
pkgs/tools/misc/youtube-dl/default.nix
··· 1 { stdenv, fetchurl, python, zip }: 2 3 let 4 - version = "2014.09.19"; 5 in 6 stdenv.mkDerivation rec { 7 name = "youtube-dl-${version}"; 8 9 src = fetchurl { 10 url = "http://youtube-dl.org/downloads/${version}/${name}.tar.gz"; 11 - sha256 = "0xyn9rszvv0k0rqgwqzr69bk4n2crfxkwmmi8k26aw52yggba24k"; 12 }; 13 14 buildInputs = [ python ];
··· 1 { stdenv, fetchurl, python, zip }: 2 3 let 4 + version = "2014.10.25"; 5 in 6 stdenv.mkDerivation rec { 7 name = "youtube-dl-${version}"; 8 9 src = fetchurl { 10 url = "http://youtube-dl.org/downloads/${version}/${name}.tar.gz"; 11 + sha256 = "0llgallsvvwxr52kzpd91rz1vxm4drj2jzns30jfdqv81a9d98wa"; 12 }; 13 14 buildInputs = [ python ];
+22
pkgs/tools/misc/yubico-piv-tool/default.nix
···
··· 1 + { stdenv, fetchurl, pkgconfig, openssl, pcsclite }: 2 + 3 + stdenv.mkDerivation rec { 4 + name = "yubico-piv-tool-0.1.0"; 5 + 6 + src = fetchurl { 7 + url = "https://developers.yubico.com/yubico-piv-tool/Releases/${name}.tar.gz"; 8 + sha256 = "1m573f0vn3xgzsl29ps679iykp5krwd0fnr4nhm1fw2hm5zahrhf"; 9 + }; 10 + 11 + buildInputs = [ pkgconfig openssl pcsclite ]; 12 + 13 + configureFlags = [ "--with-backend=pcsc" ]; 14 + 15 + meta = with stdenv.lib; { 16 + homepage = https://developers.yubico.com/yubico-piv-tool/; 17 + description = ""; 18 + maintainers = with maintainers; [ wkennington ]; 19 + license = licenses.bsd2; 20 + platforms = platforms.all; 21 + }; 22 + }
+29
pkgs/tools/misc/yubikey-personalization-gui/default.nix
···
··· 1 + { stdenv, fetchurl, pkgconfig, yubikey-personalization, qt, libyubikey }: 2 + 3 + stdenv.mkDerivation rec { 4 + name = "yubikey-personalization-gui-3.1.16"; 5 + 6 + src = fetchurl { 7 + url = "https://developers.yubico.com/yubikey-personalization-gui/Releases/${name}.tar.gz"; 8 + sha256 = "0sdiy2jn0anjvhnz47mrkblhh3paf0gmbgdmrkm21kws4f6sb4kh"; 9 + }; 10 + 11 + buildInputs = [ pkgconfig yubikey-personalization qt libyubikey ]; 12 + 13 + configurePhase = '' 14 + qmake 15 + ''; 16 + 17 + installPhase = '' 18 + mkdir -p $out/bin 19 + cp build/release/yubikey-personalization-gui $out/bin 20 + ''; 21 + 22 + meta = with stdenv.lib; { 23 + homepage = https://developers.yubico.com/yubikey-personalization-gui; 24 + description = "a QT based cross-platform utility designed to facilitate reconfiguration of the Yubikey"; 25 + license = licenses.bsd2; 26 + platforms = platforms.unix; 27 + maintainers = with maintainers; [ wkennington ]; 28 + }; 29 + }
+25
pkgs/tools/misc/yubikey-personalization/default.nix
···
··· 1 + { stdenv, fetchurl, pkgconfig, libusb, libyubikey, json_c }: 2 + 3 + stdenv.mkDerivation rec { 4 + name = "yubikey-personalization-${version}"; 5 + version = "1.16.0"; 6 + 7 + src = fetchurl { 8 + url = "https://developers.yubico.com/yubikey-personalization/Releases/ykpers-${version}.tar.gz"; 9 + sha256 = "1zspbb10k9x9mjv8hadmwwgzjlign372al3zshypj9ri55ky0xs3"; 10 + }; 11 + 12 + buildInputs = [ pkgconfig libusb libyubikey json_c ]; 13 + 14 + configureFlags = [ 15 + "--with-backend=libusb-1.0" 16 + ]; 17 + 18 + meta = with stdenv.lib; { 19 + homepage = https://developers.yubico.com/yubikey-personalization; 20 + description = "a library and command line tool to personalize YubiKeys"; 21 + license = licenses.bsd2; 22 + platforms = platforms.unix; 23 + maintainers = with maintainers; [ wkennington ]; 24 + }; 25 + }
-9
pkgs/tools/networking/cjdns/builder.sh
··· 1 - source $stdenv/setup 2 - 3 - unpackPhase 4 - cd git-export 5 - 6 - bash do 7 - 8 - mkdir -p $out/sbin 9 - cp cjdroute $out/sbin
···
+16 -8
pkgs/tools/networking/cjdns/default.nix
··· 1 - { stdenv, fetchFromGitHub, nodejs, which, python27 }: 2 3 let 4 - date = "20140928"; 5 - rev = "e2b673698e471dbc82b4e9dbc04cb9e16f1f06a6"; 6 in 7 stdenv.mkDerivation { 8 name = "cjdns-${date}-${stdenv.lib.strings.substring 0 7 rev}"; ··· 11 owner = "cjdelisle"; 12 repo = "cjdns"; 13 inherit rev; 14 - sha256 = "0ql51845rni6678dda03zr18ary7xlqcs3khva9x80x815h1sy8v"; 15 }; 16 17 - patches = [ ./rfc5952.patch ]; 18 - 19 - buildInputs = [ which python27 nodejs]; 20 21 buildPhase = "bash do"; 22 - installPhase = "installBin cjdroute makekeys privatetopublic publictoip6"; 23 24 meta = with stdenv.lib; { 25 homepage = https://github.com/cjdelisle/cjdns;
··· 1 + { stdenv, fetchFromGitHub, nodejs, which, python27, utillinux }: 2 3 let 4 + date = "20141023"; 5 + rev = "c7eed6b14688458e16fab368f68904e530651a30"; 6 in 7 stdenv.mkDerivation { 8 name = "cjdns-${date}-${stdenv.lib.strings.substring 0 7 rev}"; ··· 11 owner = "cjdelisle"; 12 repo = "cjdns"; 13 inherit rev; 14 + sha256 = "11z8dk7byxh9pfv7mhfvnk465qln1g7z8c8f822623d59lwjpbs1"; 15 }; 16 17 + buildInputs = [ which python27 nodejs ] ++ 18 + # for flock 19 + stdenv.lib.optional stdenv.isLinux [ utillinux ]; 20 21 buildPhase = "bash do"; 22 + installPhase = '' 23 + installBin cjdroute makekeys privatetopublic publictoip6 24 + sed -i 's,/usr/bin/env node,'$(type -P node), \ 25 + $(find contrib -name "*.js") 26 + sed -i 's,/usr/bin/env python,'$(type -P python), \ 27 + $(find contrib -type f) 28 + mkdir -p $out/share/cjdns 29 + cp -R contrib node_build node_modules $out/share/cjdns/ 30 + ''; 31 32 meta = with stdenv.lib; { 33 homepage = https://github.com/cjdelisle/cjdns;
-286
pkgs/tools/networking/cjdns/rfc5952.patch
··· 1 - diff --git a/admin/angel/cjdroute2.c b/admin/angel/cjdroute2.c 2 - index dfce6c6..77954a7 100644 3 - --- a/admin/angel/cjdroute2.c 4 - +++ b/admin/angel/cjdroute2.c 5 - @@ -80,7 +80,7 @@ static int genAddress(uint8_t addressOut[40], 6 - if (AddressCalc_addressForPublicKey(address.ip6.bytes, address.key)) { 7 - Hex_encode(privateKeyHexOut, 65, privateKey, 32); 8 - Base32_encode(publicKeyBase32Out, 53, address.key, 32); 9 - - Address_printIp(addressOut, &address); 10 - + Address_printShortIp(addressOut, &address); 11 - return 0; 12 - } 13 - } 14 - diff --git a/contrib/c/makekeys.c b/contrib/c/makekeys.c 15 - index 3727fff..29582f1 100644 16 - --- a/contrib/c/makekeys.c 17 - +++ b/contrib/c/makekeys.c 18 - @@ -41,7 +41,7 @@ int main(int argc, char** argv) 19 - if (AddressCalc_addressForPublicKey(ip, publicKey)) { 20 - Hex_encode(hexPrivateKey, 65, privateKey, 32); 21 - Base32_encode(publicKeyBase32, 53, publicKey, 32); 22 - - AddrTools_printIp(printedIp, ip); 23 - + AddrTools_printShortIp(printedIp, ip); 24 - printf("%s %s %s.k\n", hexPrivateKey, printedIp, publicKeyBase32); 25 - } 26 - } 27 - diff --git a/contrib/c/privatetopublic.c b/contrib/c/privatetopublic.c 28 - index 7f5f967..dc98f1c 100644 29 - --- a/contrib/c/privatetopublic.c 30 - +++ b/contrib/c/privatetopublic.c 31 - @@ -73,7 +73,7 @@ int main(int argc, char** argv) 32 - AddressCalc_addressForPublicKey(address.ip6.bytes, address.key); 33 - if (address.ip6.bytes[0] == 0xFC) { 34 - Base32_encode(publicKeyBase32Out, 53, address.key, 32); 35 - - Address_printIp(addressOut, &address); 36 - + Address_printShortIp(addressOut, &address); 37 - printf( "Input privkey: %s\n" 38 - "Matching pubkey: %s.k\n" 39 - "Resulting address: %s\n" 40 - diff --git a/contrib/c/publictoip6.c b/contrib/c/publictoip6.c 41 - index fc92f7e..99afc4c 100644 42 - --- a/contrib/c/publictoip6.c 43 - +++ b/contrib/c/publictoip6.c 44 - @@ -48,7 +48,7 @@ int main(int argc, char** argv) 45 - } 46 - 47 - uint8_t output[40] = {0}; 48 - - AddrTools_printIp(output, ip6Bytes); 49 - + AddrTools_printShortIp(output, ip6Bytes); 50 - printf("%s\n", output); 51 - return 0; 52 - } 53 - diff --git a/dht/Address.c b/dht/Address.c 54 - index e4c2dba..ba77cad 100644 55 - --- a/dht/Address.c 56 - +++ b/dht/Address.c 57 - @@ -102,6 +102,12 @@ void Address_printIp(uint8_t output[40], struct Address* addr) 58 - AddrTools_printIp(output, addr->ip6.bytes); 59 - } 60 - 61 - +void Address_printShortIp(uint8_t output[40], struct Address* addr) 62 - +{ 63 - + Address_getPrefix(addr); 64 - + AddrTools_printShortIp(output, addr->ip6.bytes); 65 - +} 66 - + 67 - void Address_print(uint8_t output[60], struct Address* addr) 68 - { 69 - Address_printIp(output, addr); 70 - diff --git a/dht/Address.h b/dht/Address.h 71 - index 43c6f05..f200b40 100644 72 - --- a/dht/Address.h 73 - +++ b/dht/Address.h 74 - @@ -94,6 +94,8 @@ void Address_forKey(struct Address* out, const uint8_t key[Address_KEY_SIZE]); 75 - 76 - void Address_printIp(uint8_t output[40], struct Address* addr); 77 - 78 - +void Address_printShortIp(uint8_t output[40], struct Address* addr); 79 - + 80 - void Address_print(uint8_t output[60], struct Address* addr); 81 - 82 - String* Address_toString(struct Address* addr, struct Allocator* alloc); 83 - diff --git a/net/Ducttape.c b/net/Ducttape.c 84 - index 84597d0..1813f3f 100644 85 - --- a/net/Ducttape.c 86 - +++ b/net/Ducttape.c 87 - @@ -227,7 +227,7 @@ static inline bool isRouterTraffic(struct Message* message, struct Headers_IP6He 88 - #define debugHandles(logger, session, message, ...) \ 89 - do { \ 90 - uint8_t ip[40]; \ 91 - - AddrTools_printIp(ip, session->ip6); \ 92 - + AddrTools_printIp(ip, session->ip6); \ 93 - Log_debug(logger, "ver[%u] send[%d] recv[%u] ip[%s] " message, \ 94 - session->version, \ 95 - Endian_hostToBigEndian32(session->sendHandle_be), \ 96 - @@ -271,10 +271,10 @@ static inline uint8_t incomingForMe(struct Message* message, 97 - if (Bits_memcmp(addr.ip6.bytes, dtHeader->ip6Header->sourceAddr, 16)) { 98 - #ifdef Log_DEBUG 99 - uint8_t keyAddr[40]; 100 - - Address_printIp(keyAddr, &addr); 101 - + Address_printShortIp(keyAddr, &addr); 102 - Bits_memcpyConst(addr.ip6.bytes, dtHeader->ip6Header->sourceAddr, 16); 103 - uint8_t srcAddr[40]; 104 - - Address_printIp(srcAddr, &addr); 105 - + Address_printShortIp(srcAddr, &addr); 106 - Log_debug(context->logger, 107 - "DROP packet because source address is not same as key.\n" 108 - " %s source addr\n" 109 - @@ -292,7 +292,7 @@ static inline uint8_t incomingForMe(struct Message* message, 110 - if (Checksum_udpIp6(dtHeader->ip6Header->sourceAddr, (uint8_t*)uh, message->length)) { 111 - #ifdef Log_DEBUG 112 - uint8_t keyAddr[40]; 113 - - Address_printIp(keyAddr, &addr); 114 - + Address_printShortIp(keyAddr, &addr); 115 - Log_debug(context->logger, 116 - "DROP Router packet with incorrect checksum, from [%s]", keyAddr); 117 - #endif 118 - @@ -708,7 +708,7 @@ static inline int core(struct Message* message, 119 - struct Address destination; 120 - Bits_memcpyConst(destination.ip6.bytes, ip6Header->destinationAddr, 16); 121 - uint8_t ipAddr[40]; 122 - - Address_printIp(ipAddr, &destination); 123 - + Address_printShortIp(ipAddr, &destination); 124 - Log_debug(context->logger, "Forwarding data to %s via %s\n", ipAddr, nhAddr); 125 - #endif */ 126 - } else { 127 - @@ -723,7 +723,7 @@ static inline int core(struct Message* message, 128 - struct Address destination; 129 - Bits_memcpyConst(destination.ip6.bytes, ip6Header->destinationAddr, 16); 130 - uint8_t ipAddr[40]; 131 - - Address_printIp(ipAddr, &destination); 132 - + Address_printShortIp(ipAddr, &destination); 133 - Log_info(context->logger, "DROP message because this node is the closest known " 134 - "node to the destination %s.", ipAddr); 135 - #endif 136 - diff --git a/test/printIp_test.c b/test/printIp_test.c 137 - new file mode 100644 138 - index 0000000..75d7427 139 - --- /dev/null 140 - +++ b/test/printIp_test.c 141 - @@ -0,0 +1,54 @@ 142 - +/* vim: set expandtab ts=4 sw=4: */ 143 - +/* 144 - + * You may redistribute this program and/or modify it under the terms of 145 - + * the GNU General Public License as published by the Free Software Foundation, 146 - + * either version 3 of the License, or (at your option) any later version. 147 - + * 148 - + * This program is distributed in the hope that it will be useful, 149 - + * but WITHOUT ANY WARRANTY; without even the implied warranty of 150 - + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 151 - + * GNU General Public License for more details. 152 - + * 153 - + * You should have received a copy of the GNU General Public License 154 - + * along with this program. If not, see <http://www.gnu.org/licenses/>. 155 - + */ 156 - + 157 - +#include "crypto/random/Random.h" 158 - +#include "memory/MallocAllocator.h" 159 - +#include "util/AddrTools.h" 160 - +#include "util/Assert.h" 161 - + 162 - +#include <stdio.h> 163 - + 164 - +int main() 165 - +{ 166 - + struct Allocator* alloc = MallocAllocator_new(1<<22); 167 - + struct Random* rand = Random_new(alloc, NULL, NULL); 168 - + 169 - + uint8_t ip[16]; 170 - + uint8_t printedIp[40]; 171 - + uint8_t printedShortIp[40]; 172 - + uint8_t ipFromFull[16]; 173 - + uint8_t ipFromShort[16]; 174 - + 175 - + for (int i = 0; i < 1024; ++i) { 176 - + Random_bytes(rand, ip, 16); 177 - + 178 - + for (int j = 0; j < 16; j++) { 179 - + // make the random result have lots of zeros since that's what we're looking for. 180 - + ip[j] = (ip[j] % 2) ? 0 : ip[j]; 181 - + } 182 - + 183 - + AddrTools_printIp(printedIp, ip); 184 - + AddrTools_printShortIp(printedShortIp, ip); 185 - + //printf("%s\n%s\n\n", printedIp, printedShortIp); 186 - + 187 - + AddrTools_parseIp(ipFromFull, printedIp); 188 - + AddrTools_parseIp(ipFromShort, printedShortIp); 189 - + 190 - + Assert_true(0 == Bits_memcmp(ip, ipFromFull, 16)); 191 - + Assert_true(0 == Bits_memcmp(ipFromFull, ipFromShort, 16)); 192 - + } 193 - + 194 - + return 0; 195 - +} 196 - diff --git a/util/AddrTools.h b/util/AddrTools.h 197 - index 858ced4..d59544d 100644 198 - --- a/util/AddrTools.h 199 - +++ b/util/AddrTools.h 200 - @@ -143,6 +143,44 @@ static inline void AddrTools_printIp(uint8_t output[40], const uint8_t binIp[16] 201 - output[39] = '\0'; 202 - } 203 - 204 - +static inline void AddrTools_printShortIp(uint8_t output[40], const uint8_t binIp[16]) 205 - +{ 206 - + /* The chances of hitting :0:0: and breaking 207 - + * RFC5952 are 1 in (1 / (2^16))^2 * 6. 208 - + * E. Siler 209 - + */ 210 - + 211 - + char *p = output; 212 - + int i = 0; 213 - + for (; i < 16;) { 214 - + if ((size_t)p != (size_t)output) { 215 - + *p++= ':'; 216 - + } 217 - + 218 - + if (binIp[i] > 0x0F) { 219 - + Hex_encode(p, 2, &binIp[i++], 1); 220 - + p += 2; 221 - + } else if (binIp[i] > 0x00) { 222 - + *p++ = Hex_encodeLowNibble(binIp[i++]); 223 - + } else { 224 - + ++i; 225 - + if (binIp[i] > 0x0F) { 226 - + Hex_encode(p, 2, &binIp[i++], 1); 227 - + p += 2; 228 - + } else { 229 - + *p++ = Hex_encodeLowNibble(binIp[i++]); 230 - + } 231 - + continue; 232 - + } 233 - + Hex_encode(p, 2, &binIp[i++], 1); 234 - + p += 2; 235 - + } 236 - + *p = '\0'; 237 - + 238 - + Assert_true((size_t)p <= ((size_t)output + 40)); 239 - + Assert_true(i <= 16); 240 - +} 241 - + 242 - /** 243 - * Parse out an address. 244 - * 245 - diff --git a/util/Hex.c b/util/Hex.c 246 - index e3e3c4d..b9bce57 100644 247 - --- a/util/Hex.c 248 - +++ b/util/Hex.c 249 - @@ -29,6 +29,8 @@ static const uint8_t numForAscii[] = 250 - 99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99, 251 - }; 252 - 253 - +static const char* hexEntities = "0123456789abcdef"; 254 - + 255 - int Hex_encode(uint8_t* output, 256 - const uint32_t outputLength, 257 - const uint8_t* in, 258 - @@ -40,8 +42,6 @@ int Hex_encode(uint8_t* output, 259 - output[inputLength * 2] = '\0'; 260 - } 261 - 262 - - static const char* hexEntities = "0123456789abcdef"; 263 - - 264 - for (uint32_t i = 0; i < inputLength; i++) { 265 - output[i * 2] = hexEntities[in[i] >> 4]; 266 - output[i * 2 + 1] = hexEntities[in[i] & 15]; 267 - @@ -88,3 +88,8 @@ int Hex_decode(uint8_t* output, 268 - 269 - return length / 2; 270 - } 271 - + 272 - +uint8_t Hex_encodeLowNibble(const uint8_t nibble) 273 - +{ 274 - + return hexEntities[nibble & 15]; 275 - +} 276 - diff --git a/util/Hex.h b/util/Hex.h 277 - index 4570c3e..a12e402 100644 278 - --- a/util/Hex.h 279 - +++ b/util/Hex.h 280 - @@ -41,4 +41,6 @@ bool Hex_isHexEntity(const uint8_t character); 281 - 282 - int Hex_decodeByte(const uint8_t highNibble, const uint8_t lowNibble); 283 - 284 - +uint8_t Hex_encodeLowNibble(const uint8_t nibble); 285 - + 286 - #endif
···
+1
pkgs/tools/networking/fping/default.nix
··· 12 homepage = "http://fping.org/"; 13 description = "Send ICMP echo probes to network hosts"; 14 maintainers = with stdenv.lib.maintainers; [ the-kenny ]; 15 }; 16 }
··· 12 homepage = "http://fping.org/"; 13 description = "Send ICMP echo probes to network hosts"; 14 maintainers = with stdenv.lib.maintainers; [ the-kenny ]; 15 + platforms = with stdenv.lib.platforms; all; 16 }; 17 }
+4 -1
pkgs/tools/networking/nc6/default.nix
··· 4 name = "nc6-1.0"; 5 6 src = fetchurl { 7 - url = ftp://ftp.deepspace6.net/pub/ds6/sources/nc6/nc6-1.0.tar.bz2; 8 sha256 = "01l28zv1yal58ilfnz6albdzqqxzsx3a58vmc14r9gv0bahffdgb"; 9 }; 10
··· 4 name = "nc6-1.0"; 5 6 src = fetchurl { 7 + urls = [ 8 + ftp://ftp.deepspace6.net/pub/ds6/sources/nc6/nc6-1.0.tar.bz2 9 + http://fossies.org/linux/privat/nc6-1.0.tar.bz2 10 + ]; 11 sha256 = "01l28zv1yal58ilfnz6albdzqqxzsx3a58vmc14r9gv0bahffdgb"; 12 }; 13
+29
pkgs/tools/networking/openvpn/update-resolv-conf.nix
···
··· 1 + { stdenv, fetchgit, makeWrapper, openresolv, coreutils }: 2 + 3 + stdenv.mkDerivation rec { 4 + name = "update-resolv-conf"; 5 + 6 + src = fetchgit { 7 + url = https://github.com/masterkorp/openvpn-update-resolv-conf/; 8 + rev = "dd968419373bce71b22bbd26de962e89eb470670"; 9 + sha256 = "dd0e3ea3661253d565bda876eb52a3f8461a3fc8237a81c40809c2071f83add1"; 10 + }; 11 + 12 + nativeBuildInputs = [ makeWrapper ]; 13 + 14 + installPhase = '' 15 + install -Dm555 update-resolv-conf.sh $out/libexec/openvpn/update-resolv-conf 16 + sed -i 's,^\(RESOLVCONF=\).*,\1resolvconf,' $out/libexec/openvpn/update-resolv-conf 17 + 18 + wrapProgram $out/libexec/openvpn/update-resolv-conf \ 19 + --prefix PATH : ${coreutils}/bin:${openresolv}/sbin 20 + ''; 21 + 22 + meta = with stdenv.lib; { 23 + description = "Script to update your /etc/resolv.conf with DNS settings that come from the received push dhcp-options"; 24 + homepage = https://github.com/masterkorp/openvpn-update-resolv-conf/; 25 + maintainer = maintainers.abbradar; 26 + license = licenses.gpl2; 27 + platforms = platforms.unix; 28 + }; 29 + }
+13 -13
pkgs/tools/networking/wget/default.nix
··· 1 - { stdenv, fetchurl, gettext, perl, LWP, gnutls ? null }: 2 3 stdenv.mkDerivation rec { 4 - name = "wget-1.15"; 5 6 src = fetchurl { 7 url = "mirror://gnu/wget/${name}.tar.xz"; 8 - sha256 = "1yw0sk4mrs7bvga3c79rkbhxivmw8cs3b5wq3cglp1f9ai1mz2ni"; 9 }; 10 - 11 - patches = stdenv.lib.optional stdenv.isDarwin ./iri-test.patch; 12 13 preConfigure = stdenv.lib.optionalString doCheck 14 - '' for i in "doc/texi2pod.pl" "tests/run-px" "util/rmold.pl" 15 do 16 sed -i "$i" -e 's|/usr/bin.*perl|${perl}/bin/perl|g' 17 done ··· 24 ''; 25 26 nativeBuildInputs = [ gettext ]; 27 - buildInputs = 28 - stdenv.lib.optionals doCheck [ perl LWP ] 29 ++ stdenv.lib.optional (gnutls != null) gnutls; 30 31 configureFlags = ··· 33 then "--with-ssl=gnutls" 34 else "--without-ssl"; 35 36 - doCheck = (perl != null); 37 38 - meta = { 39 description = "Tool for retrieving files using HTTP, HTTPS, and FTP"; 40 41 longDescription = ··· 45 scripts, cron jobs, terminals without X-Windows support, etc. 46 ''; 47 48 - license = stdenv.lib.licenses.gpl3Plus; 49 50 homepage = http://www.gnu.org/software/wget/; 51 52 - maintainers = [ ]; 53 - platforms = stdenv.lib.platforms.all; 54 }; 55 }
··· 1 + { stdenv, fetchurl, gettext, libidn 2 + , perl, perlPackages, LWP, python3 3 + , gnutls ? null }: 4 5 stdenv.mkDerivation rec { 6 + name = "wget-1.16"; 7 8 src = fetchurl { 9 url = "mirror://gnu/wget/${name}.tar.xz"; 10 + sha256 = "1rxhr3jmgbwryzl51di4avqxw9m9j1z2aak8q1npns0p184xsqcj"; 11 }; 12 13 preConfigure = stdenv.lib.optionalString doCheck 14 + '' for i in "doc/texi2pod.pl" "util/rmold.pl" 15 do 16 sed -i "$i" -e 's|/usr/bin.*perl|${perl}/bin/perl|g' 17 done ··· 24 ''; 25 26 nativeBuildInputs = [ gettext ]; 27 + buildInputs = [ libidn ] 28 + ++ stdenv.lib.optionals doCheck [ perl perlPackages.IOSocketSSL LWP python3 ] 29 ++ stdenv.lib.optional (gnutls != null) gnutls; 30 31 configureFlags = ··· 33 then "--with-ssl=gnutls" 34 else "--without-ssl"; 35 36 + doCheck = (perl != null && python3 != null); 37 38 + meta = with stdenv.lib; { 39 description = "Tool for retrieving files using HTTP, HTTPS, and FTP"; 40 41 longDescription = ··· 45 scripts, cron jobs, terminals without X-Windows support, etc. 46 ''; 47 48 + license = licenses.gpl3Plus; 49 50 homepage = http://www.gnu.org/software/wget/; 51 52 + maintainers = with maintainers; [ fpletz ]; 53 + platforms = platforms.all; 54 }; 55 }
-12
pkgs/tools/networking/wget/iri-test.patch
··· 1 - diff -r --unified a/wget-1.14/tests/run-px b/wget-1.14/tests/run-px 2 - --- a/tests/run-px 2012-06-16 11:58:11.000000000 +0100 3 - +++ b/tests/run-px 2013-11-02 14:06:14.000000000 +0000 4 - @@ -48,7 +48,7 @@ 5 - 'Test-idn-robots-utf8.px', 6 - 'Test-iri.px', 7 - 'Test-iri-percent.px', 8 - - 'Test-iri-disabled.px', 9 - + #'Test-iri-disabled.px', 10 - 'Test-iri-forced-remote.px', 11 - 'Test-iri-list.px', 12 - 'Test-k.px',
···
+2 -2
pkgs/tools/package-management/nox/default.nix
··· 6 7 src = fetchgit { 8 url = "git://github.com/madjar/nox.git"; 9 - rev = "088249aa766c9fa929aa08a60f1a7eb41008da40"; 10 - sha256 = "0dscnmhm1va2h0jz7hh60nvjwxv5a92n5pp8c0g7hz76g67mi5xs"; 11 leaveDotGit = true; # required by pbr 12 }; 13
··· 6 7 src = fetchgit { 8 url = "git://github.com/madjar/nox.git"; 9 + rev = "e5a4dbe5d11c3258e3038b4ae6f49d53f02d76cd"; 10 + sha256 = "25d0ae9eeb6387bb45cbda8da08760ffef6a1661ebd106c537b468c93e66c035"; 11 leaveDotGit = true; # required by pbr 12 }; 13
+2 -2
pkgs/tools/package-management/opkg/default.nix
··· 1 { stdenv, fetchurl, pkgconfig, curl, gpgme }: 2 3 stdenv.mkDerivation rec { 4 - version = "0.2.2"; 5 name = "opkg-${version}"; 6 src = fetchurl { 7 url = "http://downloads.yoctoproject.org/releases/opkg/opkg-${version}.tar.gz"; 8 - sha256 = "0ax10crp2grrpl20gl5iqfw37d5qz6h790lyyv2ali45agklqmda"; 9 }; 10 11 buildInputs = [ pkgconfig curl gpgme ];
··· 1 { stdenv, fetchurl, pkgconfig, curl, gpgme }: 2 3 stdenv.mkDerivation rec { 4 + version = "0.2.3"; 5 name = "opkg-${version}"; 6 src = fetchurl { 7 url = "http://downloads.yoctoproject.org/releases/opkg/opkg-${version}.tar.gz"; 8 + sha256 = "0qaczbw34az20vmh92h7fkswcgq7f6csajx35d4dljzfj85d8jcc"; 9 }; 10 11 buildInputs = [ pkgconfig curl gpgme ];
+38
pkgs/tools/security/mbox/default.nix
···
··· 1 + { stdenv, fetchFromGitHub, openssl, which }: 2 + 3 + stdenv.mkDerivation { 4 + name = "mbox-20140526"; 5 + 6 + src = fetchFromGitHub { 7 + owner = "tsgates"; 8 + repo = "mbox"; 9 + rev = "a131424b6cb577e1c916bd0e8ffb2084a5f73048"; 10 + sha256 = "06qggqxnzcxnc34m6sbafxwr2p64x65m9zm5wp7pwyarcckhh2hd"; 11 + }; 12 + 13 + buildInputs = [ openssl which ]; 14 + 15 + preConfigure = '' 16 + cd src 17 + cp {.,}configsbox.h 18 + ''; 19 + 20 + doCheck = true; 21 + checkPhase = '' 22 + rm tests/test-*vim.sh tests/test-pip.sh 23 + 24 + patchShebangs ./; dontPatchShebags=1 25 + sed -i 's|^/bin/||' tests/test-fileops.sh 26 + 27 + ./testall.sh 28 + ''; 29 + 30 + meta = with stdenv.lib; 31 + { description = "Lightweight sandboxing mechanism that any user can use without special privileges"; 32 + homepage = http://pdos.csail.mit.edu/mbox/; 33 + maintainers = with maintainers; [ emery ]; 34 + license = licenses.bsd3; 35 + platforms = platforms.linux; 36 + }; 37 + 38 + }
+2 -2
pkgs/tools/security/pinentry/default.nix
··· 6 assert useGtk || useNcurses || useQt4; 7 8 stdenv.mkDerivation rec { 9 - name = "pinentry-0.8.3"; 10 11 src = fetchurl { 12 url = "mirror://gnupg/pinentry/${name}.tar.bz2"; 13 - sha256 = "1bd047crf7xb8g61mval8v6qww98rddlsw2dz6j8h8qbnl4hp2sn"; 14 }; 15 16 buildInputs = let opt = stdenv.lib.optional; in []
··· 6 assert useGtk || useNcurses || useQt4; 7 8 stdenv.mkDerivation rec { 9 + name = "pinentry-0.8.4"; 10 11 src = fetchurl { 12 url = "mirror://gnupg/pinentry/${name}.tar.bz2"; 13 + sha256 = "04jnlfncj9d5rg0j4gmsi2l1q9q7c6gjbvxfnfh3nx6b8szv779m"; 14 }; 15 16 buildInputs = let opt = stdenv.lib.optional; in []
+2 -2
pkgs/tools/security/tor/default.nix
··· 1 { stdenv, fetchurl, libevent, openssl, zlib }: 2 3 stdenv.mkDerivation rec { 4 - name = "tor-0.2.4.23"; 5 6 src = fetchurl { 7 url = "https://archive.torproject.org/tor-package-archive/${name}.tar.gz"; 8 - sha256 = "0a8l6d82hk4wbn7nlphd3c1maxhgdli8338wbg5r9dk6zcy7k8q5"; 9 }; 10 11 buildInputs = [ libevent openssl zlib ];
··· 1 { stdenv, fetchurl, libevent, openssl, zlib }: 2 3 stdenv.mkDerivation rec { 4 + name = "tor-0.2.4.24"; 5 6 src = fetchurl { 7 url = "https://archive.torproject.org/tor-package-archive/${name}.tar.gz"; 8 + sha256 = "1l8aczqz8injzcj3mabx4figl8ahkzb0vs9s3nir6kn0b1l5rccr"; 9 }; 10 11 buildInputs = [ libevent openssl zlib ];
+2 -2
pkgs/tools/system/logcheck/default.nix
··· 2 3 stdenv.mkDerivation rec { 4 _name = "logcheck"; 5 - version = "1.3.16"; 6 name = "${_name}-${version}"; 7 8 src = fetchurl { 9 url = "mirror://debian/pool/main/l/${_name}/${_name}_${version}.tar.xz"; 10 - sha256 = "1rmq4s2fj86226ncw2kdjvjbi29375gd7vdq62fsbjxm4m6nzsiy"; 11 }; 12 13 preConfigure = ''
··· 2 3 stdenv.mkDerivation rec { 4 _name = "logcheck"; 5 + version = "1.3.17"; 6 name = "${_name}-${version}"; 7 8 src = fetchurl { 9 url = "mirror://debian/pool/main/l/${_name}/${_name}_${version}.tar.xz"; 10 + sha256 = "0fphzaljc9ddv1x6l3zdf9cbarqgzpdqaqwm3plmarcc7qrgrly2"; 11 }; 12 13 preConfigure = ''
+5 -4
pkgs/tools/system/syslog-ng/default.nix
··· 1 - { stdenv, fetchurl, eventlog, pkgconfig, glib, python, systemd, perl }: 2 3 stdenv.mkDerivation rec { 4 name = "syslog-ng-${version}"; 5 6 - version = "3.5.6"; 7 8 src = fetchurl { 9 url = "http://www.balabit.com/downloads/files?path=/syslog-ng/sources/${version}/source/syslog-ng_${version}.tar.gz"; 10 - sha256 = "19i1idklpgn6mz0mg7194by5fjgvvh5n4v2a0rr1z0778l2038kc"; 11 }; 12 13 - buildInputs = [ eventlog pkgconfig glib python systemd perl ]; 14 15 configureFlags = [ 16 "--enable-dynamic-linking"
··· 1 + { stdenv, fetchurl, eventlog, pkgconfig, glib, python, systemd, perl 2 + , riemann_c_client, protobufc, yacc }: 3 4 stdenv.mkDerivation rec { 5 name = "syslog-ng-${version}"; 6 7 + version = "3.6.1"; 8 9 src = fetchurl { 10 url = "http://www.balabit.com/downloads/files?path=/syslog-ng/sources/${version}/source/syslog-ng_${version}.tar.gz"; 11 + sha256 = "1s3lsxk2pky3jkfamkw5ivpxq2kazikcvdgpmxiyn5w10dwkd0m7"; 12 }; 13 14 + buildInputs = [ eventlog pkgconfig glib python systemd perl riemann_c_client protobufc yacc ]; 15 16 configureFlags = [ 17 "--enable-dynamic-linking"
+3 -3
pkgs/tools/text/enca/default.nix
··· 1 { stdenv, fetchurl, libiconvOrNull, recode }: 2 3 stdenv.mkDerivation rec { 4 - name = "enca-1.15"; 5 6 src = fetchurl { 7 - url = "http://dl.cihar.com/enca/${name}.tar.bz2"; 8 - sha256 = "1iibfl2s420x7bc1hvxr1ys4cpz579brg2m2ln4rp677azmrr8mv"; 9 }; 10 11 buildInputs = [ recode libiconvOrNull ];
··· 1 { stdenv, fetchurl, libiconvOrNull, recode }: 2 3 stdenv.mkDerivation rec { 4 + name = "enca-1.16"; 5 6 src = fetchurl { 7 + url = "http://dl.cihar.com/enca/${name}.tar.xz"; 8 + sha256 = "0hg7ggldam66l9j53nlrvi2lv1k99r2qfk6dh23vg6mi05cph7bw"; 9 }; 10 11 buildInputs = [ recode libiconvOrNull ];
-8
pkgs/tools/text/sgml/opensp/setup-hook.sh
··· 9 if test -z "$sgmlHookDone"; then 10 sgmlHookDone=1 11 12 - # Set http_proxy and ftp_proxy to a invalid host to prevent 13 - # xmllint and xsltproc from trying to download DTDs from the 14 - # network even when --nonet is not given. That would be impure. 15 - # (Note that .invalid is a reserved domain guaranteed not to 16 - # work.) 17 - export http_proxy=http://nodtd.invalid/ 18 - export ftp_proxy=http://nodtd.invalid/ 19 - 20 export SGML_CATALOG_FILES 21 envHooks+=(addSGMLCatalogs) 22 fi
··· 9 if test -z "$sgmlHookDone"; then 10 sgmlHookDone=1 11 12 export SGML_CATALOG_FILES 13 envHooks+=(addSGMLCatalogs) 14 fi
+152 -14
pkgs/top-level/all-packages.nix
··· 1009 dolphinEmu = callPackage ../misc/emulators/dolphin-emu { }; 1010 dolphinEmuMaster = callPackage ../misc/emulators/dolphin-emu/master.nix { }; 1011 1012 dropbear = callPackage ../tools/networking/dropbear { }; 1013 1014 dtach = callPackage ../tools/misc/dtach { }; ··· 1177 1178 freetds = callPackage ../development/libraries/freetds { }; 1179 1180 ftgl = callPackage ../development/libraries/ftgl { }; 1181 1182 ftgl212 = callPackage ../development/libraries/ftgl/2.1.2.nix { }; ··· 1428 idle3tools = callPackage ../tools/system/idle3tools { }; 1429 1430 iftop = callPackage ../tools/networking/iftop { }; 1431 1432 ihaskell = callPackage ../development/tools/haskell/ihaskell/wrapper.nix { 1433 inherit (pythonPackages) ipython; ··· 1627 1628 man_db = callPackage ../tools/misc/man-db { }; 1629 1630 memtest86 = callPackage ../tools/misc/memtest86 { }; 1631 1632 memtest86plus = callPackage ../tools/misc/memtest86+ { }; ··· 1863 1864 odt2txt = callPackage ../tools/text/odt2txt { }; 1865 1866 offlineimap = callPackage ../tools/networking/offlineimap { 1867 inherit (pythonPackages) sqlite3; 1868 }; 1869 1870 opencryptoki = callPackage ../tools/security/opencryptoki { }; 1871 1872 opendbx = callPackage ../development/libraries/opendbx { }; 1873 1874 opendkim = callPackage ../development/libraries/opendkim { }; ··· 1918 openvpn = callPackage ../tools/networking/openvpn { }; 1919 1920 openvpn_learnaddress = callPackage ../tools/networking/openvpn/openvpn_learnaddress.nix { }; 1921 1922 openvswitch = callPackage ../os-specific/linux/openvswitch { }; 1923 ··· 1996 pdfread = callPackage ../tools/graphics/pdfread { }; 1997 1998 briss = callPackage ../tools/graphics/briss { }; 1999 2000 bully = callPackage ../tools/networking/bully { }; 2001 ··· 2171 # GNU Inetutils. The latter is more portable. 2172 logger = inetutils; 2173 }; 2174 2175 rlwrap = callPackage ../tools/misc/rlwrap { }; 2176 ··· 2395 # Work In Progress: it doesn't start unless running a daemon as root 2396 teamviewer8 = lowPrio (callPackage_i686 ../applications/networking/remote/teamviewer/8.nix { }); 2397 2398 telnet = callPackage ../tools/networking/telnet { }; 2399 2400 texmacs = callPackage ../applications/editors/texmacs { ··· 2530 htmlTidy = callPackage ../tools/text/html-tidy { }; 2531 2532 html-xml-utils = callPackage ../tools/text/xml/html-xml-utils { }; 2533 2534 tftp_hpa = callPackage ../tools/networking/tftp-hpa {}; 2535 ··· 2737 2738 xvfb_run = callPackage ../tools/misc/xvfb-run { inherit (texFunctions) fontsConf; }; 2739 2740 - youtubeDL = callPackage ../tools/misc/youtube-dl { }; 2741 2742 zbar = callPackage ../tools/graphics/zbar { 2743 pygtk = lib.overrideDerivation pygtk (x: { ··· 2810 2811 bigloo = callPackage ../development/compilers/bigloo { }; 2812 2813 - chicken = callPackage ../development/compilers/chicken { }; 2814 2815 ccl = builderDefsPackage ../development/compilers/ccl {}; 2816 ··· 3295 3296 oraclejdk7 = pkgs.oraclejdk7distro true false; 3297 3298 oraclejdk8 = pkgs.oraclejdk8distro true false; 3299 3300 oraclejre = lowPrio (pkgs.jdkdistro false false); 3301 3302 oraclejre7 = lowPrio (pkgs.oraclejdk7distro false false); 3303 3304 oraclejre8 = lowPrio (pkgs.oraclejdk8distro false false); 3305 ··· 3318 assert supportsJDK; 3319 (if pluginSupport then appendToName "with-plugin" else x: x) 3320 (callPackage ../development/compilers/oraclejdk/jdk7-linux.nix { inherit installjdk; }); 3321 3322 oraclejdk8distro = installjdk: pluginSupport: 3323 assert supportsJDK; ··· 3442 in rec { 3443 inherit ocaml; 3444 3445 camlidl = callPackage ../development/tools/ocaml/camlidl { }; 3446 3447 camlp4 = ··· 3498 deriving = callPackage ../development/tools/ocaml/deriving { }; 3499 3500 easy-format = callPackage ../development/ocaml-modules/easy-format { }; 3501 3502 eliom = callPackage ../development/ocaml-modules/eliom { }; 3503 ··· 3590 ocaml_ssl = callPackage ../development/ocaml-modules/ssl { }; 3591 3592 ocaml_text = callPackage ../development/ocaml-modules/ocaml-text { }; 3593 3594 ocsigen_server = callPackage ../development/ocaml-modules/ocsigen-server { }; 3595 ··· 3951 3952 polyml = callPackage ../development/compilers/polyml { }; 3953 3954 - pure = callPackage ../development/interpreters/pure { 3955 - llvm = llvm_34 ; 3956 - }; 3957 - 3958 pure-gsl = callPackage ../development/pure-modules/pure-gsl { }; 3959 3960 python = python2; ··· 4035 ruby_2_1_0 = lowPrio (callPackage ../development/interpreters/ruby/ruby-2.1.0.nix { }); 4036 ruby_2_1_1 = lowPrio (callPackage ../development/interpreters/ruby/ruby-2.1.1.nix { }); 4037 ruby_2_1_2 = lowPrio (callPackage ../development/interpreters/ruby/ruby-2.1.2.nix { }); 4038 4039 # Ruby aliases 4040 ruby = ruby_1_9; 4041 ruby_1_8 = ruby_1_8_7; 4042 ruby_1_9 = ruby_1_9_3; 4043 ruby_2_0 = ruby_2_0_0; 4044 - ruby_2_1 = ruby_2_1_2; 4045 4046 rubyLibs = recurseIntoAttrs (callPackage ../development/interpreters/ruby/libs.nix { }); 4047 ··· 4138 guile_lib = callPackage ../development/guile-modules/guile-lib { }; 4139 4140 guile_ncurses = callPackage ../development/guile-modules/guile-ncurses { }; 4141 4142 guile-xcb = callPackage ../development/guile-modules/guile-xcb { }; 4143 ··· 4266 4267 chrpath = callPackage ../development/tools/misc/chrpath { }; 4268 4269 "cl-launch" = callPackage ../development/tools/misc/cl-launch {}; 4270 4271 complexity = callPackage ../development/tools/misc/complexity { }; ··· 4540 4541 4542 ragel = callPackage ../development/tools/parsing/ragel { }; 4543 4544 re2c = callPackage ../development/tools/parsing/re2c { }; 4545 ··· 5340 5341 herqq = callPackage ../development/libraries/herqq { }; 5342 5343 hspell = callPackage ../development/libraries/hspell { }; 5344 5345 hspellDicts = callPackage ../development/libraries/hspell/dicts.nix { }; ··· 5495 libcanberra_kde = if (config.kde_runtime.libcanberraWithoutGTK or true) 5496 then libcanberra.override { gtk = null; } 5497 else libcanberra; 5498 5499 libcello = callPackage ../development/libraries/libcello {}; 5500 ··· 5986 5987 libgeotiff = callPackage ../development/libraries/libgeotiff { }; 5988 5989 libunistring = callPackage ../development/libraries/libunistring { }; 5990 5991 libupnp = callPackage ../development/libraries/pupnp { }; ··· 6087 6088 libyamlcpp = callPackage ../development/libraries/libyaml-cpp { }; 6089 6090 - libyubikey = callPackage ../development/libraries/libyubikey {}; 6091 6092 libzip = callPackage ../development/libraries/libzip { }; 6093 ··· 6907 6908 yajl = callPackage ../development/libraries/yajl { }; 6909 6910 zangband = builderDefsPackage (import ../games/zangband) { 6911 inherit ncurses flex bison autoconf automake m4 coreutils; 6912 }; ··· 7329 7330 mailman = callPackage ../servers/mail/mailman { }; 7331 7332 - mediatomb = callPackage ../servers/mediatomb { }; 7333 7334 memcached = callPackage ../servers/memcached {}; 7335 ··· 8584 lohit-fonts = callPackage ../data/fonts/lohit-fonts { }; 8585 8586 manpages = callPackage ../data/documentation/man-pages { }; 8587 8588 miscfiles = callPackage ../data/misc/miscfiles { }; 8589 ··· 8874 8875 chromiumDev = lowPrio (chromium.override { channel = "dev"; }); 8876 8877 cinelerra = callPackage ../applications/video/cinelerra { }; 8878 8879 clawsMail = callPackage ../applications/networking/mailreaders/claws-mail { ··· 9088 gitModes = callPackage ../applications/editors/emacs-modes/git-modes { }; 9089 9090 haskellMode = callPackage ../applications/editors/emacs-modes/haskell { }; 9091 9092 hol_light_mode = callPackage ../applications/editors/emacs-modes/hol_light { }; 9093 ··· 9513 9514 gqview = callPackage ../applications/graphics/gqview { }; 9515 9516 - gmpc = callPackage ../applications/audio/gmpc { }; 9517 9518 gmtk = callPackage ../applications/networking/browsers/mozilla-plugins/gmtk { 9519 inherit (gnome) GConf; ··· 10125 gnutls = if config.pidgin.gnutls or false then gnutls else null; 10126 libgcrypt = if config.pidgin.gnutls or false then libgcrypt else null; 10127 startupnotification = libstartup_notification; 10128 }; 10129 10130 - pidginWrapper = callPackage ../applications/networking/instant-messengers/pidgin/wrapper.nix { 10131 plugins = []; 10132 }; 10133 ··· 10390 10391 stp = callPackage ../applications/science/logic/stp {}; 10392 10393 - stumpwm = callPackage ../applications/window-managers/stumpwm {}; 10394 - stumpwmContrib = callPackage ../applications/window-managers/stumpwm/contrib.nix {}; 10395 10396 sublime = callPackage ../applications/editors/sublime { }; 10397 ··· 10763 ++ optional (cfg.enableFceumm or false) fceumm 10764 ++ optional (cfg.enableGambatte or false) gambatte 10765 ++ optional (cfg.enableGenesisPlusGX or false) genesis-plus-gx 10766 ++ optional (cfg.enableMupen64Plus or false) mupen64plus 10767 ++ optional (cfg.enableNestopia or false) nestopia 10768 ++ optional (cfg.enablePicodrive or false) picodrive ··· 10898 10899 xkb_switch = callPackage ../tools/X11/xkb-switch { }; 10900 10901 libxpdf = callPackage ../applications/misc/xpdf/libxpdf.nix { }; 10902 10903 xpra = callPackage ../tools/X11/xpra { }; ··· 11512 11513 qtcurve = callPackage ../misc/themes/qtcurve { }; 11514 11515 - quassel = callPackage ../applications/networking/irc/quassel { dconf = gnome3.dconf; }; 11516 11517 quasselWithoutKDE = (self.quassel.override { 11518 withKDE = false; 11519 tag = "-without-kde"; 11520 }); 11521 11522 quasselDaemon = (self.quassel.override { 11523 monolithic = false; 11524 daemon = true; 11525 tag = "-daemon"; 11526 }); 11527 11528 quasselClient = (self.quassel.override { 11529 monolithic = false; 11530 client = true; 11531 tag = "-client"; 11532 }); 11533 11534 quasselClientWithoutKDE = (self.quasselClient.override { 11535 withKDE = false; 11536 tag = "-client-without-kde"; 11537 }); 11538 ··· 12358 12359 yandex-disk = callPackage ../tools/filesystems/yandex-disk { }; 12360 12361 myEnvFun = import ../misc/my-env { 12362 inherit substituteAll pkgs; 12363 inherit (stdenv) mkDerivation; ··· 12417 lttngTools = lttng-tools; # added 2014-07-31 12418 lttngUst = lttng-ust; # added 2014-07-31 12419 jquery_ui = jquery-ui; # added 2014-09-07 12420 12421 12422 }; in self; in pkgs
··· 1009 dolphinEmu = callPackage ../misc/emulators/dolphin-emu { }; 1010 dolphinEmuMaster = callPackage ../misc/emulators/dolphin-emu/master.nix { }; 1011 1012 + doomseeker = callPackage ../applications/misc/doomseeker { }; 1013 + 1014 dropbear = callPackage ../tools/networking/dropbear { }; 1015 1016 dtach = callPackage ../tools/misc/dtach { }; ··· 1179 1180 freetds = callPackage ../development/libraries/freetds { }; 1181 1182 + frescobaldi = callPackage ../misc/frescobaldi {}; 1183 + 1184 ftgl = callPackage ../development/libraries/ftgl { }; 1185 1186 ftgl212 = callPackage ../development/libraries/ftgl/2.1.2.nix { }; ··· 1432 idle3tools = callPackage ../tools/system/idle3tools { }; 1433 1434 iftop = callPackage ../tools/networking/iftop { }; 1435 + 1436 + ifuse = callPackage ../tools/filesystems/ifuse/default.nix { }; 1437 1438 ihaskell = callPackage ../development/tools/haskell/ihaskell/wrapper.nix { 1439 inherit (pythonPackages) ipython; ··· 1633 1634 man_db = callPackage ../tools/misc/man-db { }; 1635 1636 + mbox = callPackage ../tools/security/mbox { }; 1637 + 1638 memtest86 = callPackage ../tools/misc/memtest86 { }; 1639 1640 memtest86plus = callPackage ../tools/misc/memtest86+ { }; ··· 1871 1872 odt2txt = callPackage ../tools/text/odt2txt { }; 1873 1874 + odamex = callPackage ../games/odamex { }; 1875 + 1876 offlineimap = callPackage ../tools/networking/offlineimap { 1877 inherit (pythonPackages) sqlite3; 1878 }; 1879 1880 opencryptoki = callPackage ../tools/security/opencryptoki { }; 1881 1882 + onscripter-en = callPackage ../games/onscripter-en { }; 1883 + 1884 opendbx = callPackage ../development/libraries/opendbx { }; 1885 1886 opendkim = callPackage ../development/libraries/opendkim { }; ··· 1930 openvpn = callPackage ../tools/networking/openvpn { }; 1931 1932 openvpn_learnaddress = callPackage ../tools/networking/openvpn/openvpn_learnaddress.nix { }; 1933 + 1934 + update-resolv-conf = callPackage ../tools/networking/openvpn/update-resolv-conf.nix { }; 1935 1936 openvswitch = callPackage ../os-specific/linux/openvswitch { }; 1937 ··· 2010 pdfread = callPackage ../tools/graphics/pdfread { }; 2011 2012 briss = callPackage ../tools/graphics/briss { }; 2013 + 2014 + brickd = callPackage ../servers/brickd { 2015 + libusb = libusb1; 2016 + }; 2017 2018 bully = callPackage ../tools/networking/bully { }; 2019 ··· 2189 # GNU Inetutils. The latter is more portable. 2190 logger = inetutils; 2191 }; 2192 + rsnapshotGit = lowPrio (callPackage ../tools/backup/rsnapshot/git.nix { 2193 + # For the `logger' command, we can use either `utillinux' or 2194 + # GNU Inetutils. The latter is more portable. 2195 + logger = inetutils; 2196 + }); 2197 2198 rlwrap = callPackage ../tools/misc/rlwrap { }; 2199 ··· 2418 # Work In Progress: it doesn't start unless running a daemon as root 2419 teamviewer8 = lowPrio (callPackage_i686 ../applications/networking/remote/teamviewer/8.nix { }); 2420 2421 + teamviewer9 = lowPrio (callPackage_i686 ../applications/networking/remote/teamviewer/9.nix { }); 2422 + 2423 telnet = callPackage ../tools/networking/telnet { }; 2424 2425 texmacs = callPackage ../applications/editors/texmacs { ··· 2555 htmlTidy = callPackage ../tools/text/html-tidy { }; 2556 2557 html-xml-utils = callPackage ../tools/text/xml/html-xml-utils { }; 2558 + 2559 + rcm = callPackage ../tools/misc/rcm {}; 2560 2561 tftp_hpa = callPackage ../tools/networking/tftp-hpa {}; 2562 ··· 2764 2765 xvfb_run = callPackage ../tools/misc/xvfb-run { inherit (texFunctions) fontsConf; }; 2766 2767 + youtube-dl = callPackage ../tools/misc/youtube-dl { }; 2768 2769 zbar = callPackage ../tools/graphics/zbar { 2770 pygtk = lib.overrideDerivation pygtk (x: { ··· 2837 2838 bigloo = callPackage ../development/compilers/bigloo { }; 2839 2840 + fetchegg = callPackage ../build-support/fetchegg { }; 2841 + 2842 + eggDerivation = callPackage ../development/compilers/chicken/eggDerivation.nix { }; 2843 + 2844 + chicken = callPackage ../development/compilers/chicken { 2845 + bootstrap-chicken = chicken.override { bootstrap-chicken = null; }; 2846 + }; 2847 + 2848 + egg2nix = callPackage ../development/tools/egg2nix { 2849 + chickenEggs = callPackage ../development/tools/egg2nix/chicken-eggs.nix { }; 2850 + }; 2851 2852 ccl = builderDefsPackage ../development/compilers/ccl {}; 2853 ··· 3332 3333 oraclejdk7 = pkgs.oraclejdk7distro true false; 3334 3335 + oraclejdk7psu = pkgs.oraclejdk7psu_distro true false; 3336 + 3337 oraclejdk8 = pkgs.oraclejdk8distro true false; 3338 3339 oraclejre = lowPrio (pkgs.jdkdistro false false); 3340 3341 oraclejre7 = lowPrio (pkgs.oraclejdk7distro false false); 3342 + 3343 + oraclejre7psu = lowPrio (pkgs.oraclejdk7psu_distro false false); 3344 3345 oraclejre8 = lowPrio (pkgs.oraclejdk8distro false false); 3346 ··· 3359 assert supportsJDK; 3360 (if pluginSupport then appendToName "with-plugin" else x: x) 3361 (callPackage ../development/compilers/oraclejdk/jdk7-linux.nix { inherit installjdk; }); 3362 + 3363 + oraclejdk7psu_distro = installjdk: pluginSupport: 3364 + assert supportsJDK; 3365 + (if pluginSupport then appendToName "with-plugin" else x: x) 3366 + (callPackage ../development/compilers/oraclejdk/jdk7psu-linux.nix { inherit installjdk; }); 3367 3368 oraclejdk8distro = installjdk: pluginSupport: 3369 assert supportsJDK; ··· 3488 in rec { 3489 inherit ocaml; 3490 3491 + acgtk = callPackage ../applications/science/logic/acgtk { }; 3492 + 3493 + ansiterminal = callPackage ../development/ocaml-modules/ansiterminal { }; 3494 + 3495 + bolt = callPackage ../development/ocaml-modules/bolt { }; 3496 + 3497 camlidl = callPackage ../development/tools/ocaml/camlidl { }; 3498 3499 camlp4 = ··· 3550 deriving = callPackage ../development/tools/ocaml/deriving { }; 3551 3552 easy-format = callPackage ../development/ocaml-modules/easy-format { }; 3553 + 3554 + eff = callPackage ../development/interpreters/eff { }; 3555 3556 eliom = callPackage ../development/ocaml-modules/eliom { }; 3557 ··· 3644 ocaml_ssl = callPackage ../development/ocaml-modules/ssl { }; 3645 3646 ocaml_text = callPackage ../development/ocaml-modules/ocaml-text { }; 3647 + 3648 + ocpBuild = callPackage ../development/tools/ocaml/ocp-build { }; 3649 + 3650 + ocpIndent = callPackage ../development/tools/ocaml/ocp-indent { }; 3651 3652 ocsigen_server = callPackage ../development/ocaml-modules/ocsigen-server { }; 3653 ··· 4009 4010 polyml = callPackage ../development/compilers/polyml { }; 4011 4012 + pure = callPackage ../development/interpreters/pure { }; 4013 pure-gsl = callPackage ../development/pure-modules/pure-gsl { }; 4014 4015 python = python2; ··· 4090 ruby_2_1_0 = lowPrio (callPackage ../development/interpreters/ruby/ruby-2.1.0.nix { }); 4091 ruby_2_1_1 = lowPrio (callPackage ../development/interpreters/ruby/ruby-2.1.1.nix { }); 4092 ruby_2_1_2 = lowPrio (callPackage ../development/interpreters/ruby/ruby-2.1.2.nix { }); 4093 + ruby_2_1_3 = lowPrio (callPackage ../development/interpreters/ruby/ruby-2.1.3.nix { }); 4094 4095 # Ruby aliases 4096 ruby = ruby_1_9; 4097 ruby_1_8 = ruby_1_8_7; 4098 ruby_1_9 = ruby_1_9_3; 4099 ruby_2_0 = ruby_2_0_0; 4100 + ruby_2_1 = ruby_2_1_3; 4101 4102 rubyLibs = recurseIntoAttrs (callPackage ../development/interpreters/ruby/libs.nix { }); 4103 ··· 4194 guile_lib = callPackage ../development/guile-modules/guile-lib { }; 4195 4196 guile_ncurses = callPackage ../development/guile-modules/guile-ncurses { }; 4197 + 4198 + guile-opengl = callPackage ../development/guile-modules/guile-opengl { }; 4199 4200 guile-xcb = callPackage ../development/guile-modules/guile-xcb { }; 4201 ··· 4324 4325 chrpath = callPackage ../development/tools/misc/chrpath { }; 4326 4327 + chruby = callPackage ../development/tools/misc/chruby { rubies = null; }; 4328 + 4329 "cl-launch" = callPackage ../development/tools/misc/cl-launch {}; 4330 4331 complexity = callPackage ../development/tools/misc/complexity { }; ··· 4600 4601 4602 ragel = callPackage ../development/tools/parsing/ragel { }; 4603 + 4604 + hammer = callPackage ../development/tools/parsing/hammer { }; 4605 4606 re2c = callPackage ../development/tools/parsing/re2c { }; 4607 ··· 5402 5403 herqq = callPackage ../development/libraries/herqq { }; 5404 5405 + hidapi = callPackage ../development/libraries/hidapi { 5406 + libusb = libusb1; 5407 + }; 5408 + 5409 hspell = callPackage ../development/libraries/hspell { }; 5410 5411 hspellDicts = callPackage ../development/libraries/hspell/dicts.nix { }; ··· 5561 libcanberra_kde = if (config.kde_runtime.libcanberraWithoutGTK or true) 5562 then libcanberra.override { gtk = null; } 5563 else libcanberra; 5564 + 5565 + libcec = callPackage ../development/libraries/libcec { }; 5566 5567 libcello = callPackage ../development/libraries/libcello {}; 5568 ··· 6054 6055 libgeotiff = callPackage ../development/libraries/libgeotiff { }; 6056 6057 + libu2f-host = callPackage ../development/libraries/libu2f-host { }; 6058 + 6059 libunistring = callPackage ../development/libraries/libunistring { }; 6060 6061 libupnp = callPackage ../development/libraries/pupnp { }; ··· 6157 6158 libyamlcpp = callPackage ../development/libraries/libyaml-cpp { }; 6159 6160 + libykneomgr = callPackage ../development/libraries/libykneomgr { }; 6161 + 6162 + libyubikey = callPackage ../development/libraries/libyubikey { }; 6163 6164 libzip = callPackage ../development/libraries/libzip { }; 6165 ··· 6979 6980 yajl = callPackage ../development/libraries/yajl { }; 6981 6982 + yubico-piv-tool = callPackage ../tools/misc/yubico-piv-tool { }; 6983 + 6984 + yubikey-personalization = callPackage ../tools/misc/yubikey-personalization { 6985 + libusb = libusb1; 6986 + }; 6987 + 6988 + yubikey-personalization-gui = callPackage ../tools/misc/yubikey-personalization-gui { 6989 + qt = qt4; 6990 + }; 6991 + 6992 zangband = builderDefsPackage (import ../games/zangband) { 6993 inherit ncurses flex bison autoconf automake m4 coreutils; 6994 }; ··· 7411 7412 mailman = callPackage ../servers/mail/mailman { }; 7413 7414 + mediatomb = callPackage ../servers/mediatomb { 7415 + spidermonkey = spidermonkey_185; 7416 + }; 7417 7418 memcached = callPackage ../servers/memcached {}; 7419 ··· 8668 lohit-fonts = callPackage ../data/fonts/lohit-fonts { }; 8669 8670 manpages = callPackage ../data/documentation/man-pages { }; 8671 + 8672 + meslo-lg = callPackage ../data/fonts/meslo-lg {}; 8673 8674 miscfiles = callPackage ../data/misc/miscfiles { }; 8675 ··· 8960 8961 chromiumDev = lowPrio (chromium.override { channel = "dev"; }); 8962 8963 + chuck = callPackage ../applications/audio/chuck { }; 8964 + 8965 cinelerra = callPackage ../applications/video/cinelerra { }; 8966 8967 clawsMail = callPackage ../applications/networking/mailreaders/claws-mail { ··· 9176 gitModes = callPackage ../applications/editors/emacs-modes/git-modes { }; 9177 9178 haskellMode = callPackage ../applications/editors/emacs-modes/haskell { }; 9179 + 9180 + hsc3Mode = callPackage ../applications/editors/emacs-modes/hsc3 { }; 9181 9182 hol_light_mode = callPackage ../applications/editors/emacs-modes/hol_light { }; 9183 ··· 9603 9604 gqview = callPackage ../applications/graphics/gqview { }; 9605 9606 + gmpc = callPackage ../applications/audio/gmpc { 9607 + inherit (xlibs) libSM libICE; 9608 + }; 9609 9610 gmtk = callPackage ../applications/networking/browsers/mozilla-plugins/gmtk { 9611 inherit (gnome) GConf; ··· 10217 gnutls = if config.pidgin.gnutls or false then gnutls else null; 10218 libgcrypt = if config.pidgin.gnutls or false then libgcrypt else null; 10219 startupnotification = libstartup_notification; 10220 + inherit (xlibs) libXext libICE libSM; 10221 }; 10222 10223 + pidgin-with-plugins = callPackage ../applications/networking/instant-messengers/pidgin/wrapper.nix { 10224 plugins = []; 10225 }; 10226 ··· 10483 10484 stp = callPackage ../applications/science/logic/stp {}; 10485 10486 + stumpwm = callPackage ../applications/window-managers/stumpwm { 10487 + stumpwmContrib = callPackage ../applications/window-managers/stumpwm/contrib.nix { }; 10488 + }; 10489 10490 sublime = callPackage ../applications/editors/sublime { }; 10491 ··· 10857 ++ optional (cfg.enableFceumm or false) fceumm 10858 ++ optional (cfg.enableGambatte or false) gambatte 10859 ++ optional (cfg.enableGenesisPlusGX or false) genesis-plus-gx 10860 + ++ optional (cfg.enableMednafenPCEFast or false) mednafen-pce-fast 10861 ++ optional (cfg.enableMupen64Plus or false) mupen64plus 10862 ++ optional (cfg.enableNestopia or false) nestopia 10863 ++ optional (cfg.enablePicodrive or false) picodrive ··· 10993 10994 xkb_switch = callPackage ../tools/X11/xkb-switch { }; 10995 10996 + xmonad_log_applet_gnome2 = callPackage ../applications/window-managers/xmonad-log-applet { 10997 + desktopSupport = "gnome2"; 10998 + inherit (xfce) libxfce4util xfce4panel; 10999 + gnome2_panel = gnome2.gnome_panel; 11000 + GConf2 = gnome2.GConf; 11001 + }; 11002 + 11003 + xmonad_log_applet_gnome3 = callPackage ../applications/window-managers/xmonad-log-applet { 11004 + desktopSupport = "gnome3"; 11005 + inherit (xfce) libxfce4util xfce4panel; 11006 + gnome2_panel = gnome2.gnome_panel; 11007 + GConf2 = gnome2.GConf; 11008 + }; 11009 + 11010 + xmonad_log_applet_xfce = callPackage ../applications/window-managers/xmonad-log-applet { 11011 + desktopSupport = "xfce4"; 11012 + inherit (xfce) libxfce4util xfce4panel; 11013 + gnome2_panel = gnome2.gnome_panel; 11014 + GConf2 = gnome2.GConf; 11015 + }; 11016 + 11017 libxpdf = callPackage ../applications/misc/xpdf/libxpdf.nix { }; 11018 11019 xpra = callPackage ../tools/X11/xpra { }; ··· 11628 11629 qtcurve = callPackage ../misc/themes/qtcurve { }; 11630 11631 + quassel = callPackage ../applications/networking/irc/quassel rec { 11632 + monolithic = true; 11633 + daemon = false; 11634 + client = false; 11635 + withKDE = stdenv.isLinux; 11636 + qt = if withKDE then qt4 else qt5; # KDE supported quassel cannot build with qt5 yet (maybe in 0.12.0) 11637 + dconf = gnome3.dconf; 11638 + }; 11639 11640 quasselWithoutKDE = (self.quassel.override { 11641 + monolithic = true; 11642 + daemon = false; 11643 + client = false; 11644 withKDE = false; 11645 + #qt = qt5; 11646 tag = "-without-kde"; 11647 }); 11648 11649 quasselDaemon = (self.quassel.override { 11650 monolithic = false; 11651 daemon = true; 11652 + client = false; 11653 + withKDE = false; 11654 + #qt = qt5; 11655 tag = "-daemon"; 11656 }); 11657 11658 quasselClient = (self.quassel.override { 11659 monolithic = false; 11660 + daemon = false; 11661 client = true; 11662 tag = "-client"; 11663 }); 11664 11665 quasselClientWithoutKDE = (self.quasselClient.override { 11666 + monolithic = false; 11667 + daemon = false; 11668 + client = true; 11669 withKDE = false; 11670 + #qt = qt5; 11671 tag = "-client-without-kde"; 11672 }); 11673 ··· 12493 12494 yandex-disk = callPackage ../tools/filesystems/yandex-disk { }; 12495 12496 + zdfmediathk = callPackage ../applications/video/zdfmediathk { }; 12497 + 12498 myEnvFun = import ../misc/my-env { 12499 inherit substituteAll pkgs; 12500 inherit (stdenv) mkDerivation; ··· 12554 lttngTools = lttng-tools; # added 2014-07-31 12555 lttngUst = lttng-ust; # added 2014-07-31 12556 jquery_ui = jquery-ui; # added 2014-09-07 12557 + youtubeDL = youtube-dl; # added 2014-10-26 12558 12559 12560 }; in self; in pkgs
+44 -12
pkgs/top-level/haskell-packages.nix
··· 125 126 accelerateIo = callPackage ../development/libraries/haskell/accelerate-io {}; 127 128 active = callPackage ../development/libraries/haskell/active {}; 129 130 ACVector = callPackage ../development/libraries/haskell/AC-Vector {}; ··· 270 bitsAtomic = callPackage ../development/libraries/haskell/bits-atomic {}; 271 272 bitsExtras = callPackage ../development/libraries/haskell/bits-extras {}; 273 274 bktrees = callPackage ../development/libraries/haskell/bktrees {}; 275 ··· 593 594 dataLens = callPackage ../development/libraries/haskell/data-lens {}; 595 596 dataLensLight = callPackage ../development/libraries/haskell/data-lens-light {}; 597 598 dataLensTemplate = callPackage ../development/libraries/haskell/data-lens-template {}; ··· 912 cabal = self.cabal.override { enableLibraryProfiling = false; }; # pkg cannot be built with profiling enabled 913 }; 914 915 916 ghcServer = callPackage ../development/libraries/haskell/ghc-server {}; 917 ··· 970 971 gloss = callPackage ../development/libraries/haskell/gloss {}; 972 973 glossAccelerate = callPackage ../development/libraries/haskell/gloss-accelerate {}; 974 975 glossRaster = callPackage ../development/libraries/haskell/gloss-raster {}; ··· 1259 hoogleLocal = callPackage ../development/libraries/haskell/hoogle/local.nix {}; 1260 1261 hopenssl = callPackage ../development/libraries/haskell/hopenssl {}; 1262 1263 hostname = callPackage ../development/libraries/haskell/hostname {}; 1264 ··· 1269 hS3 = callPackage ../development/libraries/haskell/hS3 {}; 1270 1271 hsBibutils = callPackage ../development/libraries/haskell/hs-bibutils {}; 1272 1273 hsdns = callPackage ../development/libraries/haskell/hsdns {}; 1274 ··· 1853 1854 options = callPackage ../development/libraries/haskell/options {}; 1855 1856 - #optparseApplicative_0_9_1_1 = callPackage ../development/libraries/haskell/optparse-applicative/0.9.1.1.nix {}; 1857 optparseApplicative_0_10_0 = callPackage ../development/libraries/haskell/optparse-applicative/0.10.0.nix {}; 1858 optparseApplicative_0_11_0_1 = callPackage ../development/libraries/haskell/optparse-applicative/0.11.0.1.nix {}; 1859 optparseApplicative = self.optparseApplicative_0_11_0_1; ··· 1961 1962 pipesSafe = callPackage ../development/libraries/haskell/pipes-safe {}; 1963 1964 pipesText = callPackage ../development/libraries/haskell/pipes-text {}; 1965 1966 pipesZlib = callPackage ../development/libraries/haskell/pipes-zlib {}; ··· 2019 2020 punycode = callPackage ../development/libraries/haskell/punycode {}; 2021 2022 - pureCdb = callPackage ../development/libraries/haskell/pure-cdb { testSimple = null; }; 2023 2024 primitive_0_5_0_1 = callPackage ../development/libraries/haskell/primitive/0.5.0.1.nix {}; 2025 primitive_0_5_2_1 = callPackage ../development/libraries/haskell/primitive/0.5.2.1.nix {}; ··· 2100 2101 Rasterific = callPackage ../development/libraries/haskell/Rasterific {}; 2102 2103 reserve = callPackage ../development/libraries/haskell/reserve {}; 2104 2105 rvar = callPackage ../development/libraries/haskell/rvar {}; ··· 2233 scottyHastache = callPackage ../development/libraries/haskell/scotty-hastache {}; 2234 2235 scrypt = callPackage ../development/libraries/haskell/scrypt {}; 2236 2237 securemem = callPackage ../development/libraries/haskell/securemem {}; 2238 ··· 3077 3078 arbtt = callPackage ../applications/misc/arbtt {}; 3079 3080 - idris_plain = callPackage ../development/compilers/idris { 3081 - llvmGeneral = self.llvmGeneral_3_3_8_2; 3082 - llvmGeneralPure = self.llvmGeneralPure_3_3_8_2; 3083 - languageJava = self.languageJava_0_2_6; 3084 - optparseApplicative = self.optparseApplicative_0_10_0; 3085 - }; 3086 3087 idris = callPackage ../development/compilers/idris/wrapper.nix {}; 3088 ··· 3116 # M-x or reload). Use ‘yiCustom’ instead. 3117 yi = callPackage ../applications/editors/yi/yi.nix { }; 3118 3119 - yiContrib = callPackage ../development/libraries/haskell/yi-contrib {}; 3120 - 3121 yiCustom = callPackage ../applications/editors/yi/yi-custom.nix { 3122 extraPackages = pkgs: []; 3123 }; 3124 3125 yiLanguage = callPackage ../development/libraries/haskell/yi-language {}; 3126 3127 yiRope = callPackage ../development/libraries/haskell/yi-rope {}; 3128 3129 # Tools. 3130 ··· 3153 LANG = "en_US.UTF-8"; 3154 LOCALE_ARCHIVE = "${nativePkgs.glibcLocales}/lib/locale/locale-archive"; 3155 }); 3156 - in callPackage cabalExpr { 3157 cabal = self.cabal.override { 3158 extension = eself: esuper: { 3159 buildDepends = [ self.cabalInstall ] ++ esuper.buildDepends; 3160 } // cabalDrvArgs; 3161 }; 3162 - }; 3163 3164 buildLocalCabal = src: name: self.buildLocalCabalWithArgs { inherit src name; }; 3165
··· 125 126 accelerateIo = callPackage ../development/libraries/haskell/accelerate-io {}; 127 128 + acmeLookofdisapproval = callPackage ../development/libraries/haskell/acme-lookofdisapproval {}; 129 + 130 active = callPackage ../development/libraries/haskell/active {}; 131 132 ACVector = callPackage ../development/libraries/haskell/AC-Vector {}; ··· 272 bitsAtomic = callPackage ../development/libraries/haskell/bits-atomic {}; 273 274 bitsExtras = callPackage ../development/libraries/haskell/bits-extras {}; 275 + 276 + bitset = callPackage ../development/libraries/haskell/bitset {}; 277 278 bktrees = callPackage ../development/libraries/haskell/bktrees {}; 279 ··· 597 598 dataLens = callPackage ../development/libraries/haskell/data-lens {}; 599 600 + dataLensFd = callPackage ../development/libraries/haskell/data-lens-fd {}; 601 + 602 dataLensLight = callPackage ../development/libraries/haskell/data-lens-light {}; 603 604 dataLensTemplate = callPackage ../development/libraries/haskell/data-lens-template {}; ··· 918 cabal = self.cabal.override { enableLibraryProfiling = false; }; # pkg cannot be built with profiling enabled 919 }; 920 921 + ghcid = callPackage ../development/tools/haskell/ghcid {}; 922 923 ghcServer = callPackage ../development/libraries/haskell/ghc-server {}; 924 ··· 977 978 gloss = callPackage ../development/libraries/haskell/gloss {}; 979 980 + glossBanana = callPackage ../development/libraries/haskell/gloss-banana {}; 981 + 982 glossAccelerate = callPackage ../development/libraries/haskell/gloss-accelerate {}; 983 984 glossRaster = callPackage ../development/libraries/haskell/gloss-raster {}; ··· 1268 hoogleLocal = callPackage ../development/libraries/haskell/hoogle/local.nix {}; 1269 1270 hopenssl = callPackage ../development/libraries/haskell/hopenssl {}; 1271 + 1272 + hosc = callPackage ../development/libraries/haskell/hosc { 1273 + binary = self.binary_0_7_2_2; 1274 + dataBinaryIeee754 = self.dataBinaryIeee754.override { binary = self.binary_0_7_2_2; }; 1275 + }; 1276 1277 hostname = callPackage ../development/libraries/haskell/hostname {}; 1278 ··· 1283 hS3 = callPackage ../development/libraries/haskell/hS3 {}; 1284 1285 hsBibutils = callPackage ../development/libraries/haskell/hs-bibutils {}; 1286 + 1287 + hsc3 = callPackage ../development/libraries/haskell/hsc3 {}; 1288 + 1289 + hsc3-dot = callPackage ../development/libraries/haskell/hsc3-dot {}; 1290 + 1291 + hsc3-process = callPackage ../development/libraries/haskell/hsc3-process {}; 1292 + 1293 + hsc3-db = callPackage ../development/libraries/haskell/hsc3-db {}; 1294 + 1295 + hsc3-lang = callPackage ../development/libraries/haskell/hsc3-lang { 1296 + hmatrixSpecial = self.hmatrixSpecial.override { 1297 + hmatrix = self.hmatrix.override { binary = self.binary_0_7_2_2; }; 1298 + }; 1299 + }; 1300 1301 hsdns = callPackage ../development/libraries/haskell/hsdns {}; 1302 ··· 1881 1882 options = callPackage ../development/libraries/haskell/options {}; 1883 1884 optparseApplicative_0_10_0 = callPackage ../development/libraries/haskell/optparse-applicative/0.10.0.nix {}; 1885 optparseApplicative_0_11_0_1 = callPackage ../development/libraries/haskell/optparse-applicative/0.11.0.1.nix {}; 1886 optparseApplicative = self.optparseApplicative_0_11_0_1; ··· 1988 1989 pipesSafe = callPackage ../development/libraries/haskell/pipes-safe {}; 1990 1991 + pipesShell = callPackage ../development/libraries/haskell/pipes-shell {}; 1992 + 1993 pipesText = callPackage ../development/libraries/haskell/pipes-text {}; 1994 1995 pipesZlib = callPackage ../development/libraries/haskell/pipes-zlib {}; ··· 2048 2049 punycode = callPackage ../development/libraries/haskell/punycode {}; 2050 2051 + pureCdb = callPackage ../development/libraries/haskell/pure-cdb {}; 2052 2053 primitive_0_5_0_1 = callPackage ../development/libraries/haskell/primitive/0.5.0.1.nix {}; 2054 primitive_0_5_2_1 = callPackage ../development/libraries/haskell/primitive/0.5.2.1.nix {}; ··· 2129 2130 Rasterific = callPackage ../development/libraries/haskell/Rasterific {}; 2131 2132 + rawStringsQq = callPackage ../development/libraries/haskell/rawStringsQq {}; 2133 + 2134 reserve = callPackage ../development/libraries/haskell/reserve {}; 2135 2136 rvar = callPackage ../development/libraries/haskell/rvar {}; ··· 2264 scottyHastache = callPackage ../development/libraries/haskell/scotty-hastache {}; 2265 2266 scrypt = callPackage ../development/libraries/haskell/scrypt {}; 2267 + 2268 + serialport = callPackage ../development/libraries/haskell/serialport {}; 2269 2270 securemem = callPackage ../development/libraries/haskell/securemem {}; 2271 ··· 3110 3111 arbtt = callPackage ../applications/misc/arbtt {}; 3112 3113 + idris_plain = callPackage ../development/compilers/idris {}; 3114 3115 idris = callPackage ../development/compilers/idris/wrapper.nix {}; 3116 ··· 3144 # M-x or reload). Use ‘yiCustom’ instead. 3145 yi = callPackage ../applications/editors/yi/yi.nix { }; 3146 3147 yiCustom = callPackage ../applications/editors/yi/yi-custom.nix { 3148 extraPackages = pkgs: []; 3149 }; 3150 3151 + yiFuzzyOpen = callPackage ../development/libraries/haskell/yi-fuzzy-open {}; 3152 + 3153 + yiMonokai = callPackage ../development/libraries/haskell/yi-monokai {}; 3154 + 3155 yiLanguage = callPackage ../development/libraries/haskell/yi-language {}; 3156 3157 yiRope = callPackage ../development/libraries/haskell/yi-rope {}; 3158 + 3159 + yiSnippet = callPackage ../development/libraries/haskell/yi-snippet {}; 3160 3161 # Tools. 3162 ··· 3185 LANG = "en_US.UTF-8"; 3186 LOCALE_ARCHIVE = "${nativePkgs.glibcLocales}/lib/locale/locale-archive"; 3187 }); 3188 + in callPackage cabalExpr ({ 3189 cabal = self.cabal.override { 3190 extension = eself: esuper: { 3191 buildDepends = [ self.cabalInstall ] ++ esuper.buildDepends; 3192 } // cabalDrvArgs; 3193 }; 3194 + } // args); 3195 3196 buildLocalCabal = src: name: self.buildLocalCabalWithArgs { inherit src name; }; 3197
+3 -3
pkgs/top-level/perl-packages.nix
··· 3222 }; 3223 3224 Encode = buildPerlPackage { 3225 - name = "Encode-2.55"; 3226 src = fetchurl { 3227 - url = mirror://cpan/authors/id/D/DA/DANKOGAI/Encode-2.55.tar.gz; 3228 - sha256 = "0bpnfan0034k644gz6yg9xfddmsqxr2p7vbavijwbxc5k2c2sarz"; 3229 }; 3230 }; 3231
··· 3222 }; 3223 3224 Encode = buildPerlPackage { 3225 + name = "Encode-2.63"; 3226 src = fetchurl { 3227 + url = mirror://cpan/authors/id/D/DA/DANKOGAI/Encode-2.63.tar.gz; 3228 + sha256 = "1wrqm6c194l5yjaifc6nxx2b768sph2pv4n86fgh4blls0pvs6z4"; 3229 }; 3230 }; 3231
+202 -18
pkgs/top-level/python-packages.nix
··· 985 986 boto = buildPythonPackage rec { 987 name = "boto-${version}"; 988 - version = "2.32.0"; 989 990 src = pkgs.fetchurl { 991 url = "https://github.com/boto/boto/archive/${version}.tar.gz"; 992 - sha256 = "0bl5y7m0m84rz4q7hx783kxpj1n9wcm7dhv54bnx8cnanyd13cxn"; 993 }; 994 995 # The tests seem to require AWS credentials. ··· 1010 }; 1011 }; 1012 1013 - 1014 botocore = buildPythonPackage rec { 1015 - version = "0.33.0"; 1016 name = "botocore-${version}"; 1017 1018 src = pkgs.fetchurl { 1019 url = "https://pypi.python.org/packages/source/b/botocore/${name}.tar.gz"; 1020 - md5 = "6743c73a2e148abaa9c487a6e2ee53a3"; 1021 }; 1022 1023 propagatedBuildInputs = ··· 1056 }; 1057 }; 1058 1059 1060 # bugz = buildPythonPackage (rec { 1061 # name = "bugz-0.9.3"; ··· 1572 propagatedBuildInputs = with self; [ self.coverage ]; 1573 }; 1574 1575 cython = buildPythonPackage rec { 1576 name = "Cython-0.20.1"; 1577 ··· 2135 2136 2137 evdev = buildPythonPackage rec { 2138 - version = "0.4.5"; 2139 name = "evdev-${version}"; 2140 disabled = isPy34; # see http://bugs.python.org/issue21121 2141 2142 src = pkgs.fetchurl { 2143 url = "https://pypi.python.org/packages/source/e/evdev/${name}.tar.gz"; 2144 - sha256 = "0w8ib3ab4mpfc1rvd335l8xkd41qbh3iyb0vfiiapgcfvqk74aq7"; 2145 }; 2146 2147 buildInputs = with self; [ pkgs.linuxHeaders ]; ··· 2600 }; 2601 }; 2602 2603 2604 pudb = buildPythonPackage rec { 2605 name = "pudb-2013.3.6"; ··· 4514 4515 4516 jmespath = buildPythonPackage rec { 4517 - name = "jmespath-0.2.1"; 4518 4519 src = pkgs.fetchurl { 4520 - url = "https://pypi.python.org/packages/source/j/jmespath/jmespath-0.2.1.tar.gz"; 4521 - md5 = "7800775aa12c6303f9ad597b6a8fa03c"; 4522 }; 4523 4524 propagatedBuildInputs = with self; [ ply ]; ··· 6489 }; 6490 }); 6491 6492 6493 pyblock = stdenv.mkDerivation rec { 6494 name = "pyblock-${version}"; ··· 7580 }; 7581 }; 7582 7583 7584 quantities = buildPythonPackage rec { 7585 name = "quantities-0.10.1"; ··· 8559 }; 8560 }; 8561 8562 sorl_thumbnail = buildPythonPackage rec { 8563 name = "sorl-thumbnail-11.12"; 8564 ··· 8609 }; 8610 8611 buildInputs = [ pkgs.bash ]; 8612 8613 preConfigure = '' 8614 substituteInPlace test_subprocess32.py \ ··· 9463 ] ++ optional isPy26 argparse; 9464 9465 patchPhase = '' 9466 - substituteInPlace "virtualenvwrapper.sh" --replace "which" "${pkgs.which}/bin/which" 9467 - substituteInPlace "virtualenvwrapper_lazy.sh" --replace "which" "${pkgs.which}/bin/which" 9468 ''; 9469 9470 postInstall = '' ··· 9478 mv "$wrapper" "$wrapped" 9479 9480 cat > "$wrapper" <<- EOF 9481 - export PATH=$PATH:\$PATH 9482 - export PYTHONPATH=$PYTHONPATH:$(toPythonPath $out):\$PYTHONPATH 9483 source "$wrapped" 9484 EOF 9485 ··· 11370 with self; 11371 11372 { 11373 11374 pypi2nix = self.buildPythonPackage rec { 11375 rev = "04a68d8577acbceb88bdf51b1231a9dbdead7003"; ··· 11483 }; 11484 11485 weboob = buildPythonPackage rec { 11486 - name = "weboob-0.j"; 11487 11488 src = pkgs.fetchurl { 11489 - url = "https://symlink.me/attachments/download/271/${name}.tar.gz"; 11490 - md5 = "9e11b1f376ccb87d35995ec87bba5b38"; 11491 }; 11492 11493 setupPyBuildFlags = ["--qt" "--xdg"]; 11494 11495 - propagatedBuildInputs = with self; [ pillow prettytable pyyaml dateutil gdata requests2 mechanize feedparser lxml pkgs.gnupg pyqt4 pkgs.libyaml simplejson cssselect ]; 11496 11497 meta = { 11498 homepage = http://weboob.org;
··· 985 986 boto = buildPythonPackage rec { 987 name = "boto-${version}"; 988 + version = "2.34.0"; 989 990 src = pkgs.fetchurl { 991 url = "https://github.com/boto/boto/archive/${version}.tar.gz"; 992 + sha256 = "08zavyn02qng9y0251a9mrlkb3aw33m7gx5kc97hwngl3xk3s777"; 993 }; 994 995 # The tests seem to require AWS credentials. ··· 1010 }; 1011 }; 1012 1013 botocore = buildPythonPackage rec { 1014 + version = "0.67.0"; 1015 name = "botocore-${version}"; 1016 1017 src = pkgs.fetchurl { 1018 url = "https://pypi.python.org/packages/source/b/botocore/${name}.tar.gz"; 1019 + md5 = "193fe828525af4ae58e04bd172dc355f"; 1020 }; 1021 1022 propagatedBuildInputs = ··· 1055 }; 1056 }; 1057 1058 + box2d = buildPythonPackage rec { 1059 + name = "box2d-${version}"; 1060 + version = "2.3b0"; 1061 + disabled = (!isPy27); 1062 + 1063 + src = pkgs.fetchurl { 1064 + url = "https://pypi.python.org/packages/source/B/Box2D/Box2D-2.3b0.zip"; 1065 + md5="25fc4f69cd580bdca0022ac3ace53865"; 1066 + }; 1067 + 1068 + patches = [ ../development/python-modules/box2d/disable-test.patch ]; 1069 + 1070 + propagatedBuildInputs = [ pkgs.swig pkgs.box2d ]; 1071 + 1072 + meta = with stdenv.lib; { 1073 + homepage = https://code.google.com/p/pybox2d/; 1074 + description = '' 1075 + A 2D game physics library for Python under 1076 + the very liberal zlib license 1077 + ''; 1078 + license = licenses.zlib; 1079 + platforms = platforms.all; 1080 + maintainers = [ maintainers.sepi ]; 1081 + }; 1082 + }; 1083 1084 # bugz = buildPythonPackage (rec { 1085 # name = "bugz-0.9.3"; ··· 1596 propagatedBuildInputs = with self; [ self.coverage ]; 1597 }; 1598 1599 + crcmod = buildPythonPackage rec { 1600 + name = "crcmod-1.7"; 1601 + src = pkgs.fetchurl { 1602 + url = https://pypi.python.org/packages/source/c/crcmod/crcmod-1.7.tar.gz; 1603 + sha256 = "07k0hgr42vw2j92cln3klxka81f33knd7459cn3d8aszvfh52w6w"; 1604 + }; 1605 + meta = { 1606 + description = "Python module for generating objects that compute the Cyclic Redundancy Check (CRC)"; 1607 + homepage = http://crcmod.sourceforge.net/; 1608 + license = stdenv.lib.licenses.mit; 1609 + }; 1610 + }; 1611 + 1612 cython = buildPythonPackage rec { 1613 name = "Cython-0.20.1"; 1614 ··· 2172 2173 2174 evdev = buildPythonPackage rec { 2175 + version = "0.4.6"; 2176 name = "evdev-${version}"; 2177 disabled = isPy34; # see http://bugs.python.org/issue21121 2178 2179 src = pkgs.fetchurl { 2180 url = "https://pypi.python.org/packages/source/e/evdev/${name}.tar.gz"; 2181 + sha256 = "08bzyr3zc8ijnv25bysmmvzircblh42ja15f6ijdzmqqw8vfaij8"; 2182 }; 2183 2184 buildInputs = with self; [ pkgs.linuxHeaders ]; ··· 2637 }; 2638 }; 2639 2640 + poppler-qt4 = buildPythonPackage rec { 2641 + name = "poppler-qt4-${version}"; 2642 + version = "0.18.1"; 2643 + disabled = isPy3k || isPyPy; 2644 + 2645 + src = pkgs.fetchurl { 2646 + url = "https://pypi.python.org/packages/source/p/python-poppler-qt4/" + 2647 + "python-poppler-qt4-${version}.tar.gz"; 2648 + md5 = "9c4c5a59b878aed78e96a6ae58c6c185"; 2649 + }; 2650 + 2651 + propagatedBuildInputs = [ pkgs.pyqt4 pkgs.sip pkgs.pkgconfig pkgs.popplerQt4 ]; 2652 + 2653 + preBuild = "${python}/bin/${python.executable} setup.py build_ext" + 2654 + " --include-dirs=${pkgs.popplerQt4}/include/poppler/"; 2655 + 2656 + meta = with stdenv.lib; { 2657 + description = "A Python binding to Poppler-Qt4"; 2658 + longDescription = '' 2659 + A Python binding to Poppler-Qt4 that aims for completeness 2660 + and for being actively maintained. 2661 + ''; 2662 + license = licenses.lgpl21Plus; 2663 + maintainers = [ maintainers.sepi ]; 2664 + platforms = platforms.all; 2665 + }; 2666 + }; 2667 2668 pudb = buildPythonPackage rec { 2669 name = "pudb-2013.3.6"; ··· 4578 4579 4580 jmespath = buildPythonPackage rec { 4581 + name = "jmespath-0.4.1"; 4582 4583 src = pkgs.fetchurl { 4584 + url = "https://pypi.python.org/packages/source/j/jmespath/${name}.tar.gz"; 4585 + md5 = "a11ae39472672a650dfb55feab7d65eb"; 4586 }; 4587 4588 propagatedBuildInputs = with self; [ ply ]; ··· 6553 }; 6554 }); 6555 6556 + pybfd = buildPythonPackage rec { 6557 + name = "pybfd-0.1.1"; 6558 + 6559 + disabled = isPyPy || isPy3k; 6560 + 6561 + src = pkgs.fetchurl { 6562 + url = "https://pypi.python.org/packages/source/p/pybfd/${name}.tar.gz"; 6563 + md5 = "79dd6e12c90ad0515d0ad7fb1bd2f571"; 6564 + }; 6565 + 6566 + preConfigure = '' 6567 + substituteInPlace setup.py \ 6568 + --replace '"/usr/include"' '"${pkgs.gdb}/include"' \ 6569 + --replace '"/usr/lib"' '"${pkgs.binutils}/lib"' 6570 + ''; 6571 + 6572 + # --old-and-unmanageable not supported by this setup.py 6573 + installPhase = '' 6574 + mkdir -p "$out/lib/${python.libPrefix}/site-packages" 6575 + 6576 + export PYTHONPATH="$out/lib/${python.libPrefix}/site-packages:$PYTHONPATH" 6577 + 6578 + ${python}/bin/${python.executable} setup.py install \ 6579 + --install-lib=$out/lib/${python.libPrefix}/site-packages \ 6580 + --prefix="$out" 6581 + ''; 6582 + 6583 + meta = with stdenv.lib; { 6584 + homepage = https://github.com/Groundworkstech/pybfd; 6585 + description = "A Python interface to the GNU Binary File Descriptor (BFD) library"; 6586 + license = licenses.gpl2; 6587 + platforms = platforms.linux; 6588 + }; 6589 + }; 6590 6591 pyblock = stdenv.mkDerivation rec { 6592 name = "pyblock-${version}"; ··· 7678 }; 7679 }; 7680 7681 + retry_decorator = buildPythonPackage rec { 7682 + name = "retry_decorator-1.0.0"; 7683 + src = pkgs.fetchurl { 7684 + url = https://pypi.python.org/packages/source/r/retry_decorator/retry_decorator-1.0.0.tar.gz; 7685 + sha256 = "086zahyb6yn7ggpc58909c5r5h3jz321i1694l1c28bbpaxnlk88"; 7686 + }; 7687 + meta = { 7688 + homepage = https://github.com/pnpnpn/retry-decorator; 7689 + license = stdenv.lib.licenses.mit; 7690 + }; 7691 + }; 7692 7693 quantities = buildPythonPackage rec { 7694 name = "quantities-0.10.1"; ··· 8668 }; 8669 }; 8670 8671 + socksipy-branch = buildPythonPackage rec { 8672 + name = "SocksiPy-branch-1.01"; 8673 + src = pkgs.fetchurl { 8674 + url = https://pypi.python.org/packages/source/S/SocksiPy-branch/SocksiPy-branch-1.01.tar.gz; 8675 + sha256 = "01l41v4g7fy9fzvinmjxy6zcbhgqaif8dhdqm4w90fwcw9h51a8p"; 8676 + }; 8677 + meta = { 8678 + homepage = http://code.google.com/p/socksipy-branch/; 8679 + description = "This Python module allows you to create TCP connections through a SOCKS proxy without any special effort"; 8680 + license = stdenv.lib.licenses.bsd3; 8681 + }; 8682 + }; 8683 + 8684 sorl_thumbnail = buildPythonPackage rec { 8685 name = "sorl-thumbnail-11.12"; 8686 ··· 8731 }; 8732 8733 buildInputs = [ pkgs.bash ]; 8734 + 8735 + doCheck = !isPyPy; 8736 8737 preConfigure = '' 8738 substituteInPlace test_subprocess32.py \ ··· 9587 ] ++ optional isPy26 argparse; 9588 9589 patchPhase = '' 9590 + for file in "virtualenvwrapper.sh" "virtualenvwrapper_lazy.sh"; do 9591 + substituteInPlace "$file" --replace "which" "${pkgs.which}/bin/which" 9592 + 9593 + # We can't set PYTHONPATH in a normal way (like exporting in a wrapper 9594 + # script) because the user has to evaluate the script and we don't want 9595 + # modify the global PYTHONPATH which would affect the user's 9596 + # environment. 9597 + # Furthermore it isn't possible to just use VIRTUALENVWRAPPER_PYTHON 9598 + # for this workaround, because this variable is well quoted inside the 9599 + # shell script. 9600 + # (the trailing " -" is required to only replace things like these one: 9601 + # "$VIRTUALENVWRAPPER_PYTHON" -c "import os,[...] and not in 9602 + # if-statements or anything like that. 9603 + # ...and yes, this "patch" is hacky :) 9604 + substituteInPlace "$file" --replace '"$VIRTUALENVWRAPPER_PYTHON" -' 'env PYTHONPATH="$VIRTUALENVWRAPPER_PYTHONPATH" "$VIRTUALENVWRAPPER_PYTHON" -' 9605 + done 9606 ''; 9607 9608 postInstall = '' ··· 9616 mv "$wrapper" "$wrapped" 9617 9618 cat > "$wrapper" <<- EOF 9619 + export PATH="$PATH:\$PATH" 9620 + export VIRTUALENVWRAPPER_PYTHONPATH="$PYTHONPATH:$(toPythonPath $out)" 9621 source "$wrapped" 9622 EOF 9623 ··· 11508 with self; 11509 11510 { 11511 + boto-230 = buildPythonPackage rec { 11512 + name = "boto-2.30.0"; 11513 + src = pkgs.fetchurl { 11514 + url = https://pypi.python.org/packages/source/b/boto/boto-2.30.0.tar.gz; 11515 + sha256 = "12gl8azmx1vv8dbv9jhnsbhjpc2dd1ng0jlbcg734k6ggwq1h6hh"; 11516 + }; 11517 + doCheck = false; 11518 + meta = { 11519 + homepage = https://github.com/boto/boto; 11520 + license = licenses.mit; 11521 + description = "Python interface to Amazon Web Services"; 11522 + }; 11523 + }; 11524 + 11525 + gcs-oauth2-boto-plugin = buildPythonPackage rec { 11526 + name = "gcs-oauth2-boto-plugin-1.8"; 11527 + src = pkgs.fetchurl { 11528 + url = https://pypi.python.org/packages/source/g/gcs-oauth2-boto-plugin/gcs-oauth2-boto-plugin-1.8.tar.gz; 11529 + sha256 = "0jy62y5bmaf1mb735lqwry1s5nx2qqrxvl5sxip9yg4miih3qkyb"; 11530 + }; 11531 + propagatedBuildInputs = with self; [ boto-230 httplib2 google_api_python_client retry_decorator pkgs.pyopenssl socksipy-branch ]; 11532 + meta = { 11533 + homepage = https://developers.google.com/storage/docs/gspythonlibrary; 11534 + description = "Provides OAuth 2.0 credentials that can be used with Google Cloud Storage"; 11535 + license = stdenv.lib.licenses.asl20; 11536 + }; 11537 + }; 11538 + 11539 + gsutil = buildPythonPackage rec { 11540 + name = "gsutil-4.6"; 11541 + meta = { 11542 + homepage = https://developers.google.com/storage/docs/gsutil; 11543 + description = "Google Cloud Storage Tool"; 11544 + maintainers = [ "Russell O'Connor <oconnorr@google.com>" ]; 11545 + license = stdenv.lib.licenses.asl20; 11546 + }; 11547 + doCheck = false; 11548 + 11549 + src = pkgs.fetchurl { 11550 + url = https://pypi.python.org/packages/source/g/gsutil/gsutil-4.6.tar.gz; 11551 + sha256 = "1i0clm60162rbk45ljr8nsw4ndkzjnwb7r440shcqjrvw8jq49mn"; 11552 + }; 11553 + 11554 + propagatedBuildInputs = with self; [ boto-230 crcmod httplib2 gcs-oauth2-boto-plugin google_api_python_client gflags 11555 + retry_decorator pkgs.pyopenssl socksipy-branch ]; 11556 + }; 11557 11558 pypi2nix = self.buildPythonPackage rec { 11559 rev = "04a68d8577acbceb88bdf51b1231a9dbdead7003"; ··· 11667 }; 11668 11669 weboob = buildPythonPackage rec { 11670 + name = "weboob-1.0"; 11671 11672 src = pkgs.fetchurl { 11673 + url = "https://symlink.me/attachments/download/289/${name}.tar.gz"; 11674 + md5 = "38f832f1b8654441adafe8558faa7109"; 11675 }; 11676 11677 setupPyBuildFlags = ["--qt" "--xdg"]; 11678 11679 + propagatedBuildInputs = with self; [ pillow prettytable pyyaml dateutil gdata requests2 mechanize feedparser lxml pkgs.gnupg pyqt4 pkgs.libyaml simplejson cssselect futures ]; 11680 11681 meta = { 11682 homepage = http://weboob.org;