diff --git a/doc/contributing.xml b/doc/contributing.xml
new file mode 100644
index 0000000000000000000000000000000000000000..bcea404baee0a7206344f6b9429156fedfdba4ad
--- /dev/null
+++ b/doc/contributing.xml
@@ -0,0 +1,21 @@
+
+
+Contributing
+
+If you make modifications to the manual, it's important to build the manual before contributing:
+
+
+
+ $ git clone git://github.com/NixOS/nixpkgs.git
+
+ $ cd nixpkgs/pkgs/top-level
+
+ $ nix-build -A tarball release.nix
+
+ Inside the built derivation you shall see manual/index.html file.
+
+
+
+
diff --git a/doc/manual.xml b/doc/manual.xml
index d2c07859b2814682589da8699d242dc8bde13b1f..145e3e12dd9262098917aa86924c94c153b509eb 100644
--- a/doc/manual.xml
+++ b/doc/manual.xml
@@ -32,6 +32,7 @@
+
diff --git a/doc/meta.xml b/doc/meta.xml
index 6c8e458509a7dba96d4f56301ee8a972bb8248a4..272e812a03bb20358774683f7df66de5f394b6f7 100644
--- a/doc/meta.xml
+++ b/doc/meta.xml
@@ -17,7 +17,9 @@ meta = {
It is fully customizable.
'';
homepage = http://www.gnu.org/software/hello/manual/;
- license = "GPLv3+";
+ license = stdenv.lib.licenses.gpl3Plus;
+ maintainers = [ stdenv.lib.maintainers.eelco ];
+ platforms = stdenv.lib.platforms.all;
};
@@ -31,16 +33,42 @@ the package. The value of a meta-attribute must a string.
command-line using nix-env:
-$ nix-env -qa hello --meta --xml
-<?xml version='1.0' encoding='utf-8'?>
-<items>
- <item attrPath="hello" name="hello-2.3" system="i686-linux">
- <meta name="description" value="A program that produces a familiar, friendly greeting" />
- <meta name="homepage" value="http://www.gnu.org/software/hello/manual/" />
- <meta name="license" value="GPLv3+" />
- <meta name="longDescription" value="GNU Hello is a program that prints "Hello, world!" when you run it.
It is fully customizable.
" />
- </item>
-</items>
+$ nix-env -qa hello --meta --json
+{
+ "hello": {
+ "meta": {
+ "description": "A program that produces a familiar, friendly greeting",
+ "homepage": "http://www.gnu.org/software/hello/manual/",
+ "license": {
+ "fullName": "GNU General Public License version 3 or later",
+ "shortName": "GPLv3+",
+ "url": "http://www.fsf.org/licensing/licenses/gpl.html"
+ },
+ "longDescription": "GNU Hello is a program that prints \"Hello, world!\" when you run it.\nIt is fully customizable.\n",
+ "maintainers": [
+ "Ludovic Court\u00e8s <ludo@gnu.org>"
+ ],
+ "platforms": [
+ "i686-linux",
+ "x86_64-linux",
+ "armv5tel-linux",
+ "armv7l-linux",
+ "mips64el-linux",
+ "x86_64-darwin",
+ "i686-cygwin",
+ "i686-freebsd",
+ "x86_64-freebsd",
+ "i686-openbsd",
+ "x86_64-openbsd"
+ ],
+ "position": "/home/user/dev/nixpkgs/pkgs/applications/misc/hello/ex-2/default.nix:14"
+ },
+ "name": "hello-2.9",
+ "system": "x86_64-linux"
+ }
+}
+
+
nix-env knows about the
@@ -92,20 +120,22 @@ interpretation:
license
- The license for the package. See below for the
- allowed values.
+ The license for the package. One from attribute set defined in
+
+ nixpkgs/lib/licenses.nix.
+ Example:
+ stdenv.lib.licenses.gpl3.
maintainers
A list of names and e-mail addresses of the
- maintainers of this Nix expression, e.g. ["Alice
- <alice@example.org>" "Bob <bob@example.com>"]. If
- you are the maintainer of multiple packages, you may want to add
+ maintainers of this Nix expression. If
+ you would like to be a maintainer of a package, you may want to add
yourself to pkgs/lib/maintainers.nix
- and write something like [stdenv.lib.maintainers.alice
- stdenv.lib.maintainers.bob].
+ xlink:href="https://github.com/NixOS/nixpkgs/blob/master/pkgs/lib/maintainers.nix">nixpkgs/lib/maintainers.nix
+ and write something like [ stdenv.lib.maintainers.alice
+ stdenv.lib.maintainers.bob ].
@@ -121,29 +151,25 @@ interpretation:
platforms
The list of Nix platform types on which the
- package is supported. If this attribute is set, the package will
- refuse to build, and won’t show up in nix-env
- -qa output, on any platform not listed
- here. An example is:
+ package is supported. Hydra builds packages according to the
+ platform specified. If no platform is specified, the package does
+ not have prebuilt binaries. An example is:
-meta.platforms = [ "x86_64-linux" "i686-linux" "x86_64-darwin" ];
-
-
- The set lib.platforms defines various common
- lists of platforms types, so it’s more typical to write:
-
-
-meta.platforms = stdenv.lib.platforms.linux ++ stdenv.lib.platforms.darwin;
+meta.platforms = stdenv.lib.platforms.linux;
+ Attribute Set stdenv.lib.platforms in
+
+ nixpkgs/lib/platforms.nix defines various common
+ lists of platforms types.
hydraPlatforms
The list of Nix platform types for which the Hydra
- instance at hydra.nixos.org should build the
+ instance at hydra.nixos.org will build the
package. (Hydra is the Nix-based continuous build system.) It
defaults to the value of meta.platforms. Thus,
the only reason to set meta.hydraPlatforms is
@@ -176,80 +202,17 @@ meta.hydraPlatforms = [];
Licenses
-This is just a first attempt at standardising the license
-attribute.
-
-The meta.license attribute must be one of the
+The meta.license attribute could be one of the
following:
-
- GPL
- GNU General Public License; version not
- specified.
-
-
-
- GPLv2
- GNU General Public License, version
- 2.
-
-
-
- GPLv2+
- GNU General Public License, version
- 2 or higher.
-
-
-
- GPLv3
- GNU General Public License, version
- 3.
-
-
-
- GPLv3+
- GNU General Public License, version
- 3 or higher.
-
-
-
- bsd
- Catch-all for licenses that are essentially
- similar to the
- original BSD license with the advertising clause removed,
- i.e. permissive non-copyleft free software licenses. This
- includes the X11
- (“MIT”) License.
-
-
-
- perl5
- The Perl 5 license (Artistic License, version 1
- and GPL, version 1 or later).
-
-
free
Catch-all for free software licenses not listed
above.
-
- free-copyleft
- Catch-all for free, copyleft software licenses not
- listed above.
-
-
-
- free-non-copyleft
- Catch-all for free, non-copyleft software licenses
- not listed above.
-
-
unfree-redistributable
Unfree package that can be redistributed in binary
diff --git a/doc/quick-start.xml b/doc/quick-start.xml
index 49c674052b95d42d6d9695ae9cbde0eb1e3aadce..0f11a906d77124c4412b396bc971fce1a5eb390c 100644
--- a/doc/quick-start.xml
+++ b/doc/quick-start.xml
@@ -155,9 +155,10 @@ $ git add pkgs/development/libraries/libfoo/default.nix
- You can use nix-prefetch-url
+ You can use nix-prefetch-url (or similar nix-prefetch-git, etc)
url to get the SHA-256 hash of
- source distributions.
+ source distributions. There are similar commands as nix-prefetch-git and
+ nix-prefetch-hg available in nix-prefetch-scripts package.
@@ -221,17 +222,10 @@ $ nix-env -f . -iA libfoo
- Optionally commit the new package, or send a patch to
+ Optionally commit the new package and open a pull request, or send a patch to
nix-dev@cs.uu.nl.
-
- If you want the TU Delft build farm to build binaries of the
- package and make them available in the nixpkgs
- channel, add it to pkgs/top-level/release.nix.
-
diff --git a/lib/maintainers.nix b/lib/maintainers.nix
index 6110b74933b3d70a5d1e736fda6d07eabaab8788..a4386b067b520c64316c02522362d9a75cb6fce2 100644
--- a/lib/maintainers.nix
+++ b/lib/maintainers.nix
@@ -89,8 +89,10 @@
sander = "Sander van der Burg ";
shlevy = "Shea Levy ";
simons = "Peter Simons ";
+ skeidel = "Sven Keidel ";
smironov = "Sergey Mironov ";
sprock = "Roger Mason ";
+ tailhook = "Paul Colomiets ";
thammers = "Tobias Hammerschmidt ";
the-kenny = "Moritz Ulrich ";
thoughtpolice = "Austin Seipp ";
diff --git a/maintainers/scripts/sort-attrs.str b/maintainers/scripts/sort-attrs.str
deleted file mode 100644
index b67b6ee2a57b5e03443c8954af26959085fe9a38..0000000000000000000000000000000000000000
--- a/maintainers/scripts/sort-attrs.str
+++ /dev/null
@@ -1,146 +0,0 @@
-/* Tool to sort attribute sets. Primarily useful for keeping
- all-packages.nix tidy.
-
- To compile:
-
- $ strc -i ../../maintainers/scripts/sort-attrs.str -la stratego-lib
-
- Typical invocation:
-
- $ sglr -m -p ~/Dev/nix/src/libexpr/nix.tbl -i all-packages.nix \
- | implode-asfix --lex \
- | ../../maintainers/scripts/sort-attrs \
- | asfix-yield
-*/
-
-module sort-attrs
-
-imports
- libstratego-lib
- libstratego-sglr
-
-
-strategies
-
- no-wsp = !appl(prod([], cf(opt(layout())), no-attrs()), [])
-
-
-rules
-
- list-sep(s): [] -> []
- list-sep(s): [x | xs] -> [[x | before] | [split | after]]
- where
- xs => (before, split, after)
- list-sep(s): [x | xs] -> [[x | xs]]
- where
- xs
-
- list-sep-end(s): xs -> [ (before, [split]) | after]
- where
- xs => (before, split, after)
- list-sep-end(s): xs -> [xs]
- where
- xs
-
-
- sort-attrs:
- appl(p@prod(_, _, attrs([term(cons("Attrs"))])),
- [ lit("{")
- , ws1
- , appl(p2@list(cf(iter-star(sort("Bind")))), attrs)
- , ws2
- , lit("}")
- ]
- ) ->
- appl(p, [lit("{"), , appl(p2, attrs'), ws2, lit("}")])
- where
- "found it";
- [ws1 | attrs] => withWSP;
- withWSP => groups;
- groups;
-
+wheel and networkmanager groups,
+which allows her to use sudo to execute commands as
+root and to configure the network, respectively.
+Also note the SSH public key that allows remote logins with the
+corresponding private key. Users created in this way do not have a
+password by default, so they cannot log in via mechanisms that require
+a password. However, you can use the passwd program
+to set a password, which is retained across invocations of
+nixos-rebuild.
A user ID (uid) is assigned automatically. You can also specify
a uid manually by adding
@@ -1277,6 +1278,28 @@ services.xserver.synaptics.twoFingerScroll = true;
Networking
+NetworkManager
+
+To facilitate network configuration, some desktop environments
+use NetworkManager. You can enable NetworkManager by setting:
+
+
+services.networkmanager.enable = true;
+
+
+Some desktop managers (e.g., GNOME) enable NetworkManager
+automatically for you.
+
+All users that should have permission to change network settings
+must belong to the networkmanager
group.
+
+services.networkmanager
and
+services.wireless
can not be enabled at the same time:
+you can still connect to the wireless networks using
+NetworkManager.
+
+
+
Secure shell access
Secure shell (SSH) access to your machine can be enabled by
@@ -1399,6 +1422,11 @@ always allowed.)
Wireless networks
+For a desktop installation using NetworkManager (e.g., GNOME),
+you just have to make sure the user is in the
+networkmanager
group and you can skip the rest of this
+section on wireless networks.
+
NixOS will start wpa_supplicant for you if you enable this setting:
diff --git a/nixos/doc/manual/installation.xml b/nixos/doc/manual/installation.xml
index 3da5e30097714dd917f7c3cea3d65c80122089d6..4cbfcc229fa43b76cc4d5082724383615df396f0 100644
--- a/nixos/doc/manual/installation.xml
+++ b/nixos/doc/manual/installation.xml
@@ -320,7 +320,10 @@ changes:
You should boot the live CD in UEFI mode (consult your
- specific hardware's documentation for instructions).
+ specific hardware's documentation for instructions). You may find
+ the rEFInd
+ boot manager useful.
Instead of fdisk, you should use
@@ -335,6 +338,11 @@ changes:
should do this automatically for new configurations when booted in
UEFI mode.
+
+ After having mounted your installation partition to
+ /mnt
, you must mount the boot
partition
+ to /mnt/boot
.
+
You may want to look at the options starting with
and
diff --git a/nixos/lib/testing.nix b/nixos/lib/testing.nix
index 063b9bf6c7af3b89d253acf9358bd93c19a5f80a..0e23fc5d187d32b6f64c7c00ee2e0868476cbade 100644
--- a/nixos/lib/testing.nix
+++ b/nixos/lib/testing.nix
@@ -117,7 +117,7 @@ rec {
report = releaseTools.gcovReport { coverageRuns = [ test ]; };
- in (if makeCoverageReport then report else test) // { inherit driver test; };
+ in (if makeCoverageReport then report else test) // { inherit nodes driver test; };
runInMachine =
diff --git a/nixos/modules/installer/cd-dvd/iso-image.nix b/nixos/modules/installer/cd-dvd/iso-image.nix
index 28c42d64f6fb9045f7ea7bf589c2d5eca2751a1f..d43fa22038180e4cc820f6907cfc31e541fe9df7 100644
--- a/nixos/modules/installer/cd-dvd/iso-image.nix
+++ b/nixos/modules/installer/cd-dvd/iso-image.nix
@@ -179,7 +179,6 @@ in
fileSystems."/" =
{ fsType = "tmpfs";
- device = "none";
options = "mode=0755";
};
@@ -192,6 +191,8 @@ in
noCheck = true;
};
+ # In stage 1, mount a tmpfs on top of /nix/store (the squashfs
+ # image) to make this a live CD.
fileSystems."/nix/.ro-store" =
{ fsType = "squashfs";
device = "/iso/nix-store.squashfs";
@@ -201,23 +202,20 @@ in
fileSystems."/nix/.rw-store" =
{ fsType = "tmpfs";
- device = "none";
options = "mode=0755";
neededForBoot = true;
};
+ fileSystems."/nix/store" =
+ { fsType = "unionfs-fuse";
+ device = "unionfs";
+ options = "allow_other,cow,nonempty,chroot=/mnt-root,max_files=32768,hide_meta_files,dirs=/nix/.rw-store=rw:/nix/.ro-store=ro";
+ };
+
boot.initrd.availableKernelModules = [ "squashfs" "iso9660" ];
boot.initrd.kernelModules = [ "loop" ];
- # In stage 1, mount a tmpfs on top of /nix/store (the squashfs
- # image) to make this a live CD.
- boot.initrd.postMountCommands =
- ''
- mkdir -p $targetRoot/nix/store
- unionfs -o allow_other,cow,nonempty,chroot=$targetRoot,max_files=32768 /nix/.rw-store=RW:/nix/.ro-store=RO $targetRoot/nix/store
- '';
-
# Closures to be copied to the Nix store on the CD, namely the init
# script and the top-level system configuration directory.
isoImage.storeContents =
@@ -313,8 +311,8 @@ in
'';
# Add vfat support to the initrd to enable people to copy the
- # contents of the CD to a bootable USB stick. Need unionfs-fuse for union mounts
- boot.initrd.supportedFilesystems = [ "vfat" "unionfs-fuse" ];
+ # contents of the CD to a bootable USB stick.
+ boot.initrd.supportedFilesystems = [ "vfat" ];
};
diff --git a/nixos/modules/misc/ids.nix b/nixos/modules/misc/ids.nix
index a71f5152bd15ef36796d12efc0943922dc35e18f..4ba81dadb31593b114e767b93e6a084d675b58cc 100644
--- a/nixos/modules/misc/ids.nix
+++ b/nixos/modules/misc/ids.nix
@@ -137,6 +137,7 @@
gitolite = 127;
znc = 128;
polipo = 129;
+ mopidy = 130;
# When adding a uid, make sure it doesn't match an existing gid. And don't use uids above 399!
@@ -248,6 +249,8 @@
firebird = 127;
znc = 128;
polipo = 129;
+ mopidy = 130;
+ docker = 131;
# When adding a gid, make sure it doesn't match an existing uid. And don't use gids above 399!
diff --git a/nixos/modules/module-list.nix b/nixos/modules/module-list.nix
index 68971551d89eaf4dd1c74b9f36c826f794ca74e6..2cbda50ba29dabbdd4d1f7130e881733e98df5a7 100644
--- a/nixos/modules/module-list.nix
+++ b/nixos/modules/module-list.nix
@@ -79,6 +79,7 @@
./services/audio/alsa.nix
./services/audio/fuppes.nix
./services/audio/mpd.nix
+ ./services/audio/mopidy.nix
./services/backup/almir.nix
./services/backup/bacula.nix
./services/backup/mysql-backup.nix
@@ -296,6 +297,7 @@
./services/x11/xserver.nix
./system/activation/activation-script.nix
./system/activation/top-level.nix
+ ./system/boot/emergency-mode.nix
./system/boot/kernel.nix
./system/boot/kexec.nix
./system/boot/loader/efi.nix
@@ -311,15 +313,17 @@
./system/boot/stage-1.nix
./system/boot/stage-2.nix
./system/boot/systemd.nix
+ ./system/boot/tmp.nix
./system/etc/etc.nix
./system/upstart/upstart.nix
./tasks/cpu-freq.nix
./tasks/encrypted-devices.nix
+ ./tasks/filesystems.nix
./tasks/filesystems/btrfs.nix
+ ./tasks/filesystems/cifs.nix
./tasks/filesystems/ext.nix
./tasks/filesystems/f2fs.nix
./tasks/filesystems/nfs.nix
- ./tasks/filesystems.nix
./tasks/filesystems/reiserfs.nix
./tasks/filesystems/unionfs-fuse.nix
./tasks/filesystems/vfat.nix
@@ -334,6 +338,7 @@
./testing/service-runner.nix
./virtualisation/container-config.nix
./virtualisation/containers.nix
+ ./virtualisation/docker.nix
./virtualisation/libvirtd.nix
#./virtualisation/nova.nix
./virtualisation/virtualbox-guest.nix
diff --git a/nixos/modules/profiles/base.nix b/nixos/modules/profiles/base.nix
index 562419b3facb04b53a7ab5f7f0a4ac429a95fe11..6f9e3002f2990e075b811643619729a0983b731e 100644
--- a/nixos/modules/profiles/base.nix
+++ b/nixos/modules/profiles/base.nix
@@ -7,7 +7,6 @@
# Include some utilities that are useful for installing or repairing
# the system.
environment.systemPackages = [
- pkgs.subversion # for nixos-checkout
pkgs.w3m # needed for the manual anyway
pkgs.testdisk # useful for repairing boot problems
pkgs.mssys # for writing Microsoft boot sectors / MBRs
diff --git a/nixos/modules/security/ca.nix b/nixos/modules/security/ca.nix
index dd4b0c529e5ddde5c21ed1441789cbec3b5decab..8e653cd42847add67ba022dd874a4ba6114eb302 100644
--- a/nixos/modules/security/ca.nix
+++ b/nixos/modules/security/ca.nix
@@ -13,8 +13,9 @@ with lib;
];
environment.sessionVariables =
- { OPENSSL_X509_CERT_FILE = "/etc/ssl/certs/ca-bundle.crt";
- CURL_CA_BUNDLE = "/etc/ssl/certs/ca-bundle.crt";
+ { SSL_CERT_FILE = "/etc/ssl/certs/ca-bundle.crt";
+ # FIXME: unneeded - remove eventually.
+ OPENSSL_X509_CERT_FILE = "/etc/ssl/certs/ca-bundle.crt";
GIT_SSL_CAINFO = "/etc/ssl/certs/ca-bundle.crt";
};
diff --git a/nixos/modules/services/amqp/rabbitmq.nix b/nixos/modules/services/amqp/rabbitmq.nix
index bef15fb64b7f234b223a064365555c6638aa3d81..a930098bfeec9abb3d6f93a7f983ff6d6bb29f4b 100644
--- a/nixos/modules/services/amqp/rabbitmq.nix
+++ b/nixos/modules/services/amqp/rabbitmq.nix
@@ -4,6 +4,8 @@ with lib;
let
cfg = config.services.rabbitmq;
+ config_file = pkgs.writeText "rabbitmq.config" cfg.config;
+ config_file_wo_suffix = builtins.substring 0 ((builtins.stringLength config_file) - 7) config_file;
in {
###### interface
@@ -31,7 +33,6 @@ in {
'';
};
-
dataDir = mkOption {
type = types.path;
default = "/var/lib/rabbitmq";
@@ -40,6 +41,30 @@ in {
'';
};
+ cookie = mkOption {
+ default = "";
+ type = types.str;
+ description = ''
+ Erlang cookie is a string of arbitrary length which must
+ be the same for several nodes to be allowed to communicate.
+ Leave empty to generate automatically.
+ '';
+ };
+
+ config = mkOption {
+ default = "";
+ type = types.str;
+ description = ''
+ Verbatim configuration file contents.
+ See http://www.rabbitmq.com/configure.htm
+ '';
+ };
+
+ plugins = mkOption {
+ default = [];
+ type = types.listOf types.str;
+ description = "The names of plugins to enable";
+ };
};
};
@@ -69,7 +94,10 @@ in {
RABBITMQ_NODE_IP_ADDRESS = cfg.listenAddress;
RABBITMQ_SERVER_START_ARGS = "-rabbit error_logger tty -rabbit sasl_error_logger false";
SYS_PREFIX = "";
- };
+ RABBITMQ_ENABLED_PLUGINS_FILE = pkgs.writeText "enabled_plugins" ''
+ [ ${concatStringsSep "," cfg.plugins} ].
+ '';
+ } // optionalAttrs (cfg.config != "") { RABBITMQ_CONFIG_FILE = config_file_wo_suffix; };
serviceConfig = {
ExecStart = "${pkgs.rabbitmq_server}/sbin/rabbitmq-server";
@@ -81,6 +109,15 @@ in {
preStart = ''
mkdir -p ${cfg.dataDir} && chmod 0700 ${cfg.dataDir}
if [ "$(id -u)" = 0 ]; then chown rabbitmq:rabbitmq ${cfg.dataDir}; fi
+
+ ${optionalString (cfg.cookie != "") ''
+ echo -n ${cfg.cookie} > ${cfg.dataDir}/.erlang.cookie
+ chmod 400 ${cfg.dataDir}/.erlang.cookie
+ chown rabbitmq:rabbitmq ${cfg.dataDir}/.erlang.cookie
+ ''}
+
+ mkdir -p /var/log/rabbitmq && chmod 0700 /var/log/rabbitmq
+ chown rabbitmq:rabbitmq /var/log/rabbitmq
'';
};
diff --git a/nixos/modules/services/audio/mopidy.nix b/nixos/modules/services/audio/mopidy.nix
new file mode 100644
index 0000000000000000000000000000000000000000..df3837d47f29ad498a5dca4e0d40b449c9e1df7b
--- /dev/null
+++ b/nixos/modules/services/audio/mopidy.nix
@@ -0,0 +1,107 @@
+{ config, lib, pkgs, ... }:
+
+with pkgs;
+with lib;
+
+let
+
+ uid = config.ids.uids.mopidy;
+ gid = config.ids.gids.mopidy;
+ cfg = config.services.mopidy;
+
+ mopidyConf = writeText "mopidy.conf" cfg.configuration;
+
+ mopidyLauncher = stdenv.mkDerivation {
+ name = "mopidy-launcher";
+ phases = [ "installPhase" ];
+ buildInputs = [ makeWrapper python ];
+ installPhase = ''
+ mkdir -p $out/bin
+ ln -s ${mopidy}/bin/mopidy $out/bin/mopidy
+ wrapProgram $out/bin/mopidy \
+ --prefix PYTHONPATH : \
+ "${concatStringsSep ":" (map (p: "$(toPythonPath ${p})") cfg.extensionPackages)}"
+ '';
+ };
+
+in {
+
+ options = {
+
+ services.mopidy = {
+
+ enable = mkOption {
+ default = false;
+ type = types.bool;
+ description = ''
+ Whether to enable Mopidy, a music player daemon.
+ '';
+ };
+
+ dataDir = mkOption {
+ default = "/var/lib/mopidy";
+ type = types.str;
+ description = ''
+ The directory where Mopidy stores its state.
+ '';
+ };
+
+ extensionPackages = mkOption {
+ default = [];
+ type = types.listOf types.package;
+ example = [ mopidy-spotify ];
+ description = ''
+ Mopidy extensions that should be loaded by the service.
+ '';
+ };
+
+ configuration = mkOption {
+ type = types.lines;
+ description = ''
+ The configuration that Mopidy should use.
+ '';
+ };
+
+ extraConfigFiles = mkOption {
+ default = [];
+ type = types.listOf types.str;
+ description = ''
+ Extra config file read by Mopidy when the service starts.
+ Later files in the list overrides earlier configuration.
+ '';
+ };
+
+ };
+
+ };
+
+
+ ###### implementation
+
+ config = mkIf cfg.enable {
+
+ systemd.services.mopidy = {
+ wantedBy = [ "multi-user.target" ];
+ after = [ "network.target" "sound.target" ];
+ description = "mopidy music player daemon";
+ preStart = "mkdir -p ${cfg.dataDir} && chown -R mopidy:mopidy ${cfg.dataDir}";
+ serviceConfig = {
+ ExecStart = "${mopidyLauncher}/bin/mopidy --config ${concatStringsSep ":" ([mopidyConf] ++ cfg.extraConfigFiles)}";
+ User = "mopidy";
+ PermissionsStartOnly = true;
+ };
+ };
+
+ users.extraUsers.mopidy = {
+ inherit uid;
+ group = "mopidy";
+ extraGroups = [ "audio" ];
+ description = "Mopidy daemon user";
+ home = "${cfg.dataDir}";
+ };
+
+ users.extraGroups.mopidy.gid = gid;
+
+ };
+
+}
diff --git a/nixos/modules/services/logging/logstash.nix b/nixos/modules/services/logging/logstash.nix
index c92c81135704026aeb451fefbe13c97c7e642745..802dd454878b376f64f546c562f7b980b12d199b 100644
--- a/nixos/modules/services/logging/logstash.nix
+++ b/nixos/modules/services/logging/logstash.nix
@@ -69,9 +69,9 @@ in
systemd.services.logstash = with pkgs; {
description = "Logstash Daemon";
wantedBy = [ "multi-user.target" ];
-
+ environment = { JAVA_HOME = jre; };
serviceConfig = {
- ExecStart = "${jre}/bin/java -jar ${logstash} agent -f ${writeText "logstash.conf" ''
+ ExecStart = "${logstash}/bin/logstash agent -f ${writeText "logstash.conf" ''
input {
${cfg.inputConfig}
}
diff --git a/nixos/modules/services/misc/nix-ssh-serve.nix b/nixos/modules/services/misc/nix-ssh-serve.nix
index 80e7961b1f82ed770ccadc7a118c3817d6770f5d..d70bd855c7ff9fa959b48576a39911598639a9b8 100644
--- a/nixos/modules/services/misc/nix-ssh-serve.nix
+++ b/nixos/modules/services/misc/nix-ssh-serve.nix
@@ -1,32 +1,35 @@
{ config, lib, pkgs, ... }:
-let
- serveOnly = pkgs.writeScript "nix-store-serve" ''
- #!${pkgs.stdenv.shell}
- if [ "$SSH_ORIGINAL_COMMAND" != "nix-store --serve" ]; then
- echo 'Error: You are only allowed to run `nix-store --serve'\'''!' >&2
- exit 1
- fi
- exec /run/current-system/sw/bin/nix-store --serve
- '';
-
- inherit (lib) mkIf mkOption types;
-in {
+with lib;
+
+{
options = {
+
nix.sshServe = {
+
enable = mkOption {
- description = "Whether to enable serving the nix store over ssh.";
- default = false;
type = types.bool;
+ default = false;
+ description = "Whether to enable serving the Nix store as a binary cache via SSH.";
+ };
+
+ keys = mkOption {
+ type = types.listOf types.str;
+ default = [];
+ example = [ "ssh-dss AAAAB3NzaC1k... alice@example.org" ];
+ description = "A list of SSH public keys allowed to access the binary cache via SSH.";
};
+
};
+
};
config = mkIf config.nix.sshServe.enable {
+
users.extraUsers.nix-ssh = {
- description = "User for running nix-store --serve.";
+ description = "Nix SSH substituter user";
uid = config.ids.uids.nix-ssh;
- shell = pkgs.stdenv.shell;
+ useDefaultShell = true;
};
services.openssh.enable = true;
@@ -38,8 +41,11 @@ in {
PermitTTY no
PermitTunnel no
X11Forwarding no
- ForceCommand ${serveOnly}
+ ForceCommand ${config.nix.package}/bin/nix-store --serve
Match All
'';
+
+ users.extraUsers.nix-ssh.openssh.authorizedKeys.keys = config.nix.sshServe.keys;
+
};
}
diff --git a/nixos/modules/services/monitoring/munin.nix b/nixos/modules/services/monitoring/munin.nix
index 966c2eca282a5f4debb53ecc870a62d75e7b2b3f..21840bc67e8f977e30961b86aa07e0c7a161da9b 100644
--- a/nixos/modules/services/monitoring/munin.nix
+++ b/nixos/modules/services/monitoring/munin.nix
@@ -189,19 +189,18 @@ in
wantedBy = [ "multi-user.target" ];
path = [ pkgs.munin ];
environment.MUNIN_PLUGSTATE = "/var/run/munin";
+ preStart = ''
+ echo "updating munin plugins..."
+
+ mkdir -p /etc/munin/plugins
+ rm -rf /etc/munin/plugins/*
+ PATH="/run/current-system/sw/bin:/run/current-system/sw/sbin" ${pkgs.munin}/sbin/munin-node-configure --shell --families contrib,auto,manual --config ${nodeConf} --libdir=${muninPlugins} --servicedir=/etc/munin/plugins 2>/dev/null | ${pkgs.bash}/bin/bash
+ '';
serviceConfig = {
ExecStart = "${pkgs.munin}/sbin/munin-node --config ${nodeConf} --servicedir /etc/munin/plugins/";
};
};
- system.activationScripts.munin-node = ''
- echo "updating munin plugins..."
-
- mkdir -p /etc/munin/plugins
- rm -rf /etc/munin/plugins/*
- PATH="/run/current-system/sw/bin:/run/current-system/sw/sbin" ${pkgs.munin}/sbin/munin-node-configure --shell --families contrib,auto,manual --config ${nodeConf} --libdir=${muninPlugins} --servicedir=/etc/munin/plugins 2>/dev/null | ${pkgs.bash}/bin/bash
- '';
-
}) (mkIf cronCfg.enable {
services.cron.systemCronJobs = [
diff --git a/nixos/modules/services/networking/znc.nix b/nixos/modules/services/networking/znc.nix
index a40fd924741bff5086034ac5ef0b80cda693dd36..56946f37aaf9da760634fad741d7937f095081e4 100644
--- a/nixos/modules/services/networking/znc.nix
+++ b/nixos/modules/services/networking/znc.nix
@@ -23,7 +23,7 @@ let
confOptions = { ... }: {
options = {
modules = mkOption {
- type = types.listOf types.string;
+ type = types.listOf types.str;
default = [ "partyline" "webadmin" "adminlog" "log" ];
example = [ "partyline" "webadmin" "adminlog" "log" ];
description = ''
@@ -34,7 +34,7 @@ let
userName = mkOption {
default = defaultUserName;
example = "johntron";
- type = types.string;
+ type = types.str;
description = ''
The user name to use when generating the `znc.conf` file.
This is the user name used by the user logging into the ZNC web admin.
@@ -44,7 +44,7 @@ let
nick = mkOption {
default = "znc-user";
example = "john";
- type = types.string;
+ type = types.str;
description = ''
The IRC nick to use when generating the `znc.conf` file.
'';
@@ -53,7 +53,7 @@ let
passBlock = mkOption {
default = defaultPassBlock;
example = "Must be the block generated by the `znc --makepass` command.";
- type = types.string;
+ type = types.str;
description = ''
The pass block to use when generating the `znc.conf` file.
This is the password used by the user logging into the ZNC web admin.
@@ -63,9 +63,9 @@ let
};
port = mkOption {
- default = "5000";
- example = "5000";
- type = types.string;
+ default = 5000;
+ example = 5000;
+ type = types.int;
description = ''
Specifies the port on which to listen.
'';
@@ -104,7 +104,7 @@ let
AllowWeb = true
IPv4 = true
IPv6 = false
- Port = ${if confOpts.useSSL then "+" else ""}${confOpts.port}
+ Port = ${if confOpts.useSSL then "+" else ""}${toString confOpts.port}
SSL = ${if confOpts.useSSL then "true" else "false"}
@@ -160,7 +160,7 @@ in
user = mkOption {
default = "znc";
example = "john";
- type = types.string;
+ type = types.str;
description = ''
The name of an existing user account to use to own the ZNC server process.
If not specified, a default user will be created to own the process.
@@ -170,7 +170,7 @@ in
dataDir = mkOption {
default = "/home/${cfg.user}/.znc";
example = "/home/john/.znc";
- type = types.string;
+ type = types.path;
description = ''
The data directory. Used for configuration files and modules.
'';
@@ -179,7 +179,7 @@ in
zncConf = mkOption {
default = "";
example = "See: http://wiki.znc.in/Configuration";
- type = types.string;
+ type = types.lines;
description = ''
The contents of the `znc.conf` file to use when creating it.
If specified, `confOptions` will be ignored, and this value, as-is, will be used.
@@ -218,9 +218,9 @@ in
};
extraFlags = mkOption {
- default = "";
- example = "--debug";
- type = types.string;
+ default = [ ];
+ example = [ "--debug" ];
+ type = types.listOf types.str;
description = ''
Extra flags to use when executing znc command.
'';
@@ -272,7 +272,7 @@ in
${pkgs.znc}/bin/znc --makepem
fi
'';
- script = "${pkgs.znc}/bin/znc --foreground --datadir ${cfg.dataDir} ${cfg.extraFlags}";
+ script = "${pkgs.znc}/bin/znc --foreground --datadir ${cfg.dataDir} ${toString cfg.extraFlags}";
};
users.extraUsers = optional (cfg.user == defaultUser)
diff --git a/nixos/modules/services/search/elasticsearch.nix b/nixos/modules/services/search/elasticsearch.nix
index eeae11dc4ff3df322adcd13eebc946e446431a71..b74ef4370d763410f51db644561cd28819474933 100644
--- a/nixos/modules/services/search/elasticsearch.nix
+++ b/nixos/modules/services/search/elasticsearch.nix
@@ -21,6 +21,11 @@ let
];
};
+ esPlugins = pkgs.buildEnv {
+ name = "elasticsearch-plugins";
+ paths = cfg.plugins;
+ };
+
in {
###### interface
@@ -101,6 +106,12 @@ in {
example = [ "-Djava.net.preferIPv4Stack=true" ];
};
+ plugins = mkOption {
+ description = "Extra elasticsearch plugins";
+ default = [];
+ type = types.listOf types.package;
+ };
+
};
###### implementation
@@ -119,6 +130,10 @@ in {
preStart = ''
mkdir -m 0700 -p ${cfg.dataDir}
if [ "$(id -u)" = 0 ]; then chown -R elasticsearch ${cfg.dataDir}; fi
+
+ # Install plugins
+ rm ${cfg.dataDir}/plugins || true
+ ln -s ${esPlugins}/plugins ${cfg.dataDir}/plugins
'';
};
diff --git a/nixos/modules/services/web-servers/apache-httpd/tomcat-connector.nix b/nixos/modules/services/web-servers/apache-httpd/tomcat-connector.nix
index b2cd53ae55cd0d8b6c7d70aa07d8972209c91495..a883bb2b3433a4da44df0659474d680e7e121d56 100644
--- a/nixos/modules/services/web-servers/apache-httpd/tomcat-connector.nix
+++ b/nixos/modules/services/web-servers/apache-httpd/tomcat-connector.nix
@@ -29,6 +29,14 @@ ${extraWorkersProperties}
'';
in
{
+
+ options = {
+ extraWorkersProperties = lib.mkOption {
+ default = "";
+ description = "Additional configuration for the workers.properties file.";
+ };
+ };
+
extraModules = [
{ name = "jk"; path = "${pkgs.tomcat_connectors}/modules/mod_jk.so"; }
];
diff --git a/nixos/modules/services/web-servers/lighttpd/cgit.nix b/nixos/modules/services/web-servers/lighttpd/cgit.nix
index dbff565bd8a32bd03e0a98d7ee76e0edb9585462..d4663781fd8455e8ab771c1f309eb1b378787a36 100644
--- a/nixos/modules/services/web-servers/lighttpd/cgit.nix
+++ b/nixos/modules/services/web-servers/lighttpd/cgit.nix
@@ -29,7 +29,7 @@ in
cache-size=1000
scan-path=/srv/git
'';
- type = types.string;
+ type = types.lines;
description = ''
Verbatim contents of the cgit runtime configuration file. Documentation
(with cgitrc example file) is available in "man cgitrc". Or online:
diff --git a/nixos/modules/services/web-servers/lighttpd/default.nix b/nixos/modules/services/web-servers/lighttpd/default.nix
index 3ba934c72bf86cc90cf99a982c3bbea9bd128a9e..f0f59a6640265c35bae6dbf1b07b40d24d068435 100644
--- a/nixos/modules/services/web-servers/lighttpd/default.nix
+++ b/nixos/modules/services/web-servers/lighttpd/default.nix
@@ -102,7 +102,7 @@ in
document-root = mkOption {
default = "/srv/www";
- type = types.str;
+ type = types.path;
description = ''
Document-root of the web server. Must be readable by the "lighttpd" user.
'';
@@ -128,7 +128,7 @@ in
configText = mkOption {
default = "";
- type = types.string;
+ type = types.lines;
example = ''...verbatim config file contents...'';
description = ''
Overridable config file contents to use for lighttpd. By default, use
@@ -138,7 +138,7 @@ in
extraConfig = mkOption {
default = "";
- type = types.string;
+ type = types.lines;
description = ''
These configuration lines will be appended to the generated lighttpd
config file. Note that this mechanism does not work when the manual
diff --git a/nixos/modules/services/web-servers/lighttpd/gitweb.nix b/nixos/modules/services/web-servers/lighttpd/gitweb.nix
index d49278be09a87fb50d48a591b8bf7fd8e68d45ec..c407a1d8977819216175901ff7f3e52f1c50ba5e 100644
--- a/nixos/modules/services/web-servers/lighttpd/gitweb.nix
+++ b/nixos/modules/services/web-servers/lighttpd/gitweb.nix
@@ -25,7 +25,7 @@ in
projectroot = mkOption {
default = "/srv/git";
- type = types.str;
+ type = types.path;
description = ''
Path to git projects (bare repositories) that should be served by
gitweb. Must not end with a slash.
@@ -34,7 +34,7 @@ in
extraConfig = mkOption {
default = "";
- type = types.str;
+ type = types.lines;
description = ''
Verbatim configuration text appended to the generated gitweb.conf file.
'';
diff --git a/nixos/modules/services/x11/desktop-managers/e18.nix b/nixos/modules/services/x11/desktop-managers/e18.nix
index e59b7f4268379ee737d00da6bdb22d9b7619fc0d..faafd21b07dda1537c9ee0277da8bebefa728621 100644
--- a/nixos/modules/services/x11/desktop-managers/e18.nix
+++ b/nixos/modules/services/x11/desktop-managers/e18.nix
@@ -1,11 +1,12 @@
-{ config, pkgs, ... }:
+{ config, pkgs, lib, ... }:
-with pkgs.lib;
+with lib;
let
xcfg = config.services.xserver;
cfg = xcfg.desktopManager.e18;
+ e18_enlightenment = pkgs.e18.enlightenment.override { set_freqset_setuid = true; };
in
@@ -23,18 +24,20 @@ in
config = mkIf (xcfg.enable && cfg.enable) {
environment.systemPackages = [
- pkgs.e18.efl pkgs.e18.evas pkgs.e18.emotion pkgs.e18.elementary pkgs.e18.enlightenment
+ pkgs.e18.efl pkgs.e18.evas pkgs.e18.emotion pkgs.e18.elementary e18_enlightenment
pkgs.e18.terminology pkgs.e18.econnman
];
services.xserver.desktopManager.session = [
{ name = "E18";
start = ''
- ${pkgs.e18.enlightenment}/bin/enlightenment_start
+ ${e18_enlightenment}/bin/enlightenment_start
waitPID=$!
'';
}];
+ security.setuidPrograms = [ "e18_freqset" ];
+
};
}
diff --git a/nixos/modules/system/boot/emergency-mode.nix b/nixos/modules/system/boot/emergency-mode.nix
new file mode 100644
index 0000000000000000000000000000000000000000..9cdab84161925f033c2cfacce6e84b05ffdc9c81
--- /dev/null
+++ b/nixos/modules/system/boot/emergency-mode.nix
@@ -0,0 +1,37 @@
+{ config, lib, ... }:
+
+with lib;
+
+{
+
+ ###### interface
+
+ options = {
+
+ systemd.enableEmergencyMode = mkOption {
+ default = true;
+ type = types.bool;
+ description = ''
+ Whether to enable emergency mode, which is an
+ sulogin shell started on the console if
+ mounting a filesystem fails. Since some machines (like EC2
+ instances) have no console of any kind, emergency mode doesn't
+ make sense, and it's better to continue with the boot insofar
+ as possible.
+ '';
+ };
+
+ };
+
+ ###### implementation
+
+ config = {
+
+ systemd.additionalUpstreamSystemUnits = optionals
+ config.systemd.enableEmergencyMode [
+ "emergency.target" "emergency.service"
+ ];
+
+ };
+
+}
\ No newline at end of file
diff --git a/nixos/modules/system/boot/modprobe.nix b/nixos/modules/system/boot/modprobe.nix
index 7b214cd1e1f54faeae1106e91a72de9cce363315..652eb046f50a785756292389f535a37258ae254e 100644
--- a/nixos/modules/system/boot/modprobe.nix
+++ b/nixos/modules/system/boot/modprobe.nix
@@ -68,20 +68,15 @@ with lib;
config = mkIf (!config.boot.isContainer) {
- environment.etc = [
- { source = "${pkgs.kmod-blacklist-ubuntu}/modprobe.conf";
- target = "modprobe.d/ubuntu.conf";
- }
- { source = pkgs.writeText "modprobe.conf"
- ''
- ${flip concatMapStrings config.boot.blacklistedKernelModules (name: ''
- blacklist ${name}
- '')}
- ${config.boot.extraModprobeConfig}
- '';
- target = "modprobe.d/nixos.conf";
- }
- ];
+ environment.etc."modprobe.d/ubuntu.conf".source = "${pkgs.kmod-blacklist-ubuntu}/modprobe.conf";
+
+ environment.etc."modprobe.d/nixos.conf".text =
+ ''
+ ${flip concatMapStrings config.boot.blacklistedKernelModules (name: ''
+ blacklist ${name}
+ '')}
+ ${config.boot.extraModprobeConfig}
+ '';
environment.systemPackages = [ config.system.sbin.modprobe pkgs.kmod ];
diff --git a/nixos/modules/system/boot/stage-1-init.sh b/nixos/modules/system/boot/stage-1-init.sh
index 7adb932aba7f5cc597691c279213b06262f210b8..1b51c11e351a15ffa693ec4f7b32067f09db2bba 100644
--- a/nixos/modules/system/boot/stage-1-init.sh
+++ b/nixos/modules/system/boot/stage-1-init.sh
@@ -4,7 +4,8 @@ targetRoot=/mnt-root
console=tty1
export LD_LIBRARY_PATH=@extraUtils@/lib
-export PATH=@extraUtils@/bin:@extraUtils@/sbin
+export PATH=@extraUtils@/bin
+ln -s @extraUtils@/bin /bin
fail() {
@@ -262,6 +263,13 @@ mountFS() {
checkFS "$device" "$fsType"
+ # Create backing directories for unionfs-fuse.
+ if [ "$fsType" = unionfs-fuse ]; then
+ for i in $(IFS=:; echo ${options##*,dirs=}); do
+ mkdir -m 0700 -p /mnt-root"${i%=*}"
+ done
+ fi
+
echo "mounting $device on $mountPoint..."
mkdir -p "/mnt-root$mountPoint" || true
diff --git a/nixos/modules/system/boot/stage-1.nix b/nixos/modules/system/boot/stage-1.nix
index b6249b6c0915827398561795c7f1e73366fe125b..58ff97671f3d154c804c189969388132b3621c14 100644
--- a/nixos/modules/system/boot/stage-1.nix
+++ b/nixos/modules/system/boot/stage-1.nix
@@ -23,22 +23,6 @@ let
};
- needsCifsUtils = kernelPackages.kernel ? features
- && kernelPackages.kernel.features ? needsCifsUtils
- && kernelPackages.kernel.features.needsCifsUtils
- && any (fs: fs.fsType == "cifs") fileSystems;
-
- busybox =
- if needsCifsUtils
- then pkgs.busybox.override {
- extraConfig = ''
- CONFIG_FEATURE_MOUNT_CIFS n
- CONFIG_FEATURE_MOUNT_HELPERS y
- '';
- }
- else pkgs.busybox;
-
-
# Some additional utilities needed in stage 1, like mount, lvm, fsck
# etc. We don't want to bring in all of those packages, so we just
# copy what we need. Instead of using statically linked binaries,
@@ -51,6 +35,7 @@ let
}
''
mkdir -p $out/bin $out/lib
+ ln -s $out/bin $out/sbin
# Copy what we need from Glibc.
cp -pv ${pkgs.glibc}/lib/ld*.so.? $out/lib
@@ -62,11 +47,10 @@ let
cp -pv ${pkgs.gcc.gcc}/lib*/libgcc_s.so.* $out/lib
# Copy BusyBox.
- cp -rvd ${busybox}/{bin,sbin} $out/
- chmod -R u+w $out
+ cp -pvd ${pkgs.busybox}/bin/* ${pkgs.busybox}/sbin/* $out/bin/
# Copy some utillinux stuff.
- cp -v ${pkgs.utillinux}/sbin/blkid $out/bin
+ cp -vf ${pkgs.utillinux}/sbin/blkid $out/bin
cp -pdv ${pkgs.utillinux}/lib/libblkid*.so.* $out/lib
cp -pdv ${pkgs.utillinux}/lib/libuuid*.so.* $out/lib
@@ -89,12 +73,7 @@ let
# Copy modprobe.
cp -v ${pkgs.kmod}/bin/kmod $out/bin/
- ln -s kmod $out/bin/modprobe
-
- # Maybe copy cifs utils
- ${optionalString needsCifsUtils ''
- cp -v ${pkgs.cifs_utils}/sbin/mount.cifs $out/bin
- ''}
+ ln -sf kmod $out/bin/modprobe
${config.boot.initrd.extraUtilsCommands}
@@ -313,6 +292,13 @@ in
example = "xz";
};
+ boot.initrd.supportedFilesystems = mkOption {
+ default = [ ];
+ example = [ "btrfs" ];
+ type = types.listOf types.string;
+ description = "Names of supported filesystem types in the initial ramdisk.";
+ };
+
fileSystems = mkOption {
options.neededForBoot = mkOption {
default = false;
@@ -347,5 +333,7 @@ in
# Prevent systemd from waiting for the /dev/root symlink.
systemd.units."dev-root.device".text = "";
+ boot.initrd.supportedFilesystems = map (fs: fs.fsType) fileSystems;
+
};
}
diff --git a/nixos/modules/system/boot/stage-2-init.sh b/nixos/modules/system/boot/stage-2-init.sh
index eff2fb583babbfe2692e22608d53daf9d5f71917..bfc3c9b5da39b05bf50600004cfb7f8b599808f2 100644
--- a/nixos/modules/system/boot/stage-2-init.sh
+++ b/nixos/modules/system/boot/stage-2-init.sh
@@ -29,7 +29,7 @@ setPath "@path@"
# Normally, stage 1 mounts the root filesystem read/writable.
# However, in some environments, stage 2 is executed directly, and the
# root is read-only. So make it writable here.
-mount -n -o remount,rw /
+mount -n -o remount,rw none /
# Likewise, stage 1 mounts /proc, /dev and /sys, so if we don't have a
@@ -98,12 +98,6 @@ mkdir -m 0755 -p /etc/nixos
rm -rf /var/run /var/lock
rm -f /etc/{group,passwd,shadow}.lock
-if test -n "@cleanTmpDir@"; then
- echo -n "cleaning \`/tmp'..."
- find /tmp -maxdepth 1 -mindepth 1 -print0 | xargs -0r rm -rf --one-file-system
- echo " done"
-fi
-
# Also get rid of temporary GC roots.
rm -rf /nix/var/nix/gcroots/tmp /nix/var/nix/temproots
diff --git a/nixos/modules/system/boot/stage-2.nix b/nixos/modules/system/boot/stage-2.nix
index f53c3b8b8e70fa463d9f76aeb5c8bf1919bcce47..6155bb37cc5214fad05267d0c6739402d450c1f5 100644
--- a/nixos/modules/system/boot/stage-2.nix
+++ b/nixos/modules/system/boot/stage-2.nix
@@ -17,7 +17,7 @@ let
src = ./stage-2-init.sh;
shellDebug = "${pkgs.bashInteractive}/bin/bash";
isExecutable = true;
- inherit (config.boot) devShmSize runSize cleanTmpDir;
+ inherit (config.boot) devShmSize runSize;
inherit (config.nix) readOnlyStore;
inherit (config.networking) useHostResolvConf;
ttyGid = config.ids.gids.tty;
@@ -26,8 +26,7 @@ let
pkgs.utillinux
pkgs.sysvtools
pkgs.openresolv
- ] ++ (optional config.boot.cleanTmpDir pkgs.findutils)
- ++ optional config.nix.readOnlyStore readonlyMountpoint;
+ ] ++ optional config.nix.readOnlyStore readonlyMountpoint;
postBootCommands = pkgs.writeText "local-cmds"
''
${config.boot.postBootCommands}
@@ -81,15 +80,6 @@ in
'';
};
- # FIXME: should replace this with something that uses systemd-tmpfiles.
- cleanTmpDir = mkOption {
- type = types.bool;
- default = false;
- description = ''
- Whether to delete all files in /tmp during boot.
- '';
- };
-
};
};
diff --git a/nixos/modules/system/boot/systemd.nix b/nixos/modules/system/boot/systemd.nix
index 14caa5d360d594fb49cae0826eaade63534d01ad..455c40693b0059e6412f2c701973e12b490acc08 100644
--- a/nixos/modules/system/boot/systemd.nix
+++ b/nixos/modules/system/boot/systemd.nix
@@ -162,10 +162,7 @@ let
"systemd-sysctl.service"
]
- ++ optionals cfg.enableEmergencyMode [
- "emergency.target"
- "emergency.service"
- ];
+ ++ cfg.additionalUpstreamSystemUnits;
upstreamSystemWants =
[ #"basic.target.wants"
@@ -317,7 +314,9 @@ let
''
[Service]
${let env = cfg.globalEnvironment // def.environment;
- in concatMapStrings (n: "Environment=\"${n}=${getAttr n env}\"\n") (attrNames env)}
+ in concatMapStrings (n:
+ let s = "Environment=\"${n}=${getAttr n env}\"\n";
+ in if stringLength s >= 2048 then throw "The value of the environment variable ‘${n}’ in systemd service ‘${name}.service’ is too long." else s) (attrNames env)}
${if def.reloadIfChanged then ''
X-ReloadIfChanged=true
'' else if !def.restartIfChanged then ''
@@ -635,19 +634,6 @@ in
'';
};
- systemd.enableEmergencyMode = mkOption {
- default = true;
- type = types.bool;
- description = ''
- Whether to enable emergency mode, which is an
- sulogin shell started on the console if
- mounting a filesystem fails. Since some machines (like EC2
- instances) have no console of any kind, emergency mode doesn't
- make sense, and it's better to continue with the boot insofar
- as possible.
- '';
- };
-
systemd.tmpfiles.rules = mkOption {
type = types.listOf types.str;
default = [];
@@ -690,6 +676,15 @@ in
description = "Definition of systemd per-user socket units.";
};
+ systemd.additionalUpstreamSystemUnits = mkOption {
+ default = [ ];
+ type = types.listOf types.str;
+ example = [ "debug-shell.service" "systemd-quotacheck.service" ];
+ description = ''
+ Additional units shipped with systemd that shall be enabled.
+ '';
+ };
+
};
diff --git a/nixos/modules/system/boot/tmp.nix b/nixos/modules/system/boot/tmp.nix
new file mode 100644
index 0000000000000000000000000000000000000000..5bf5e2eb2ec583beaae887752599b5670bfe040a
--- /dev/null
+++ b/nixos/modules/system/boot/tmp.nix
@@ -0,0 +1,39 @@
+{ config, lib, ... }:
+
+with lib;
+
+{
+
+ ###### interface
+
+ options = {
+
+ boot.cleanTmpDir = mkOption {
+ type = types.bool;
+ default = false;
+ description = ''
+ Whether to delete all files in /tmp during boot.
+ '';
+ };
+
+ boot.tmpOnTmpfs = mkOption {
+ type = types.bool;
+ default = false;
+ description = ''
+ Whether to mount a tmpfs on /tmp during boot.
+ '';
+ };
+
+ };
+
+ ###### implementation
+
+ config = {
+
+ systemd.additionalUpstreamSystemUnits = optional config.boot.tmpOnTmpfs "tmp.mount";
+
+ systemd.tmpfiles.rules = optional config.boot.cleanTmpDir "D! /tmp 1777 root root";
+
+ };
+
+}
\ No newline at end of file
diff --git a/nixos/modules/system/etc/etc.nix b/nixos/modules/system/etc/etc.nix
index 22d55a9e246c705c1eaa5fda1ff25b7851f4af26..b57b03bcf962e48cd56d64f0ebdfd593aa90f5aa 100644
--- a/nixos/modules/system/etc/etc.nix
+++ b/nixos/modules/system/etc/etc.nix
@@ -132,7 +132,7 @@ in
''
# Set up the statically computed bits of /etc.
echo "setting up /etc..."
- ${pkgs.perl}/bin/perl ${./setup-etc.pl} ${etc}/etc
+ ${pkgs.perl}/bin/perl -I${pkgs.perlPackages.FileSlurp}/lib/perl5/site_perl ${./setup-etc.pl} ${etc}/etc
'';
};
diff --git a/nixos/modules/system/etc/setup-etc.pl b/nixos/modules/system/etc/setup-etc.pl
index 8ba9a370b27ab9679c92a5849cdc0a458c1b5bbf..d7e15eccefcdf8938697bb3710f67c4f254f9f23 100644
--- a/nixos/modules/system/etc/setup-etc.pl
+++ b/nixos/modules/system/etc/setup-etc.pl
@@ -3,6 +3,7 @@ use File::Find;
use File::Copy;
use File::Path;
use File::Basename;
+use File::Slurp;
my $etc = $ARGV[0] or die;
my $static = "/etc/static";
@@ -46,35 +47,55 @@ sub cleanup {
find(\&cleanup, "/etc");
+# Use /etc/.clean to keep track of copied files.
+my @oldCopied = read_file("/etc/.clean", chomp => 1, err_mode => 'quiet');
+open CLEAN, ">>/etc/.clean";
+
+
# For every file in the etc tree, create a corresponding symlink in
# /etc to /etc/static. The indirection through /etc/static is to make
# switching to a new configuration somewhat more atomic.
+my %created;
+my @copied;
+
sub link {
my $fn = substr $File::Find::name, length($etc) + 1 or next;
my $target = "/etc/$fn";
File::Path::make_path(dirname $target);
+ $created{$fn} = 1;
if (-e "$_.mode") {
- open MODE, "<$_.mode";
- my $mode = ; chomp $mode;
- close MODE;
+ my $mode = read_file("$_.mode"); chomp $mode;
if ($mode eq "direct-symlink") {
atomicSymlink readlink("$static/$fn"), $target or warn;
} else {
- open UID, "<$_.uid";
- my $uid = ; chomp $uid;
- close UID;
- open GID, "<$_.gid";
- my $gid = ; chomp $gid;
- close GID;
-
+ my $uid = read_file("$_.uid"); chomp $uid;
+ my $gid = read_file("$_.gid"); chomp $gid;
copy "$static/$fn", "$target.tmp" or warn;
chown int($uid), int($gid), "$target.tmp" or warn;
chmod oct($mode), "$target.tmp" or warn;
rename "$target.tmp", $target or warn;
}
+ push @copied, $fn;
+ print CLEAN "$fn\n";
} elsif (-l "$_") {
atomicSymlink "$static/$fn", $target or warn;
}
}
find(\&link, $etc);
+
+
+# Delete files that were copied in a previous version but not in the
+# current.
+foreach my $fn (@oldCopied) {
+ if (!defined $created{$fn}) {
+ $fn = "/etc/$fn";
+ print STDERR "removing obsolete file ‘$fn’...\n";
+ unlink "$fn";
+ }
+}
+
+
+# Rewrite /etc/.clean.
+close CLEAN;
+write_file("/etc/.clean", map { "$_\n" } @copied);
diff --git a/nixos/modules/tasks/filesystems.nix b/nixos/modules/tasks/filesystems.nix
index d350bc1b5d0ed24c18577a8285531432872d857b..64a20034f3cc6b764c344c798757877a6f1a3fc9 100644
--- a/nixos/modules/tasks/filesystems.nix
+++ b/nixos/modules/tasks/filesystems.nix
@@ -9,7 +9,7 @@ let
prioOption = prio: optionalString (prio !=null) " pri=${toString prio}";
- fileSystemOpts = { name, ... }: {
+ fileSystemOpts = { name, config, ... }: {
options = {
@@ -68,6 +68,7 @@ let
config = {
mountPoint = mkDefault name;
+ device = mkIf (config.fsType == "tmpfs") (mkDefault config.fsType);
};
};
@@ -124,13 +125,6 @@ in
description = "Names of supported filesystem types.";
};
- boot.initrd.supportedFilesystems = mkOption {
- default = [ ];
- example = [ "btrfs" ];
- type = types.listOf types.string;
- description = "Names of supported filesystem types in the initial ramdisk.";
- };
-
};
@@ -140,15 +134,11 @@ in
boot.supportedFilesystems = map (fs: fs.fsType) fileSystems;
- boot.initrd.supportedFilesystems =
- map (fs: fs.fsType)
- (filter (fs: fs.mountPoint == "/" || fs.neededForBoot) fileSystems);
-
# Add the mount helpers to the system path so that `mount' can find them.
system.fsPackages = [ pkgs.dosfstools ];
environment.systemPackages =
- [ pkgs.ntfs3g pkgs.cifs_utils pkgs.fuse ]
+ [ pkgs.ntfs3g pkgs.fuse ]
++ config.system.fsPackages;
environment.etc.fstab.text =
@@ -157,7 +147,9 @@ in
# Filesystems.
${flip concatMapStrings fileSystems (fs:
- (if fs.device != null then fs.device else "/dev/disk/by-label/${fs.label}")
+ (if fs.device != null then fs.device
+ else if fs.label != null then "/dev/disk/by-label/${fs.label}"
+ else throw "No device specified for mount point ‘${fs.mountPoint}’.")
+ " " + fs.mountPoint
+ " " + fs.fsType
+ " " + fs.options
diff --git a/nixos/modules/tasks/filesystems/cifs.nix b/nixos/modules/tasks/filesystems/cifs.nix
new file mode 100644
index 0000000000000000000000000000000000000000..c60f175db841ab650aef76380dda477acc004ef7
--- /dev/null
+++ b/nixos/modules/tasks/filesystems/cifs.nix
@@ -0,0 +1,25 @@
+{ config, lib, pkgs, ... }:
+
+with lib;
+
+let
+
+ inInitrd = any (fs: fs == "cifs") config.boot.initrd.supportedFilesystems;
+
+in
+
+{
+ config = {
+
+ system.fsPackages = [ pkgs.cifs_utils ];
+
+ boot.initrd.availableKernelModules = mkIf inInitrd
+ [ "cifs" "nls_utf8" "hmac" "md4" "ecb" "des_generic" "sha256" ];
+
+ boot.initrd.extraUtilsCommands = mkIf inInitrd
+ ''
+ cp -v ${pkgs.cifs_utils}/sbin/mount.cifs $out/bin
+ '';
+
+ };
+}
diff --git a/nixos/modules/tasks/filesystems/unionfs-fuse.nix b/nixos/modules/tasks/filesystems/unionfs-fuse.nix
index 5b7777180568f786a0dd8150ca396783de0b2eca..fe195e0db0b64dc09c40c0c8aef755e554374dbb 100644
--- a/nixos/modules/tasks/filesystems/unionfs-fuse.nix
+++ b/nixos/modules/tasks/filesystems/unionfs-fuse.nix
@@ -2,14 +2,21 @@
{
config = lib.mkMerge [
+
(lib.mkIf (lib.any (fs: fs == "unionfs-fuse") config.boot.initrd.supportedFilesystems) {
boot.initrd.kernelModules = [ "fuse" ];
-
+
boot.initrd.extraUtilsCommands = ''
cp -v ${pkgs.fuse}/lib/libfuse* $out/lib
+ cp -v ${pkgs.fuse}/sbin/mount.fuse $out/bin
cp -v ${pkgs.unionfs-fuse}/bin/unionfs $out/bin
+ substitute ${pkgs.unionfs-fuse}/sbin/mount.unionfs-fuse $out/bin/mount.unionfs-fuse \
+ --replace '${pkgs.bash}/bin/bash' /bin/sh \
+ --replace '${pkgs.fuse}/sbin' /bin \
+ --replace '${pkgs.unionfs-fuse}/bin' /bin
+ chmod +x $out/bin/mount.unionfs-fuse
'';
-
+
boot.initrd.postDeviceCommands = ''
# Hacky!!! fuse hard-codes the path to mount
mkdir -p /nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-${pkgs.utillinux.name}/bin
@@ -17,8 +24,10 @@
ln -s $(which umount) /nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-${pkgs.utillinux.name}/bin
'';
})
+
(lib.mkIf (lib.any (fs: fs == "unionfs-fuse") config.boot.supportedFilesystems) {
system.fsPackages = [ pkgs.unionfs-fuse ];
})
+
];
}
diff --git a/nixos/modules/virtualisation/amazon-image.nix b/nixos/modules/virtualisation/amazon-image.nix
index 7d6109f212acf14be61e3db7971bf36be3d0f6cc..e129e496fe36973e5d109785fd0aa6a8e6a44a9b 100644
--- a/nixos/modules/virtualisation/amazon-image.nix
+++ b/nixos/modules/virtualisation/amazon-image.nix
@@ -172,7 +172,7 @@ in
boot.initrd.extraUtilsCommands =
''
# We need swapon in the initrd.
- cp ${pkgs.utillinux}/sbin/swapon $out/bin
+ cp --remove-destination ${pkgs.utillinux}/sbin/swapon $out/bin
'';
# Don't put old configurations in the GRUB menu. The user has no
diff --git a/nixos/modules/virtualisation/docker.nix b/nixos/modules/virtualisation/docker.nix
new file mode 100644
index 0000000000000000000000000000000000000000..a0aa613532698004fe3b97bf3078d1aee8c5a32c
--- /dev/null
+++ b/nixos/modules/virtualisation/docker.nix
@@ -0,0 +1,109 @@
+# Systemd services for docker.
+
+{ config, lib, pkgs, ... }:
+
+with lib;
+
+let
+
+ cfg = config.virtualisation.docker;
+
+in
+
+{
+ ###### interface
+
+ options.virtualisation.docker = {
+ enable =
+ mkOption {
+ type = types.bool;
+ default = false;
+ description =
+ ''
+ This option enables docker, a daemon that manages
+ linux containers. Users in the "docker" group can interact with
+ the daemon (e.g. to start or stop containers) using the
+ docker command line tool.
+ '';
+ };
+ socketActivation =
+ mkOption {
+ type = types.bool;
+ default = false;
+ description =
+ ''
+ This option enables docker with socket activation. I.e. docker will
+ start when first called by client.
+
+ Note: This is false by default because systemd lower than 214 that
+ nixos uses so far, doesn't support SocketGroup option, so socket
+ created by docker has root group now. This will likely be changed
+ in future. So set this option explicitly to false if you wish.
+ '';
+ };
+ extraOptions =
+ mkOption {
+ type = types.str;
+ default = "";
+ description =
+ ''
+ The extra command-line options to pass to
+ docker daemon.
+ '';
+ };
+
+
+ };
+
+ ###### implementation
+
+ config = mkIf cfg.enable (mkMerge [
+ { environment.systemPackages = [ pkgs.docker ];
+ }
+ (mkIf cfg.socketActivation {
+
+ systemd.services.docker = {
+ description = "Docker Application Container Engine";
+ after = [ "network.target" "docker.socket" ];
+ requires = [ "docker.socket" ];
+ serviceConfig = {
+ ExecStart = "${pkgs.docker}/bin/docker --daemon=true --host=fd:// --group=docker ${cfg.extraOptions}";
+ # I'm not sure if that limits aren't too high, but it's what
+ # goes in config bundled with docker itself
+ LimitNOFILE = 1048576;
+ LimitNPROC = 1048576;
+ };
+ };
+
+ systemd.sockets.docker = {
+ description = "Docker Socket for the API";
+ wantedBy = [ "sockets.target" ];
+ socketConfig = {
+ ListenStream = "/var/run/docker.sock";
+ SocketMode = "0660";
+ SocketUser = "root";
+ SocketGroup = "docker";
+ };
+ };
+ })
+ (mkIf (!cfg.socketActivation) {
+
+ systemd.services.docker = {
+ description = "Docker Application Container Engine";
+ wantedBy = [ "multi-user.target" ];
+ after = [ "network.target" ];
+ serviceConfig = {
+ ExecStart = "${pkgs.docker}/bin/docker --daemon=true --group=docker ${cfg.extraOptions}";
+ # I'm not sure if that limits aren't too high, but it's what
+ # goes in config bundled with docker itself
+ LimitNOFILE = 1048576;
+ LimitNPROC = 1048576;
+ };
+
+ # Presumably some containers are running we don't want to interrupt
+ restartIfChanged = false;
+ };
+ })
+ ]);
+
+}
diff --git a/nixos/modules/virtualisation/google-compute-image.nix b/nixos/modules/virtualisation/google-compute-image.nix
index 9a4d11d550a1326aa538a2a02324e8a6e0dd3a8e..697423ac60bee8eff0bed4923402fc1476841cd8 100644
--- a/nixos/modules/virtualisation/google-compute-image.nix
+++ b/nixos/modules/virtualisation/google-compute-image.nix
@@ -121,19 +121,6 @@ in
networking.usePredictableInterfaceNames = false;
- systemd.services.wait-metadata-online = {
- description = "Wait for GCE metadata server to become reachable";
- wantedBy = [ "network-online.target" ];
- before = [ "network-online.target" ];
- path = [ pkgs.netcat ];
- script = ''
- # wait for the metadata server to become available for up to 60 seconds
- for counter in {1..30}; do sleep 2 && nc -vzw 2 metadata 80 && break; done
- '';
- serviceConfig.Type = "oneshot";
- serviceConfig.RemainAfterExit = true;
- };
-
systemd.services.fetch-ssh-keys =
{ description = "Fetch host keys and authorized_keys for root user";
@@ -142,14 +129,15 @@ in
after = [ "network-online.target" ];
wants = [ "network-online.target" ];
- path = [ pkgs.curl ];
+ path = [ pkgs.wget ];
script =
''
+ wget="wget --retry-connrefused -t 6 --waitretry=10"
# Don't download the SSH key if it has already been downloaded
if ! [ -e /root/.ssh/authorized_keys ]; then
echo "obtaining SSH key..."
mkdir -p /root/.ssh
- curl -o /root/authorized-keys-metadata http://metadata/0.1/meta-data/authorized-keys
+ $wget -O /root/authorized-keys-metadata http://metadata/0.1/meta-data/authorized-keys
if [ $? -eq 0 -a -e /root/authorized-keys-metadata ]; then
cat /root/authorized-keys-metadata | cut -d: -f2- > /root/key.pub
if ! grep -q -f /root/key.pub /root/.ssh/authorized_keys; then
@@ -162,7 +150,7 @@ in
fi
echo "obtaining SSH private host key..."
- curl -o /root/ssh_host_ecdsa_key --retry-max-time 60 http://metadata/0.1/meta-data/attributes/ssh_host_ecdsa_key
+ $wget -O /root/ssh_host_ecdsa_key http://metadata/0.1/meta-data/attributes/ssh_host_ecdsa_key
if [ $? -eq 0 -a -e /root/ssh_host_ecdsa_key ]; then
mv -f /root/ssh_host_ecdsa_key /etc/ssh/ssh_host_ecdsa_key
echo "downloaded ssh_host_ecdsa_key"
@@ -170,7 +158,7 @@ in
fi
echo "obtaining SSH public host key..."
- curl -o /root/ssh_host_ecdsa_key.pub --retry-max-time 60 http://metadata/0.1/meta-data/attributes/ssh_host_ecdsa_key_pub
+ $wget -O /root/ssh_host_ecdsa_key.pub http://metadata/0.1/meta-data/attributes/ssh_host_ecdsa_key_pub
if [ $? -eq 0 -a -e /root/ssh_host_ecdsa_key.pub ]; then
mv -f /root/ssh_host_ecdsa_key.pub /etc/ssh/ssh_host_ecdsa_key.pub
echo "downloaded ssh_host_ecdsa_key.pub"
@@ -179,7 +167,7 @@ in
'';
serviceConfig.Type = "oneshot";
serviceConfig.RemainAfterExit = true;
+ serviceConfig.StandardError = "journal+console";
+ serviceConfig.StandardOutput = "journal+console";
};
-
-
}
diff --git a/nixos/modules/virtualisation/qemu-vm.nix b/nixos/modules/virtualisation/qemu-vm.nix
index bccf6583e47d735efd4958ad799bcc59a472b883..17acd08f086c5ef22a88c42b7be9af4a5be44154 100644
--- a/nixos/modules/virtualisation/qemu-vm.nix
+++ b/nixos/modules/virtualisation/qemu-vm.nix
@@ -275,12 +275,10 @@ in
boot.loader.grub.device = mkVMOverride "/dev/vda";
- boot.initrd.supportedFilesystems = optional cfg.writableStore "unionfs-fuse";
-
boot.initrd.extraUtilsCommands =
''
# We need mke2fs in the initrd.
- cp ${pkgs.e2fsprogs}/sbin/mke2fs $out/bin
+ cp -f ${pkgs.e2fsprogs}/sbin/mke2fs $out/bin
'';
boot.initrd.postDeviceCommands =
@@ -303,20 +301,6 @@ in
chmod 1777 $targetRoot/tmp
mkdir -p $targetRoot/boot
- ${optionalString cfg.writableStore ''
- mkdir -p /unionfs-chroot/ro-store
- mount --rbind $targetRoot/nix/store /unionfs-chroot/ro-store
-
- mkdir /unionfs-chroot/rw-store
- ${if cfg.writableStoreUseTmpfs then ''
- mount -t tmpfs -o "mode=755" none /unionfs-chroot/rw-store
- '' else ''
- mkdir $targetRoot/.nix-rw-store
- mount --bind $targetRoot/.nix-rw-store /unionfs-chroot/rw-store
- ''}
-
- unionfs -o allow_other,cow,nonempty,chroot=/unionfs-chroot,max_files=32768,hide_meta_files /rw-store=RW:/ro-store=RO $targetRoot/nix/store
- ''}
'';
# After booting, register the closure of the paths in
@@ -343,12 +327,13 @@ in
# configuration, where the regular value for the `fileSystems'
# attribute should be disregarded for the purpose of building a VM
# test image (since those filesystems don't exist in the VM).
- fileSystems = mkVMOverride
+ fileSystems = mkVMOverride (
{ "/".device = "/dev/vda";
- "/nix/store" =
+ ${if cfg.writableStore then "/nix/.ro-store" else "/nix/store"} =
{ device = "store";
fsType = "9p";
options = "trans=virtio,version=9p2000.L,msize=1048576,cache=loose";
+ neededForBoot = true;
};
"/tmp/xchg" =
{ device = "xchg";
@@ -362,6 +347,18 @@ in
options = "trans=virtio,version=9p2000.L,msize=1048576";
neededForBoot = true;
};
+ } // optionalAttrs cfg.writableStore
+ { "/nix/store" =
+ { fsType = "unionfs-fuse";
+ device = "unionfs";
+ options = "allow_other,cow,nonempty,chroot=/mnt-root,max_files=32768,hide_meta_files,dirs=/nix/.rw-store=rw:/nix/.ro-store=ro";
+ };
+ } // optionalAttrs (cfg.writableStore && cfg.writableStoreUseTmpfs)
+ { "/nix/.rw-store" =
+ { fsType = "tmpfs";
+ options = "mode=0755";
+ neededForBoot = true;
+ };
} // optionalAttrs cfg.useBootLoader
{ "/boot" =
{ device = "/dev/disk/by-label/boot";
@@ -369,7 +366,7 @@ in
options = "ro";
noCheck = true; # fsck fails on a r/o filesystem
};
- };
+ });
swapDevices = mkVMOverride [ ];
boot.initrd.luks.devices = mkVMOverride [];
diff --git a/nixos/tests/containers.nix b/nixos/tests/containers.nix
index f7dc8eb491d6a174b4a4248954f10d7b2c34ed8f..a582e23fda025bd8fa384daf4407217180206645 100644
--- a/nixos/tests/containers.nix
+++ b/nixos/tests/containers.nix
@@ -35,7 +35,7 @@ import ./make-test.nix {
# multi-user.target, we should now be able to access it.
my $ip = $machine->succeed("nixos-container show-ip webserver");
chomp $ip;
- $machine->succeed("ping -c1 $ip");
+ #$machine->succeed("ping -c1 $ip"); # FIXME
$machine->succeed("curl --fail http://$ip/ > /dev/null");
# Stop the container.
diff --git a/nixos/tests/misc.nix b/nixos/tests/misc.nix
index c03db6c433530fb8ab7b4d657ec01fdf797a4308..e1830d95b41f057fbabbe239520bc6418ae468f8 100644
--- a/nixos/tests/misc.nix
+++ b/nixos/tests/misc.nix
@@ -12,8 +12,7 @@ import ./make-test.nix {
services.nixosManual.enable = mkOverride 0 true;
systemd.tmpfiles.rules = [ "d /tmp 1777 root root 10d" ];
fileSystems = mkVMOverride { "/tmp2" =
- { device = "none";
- fsType = "tmpfs";
+ { fsType = "tmpfs";
options = "mode=1777,noauto";
};
};
diff --git a/pkgs/applications/audio/a2jmidid/default.nix b/pkgs/applications/audio/a2jmidid/default.nix
index c5e35d8867c867988db76f463b914d0d43e04f75..38192311ccfa75dc322de201120cfde959106c0d 100644
--- a/pkgs/applications/audio/a2jmidid/default.nix
+++ b/pkgs/applications/audio/a2jmidid/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, alsaLib, dbus, jackaudio, pkgconfig, python }:
+{ stdenv, fetchurl, alsaLib, dbus, jack2, pkgconfig, python }:
stdenv.mkDerivation rec {
name = "a2jmidid-${version}";
@@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
sha256 = "0pzm0qk5ilqhwz74pydg1jwrds27vm47185dakdrxidb5bv3b5ia";
};
- buildInputs = [ alsaLib dbus jackaudio pkgconfig python ];
+ buildInputs = [ alsaLib dbus jack2 pkgconfig python ];
configurePhase = "python waf configure --prefix=$out";
diff --git a/pkgs/applications/audio/abcde/default.nix b/pkgs/applications/audio/abcde/default.nix
index 031b0fe93b5976b08c9cb5aa68b0ed6d7b83cc9a..1978fcf187497409d5eb026524818329c52b4eb7 100644
--- a/pkgs/applications/audio/abcde/default.nix
+++ b/pkgs/applications/audio/abcde/default.nix
@@ -61,7 +61,7 @@ in
meta = {
homepage = "http://lly.org/~rcw/abcde/page/";
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
description = "Command-line audio CD ripper";
longDescription = ''
diff --git a/pkgs/applications/audio/ardour/default.nix b/pkgs/applications/audio/ardour/default.nix
index 88bc7399c65e2aeb77cdd505896cdb15efb701ac..62b88cbe0775e2ddc46af8b86c36807f74354eae 100644
--- a/pkgs/applications/audio/ardour/default.nix
+++ b/pkgs/applications/audio/ardour/default.nix
@@ -1,5 +1,5 @@
{ stdenv, fetchgit, alsaLib, aubio, boost, cairomm, curl, fftw
-, fftwSinglePrec, flac, glibc, glibmm, gtk, gtkmm, jackaudio
+, fftwSinglePrec, flac, glibc, glibmm, gtk, gtkmm, jack2
, libgnomecanvas, libgnomecanvasmm, liblo, libmad, libogg, librdf
, librdf_raptor, librdf_rasqal, libsamplerate, libsigcxx, libsndfile
, libusb, libuuid, libxml2, libxslt, lilv, lv2, makeWrapper, pango
@@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
buildInputs =
[ alsaLib aubio boost cairomm curl fftw fftwSinglePrec flac glibc
- glibmm gtk gtkmm jackaudio libgnomecanvas libgnomecanvasmm liblo
+ glibmm gtk gtkmm jack2 libgnomecanvas libgnomecanvasmm liblo
libmad libogg librdf librdf_raptor librdf_rasqal libsamplerate
libsigcxx libsndfile libusb libuuid libxml2 libxslt lilv lv2
makeWrapper pango perl pkgconfig python serd sord sratom suil
@@ -47,6 +47,21 @@ stdenv.mkDerivation rec {
mkdir -pv $out/gtk2/engines
cp build/libs/clearlooks-newer/libclearlooks.so $out/gtk2/engines/
wrapProgram $out/bin/ardour3 --prefix GTK_PATH : $out/gtk2
+
+ # Install desktop file
+ mkdir -p "$out/share/applications"
+ cat > "$out/share/applications/ardour.desktop" << EOF
+ [Desktop Entry]
+ Name=Ardour 3
+ GenericName=Digital Audio Workstation
+ Comment=Multitrack harddisk recorder
+ Exec=$out/bin/ardour3
+ Icon=$out/share/ardour3/icons/ardour_icon_256px.png
+ Terminal=false
+ Type=Application
+ X-MultipleArgs=false
+ Categories=GTK;Audio;AudioVideoEditing;AudioVideo;Video;
+ EOF
'';
meta = with stdenv.lib; {
diff --git a/pkgs/applications/audio/audacity/default.nix b/pkgs/applications/audio/audacity/default.nix
index 890497b0c99290fa1d10eb499dfed4277b4ae2f5..7308d84e098407749dbc8a7df1b0dc5b3d335b82 100644
--- a/pkgs/applications/audio/audacity/default.nix
+++ b/pkgs/applications/audio/audacity/default.nix
@@ -31,7 +31,7 @@ stdenv.mkDerivation rec {
meta = {
description = "Sound editor with graphical UI";
homepage = http://audacity.sourceforge.net;
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
platforms = with stdenv.lib.platforms; linux;
maintainers = with stdenv.lib.maintainers; [ the-kenny ];
};
diff --git a/pkgs/applications/audio/aumix/default.nix b/pkgs/applications/audio/aumix/default.nix
index 1e19a3ac5c39de5a5a6ec64a4043244c90251136..41edd51e5f26a731acbd2bda0346d04bc3ecb465 100644
--- a/pkgs/applications/audio/aumix/default.nix
+++ b/pkgs/applications/audio/aumix/default.nix
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
the command line or a script.
'';
homepage = http://www.jpj.net/~trevor/aumix.html;
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
maintainers = [ stdenv.lib.maintainers.ludo ];
platforms = stdenv.lib.platforms.linux;
diff --git a/pkgs/applications/audio/bristol/default.nix b/pkgs/applications/audio/bristol/default.nix
index 5eb4f0c4e9f156dcaaa5618d53f3a103312cbd67..b27ac0586025f3c737d249d0770d5f8ff9148171 100644
--- a/pkgs/applications/audio/bristol/default.nix
+++ b/pkgs/applications/audio/bristol/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, alsaLib, jackaudio, pkgconfig, pulseaudio, xlibs }:
+{ stdenv, fetchurl, alsaLib, jack2, pkgconfig, pulseaudio, xlibs }:
stdenv.mkDerivation rec {
name = "bristol-${version}";
@@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
};
buildInputs = [
- alsaLib jackaudio pkgconfig pulseaudio xlibs.libX11 xlibs.libXext
+ alsaLib jack2 pkgconfig pulseaudio xlibs.libX11 xlibs.libXext
xlibs.xproto
];
diff --git a/pkgs/applications/audio/calf/default.nix b/pkgs/applications/audio/calf/default.nix
index 6ed4b7cce98b1ea8ee9fad92c8b957e9a981556f..efab9202025d5f82f40a8df5d6ac38d4a081cb00 100644
--- a/pkgs/applications/audio/calf/default.nix
+++ b/pkgs/applications/audio/calf/default.nix
@@ -1,5 +1,5 @@
{ stdenv, fetchurl, cairo, expat, fftwSinglePrec, fluidsynth, glib
-, gtk, jackaudio, ladspaH , libglade, lv2, pkgconfig }:
+, gtk, jack2, ladspaH , libglade, lv2, pkgconfig }:
stdenv.mkDerivation rec {
name = "calf-${version}";
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
};
buildInputs = [
- cairo expat fftwSinglePrec fluidsynth glib gtk jackaudio ladspaH
+ cairo expat fftwSinglePrec fluidsynth glib gtk jack2 ladspaH
libglade lv2 pkgconfig
];
diff --git a/pkgs/applications/audio/cd-discid/default.nix b/pkgs/applications/audio/cd-discid/default.nix
index c67830a94e77aea9a0f27189101e7e2983906c31..1646f944a8304c2c4b1c40f03156b8f784ee22f4 100644
--- a/pkgs/applications/audio/cd-discid/default.nix
+++ b/pkgs/applications/audio/cd-discid/default.nix
@@ -19,7 +19,7 @@ in
meta = {
homepage = http://lly.org/~rcw/cd-discid/;
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
description = "cd-discid, a command-line utility to retrieve a disc's CDDB ID";
longDescription = ''
diff --git a/pkgs/applications/audio/distrho/default.nix b/pkgs/applications/audio/distrho/default.nix
index 809a02e1c7a50d5b2a31dafebd3d0ec825e12de2..aa3a76c3af139bc2d35e150f702c7bfd4d1891ba 100644
--- a/pkgs/applications/audio/distrho/default.nix
+++ b/pkgs/applications/audio/distrho/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchgit, alsaLib, fftwSinglePrec, freetype, jackaudio
+{ stdenv, fetchgit, alsaLib, fftwSinglePrec, freetype, jack2
, libxslt, lv2, pkgconfig, premake3, xlibs }:
let
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
'';
buildInputs = [
- alsaLib fftwSinglePrec freetype jackaudio pkgconfig premake3
+ alsaLib fftwSinglePrec freetype jack2 pkgconfig premake3
xlibs.libX11 xlibs.libXcomposite xlibs.libXcursor xlibs.libXext
xlibs.libXinerama xlibs.libXrender
];
diff --git a/pkgs/applications/audio/drumkv1/default.nix b/pkgs/applications/audio/drumkv1/default.nix
index ab8027e23711d0850f4804f1b5b670a71c676d81..34950d1a343d641f716409ac82e81d24deaf13bd 100644
--- a/pkgs/applications/audio/drumkv1/default.nix
+++ b/pkgs/applications/audio/drumkv1/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, jackaudio, libsndfile, lv2, qt4 }:
+{ stdenv, fetchurl, jack2, libsndfile, lv2, qt4 }:
stdenv.mkDerivation rec {
name = "drumkv1-${version}";
@@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
sha256 = "18rvfgblynlmklk25azmppibn1bdjid97hipa323gnzmxgq0rfjq";
};
- buildInputs = [ jackaudio libsndfile lv2 qt4 ];
+ buildInputs = [ jack2 libsndfile lv2 qt4 ];
meta = with stdenv.lib; {
description = "An old-school drum-kit sampler synthesizer with stereo fx";
diff --git a/pkgs/applications/audio/espeak/default.nix b/pkgs/applications/audio/espeak/default.nix
index e1cf5fee1cc7dc42c70f86ee2b900ed7f6deb45e..0faf4841c71b326de1dbdcb41a55043a576371d2 100644
--- a/pkgs/applications/audio/espeak/default.nix
+++ b/pkgs/applications/audio/espeak/default.nix
@@ -1,10 +1,11 @@
-{stdenv, fetchurl, unzip, portaudio }:
+{ stdenv, fetchurl, unzip, portaudio }:
+
+stdenv.mkDerivation rec {
+ name = "espeak-1.48.04";
-stdenv.mkDerivation {
- name = "espeak-1.46.02";
src = fetchurl {
- url = mirror://sourceforge/espeak/espeak-1.46.02-source.zip;
- sha256 = "1fjlv5fm0gzvr5wzy1dp4nspw04k0bqv3jymha2p2qfjbfifp2zg";
+ url = "mirror://sourceforge/espeak/${name}-source.zip";
+ sha256 = "0n86gwh9pw0jqqpdz7mxggllfr8k0r7pc67ayy7w5z6z79kig6mz";
};
buildInputs = [ unzip portaudio ];
@@ -21,9 +22,10 @@ stdenv.mkDerivation {
makeFlags="PREFIX=$out DATADIR=$out/share/espeak-data"
'';
- meta = {
+ meta = with stdenv.lib; {
description = "Compact open source software speech synthesizer";
homepage = http://espeak.sourceforge.net/;
- license = "GPLv3+";
+ license = licenses.gpl3Plus;
+ platforms = platforms.linux;
};
}
diff --git a/pkgs/applications/audio/espeak/edit.nix b/pkgs/applications/audio/espeak/edit.nix
index eb34335721f04d3ead35634450e504f947f2bcbb..524a95bcca0690c1d289aaf0c33a8bd0ba7734e1 100644
--- a/pkgs/applications/audio/espeak/edit.nix
+++ b/pkgs/applications/audio/espeak/edit.nix
@@ -1,31 +1,57 @@
-{stdenv, fetchurl, unzip, portaudio, wxGTK}:
+{ stdenv, fetchurl, pkgconfig, unzip, portaudio, wxGTK, sox }:
+
+stdenv.mkDerivation rec {
+ name = "espeakedit-1.48.03";
-stdenv.mkDerivation {
- name = "espeakedit-1.46.02";
src = fetchurl {
- url = mirror://sourceforge/espeak/espeakedit-1.46.02.zip;
- sha256 = "1cc5r89sn8zz7b8wj4grx9xb7aqyi0ybj0li9hpy7hd67r56kqkl";
+ url = "mirror://sourceforge/espeak/${name}.zip";
+ sha256 = "0x8s7vpb7rw5x37yjzy1f98m4f2csdg89libb74fm36gn8ly0hli";
};
- buildInputs = [ unzip portaudio wxGTK ];
+ buildInputs = [ pkgconfig unzip portaudio wxGTK ];
+
+ # TODO:
+ # Uhm, seems like espeakedit still wants espeak-data/ in $HOME, even thought
+ # it should use $espeak/share/espeak-data. Have to contact upstream to get
+ # this fixed.
+ #
+ # Workaround:
+ # cp -r $(nix-build -A espeak)/share/espeak-data ~
+ # chmod +w ~/espeak-data
+
+ patches = [
+ ./espeakedit-fix-makefile.patch
+ ./espeakedit-configurable-sox-path.patch
+ ./espeakedit-configurable-path-espeak-data.patch
+ ];
- patchPhase = if portaudio.api_version == 19 then ''
+ postPatch = ''
+ # Disable -Wall flag because it's noisy
+ sed -i "s/-Wall//g" src/Makefile
+
+ # Fixup paths (file names from above espeak-configurable* patches)
+ for file in src/compiledata.cpp src/readclause.cpp src/speech.h; do
+ sed -e "s|@sox@|${sox}/bin/sox|" \
+ -e "s|@prefix@|$out|" \
+ -i "$file"
+ done
+ '' + stdenv.lib.optionalString (portaudio.api_version == 19) ''
cp src/portaudio19.h src/portaudio.h
- '' else "";
+ '';
buildPhase = ''
- cd src
- gcc -o espeakedit *.cpp `wx-config --cxxflags --libs`
+ make -C src
'';
installPhase = ''
- ensureDir $out/bin
- cp espeakedit $out/bin
+ mkdir -p "$out/bin"
+ cp src/espeakedit "$out/bin"
'';
- meta = {
+ meta = with stdenv.lib; {
description = "Phoneme editor for espeak";
homepage = http://espeak.sourceforge.net/;
- license = "GPLv3+";
+ license = licenses.gpl3Plus;
+ platforms = platforms.linux;
};
}
diff --git a/pkgs/applications/audio/espeak/espeakedit-configurable-path-espeak-data.patch b/pkgs/applications/audio/espeak/espeakedit-configurable-path-espeak-data.patch
new file mode 100644
index 0000000000000000000000000000000000000000..e5c761a11b354eb7e6cef631ed0e1278ea1e0ed3
--- /dev/null
+++ b/pkgs/applications/audio/espeak/espeakedit-configurable-path-espeak-data.patch
@@ -0,0 +1,15 @@
+Don't hardcode /usr, use @prefix@.
+
+Author: Bjørn Forsman
+diff -uNr espeakedit-1.48.03.orig/src/speech.h espeakedit-1.48.03/src/speech.h
+--- espeakedit-1.48.03.orig/src/speech.h 2014-03-04 17:48:12.000000000 +0100
++++ espeakedit-1.48.03/src/speech.h 2014-07-22 18:21:40.860790719 +0200
+@@ -58,7 +58,7 @@
+
+ // will look for espeak_data directory here, and also in user's home directory
+ #ifndef PATH_ESPEAK_DATA
+- #define PATH_ESPEAK_DATA "/usr/share/espeak-data"
++ #define PATH_ESPEAK_DATA "@prefix@/share/espeak-data"
+ #endif
+
+ typedef unsigned short USHORT;
diff --git a/pkgs/applications/audio/espeak/espeakedit-configurable-sox-path.patch b/pkgs/applications/audio/espeak/espeakedit-configurable-sox-path.patch
new file mode 100644
index 0000000000000000000000000000000000000000..1c5dfc21941af6a3361f8e79264f4e8cfb20ec5d
--- /dev/null
+++ b/pkgs/applications/audio/espeak/espeakedit-configurable-sox-path.patch
@@ -0,0 +1,27 @@
+Make the path to 'sox' configurable by marking it '@sox@' (easy to match with sed).
+
+Author: Bjørn Forsman
+diff -uNr espeakedit-1.48.03.orig/src/compiledata.cpp espeakedit-1.48.03/src/compiledata.cpp
+--- espeakedit-1.48.03.orig/src/compiledata.cpp 2014-03-04 17:48:11.000000000 +0100
++++ espeakedit-1.48.03/src/compiledata.cpp 2014-07-22 16:38:50.261388452 +0200
+@@ -1884,7 +1884,7 @@
+ fname2 = msg;
+ }
+
+- sprintf(command,"sox \"%s%s.wav\" -r %d -c1 -t wav %s\n",path_source,fname2,samplerate_native, fname_temp);
++ sprintf(command,"@sox@ \"%s%s.wav\" -r %d -c1 -t wav %s\n",path_source,fname2,samplerate_native, fname_temp);
+ if(system(command) != 0)
+ {
+ failed = 1;
+diff -uNr espeakedit-1.48.03.orig/src/readclause.cpp espeakedit-1.48.03/src/readclause.cpp
+--- espeakedit-1.48.03.orig/src/readclause.cpp 2014-03-04 17:48:11.000000000 +0100
++++ espeakedit-1.48.03/src/readclause.cpp 2014-07-22 16:38:37.190440504 +0200
+@@ -892,7 +892,7 @@
+ if((fd_temp = mkstemp(fname_temp)) >= 0)
+ {
+ close(fd_temp);
+- sprintf(command,"sox \"%s\" -r %d -c1 -t wav %s\n", fname, samplerate, fname_temp);
++ sprintf(command,"@sox@ \"%s\" -r %d -c1 -t wav %s\n", fname, samplerate, fname_temp);
+ if(system(command) == 0)
+ {
+ fname = fname_temp;
diff --git a/pkgs/applications/audio/espeak/espeakedit-fix-makefile.patch b/pkgs/applications/audio/espeak/espeakedit-fix-makefile.patch
new file mode 100644
index 0000000000000000000000000000000000000000..9f8a65d2b0ca60e9377d1d28128766145a9a1b97
--- /dev/null
+++ b/pkgs/applications/audio/espeak/espeakedit-fix-makefile.patch
@@ -0,0 +1,26 @@
+Fix broken Makefile:
+
+* fix syntax error (missing '\' to continue line):
+ Makefile:19: *** recipe commences before first target. Stop.
+* Get portaudio library flags from pkg-config (to get -Lpath/to/portaudio/lib etc.)
+
+Author: Bjørn Forsman
+diff -uNr espeakedit-1.48.03.orig/src/Makefile espeakedit-1.48.03/src/Makefile
+--- espeakedit-1.48.03.orig/src/Makefile 2013-03-13 15:52:02.000000000 +0100
++++ espeakedit-1.48.03/src/Makefile 2014-07-22 15:34:17.524114822 +0200
+@@ -12,12 +12,11 @@
+
+ WX_LIBS = -pthread `wx-config --libs`
+
+-LIBS=-lstdc++ -lportaudio
++LIBS=-lstdc++ `pkg-config --libs portaudio-2.0`
+ #LIBS=-lstdc++ /usr/lib/x86_64-linux-gnu/libportaudio.so.2
+
+-CPPFLAGS = -Wall -g -fexceptions `wx-config --cflags`
+- -I/usr/include/wx-2.8 \
+- -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
++CPPFLAGS = -Wall -g -fexceptions `wx-config --cflags` \
++ -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES \
+ -D_LARGEFILE_SOURCE=1 -DNO_GCC_PRAGMA -D_ESPEAKEDIT
+
+ CXXFLAGS = -O2 -Wall -fexceptions `wx-config --cflags` \
diff --git a/pkgs/applications/audio/fluidsynth/default.nix b/pkgs/applications/audio/fluidsynth/default.nix
index 89e95f62cd5f26627b077c75c8fdfa3c1fcc4266..8cba482194e55e1c9b343b214119bd844031b52f 100644
--- a/pkgs/applications/audio/fluidsynth/default.nix
+++ b/pkgs/applications/audio/fluidsynth/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, alsaLib, glib, jackaudio, libsndfile, pkgconfig
+{ stdenv, fetchurl, alsaLib, glib, jack2, libsndfile, pkgconfig
, pulseaudio }:
stdenv.mkDerivation rec {
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
"-framework CoreAudio";
buildInputs = [ glib libsndfile pkgconfig ]
- ++ stdenv.lib.optionals (!stdenv.isDarwin) [ alsaLib pulseaudio jackaudio ];
+ ++ stdenv.lib.optionals (!stdenv.isDarwin) [ alsaLib pulseaudio jack2 ];
meta = with stdenv.lib; {
description = "Real-time software synthesizer based on the SoundFont 2 specifications";
diff --git a/pkgs/applications/audio/gmu/default.nix b/pkgs/applications/audio/gmu/default.nix
index e75be3e2c2befa830a538a5b299b83acbf032a62..f23ba66a3b514703d24b032ca165a5ef071eb833 100644
--- a/pkgs/applications/audio/gmu/default.nix
+++ b/pkgs/applications/audio/gmu/default.nix
@@ -30,6 +30,6 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://wejp.k.vu/projects/gmu;
description = "Open source music player for portable gaming consoles and handhelds";
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
};
}
diff --git a/pkgs/applications/audio/gpodder/default.nix b/pkgs/applications/audio/gpodder/default.nix
new file mode 100644
index 0000000000000000000000000000000000000000..19b61ebc76d4e229334d85d33f14675fb2ce1908
--- /dev/null
+++ b/pkgs/applications/audio/gpodder/default.nix
@@ -0,0 +1,45 @@
+{ pkgs, stdenv, fetchurl, python, buildPythonPackage, pythonPackages, mygpoclient, intltool,
+ ipodSupport ? true, libgpod, gpodderHome ? "", gpodderDownloadDir ? "" }:
+
+with pkgs.lib;
+
+let
+ inherit (pythonPackages) coverage feedparser minimock sqlite3 dbus pygtk eyeD3;
+
+in buildPythonPackage rec {
+ name = "gpodder-3.7.0";
+
+ src = fetchurl {
+ url = "http://gpodder.org/src/${name}.tar.gz";
+ sha256 = "fa90ef4bdd3fd9eef95404f7f43f70912ae3ab4f8d24078484a2f3e11b14dc47";
+ };
+
+ buildInputs = [ coverage feedparser minimock sqlite3 mygpoclient intltool ];
+
+ propagatedBuildInputs = [ feedparser dbus mygpoclient sqlite3 pygtk eyeD3 ]
+ ++ stdenv.lib.optional ipodSupport libgpod;
+
+ postPatch = "sed -ie 's/PYTHONPATH=src/PYTHONPATH=\$(PYTHONPATH):src/' makefile";
+
+ checkPhase = "make unittest";
+
+ preFixup = ''
+ wrapProgram $out/bin/gpodder \
+ ${optionalString (gpodderHome != "") "--set GPODDER_HOME ${gpodderHome}"} \
+ ${optionalString (gpodderDownloadDir != "") "--set GPODDER_DOWNLOAD_DIR ${gpodderDownloadDir}"}
+ '';
+
+ installPhase = "DESTDIR=/ PREFIX=$out make install";
+
+ meta = {
+ description = "A podcatcher written in python";
+ longDescription = ''
+ gPodder downloads and manages free audio and video content (podcasts)
+ for you. Listen directly on your computer or on your mobile devices.
+ '';
+ homepage = "http://gpodder.org/";
+ license = "GPLv3";
+ platforms = stdenv.lib.platforms.linux ++ stdenv.lib.platforms.darwin;
+ maintainers = [ stdenv.lib.maintainers.skeidel ];
+ };
+}
diff --git a/pkgs/applications/audio/gtkpod/default.nix b/pkgs/applications/audio/gtkpod/default.nix
index 90e27c12ce3b5b8829cbc3578cbea85abfaa9995..80a7cf52cd8d0674994fc866163e0270c870a3a0 100644
--- a/pkgs/applications/audio/gtkpod/default.nix
+++ b/pkgs/applications/audio/gtkpod/default.nix
@@ -1,25 +1,43 @@
-{ stdenv, fetchurl, pkgconfig, libgpod, gtk, glib, gettext, perl, perlXMLParser
-, libglade, flex, libid3tag, libvorbis, intltool }:
+{ stdenv, fetchurl, pkgconfig, makeWrapper, intltool, libgpod, curl, flac,
+ gnome3_12, gtk3, glib, gettext, perl, perlXMLParser , libglade, flex, libid3tag,
+ libvorbis, hicolor_icon_theme, gdk_pixbuf }:
-stdenv.mkDerivation {
- name = "gtkpod-1.0.0";
+let
+ gnome = gnome3_12;
+
+in stdenv.mkDerivation rec {
+ version = "2.1.4";
+ name = "gtkpod-${version}";
src = fetchurl {
- url = mirror://sourceforge/gtkpod/gtkpod-1.0.0.tar.gz;
- sha256 = "04jzybs55c27kyp7r9c58prcq0q4ssvj5iggva857f49s1ar826q";
+ url = "mirror://sourceforge/gtkpod/${name}.tar.gz";
+ sha256 = "ba12b35f3f24a155b68f0ffdaf4d3c5c7d1b8df04843a53306e1c83fc811dfaa";
};
- buildInputs = [ pkgconfig libgpod gettext perl perlXMLParser gtk libglade flex
- libid3tag libvorbis intltool ];
+ propagatedUserEnvPkgs = [ gnome.gnome_themes_standard ];
+
+ buildInputs = [ pkgconfig makeWrapper intltool curl gettext perl perlXMLParser
+ flex libgpod libid3tag flac libvorbis gtk3 gdk_pixbuf libglade gnome.anjuta
+ gnome.gdl gnome.gnome_icon_theme_symbolic gnome.gnome_icon_theme
+ hicolor_icon_theme ];
patchPhase = ''
sed -i 's/which/type -P/' scripts/*.sh
'';
- meta = {
+ preFixup = ''
+ wrapProgram "$out/bin/gtkpod" \
+ --set GDK_PIXBUF_MODULE_FILE "$GDK_PIXBUF_MODULE_FILE" \
+ --prefix XDG_DATA_DIRS : "$XDG_ICON_DIRS:${gnome.gnome_themes_standard}/share:$out/share:$GSETTINGS_SCHEMAS_PATH"
+ '';
+
+ enableParallelBuilding = true;
+
+ meta = with stdenv.lib; {
description = "GTK Manager for an Apple ipod";
homepage = http://gtkpod.sourceforge.net;
- license = "GPLv2+";
- platforms = with stdenv.lib.platforms; linux;
+ license = licenses.gpl2Plus;
+ platforms = platforms.linux;
+ maintainers = [ maintainers.skeidel ];
};
}
diff --git a/pkgs/applications/audio/guitarix/default.nix b/pkgs/applications/audio/guitarix/default.nix
index 44b0e9ef0d796436115ccebad7c85b3b21aff599..777c0ddb2e35e54592d3151e5898c44e37e08c05 100644
--- a/pkgs/applications/audio/guitarix/default.nix
+++ b/pkgs/applications/audio/guitarix/default.nix
@@ -1,5 +1,5 @@
{ stdenv, fetchurl, avahi, boost, fftw, gettext, glib, glibmm, gtk
-, gtkmm, intltool, jackaudio, ladspaH, librdf, libsndfile, lv2
+, gtkmm, intltool, jack2, ladspaH, librdf, libsndfile, lv2
, pkgconfig, python }:
stdenv.mkDerivation rec {
@@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
};
buildInputs = [
- avahi boost fftw gettext glib glibmm gtk gtkmm intltool jackaudio
+ avahi boost fftw gettext glib glibmm gtk gtkmm intltool jack2
ladspaH librdf libsndfile lv2 pkgconfig python
];
diff --git a/pkgs/applications/audio/hydrogen/default.nix b/pkgs/applications/audio/hydrogen/default.nix
index 74ff2a3407c483e54ee4abce124c854e040a16c8..10f15f5882cbd23b5458c313b663de61b70410fa 100644
--- a/pkgs/applications/audio/hydrogen/default.nix
+++ b/pkgs/applications/audio/hydrogen/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, alsaLib, boost, glib, jackaudio, ladspaPlugins
+{ stdenv, fetchurl, alsaLib, boost, glib, jack2, ladspaPlugins
, libarchive, liblrdf , libsndfile, pkgconfig, qt4, scons, subversion }:
stdenv.mkDerivation rec {
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
};
buildInputs = [
- alsaLib boost glib jackaudio ladspaPlugins libarchive liblrdf
+ alsaLib boost glib jack2 ladspaPlugins libarchive liblrdf
libsndfile pkgconfig qt4 scons subversion
];
diff --git a/pkgs/applications/audio/id3v2/default.nix b/pkgs/applications/audio/id3v2/default.nix
index a7835f020d14b1d4097f6a58d16e0f5c845e50e6..b96872c7ef0c304c4a4335833508b909bc5a85f3 100644
--- a/pkgs/applications/audio/id3v2/default.nix
+++ b/pkgs/applications/audio/id3v2/default.nix
@@ -23,6 +23,6 @@ stdenv.mkDerivation rec {
meta = {
description = "A command line editor for id3v2 tags";
homepage = http://id3v2.sourceforge.net/;
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
};
}
diff --git a/pkgs/applications/audio/ingen/default.nix b/pkgs/applications/audio/ingen/default.nix
index 73138cc269d0428ea127df38ba5bb9059b14400e..ac46ff6140c19c123f7ec56be49b590e0620bf20 100644
--- a/pkgs/applications/audio/ingen/default.nix
+++ b/pkgs/applications/audio/ingen/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchsvn, boost, ganv, glibmm, gtk, gtkmm, jackaudio, lilv
+{ stdenv, fetchsvn, boost, ganv, glibmm, gtk, gtkmm, jack2, lilv
, lv2, pkgconfig, python, raul, serd, sord, sratom, suil
}:
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
};
buildInputs = [
- boost ganv glibmm gtk gtkmm jackaudio lilv lv2 pkgconfig python
+ boost ganv glibmm gtk gtkmm jack2 lilv lv2 pkgconfig python
raul serd sord sratom suil
];
diff --git a/pkgs/applications/audio/jack-capture/default.nix b/pkgs/applications/audio/jack-capture/default.nix
index 3b8f0f652a8b87e4b54d2db157bbd2f2b6bd9f4d..2e6f6b0dd828ea79c148b3236691043329b650cb 100644
--- a/pkgs/applications/audio/jack-capture/default.nix
+++ b/pkgs/applications/audio/jack-capture/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, jackaudio, libsndfile, pkgconfig }:
+{ stdenv, fetchurl, jack2, libsndfile, pkgconfig }:
stdenv.mkDerivation rec {
name = "jack_capture-${version}";
@@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
sha256 = "0sk7b92my1v1g7rhkpl1c608rb0rdb28m9zqfll95kflxajd16zv";
};
- buildInputs = [ jackaudio libsndfile pkgconfig ];
+ buildInputs = [ jack2 libsndfile pkgconfig ];
buildPhase = "PREFIX=$out make jack_capture";
diff --git a/pkgs/applications/audio/jack-oscrolloscope/default.nix b/pkgs/applications/audio/jack-oscrolloscope/default.nix
index dbceb0a336c5cb76fee55dde9d5cc2dca8afdb41..7b4d12a5b877ce555af6acd14db7547793f2286b 100644
--- a/pkgs/applications/audio/jack-oscrolloscope/default.nix
+++ b/pkgs/applications/audio/jack-oscrolloscope/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, SDL, jackaudio, mesa, pkgconfig }:
+{ stdenv, fetchurl, SDL, jack2, mesa, pkgconfig }:
stdenv.mkDerivation rec {
name = "jack_oscrolloscope-${version}";
@@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
sha256 = "1pl55in0sj7h5r06n1v91im7d18pplvhbjhjm1fdl39zwnyxiash";
};
- buildInputs = [ SDL jackaudio mesa pkgconfig ];
+ buildInputs = [ SDL jack2 mesa pkgconfig ];
installPhase = ''
mkdir -p $out/bin
diff --git a/pkgs/applications/audio/jack-rack/default.nix b/pkgs/applications/audio/jack-rack/default.nix
index 1d1128e663d33ff60973bbe64eb568947f5aac04..8ac47c570dfbe3639d016faf7ddd16f3c5e81553 100644
--- a/pkgs/applications/audio/jack-rack/default.nix
+++ b/pkgs/applications/audio/jack-rack/default.nix
@@ -1,11 +1,11 @@
-{ stdenv, fetchurl, pkgconfig, jackaudio, ladspaH, gtk, alsaLib, libxml2, librdf }:
+{ stdenv, fetchurl, pkgconfig, jack2, ladspaH, gtk, alsaLib, libxml2, librdf }:
stdenv.mkDerivation rec {
name = "jack-rack-1.4.7";
src = fetchurl {
url = "mirror://sourceforge/jack-rack/${name}.tar.bz2";
sha256 = "1lmibx9gicagcpcisacj6qhq6i08lkl5x8szysjqvbgpxl9qg045";
};
- buildInputs = [ pkgconfig jackaudio ladspaH gtk alsaLib libxml2 librdf ];
+ buildInputs = [ pkgconfig jack2 ladspaH gtk alsaLib libxml2 librdf ];
meta = {
description = ''An effects "rack" for the JACK low latency audio API'';
diff --git a/pkgs/applications/audio/jackmeter/default.nix b/pkgs/applications/audio/jackmeter/default.nix
index 98fcb8943af69f8f586b8496ab8e86fed890c457..74d98184d9dd7a28c32892f3359104abc4ffb68c 100644
--- a/pkgs/applications/audio/jackmeter/default.nix
+++ b/pkgs/applications/audio/jackmeter/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, jackaudio, pkgconfig }:
+{ stdenv, fetchurl, jack2, pkgconfig }:
stdenv.mkDerivation rec {
name = "jackmeter-0.4";
@@ -8,12 +8,12 @@ stdenv.mkDerivation rec {
sha256 = "1cnvgx3jv0yvxlqy0l9k285zgvazmh5k8m4l7lxckjfm5bn6hm1r";
};
- buildInputs = [ jackaudio pkgconfig ];
+ buildInputs = [ jack2 pkgconfig ];
meta = {
description = "Console jack loudness meter";
homepage = http://www.aelius.com/njh/jackmeter/;
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
maintainers = [ stdenv.lib.maintainers.marcweber ];
platforms = stdenv.lib.platforms.linux;
};
diff --git a/pkgs/applications/audio/jalv/default.nix b/pkgs/applications/audio/jalv/default.nix
index 2baf69cef4fdf89133ebc6ce1c4f166f634bcdeb..70ef5bdec5cb319b8641203bc4bcee9144b66242 100644
--- a/pkgs/applications/audio/jalv/default.nix
+++ b/pkgs/applications/audio/jalv/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, gtk, jackaudio, lilv, lv2, pkgconfig, python
+{ stdenv, fetchurl, gtk, jack2, lilv, lv2, pkgconfig, python
, serd, sord , sratom, suil }:
stdenv.mkDerivation rec {
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
};
buildInputs = [
- gtk jackaudio lilv lv2 pkgconfig python serd sord sratom suil
+ gtk jack2 lilv lv2 pkgconfig python serd sord sratom suil
];
configurePhase = "python waf configure --prefix=$out";
diff --git a/pkgs/applications/audio/lash/default.nix b/pkgs/applications/audio/lash/default.nix
index ad52e7b2d85c5d737b7650a399d6a0a785a84028..e42babf13ef837ebc4ee7160f61b40ec5279b368 100644
--- a/pkgs/applications/audio/lash/default.nix
+++ b/pkgs/applications/audio/lash/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, alsaLib, gtk, jackaudio, libuuid, libxml2
+{ stdenv, fetchurl, alsaLib, gtk, jack2, libuuid, libxml2
, makeWrapper, pkgconfig, readline }:
assert libuuid != null;
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
# http://permalink.gmane.org/gmane.linux.redhat.fedora.extras.cvs/822346
patches = [ ./socket.patch ./gcc-47.patch ];
- buildInputs = [ alsaLib gtk jackaudio libuuid libxml2 makeWrapper
+ buildInputs = [ alsaLib gtk jack2 libuuid libxml2 makeWrapper
pkgconfig readline ];
postInstall = ''
diff --git a/pkgs/applications/audio/lingot/default.nix b/pkgs/applications/audio/lingot/default.nix
index 4b8ba4dbc242e7bd1eb9d4915ace68ecf65173cb..4b07c84b0be8c8e76fe438d47b389bef59cd0cee 100644
--- a/pkgs/applications/audio/lingot/default.nix
+++ b/pkgs/applications/audio/lingot/default.nix
@@ -15,7 +15,7 @@ stdenv.mkDerivation {
meta = {
description = "Not a Guitar-Only tuner";
homepage = http://www.nongnu.org/lingot/;
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
platforms = with stdenv.lib.platforms; linux;
maintainers = with stdenv.lib.maintainers; [viric];
};
diff --git a/pkgs/applications/audio/linuxsampler/default.nix b/pkgs/applications/audio/linuxsampler/default.nix
index 1408a1775ee59e7e4a80b7dddd8788b301c7f7ab..2c4b26543ebb354a26ba004cf86519aae9c57b38 100644
--- a/pkgs/applications/audio/linuxsampler/default.nix
+++ b/pkgs/applications/audio/linuxsampler/default.nix
@@ -1,5 +1,5 @@
{ stdenv, fetchsvn, alsaLib, asio, autoconf, automake, bison
-, jackaudio, libgig, libsndfile, libtool, lv2, pkgconfig }:
+, jack2, libgig, libsndfile, libtool, lv2, pkgconfig }:
stdenv.mkDerivation rec {
name = "linuxsampler-svn-${version}";
@@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
'';
buildInputs = [
- alsaLib asio autoconf automake bison jackaudio libgig libsndfile
+ alsaLib asio autoconf automake bison jack2 libgig libsndfile
libtool lv2 pkgconfig
];
diff --git a/pkgs/applications/audio/lmms/default.nix b/pkgs/applications/audio/lmms/default.nix
index 46d5017c4fe1caa9aeb351028179d5014abc5088..dd0649811bbbc9bd21aa5ae57cec8fd77934dd26 100644
--- a/pkgs/applications/audio/lmms/default.nix
+++ b/pkgs/applications/audio/lmms/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, SDL, alsaLib, cmake, fftwSinglePrec, jackaudio, libogg
+{ stdenv, fetchurl, SDL, alsaLib, cmake, fftwSinglePrec, jack2, libogg
, libsamplerate, libsndfile, pkgconfig, pulseaudio, qt4, freetype
}:
@@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
};
buildInputs = [
- SDL alsaLib cmake fftwSinglePrec jackaudio libogg libsamplerate
+ SDL alsaLib cmake fftwSinglePrec jack2 libogg libsamplerate
libsndfile pkgconfig pulseaudio qt4
];
diff --git a/pkgs/applications/audio/mhwaveedit/default.nix b/pkgs/applications/audio/mhwaveedit/default.nix
index a8287b10a298208fb894f3d0f271dc63318496d5..a1e81be3cb37ec86a85d8c534cb5052cdecb24d3 100644
--- a/pkgs/applications/audio/mhwaveedit/default.nix
+++ b/pkgs/applications/audio/mhwaveedit/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, SDL , alsaLib, gtk, jackaudio, ladspaH
+{ stdenv, fetchurl, SDL , alsaLib, gtk, jack2, ladspaH
, ladspaPlugins, libsamplerate, libsndfile, pkgconfig, pulseaudio }:
stdenv.mkDerivation rec {
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
};
buildInputs =
- [ SDL alsaLib gtk jackaudio ladspaH libsamplerate libsndfile
+ [ SDL alsaLib gtk jack2 ladspaH libsamplerate libsndfile
pkgconfig pulseaudio
];
diff --git a/pkgs/applications/audio/mikmod/default.nix b/pkgs/applications/audio/mikmod/default.nix
index a86e09278c3cbef05ecce3d8654beae19eb7056f..f38ff4697313464e88e27d5fc94a9b8a8a7d02de 100644
--- a/pkgs/applications/audio/mikmod/default.nix
+++ b/pkgs/applications/audio/mikmod/default.nix
@@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
meta = {
description = "Tracker music player for the terminal";
homepage = http://mikmod.shlomifish.org/;
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
maintainers = with stdenv.lib.maintainers; [ viric ];
platforms = with stdenv.lib.platforms; linux;
};
diff --git a/pkgs/applications/audio/milkytracker/default.nix b/pkgs/applications/audio/milkytracker/default.nix
index 965c941113c39320d257f37f4fe9eb7c7bc98734..eadbaabcf56043bf6dffeb5c5e35ca57e119f3fd 100644
--- a/pkgs/applications/audio/milkytracker/default.nix
+++ b/pkgs/applications/audio/milkytracker/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, SDL, alsaLib, autoconf, automake, jackaudio, perl
+{ stdenv, fetchurl, SDL, alsaLib, autoconf, automake, jack2, perl
, zlib, zziplib
}:
@@ -32,7 +32,7 @@ stdenv.mkDerivation rec {
export CPATH=${zlib}/lib
'';
- buildInputs = [ SDL alsaLib autoconf automake jackaudio perl zlib zziplib ];
+ buildInputs = [ SDL alsaLib autoconf automake jack2 perl zlib zziplib ];
meta = {
description = "Music tracker application, similar to Fasttracker II.";
diff --git a/pkgs/applications/audio/moc/default.nix b/pkgs/applications/audio/moc/default.nix
index c5a33796ca52a3bd07f654454930f48bb8c4f93f..e5264f5c3d2f9ef9119900d16a5cd7046e99780b 100644
--- a/pkgs/applications/audio/moc/default.nix
+++ b/pkgs/applications/audio/moc/default.nix
@@ -1,4 +1,7 @@
-{ stdenv, fetchurl, ncurses, pkgconfig, alsaLib, flac, libmad, speex, ffmpeg, libvorbis, mpc, libsndfile, jackaudio, db, libmodplug, timidity, libid3tag, libtool }:
+{ stdenv, fetchurl, ncurses, pkgconfig, alsaLib, flac, libmad, speex, ffmpeg
+, libvorbis, mpc, libsndfile, jack2, db, libmodplug, timidity, libid3tag
+, libtool
+}:
stdenv.mkDerivation rec {
name = "moc-${version}";
@@ -11,7 +14,10 @@ stdenv.mkDerivation rec {
configurePhase = "./configure prefix=$out";
- buildInputs = [ ncurses pkgconfig alsaLib flac libmad speex ffmpeg libvorbis mpc libsndfile jackaudio db libmodplug timidity libid3tag libtool ];
+ buildInputs = [
+ ncurses pkgconfig alsaLib flac libmad speex ffmpeg libvorbis
+ mpc libsndfile jack2 db libmodplug timidity libid3tag libtool
+ ];
meta = {
description = "MOC (music on console) is a console audio player for LINUX/UNIX designed to be powerful and easy to use.";
diff --git a/pkgs/applications/audio/mopidy-moped/default.nix b/pkgs/applications/audio/mopidy-moped/default.nix
new file mode 100644
index 0000000000000000000000000000000000000000..8e3489a912233e7839a8a2769c4483b5624cb849
--- /dev/null
+++ b/pkgs/applications/audio/mopidy-moped/default.nix
@@ -0,0 +1,24 @@
+{ stdenv, fetchurl, pythonPackages, mopidy }:
+
+pythonPackages.buildPythonPackage rec {
+ name = "mopidy-moped-${version}";
+
+ version = "0.3.1";
+
+ src = fetchurl {
+ url = "https://github.com/martijnboland/moped/archive/v${version}.tar.gz";
+ sha256 = "0sjp8vr4yfyjx233gamhg0p67zjnlpc9yq3szbw897igsh23j2yr";
+ };
+
+ propagatedBuildInputs = [ mopidy ];
+
+ doCheck = false;
+
+ meta = with stdenv.lib; {
+ homepage = https://github.com/martijnboland/moped;
+ description = "A web client for Mopidy";
+ license = licenses.mit;
+ maintainers = [ maintainers.rickynils ];
+ hydraPlatforms = [];
+ };
+}
diff --git a/pkgs/applications/audio/mopidy-spotify/default.nix b/pkgs/applications/audio/mopidy-spotify/default.nix
index 5c78ef6ba14cb667daea04f5c54a34e982960061..6223ffb0d81f709b2415b594b982efedafdaa2d3 100644
--- a/pkgs/applications/audio/mopidy-spotify/default.nix
+++ b/pkgs/applications/audio/mopidy-spotify/default.nix
@@ -3,11 +3,11 @@
pythonPackages.buildPythonPackage rec {
name = "mopidy-spotify-${version}";
- version = "1.1.3";
+ version = "1.2.0";
src = fetchurl {
url = "https://github.com/mopidy/mopidy-spotify/archive/v${version}.tar.gz";
- sha256 = "09s6841qb24nrmlc2izb8vxbgv185ddra6ndskrsw907hfli2kl6";
+ sha256 = "1fgxakylsx0nggis11v6bxfy8h3dl1n1v86liyfcj0xazb1mx69m";
};
propagatedBuildInputs = [ mopidy pythonPackages.pyspotify ];
diff --git a/pkgs/applications/audio/mopidy/default.nix b/pkgs/applications/audio/mopidy/default.nix
index 65487bac8232575179e90aec5502a18f5c1b548f..10c7c1751ff8b54fdb010e6513e58d00fe41809b 100644
--- a/pkgs/applications/audio/mopidy/default.nix
+++ b/pkgs/applications/audio/mopidy/default.nix
@@ -5,15 +5,15 @@
pythonPackages.buildPythonPackage rec {
name = "mopidy-${version}";
- version = "0.18.3";
+ version = "0.19.0";
src = fetchurl {
url = "https://github.com/mopidy/mopidy/archive/v${version}.tar.gz";
- sha256 = "0b8ss6qjzj1pawd8469i5310ily3rad0ashfy87vdyj6xdyfyp0q";
+ sha256 = "10cnc1bipr0brk7478201cgm71lp5bci3qiaadyxv9hhcn0nmn9b";
};
propagatedBuildInputs = with pythonPackages; [
- gst_python pygobject pykka cherrypy ws4py gst_plugins_base gst_plugins_good
+ gst_python pygobject pykka tornado gst_plugins_base gst_plugins_good
];
# There are no tests
diff --git a/pkgs/applications/audio/mp3info/default.nix b/pkgs/applications/audio/mp3info/default.nix
index d5a8138a50014870de011d4fef2a56be7982c144..0f33726eaeed239c5d1694a48c3754b5aa64f227 100644
--- a/pkgs/applications/audio/mp3info/default.nix
+++ b/pkgs/applications/audio/mp3info/default.nix
@@ -34,7 +34,7 @@ stdenv.mkDerivation rec {
homepage = http://www.ibiblio.org/mp3info/;
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
maintainers = [ stdenv.lib.maintainers.ludo ];
platforms = stdenv.lib.platforms.unix;
diff --git a/pkgs/applications/audio/mpc/default.nix b/pkgs/applications/audio/mpc/default.nix
index ae6d9e0c7e6041acb4d821970041d61419ffe419..54ae5476efddb8cd259522a909f330fd77e51e00 100755
--- a/pkgs/applications/audio/mpc/default.nix
+++ b/pkgs/applications/audio/mpc/default.nix
@@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
meta = {
description = "A minimalist command line interface to MPD";
homepage = http://www.musicpd.org/clients/mpc/;
- license = "GPL2";
+ license = stdenv.lib.licenses.gpl2;
maintainers = [ stdenv.lib.maintainers.algorith ];
platforms = stdenv.lib.platforms.linux;
};
diff --git a/pkgs/applications/audio/mpc123/default.nix b/pkgs/applications/audio/mpc123/default.nix
index 2f00638961c3d5ca9595333954af867ee6932f02..cd4343b1beb4a3507dd953ff8fa8145001c2cdcb 100644
--- a/pkgs/applications/audio/mpc123/default.nix
+++ b/pkgs/applications/audio/mpc123/default.nix
@@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
description = "mpc123, a Musepack (.mpc) audio player";
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
maintainers = [ ];
platforms = stdenv.lib.platforms.gnu; # arbitrary choice
diff --git a/pkgs/applications/audio/mpg321/default.nix b/pkgs/applications/audio/mpg321/default.nix
index ffec1a5736c3ff3a8c9510fdbe5d62d38aa449e0..e58397350cb1e8f81b1e454eac2f2ed21ae10913 100644
--- a/pkgs/applications/audio/mpg321/default.nix
+++ b/pkgs/applications/audio/mpg321/default.nix
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
meta = {
description = "mpg321, a command-line MP3 player";
homepage = http://mpg321.sourceforge.net/;
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
maintainers = [ ];
platforms = stdenv.lib.platforms.gnu;
};
diff --git a/pkgs/applications/audio/ncmpc/default.nix b/pkgs/applications/audio/ncmpc/default.nix
index 937a030f3e537e51f88e92790af963536767f4ea..94fa50a88836a27785d632dc110530b2d67891a2 100755
--- a/pkgs/applications/audio/ncmpc/default.nix
+++ b/pkgs/applications/audio/ncmpc/default.nix
@@ -1,12 +1,12 @@
{ stdenv, fetchurl, pkgconfig, glib, ncurses, mpd_clientlib, libintlOrEmpty }:
stdenv.mkDerivation rec {
- version = "0.22";
+ version = "0.23";
name = "ncmpc-${version}";
src = fetchurl {
url = "http://www.musicpd.org/download/ncmpc/0/ncmpc-${version}.tar.xz";
- sha256 = "a8d65f12653d9ce8bc4493aa1c5de09359c25bf3a22498d2ae797e7d41422211";
+ sha256 = "d7b30cefaf5c74a5d8ab18ab8275e0102ae12e8ee6d6f8144f8e4cc9a97b5de4";
};
buildInputs = [ pkgconfig glib ncurses mpd_clientlib ]
diff --git a/pkgs/applications/audio/pavucontrol/default.nix b/pkgs/applications/audio/pavucontrol/default.nix
index 02a27bedb67f3f747212878f68636330687455a3..ca08624e98f3641f437773aab40c984ba2427743 100644
--- a/pkgs/applications/audio/pavucontrol/default.nix
+++ b/pkgs/applications/audio/pavucontrol/default.nix
@@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
homepage = http://freedesktop.org/software/pulseaudio/pavucontrol/ ;
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
maintainers = [ ];
platforms = stdenv.lib.platforms.gnu; # arbitrary choice
diff --git a/pkgs/applications/audio/petrifoo/default.nix b/pkgs/applications/audio/petrifoo/default.nix
index 2e53a22bff3b4d805e9d14606d129aa0052e205e..152ee442761e834e90003ab21f360d8904908265 100644
--- a/pkgs/applications/audio/petrifoo/default.nix
+++ b/pkgs/applications/audio/petrifoo/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchgit, alsaLib, cmake, gtk, jackaudio, libgnomecanvas
+{ stdenv, fetchgit, alsaLib, cmake, gtk, jack2, libgnomecanvas
, libpthreadstubs, libsamplerate, libsndfile, libtool, libxml2
, pkgconfig }:
@@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
};
buildInputs =
- [ alsaLib cmake gtk jackaudio libgnomecanvas libpthreadstubs
+ [ alsaLib cmake gtk jack2 libgnomecanvas libpthreadstubs
libsamplerate libsndfile libtool libxml2 pkgconfig
];
diff --git a/pkgs/applications/audio/praat/default.nix b/pkgs/applications/audio/praat/default.nix
index b8a283125fc468ec79168df251ee4d1e30cd020f..4859377ab52a1b8f561d9feae91cafb5a49e8d13 100644
--- a/pkgs/applications/audio/praat/default.nix
+++ b/pkgs/applications/audio/praat/default.nix
@@ -22,7 +22,7 @@ stdenv.mkDerivation {
meta = {
description = "Doing phonetics by computer";
homepage = http://www.fon.hum.uva.nl/praat/;
- license = "GPLv2+"; # Has some 3rd-party code in it though
+ license = stdenv.lib.licenses.gpl2Plus; # Has some 3rd-party code in it though
platforms = stdenv.lib.platforms.linux;
};
}
diff --git a/pkgs/applications/audio/projectm/default.nix b/pkgs/applications/audio/projectm/default.nix
index 2dd251ddd5bdea7dfcc736032c15e810aaa34238..508b6743cc396ee1ccca54e528f3075fb91035d9 100644
--- a/pkgs/applications/audio/projectm/default.nix
+++ b/pkgs/applications/audio/projectm/default.nix
@@ -2,7 +2,7 @@
, glew, ftgl, ttf_bitstream_vera
, withQt ? true, qt4
, withLibvisual ? false, libvisual, SDL
-, withJack ? false, jackaudio
+, withJack ? false, jack2
, withPulseAudio ? true, pulseaudio
}:
@@ -45,7 +45,7 @@ stdenv.mkDerivation {
[ glew ftgl ]
++ optional withQt qt4
++ optionals withLibvisual [ libvisual SDL ]
- ++ optional withJack jackaudio
+ ++ optional withJack jack2
++ optional withPulseAudio pulseaudio
;
}
diff --git a/pkgs/applications/audio/puredata/default.nix b/pkgs/applications/audio/puredata/default.nix
index d0394b72eddc8ea7cbaf1532025d89b59a8f61e6..9abca0cb0141e382f794ec68981abd5eaf963960 100644
--- a/pkgs/applications/audio/puredata/default.nix
+++ b/pkgs/applications/audio/puredata/default.nix
@@ -1,5 +1,5 @@
{ stdenv, fetchurl, autoreconfHook, gettext, makeWrapper
-, alsaLib, jackaudio, tk
+, alsaLib, jack2, tk
}:
stdenv.mkDerivation rec {
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ autoreconfHook gettext makeWrapper ];
- buildInputs = [ alsaLib jackaudio ];
+ buildInputs = [ alsaLib jack2 ];
configureFlags = ''
--enable-alsa
diff --git a/pkgs/applications/audio/qjackctl/default.nix b/pkgs/applications/audio/qjackctl/default.nix
index dcb2a1b48e6069f94aa504d3ed230d67d3350515..ba875255d4a0e6a2ca2ced32e3714df92067c5a2 100644
--- a/pkgs/applications/audio/qjackctl/default.nix
+++ b/pkgs/applications/audio/qjackctl/default.nix
@@ -1,17 +1,17 @@
-{ stdenv, fetchurl, qt4, alsaLib, jackaudio, dbus }:
+{ stdenv, fetchurl, qt4, alsaLib, jack2, dbus }:
stdenv.mkDerivation rec {
- version = "0.3.10";
+ version = "0.3.11";
name = "qjackctl-${version}";
# some dependencies such as killall have to be installed additionally
src = fetchurl {
url = "mirror://sourceforge/qjackctl/${name}.tar.gz";
- sha256 = "0ch14y3p0x5ss28cpnqcxp42zb2w07d3l1n2sbrkgiz58iy97paw";
+ sha256 = "1wjzrgx3n2asyxk6cnfcm34msaw84qvsqy08bd4qnghrgpl96hwl";
};
- buildInputs = [ qt4 alsaLib jackaudio dbus ];
+ buildInputs = [ qt4 alsaLib jack2 dbus ];
configureFlags = "--enable-jack-version";
diff --git a/pkgs/applications/audio/qsynth/default.nix b/pkgs/applications/audio/qsynth/default.nix
index 05e6da223dad04f19ebaaf6bcd36e04b868674fd..a5d0e7e621e25de4f725703fb88cba22419b2707 100644
--- a/pkgs/applications/audio/qsynth/default.nix
+++ b/pkgs/applications/audio/qsynth/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, alsaLib, fluidsynth, jackaudio, qt4 }:
+{ stdenv, fetchurl, alsaLib, fluidsynth, jack2, qt4 }:
stdenv.mkDerivation rec {
name = "qsynth-${version}";
@@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
sha256 = "0wmq61cq93x2l00xwr871373mj3dwamz1dg6v62x7s8m1612ndrw";
};
- buildInputs = [ alsaLib fluidsynth jackaudio qt4 ];
+ buildInputs = [ alsaLib fluidsynth jack2 qt4 ];
meta = with stdenv.lib; {
description = "Fluidsynth GUI";
diff --git a/pkgs/applications/audio/qtractor/default.nix b/pkgs/applications/audio/qtractor/default.nix
index a15cf2550407fa730f83263de280db8e4b3f424c..e589adc0e41792328639bc0bbec24ca29e64e0e0 100644
--- a/pkgs/applications/audio/qtractor/default.nix
+++ b/pkgs/applications/audio/qtractor/default.nix
@@ -1,4 +1,4 @@
-{ alsaLib, autoconf, automake, dssi, fetchurl, gtk, jackaudio
+{ alsaLib, autoconf, automake, dssi, fetchurl, gtk, jack2
, ladspaH, ladspaPlugins, liblo, libmad, libsamplerate, libsndfile
, libtool, libvorbis, pkgconfig, qt4, rubberband, stdenv }:
@@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
};
buildInputs =
- [ alsaLib autoconf automake dssi gtk jackaudio ladspaH
+ [ alsaLib autoconf automake dssi gtk jack2 ladspaH
ladspaPlugins liblo libmad libsamplerate libsndfile libtool
libvorbis pkgconfig qt4 rubberband
];
diff --git a/pkgs/applications/audio/rakarrack/default.nix b/pkgs/applications/audio/rakarrack/default.nix
index ba84fe5eaec2509775fbcc19d88157997f884140..257a9967a5b01a15f20629823fb10c784f22881c 100644
--- a/pkgs/applications/audio/rakarrack/default.nix
+++ b/pkgs/applications/audio/rakarrack/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, alsaLib, alsaUtils, fltk, jackaudio, libXft,
+{ stdenv, fetchurl, alsaLib, alsaUtils, fltk, jack2, libXft,
libXpm, libjpeg, libpng, libsamplerate, libsndfile, zlib }:
stdenv.mkDerivation rec {
@@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
patches = [ ./fltk-path.patch ];
- buildInputs = [ alsaLib alsaUtils fltk jackaudio libXft libXpm libjpeg
+ buildInputs = [ alsaLib alsaUtils fltk jack2 libXft libXpm libjpeg
libpng libsamplerate libsndfile zlib ];
meta = with stdenv.lib; {
diff --git a/pkgs/applications/audio/samplv1/default.nix b/pkgs/applications/audio/samplv1/default.nix
index c201536ed347fcec6d79d4bc277cee5443b888c7..7d8d5fc04abcf226ec8d13846bb9b40e55b8af99 100644
--- a/pkgs/applications/audio/samplv1/default.nix
+++ b/pkgs/applications/audio/samplv1/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, jackaudio, libsndfile, lv2, qt4 }:
+{ stdenv, fetchurl, jack2, libsndfile, lv2, qt4 }:
stdenv.mkDerivation rec {
name = "samplv1-${version}";
@@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
sha256 = "1vr6jbqnsgdq3v2h1ndp4pirnil3119dqwlq0k0kdscmcskvb9j4";
};
- buildInputs = [ jackaudio libsndfile lv2 qt4 ];
+ buildInputs = [ jack2 libsndfile lv2 qt4 ];
meta = with stdenv.lib; {
description = "An old-school all-digital polyphonic sampler synthesizer with stereo fx";
diff --git a/pkgs/applications/audio/seq24/default.nix b/pkgs/applications/audio/seq24/default.nix
index 9f168f54eafdd2a1266f783bbeefd43e92b954c9..10376e02f4330f78571a73f5879e0bf64f71ffcc 100644
--- a/pkgs/applications/audio/seq24/default.nix
+++ b/pkgs/applications/audio/seq24/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, alsaLib, gtkmm, jackaudio, pkgconfig }:
+{ stdenv, fetchurl, alsaLib, gtkmm, jack2, pkgconfig }:
stdenv.mkDerivation rec {
name = "seq24-${version}";
@@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
sha256 = "07n80zj95i80vjmsflnlbqx5vv90qmp5f6a0zap8d30849l4y258";
};
- buildInputs = [ alsaLib gtkmm jackaudio pkgconfig ];
+ buildInputs = [ alsaLib gtkmm jack2 pkgconfig ];
meta = with stdenv.lib; {
description = "minimal loop based midi sequencer";
diff --git a/pkgs/applications/audio/setbfree/default.nix b/pkgs/applications/audio/setbfree/default.nix
index 0d5b69297538217a3e45861df0dac9a767e93840..5119c384cf6a8c5c0443f4bbb689b779f4dbf0f7 100644
--- a/pkgs/applications/audio/setbfree/default.nix
+++ b/pkgs/applications/audio/setbfree/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, alsaLib, freetype, ftgl, jackaudio, libX11, lv2
+{ stdenv, fetchurl, alsaLib, freetype, ftgl, jack2, libX11, lv2
, mesa, pkgconfig, ttf_bitstream_vera
}:
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
'';
buildInputs = [
- alsaLib freetype ftgl jackaudio libX11 lv2 mesa pkgconfig
+ alsaLib freetype ftgl jack2 libX11 lv2 mesa pkgconfig
ttf_bitstream_vera
];
diff --git a/pkgs/applications/audio/sonic-visualiser/default.nix b/pkgs/applications/audio/sonic-visualiser/default.nix
index 7704397e6d0a7622a75dbd0c4fb3b311eadc495f..42c390620427b0c0486a899dda61107ca7a42cb7 100644
--- a/pkgs/applications/audio/sonic-visualiser/default.nix
+++ b/pkgs/applications/audio/sonic-visualiser/default.nix
@@ -1,6 +1,6 @@
# TODO add plugins having various licenses, see http://www.vamp-plugins.org/download.html
-{ stdenv, fetchurl, alsaLib, bzip2, fftw, jackaudio, libX11, liblo
+{ stdenv, fetchurl, alsaLib, bzip2, fftw, jack2, libX11, liblo
, libmad, libogg, librdf, librdf_raptor, librdf_rasqal, libsamplerate
, libsndfile, pkgconfig, pulseaudio, qt5, redland
, rubberband, serd, sord, vampSDK
@@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
sord
pkgconfig
# optional
- jackaudio
+ jack2
# portaudio
pulseaudio
libmad
diff --git a/pkgs/applications/audio/spotify/default.nix b/pkgs/applications/audio/spotify/default.nix
index 59bea8fc19448efbe4ed29436a36b143db1e2cc3..59b82d155da9ff22cd42ebd87e265570519d6fa5 100644
--- a/pkgs/applications/audio/spotify/default.nix
+++ b/pkgs/applications/audio/spotify/default.nix
@@ -8,14 +8,14 @@ assert stdenv.system == "i686-linux" || stdenv.system == "x86_64-linux";
let
version = if stdenv.system == "i686-linux"
then "0.9.4.183.g644e24e.428"
- else "0.9.10.17.g4129e1c.78";
+ else "0.9.11.27.g2b1a638.81";
qt4webkit =
if stdenv.system == "i686-linux" then
fetchurl {
name = "libqtwebkit4_2.3.2_i386.deb";
url = http://ie.archive.ubuntu.com/ubuntu/pool/main/q/qtwebkit-source/libqtwebkit4_2.3.2-0ubuntu7_i386.deb;
- sha256 = "0hi6cwx2b2cwa4nv5phqqw526lc8p9x7kjkcza9x47ny3npw2924";
+ sha256 = "0q4abhczx91ma57fjss0gn8j6nkfbfsbsh6kxhykzj88dih2s8rn";
}
else
fetchurl {
@@ -73,7 +73,7 @@ stdenv.mkDerivation {
else if stdenv.system == "x86_64-linux" then
fetchurl {
url = "http://repository.spotify.com/pool/non-free/s/spotify/spotify-client_${version}-1_amd64.deb";
- sha256 = "1a4vn2ij3nghnc0fq3nsyb95gwhaw4zabdq6jd52hxz8iv31pn1z";
+ sha256 = "0yfljiw01kssj3qaz8m0ppgrpjs6xrhzlr2wccp64bsnmin7g4sg";
}
else throw "Spotify not supported on this platform.";
@@ -149,7 +149,7 @@ stdenv.mkDerivation {
meta = {
homepage = https://www.spotify.com/;
description = "Spotify for Linux allows you to play music from the Spotify music service";
- license = "unfree";
+ license = stdenv.lib.licenses.unfree;
maintainers = [ stdenv.lib.maintainers.eelco ];
};
}
diff --git a/pkgs/applications/audio/synthv1/default.nix b/pkgs/applications/audio/synthv1/default.nix
index d1c2230cf16da81cc570b00892b40062d1728e07..08c13243804b90c3ba0cbe95ff8a03652ab66f76 100644
--- a/pkgs/applications/audio/synthv1/default.nix
+++ b/pkgs/applications/audio/synthv1/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, qt4, jackaudio, lv2 }:
+{ stdenv, fetchurl, qt4, jack2, lv2 }:
stdenv.mkDerivation rec {
name = "synthv1-${version}";
@@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
sha256 = "1r4fszbzwd0yfcch0mcsmh7781zw1317hiljn85w79721fs2m8hc";
};
- buildInputs = [ qt4 jackaudio lv2 ];
+ buildInputs = [ qt4 jack2 lv2 ];
meta = with stdenv.lib; {
description = "An old-school 4-oscillator subtractive polyphonic synthesizer with stereo fx";
diff --git a/pkgs/applications/audio/vimpc/default.nix b/pkgs/applications/audio/vimpc/default.nix
new file mode 100755
index 0000000000000000000000000000000000000000..3e365cae8e944770cd4d959914b521b7775a0c36
--- /dev/null
+++ b/pkgs/applications/audio/vimpc/default.nix
@@ -0,0 +1,34 @@
+{ stdenv, fetchurl, autoconf, automake, mpd_clientlib, ncurses, pcre, pkgconfig, taglib }:
+
+stdenv.mkDerivation rec {
+ version = "0.09.0";
+ name = "vimpc-${version}";
+
+ src = fetchurl {
+ url = "https://github.com/boysetsfrog/vimpc/archive/v${version}.tar.gz";
+ sha256 = "13eb229a5e9eee491765ee89f7fe6a38140a41a01434b117da3869d725c15706";
+ };
+
+ buildInputs = [ autoconf
+ automake
+ mpd_clientlib
+ ncurses
+ pcre
+ pkgconfig
+ taglib
+ ];
+
+ preConfigure = "./autogen.sh";
+
+ postInstall = ''
+ mkdir -p $out/etc
+ cp doc/vimpcrc.example $out/etc
+ '';
+
+ meta = {
+ description = "A vi/vim inspired client for the Music Player Daemon (mpd).";
+ homepage = https://github.com/boysetsfrog/vimpc;
+ license = "GPL3";
+ platforms = stdenv.lib.platforms.linux;
+ };
+}
diff --git a/pkgs/applications/audio/vmpk/default.nix b/pkgs/applications/audio/vmpk/default.nix
index 7fffa77b5a399d19833c69c687df120d67933feb..9a75fa5f383134ad4dad691044b178daf6bfe57e 100644
--- a/pkgs/applications/audio/vmpk/default.nix
+++ b/pkgs/applications/audio/vmpk/default.nix
@@ -1,5 +1,5 @@
{ stdenv, fetchurl, cmake, pkgconfig
-, qt4, jackaudio
+, qt4, jack2
}:
let
@@ -22,5 +22,5 @@ in stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake pkgconfig ];
- buildInputs = [ qt4 jackaudio ];
+ buildInputs = [ qt4 jack2 ];
}
diff --git a/pkgs/applications/audio/vorbis-tools/default.nix b/pkgs/applications/audio/vorbis-tools/default.nix
index 5db7cc30cf8ca2992f7ed05abbba229cc7d97100..e4e5b7ff81a3d8b2e8b7bb34191dc1fe052c716b 100644
--- a/pkgs/applications/audio/vorbis-tools/default.nix
+++ b/pkgs/applications/audio/vorbis-tools/default.nix
@@ -16,6 +16,6 @@ stdenv.mkDerivation {
files, notably the `ogg123' player and the `oggenc' encoder.
'';
homepage = http://xiph.org/vorbis/;
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
};
}
diff --git a/pkgs/applications/audio/xsynth-dssi/default.nix b/pkgs/applications/audio/xsynth-dssi/default.nix
index 0cfbfb4c9bd16006739d17bebcc6bdb1c14cfcb4..85e7235400b29f31e2a7270565ca86c67ea485cf 100644
--- a/pkgs/applications/audio/xsynth-dssi/default.nix
+++ b/pkgs/applications/audio/xsynth-dssi/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, alsaLib, autoconf, automake, dssi, gtk, jackaudio,
+{ stdenv, fetchurl, alsaLib, autoconf, automake, dssi, gtk, jack2,
ladspaH, ladspaPlugins, liblo, pkgconfig }:
stdenv.mkDerivation rec {
@@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
sha256 = "00nwv2pqjbmxqdc6xdm0cljq6z05lv4y6bibmhz1kih9lm0lklnk";
};
- buildInputs = [ alsaLib autoconf automake dssi gtk jackaudio ladspaH
+ buildInputs = [ alsaLib autoconf automake dssi gtk jack2 ladspaH
ladspaPlugins liblo pkgconfig ];
installPhase = ''
diff --git a/pkgs/applications/audio/yoshimi/default.nix b/pkgs/applications/audio/yoshimi/default.nix
index df0b98cdd9e49287062ffb2857b1b00b2b785080..497ab3ac78d6704b1c4783ff7e109ec3b04fbeec 100644
--- a/pkgs/applications/audio/yoshimi/default.nix
+++ b/pkgs/applications/audio/yoshimi/default.nix
@@ -1,5 +1,5 @@
{ stdenv, fetchurl, alsaLib, boost, cairo, cmake, fftwSinglePrec, fltk
-, jackaudio, libsndfile, mesa, minixml, pkgconfig, zlib
+, jack2, libsndfile, mesa, minixml, pkgconfig, zlib
}:
assert stdenv ? glibc;
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
};
buildInputs = [
- alsaLib boost cairo fftwSinglePrec fltk jackaudio libsndfile mesa
+ alsaLib boost cairo fftwSinglePrec fltk jack2 libsndfile mesa
minixml zlib
];
diff --git a/pkgs/applications/audio/zynaddsubfx/default.nix b/pkgs/applications/audio/zynaddsubfx/default.nix
index cd30b5b308471cdeb2b9aba5385bb08ed0e5ebbf..a5aa7d5c8d95d83f0357cd3138194324a331b486 100644
--- a/pkgs/applications/audio/zynaddsubfx/default.nix
+++ b/pkgs/applications/audio/zynaddsubfx/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, alsaLib, cmake, jackaudio, fftw, fltk13, minixml
+{ stdenv, fetchurl, alsaLib, cmake, jack2, fftw, fltk13, minixml
, pkgconfig, zlib
}:
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
sha256 = "0kgmwyh4rhyqdfrdzhbzjjk2hzggkp9c4aac6sy3xv6cc1b5jjxq";
};
- buildInputs = [ alsaLib jackaudio fftw fltk13 minixml zlib ];
+ buildInputs = [ alsaLib jack2 fftw fltk13 minixml zlib ];
nativeBuildInputs = [ cmake pkgconfig ];
meta = with stdenv.lib; {
diff --git a/pkgs/applications/editors/bvi/default.nix b/pkgs/applications/editors/bvi/default.nix
index 84b810bf46025fc39e60f9114303827ec3f2ff6b..e598fa19c5ea82d91f975d5278591a957a83dc29 100644
--- a/pkgs/applications/editors/bvi/default.nix
+++ b/pkgs/applications/editors/bvi/default.nix
@@ -13,6 +13,6 @@ stdenv.mkDerivation {
meta = {
description = "Hex editor with vim style keybindings";
homepage = http://bvi.sourceforge.net/download.html;
- license = "GPL2";
+ license = stdenv.lib.licenses.gpl2;
};
}
diff --git a/pkgs/applications/editors/ed/default.nix b/pkgs/applications/editors/ed/default.nix
index 88b539d29f5f000a2a3640d42da17e63914ce2e2..d3e9a4c4679437d376bdb16f3d044f5da7650433 100644
--- a/pkgs/applications/editors/ed/default.nix
+++ b/pkgs/applications/editors/ed/default.nix
@@ -37,7 +37,7 @@ stdenv.mkDerivation rec {
full-screen editors such as GNU Emacs or GNU Moe.
'';
- license = "GPLv3+";
+ license = stdenv.lib.licenses.gpl3Plus;
homepage = http://www.gnu.org/software/ed/;
diff --git a/pkgs/applications/editors/emacs-23/builder.sh b/pkgs/applications/editors/emacs-23/builder.sh
deleted file mode 100644
index d04e7a4fdd3ff59c8860238ecc8908e6c3d122a5..0000000000000000000000000000000000000000
--- a/pkgs/applications/editors/emacs-23/builder.sh
+++ /dev/null
@@ -1,34 +0,0 @@
-source $stdenv/setup
-
-# This hook is supposed to be run on Linux. It patches the proper locations of
-# the crt{1,i,n}.o files into the build to ensure that Emacs is linked with
-# *our* versions, not the ones found in the system, as it would do by default.
-# On other platforms, this appears to be unnecessary.
-preConfigure() {
- case "${system}" in
- x86_64-linux) glibclibdir=lib64 ;;
- i686-linux) glibclibdir=lib ;;
- *) return;
- esac
-
- libc=$(cat ${NIX_GCC}/nix-support/orig-libc)
- echo "libc: $libc"
-
- for i in src/s/*.h src/m/*.h; do
- substituteInPlace $i \
- --replace /usr/${glibclibdir}/crt1.o $libc/${glibclibdir}/crt1.o \
- --replace /usr/${glibclibdir}/crti.o $libc/${glibclibdir}/crti.o \
- --replace /usr/${glibclibdir}/crtn.o $libc/${glibclibdir}/crtn.o \
- --replace /usr/lib/crt1.o $libc/${glibclibdir}/crt1.o \
- --replace /usr/lib/crti.o $libc/${glibclibdir}/crti.o \
- --replace /usr/lib/crtn.o $libc/${glibclibdir}/crtn.o
- done
-
- for i in Makefile.in ./src/Makefile.in ./lib-src/Makefile.in ./leim/Makefile.in; do
- substituteInPlace $i --replace /bin/pwd pwd
- done
-}
-
-preBuild="make bootstrap"
-
-genericBuild
diff --git a/pkgs/applications/editors/emacs-23/default.nix b/pkgs/applications/editors/emacs-23/default.nix
deleted file mode 100644
index ab5c8e49e7f1942652a6978a2c17671b1d3aae65..0000000000000000000000000000000000000000
--- a/pkgs/applications/editors/emacs-23/default.nix
+++ /dev/null
@@ -1,72 +0,0 @@
-{ stdenv, fetchurl, ncurses, x11, libXaw, libXpm, Xaw3d
-, pkgconfig, gtk, libXft, dbus, libpng, libjpeg, libungif
-, libtiff, librsvg, texinfo, gconf
-}:
-
-assert (gtk != null) -> (pkgconfig != null);
-assert (libXft != null) -> libpng != null; # probably a bug
-assert stdenv.isDarwin -> libXaw != null; # fails to link otherwise
-
-stdenv.mkDerivation rec {
- name = "emacs-23.4";
-
- builder = ./builder.sh;
-
- src = fetchurl {
- url = "mirror://gnu/emacs/${name}.tar.bz2";
- sha256 = "1fc8x5p38qihg7l6z2b1hjc534lnjb8gqpwgywlwg5s3csg6ymr6";
- };
-
- buildInputs =
- [ ncurses x11 texinfo libXaw Xaw3d libXpm libpng libjpeg libungif
- libtiff librsvg libXft gconf
- ]
- ++ stdenv.lib.optionals (gtk != null) [ gtk pkgconfig ]
- ++ stdenv.lib.optional stdenv.isLinux dbus;
-
- configureFlags =
- stdenv.lib.optionals (gtk != null) [ "--with-x-toolkit=gtk" "--with-xft"]
-
- # On NixOS, help Emacs find `crt*.o'.
- ++ stdenv.lib.optional (stdenv ? glibc)
- [ "--with-crt-dir=${stdenv.glibc}/lib" ];
-
- postInstall = ''
- cat >$out/share/emacs/site-lisp/site-start.el < $out/zed/zed-bin
+ cp $NWPATH/nw.pak $out/zed/
+ cp nw/zed-linux $out/zed/zed
+ chmod +x $out/zed/zed*
+ cp Zed.desktop.tmpl Zed.svg Zed.png $out/zed
+ rm $out/zed/app.nw
+ '';
+
+ postFixup = ''
+ patchelf --set-interpreter "$(cat $NIX_GCC/nix-support/dynamic-linker)" $out/zed/zed-bin
+ patchelf --set-rpath "${rpath_env}/lib:${rpath_env}/lib64" $out/zed/zed-bin
+
+ mkdir -p $out/lib
+ ln -s ${udev}/lib/libudev.so.1 $out/lib/libudev.so.0
+
+ wrapProgram $out/zed/zed-bin \
+ --prefix LD_LIBRARY_PATH : $out/lib \
+ --prefix NODE_PATH : ${node_env}/lib/node_modules
+ '';
+ };
+
+ zed_script = writeScript "zed.sh" ''
+ if [[ $1 == http://* ]] || [[ $1 == https://* ]]; then
+ PROJECT=$1
+ elif [ "" != "$1" ]; then
+ PROJECT=$(readlink -f $1)
+ fi
+ ${zed}/zed/zed-bin $PROJECT
+ '';
+
+in stdenv.mkDerivation rec {
+ inherit name version;
+
+ src = zed;
+
+ installPhase = ''
+ mkdir -p $out/bin
+ ln -s ${zed_script} $out/bin/zed
+ '';
+
+ meta = {
+ description = "Zed is a fully offline-capable, open source, keyboard-focused, text and code editor for power users";
+ license = stdenv.lib.licenses.mit;
+ homepage = http://zedapp.org/;
+ maintainers = [ stdenv.lib.maintainers.matejc ];
+ platforms = stdenv.lib.platforms.linux;
+ };
+}
diff --git a/pkgs/applications/editors/zed/node.nix b/pkgs/applications/editors/zed/node.nix
new file mode 100644
index 0000000000000000000000000000000000000000..b4a7cec4269caa7d093f4cb547e9857b679d243a
--- /dev/null
+++ b/pkgs/applications/editors/zed/node.nix
@@ -0,0 +1,634 @@
+{ self, fetchurl, fetchgit ? null, lib }:
+
+{
+ by-spec."asn1"."0.1.11" =
+ self.by-version."asn1"."0.1.11";
+ by-version."asn1"."0.1.11" = lib.makeOverridable self.buildNodePackage {
+ name = "node-asn1-0.1.11";
+ src = [
+ (fetchurl {
+ url = "http://registry.npmjs.org/asn1/-/asn1-0.1.11.tgz";
+ name = "asn1-0.1.11.tgz";
+ sha1 = "559be18376d08a4ec4dbe80877d27818639b2df7";
+ })
+ ];
+ buildInputs =
+ (self.nativeDeps."asn1" or []);
+ deps = [
+ ];
+ peerDependencies = [
+ ];
+ passthru.names = [ "asn1" ];
+ };
+ by-spec."assert-plus"."0.1.2" =
+ self.by-version."assert-plus"."0.1.2";
+ by-version."assert-plus"."0.1.2" = lib.makeOverridable self.buildNodePackage {
+ name = "node-assert-plus-0.1.2";
+ src = [
+ (fetchurl {
+ url = "http://registry.npmjs.org/assert-plus/-/assert-plus-0.1.2.tgz";
+ name = "assert-plus-0.1.2.tgz";
+ sha1 = "d93ffdbb67ac5507779be316a7d65146417beef8";
+ })
+ ];
+ buildInputs =
+ (self.nativeDeps."assert-plus" or []);
+ deps = [
+ ];
+ peerDependencies = [
+ ];
+ passthru.names = [ "assert-plus" ];
+ };
+ by-spec."async"."~0.9.0" =
+ self.by-version."async"."0.9.0";
+ by-version."async"."0.9.0" = lib.makeOverridable self.buildNodePackage {
+ name = "node-async-0.9.0";
+ src = [
+ (fetchurl {
+ url = "http://registry.npmjs.org/async/-/async-0.9.0.tgz";
+ name = "async-0.9.0.tgz";
+ sha1 = "ac3613b1da9bed1b47510bb4651b8931e47146c7";
+ })
+ ];
+ buildInputs =
+ (self.nativeDeps."async" or []);
+ deps = [
+ ];
+ peerDependencies = [
+ ];
+ passthru.names = [ "async" ];
+ };
+ by-spec."aws-sign2"."~0.5.0" =
+ self.by-version."aws-sign2"."0.5.0";
+ by-version."aws-sign2"."0.5.0" = lib.makeOverridable self.buildNodePackage {
+ name = "node-aws-sign2-0.5.0";
+ src = [
+ (fetchurl {
+ url = "http://registry.npmjs.org/aws-sign2/-/aws-sign2-0.5.0.tgz";
+ name = "aws-sign2-0.5.0.tgz";
+ sha1 = "c57103f7a17fc037f02d7c2e64b602ea223f7d63";
+ })
+ ];
+ buildInputs =
+ (self.nativeDeps."aws-sign2" or []);
+ deps = [
+ ];
+ peerDependencies = [
+ ];
+ passthru.names = [ "aws-sign2" ];
+ };
+ by-spec."block-stream"."*" =
+ self.by-version."block-stream"."0.0.7";
+ by-version."block-stream"."0.0.7" = lib.makeOverridable self.buildNodePackage {
+ name = "node-block-stream-0.0.7";
+ src = [
+ (fetchurl {
+ url = "http://registry.npmjs.org/block-stream/-/block-stream-0.0.7.tgz";
+ name = "block-stream-0.0.7.tgz";
+ sha1 = "9088ab5ae1e861f4d81b176b4a8046080703deed";
+ })
+ ];
+ buildInputs =
+ (self.nativeDeps."block-stream" or []);
+ deps = [
+ self.by-version."inherits"."2.0.1"
+ ];
+ peerDependencies = [
+ ];
+ passthru.names = [ "block-stream" ];
+ };
+ by-spec."boom"."0.4.x" =
+ self.by-version."boom"."0.4.2";
+ by-version."boom"."0.4.2" = lib.makeOverridable self.buildNodePackage {
+ name = "node-boom-0.4.2";
+ src = [
+ (fetchurl {
+ url = "http://registry.npmjs.org/boom/-/boom-0.4.2.tgz";
+ name = "boom-0.4.2.tgz";
+ sha1 = "7a636e9ded4efcefb19cef4947a3c67dfaee911b";
+ })
+ ];
+ buildInputs =
+ (self.nativeDeps."boom" or []);
+ deps = [
+ self.by-version."hoek"."0.9.1"
+ ];
+ peerDependencies = [
+ ];
+ passthru.names = [ "boom" ];
+ };
+ by-spec."combined-stream"."~0.0.4" =
+ self.by-version."combined-stream"."0.0.5";
+ by-version."combined-stream"."0.0.5" = lib.makeOverridable self.buildNodePackage {
+ name = "node-combined-stream-0.0.5";
+ src = [
+ (fetchurl {
+ url = "http://registry.npmjs.org/combined-stream/-/combined-stream-0.0.5.tgz";
+ name = "combined-stream-0.0.5.tgz";
+ sha1 = "29ed76e5c9aad07c4acf9ca3d32601cce28697a2";
+ })
+ ];
+ buildInputs =
+ (self.nativeDeps."combined-stream" or []);
+ deps = [
+ self.by-version."delayed-stream"."0.0.5"
+ ];
+ peerDependencies = [
+ ];
+ passthru.names = [ "combined-stream" ];
+ };
+ by-spec."cryptiles"."0.2.x" =
+ self.by-version."cryptiles"."0.2.2";
+ by-version."cryptiles"."0.2.2" = lib.makeOverridable self.buildNodePackage {
+ name = "node-cryptiles-0.2.2";
+ src = [
+ (fetchurl {
+ url = "http://registry.npmjs.org/cryptiles/-/cryptiles-0.2.2.tgz";
+ name = "cryptiles-0.2.2.tgz";
+ sha1 = "ed91ff1f17ad13d3748288594f8a48a0d26f325c";
+ })
+ ];
+ buildInputs =
+ (self.nativeDeps."cryptiles" or []);
+ deps = [
+ self.by-version."boom"."0.4.2"
+ ];
+ peerDependencies = [
+ ];
+ passthru.names = [ "cryptiles" ];
+ };
+ by-spec."ctype"."0.5.2" =
+ self.by-version."ctype"."0.5.2";
+ by-version."ctype"."0.5.2" = lib.makeOverridable self.buildNodePackage {
+ name = "node-ctype-0.5.2";
+ src = [
+ (fetchurl {
+ url = "http://registry.npmjs.org/ctype/-/ctype-0.5.2.tgz";
+ name = "ctype-0.5.2.tgz";
+ sha1 = "fe8091d468a373a0b0c9ff8bbfb3425c00973a1d";
+ })
+ ];
+ buildInputs =
+ (self.nativeDeps."ctype" or []);
+ deps = [
+ ];
+ peerDependencies = [
+ ];
+ passthru.names = [ "ctype" ];
+ };
+ by-spec."delayed-stream"."0.0.5" =
+ self.by-version."delayed-stream"."0.0.5";
+ by-version."delayed-stream"."0.0.5" = lib.makeOverridable self.buildNodePackage {
+ name = "node-delayed-stream-0.0.5";
+ src = [
+ (fetchurl {
+ url = "http://registry.npmjs.org/delayed-stream/-/delayed-stream-0.0.5.tgz";
+ name = "delayed-stream-0.0.5.tgz";
+ sha1 = "d4b1f43a93e8296dfe02694f4680bc37a313c73f";
+ })
+ ];
+ buildInputs =
+ (self.nativeDeps."delayed-stream" or []);
+ deps = [
+ ];
+ peerDependencies = [
+ ];
+ passthru.names = [ "delayed-stream" ];
+ };
+ by-spec."forever-agent"."~0.5.0" =
+ self.by-version."forever-agent"."0.5.2";
+ by-version."forever-agent"."0.5.2" = lib.makeOverridable self.buildNodePackage {
+ name = "node-forever-agent-0.5.2";
+ src = [
+ (fetchurl {
+ url = "http://registry.npmjs.org/forever-agent/-/forever-agent-0.5.2.tgz";
+ name = "forever-agent-0.5.2.tgz";
+ sha1 = "6d0e09c4921f94a27f63d3b49c5feff1ea4c5130";
+ })
+ ];
+ buildInputs =
+ (self.nativeDeps."forever-agent" or []);
+ deps = [
+ ];
+ peerDependencies = [
+ ];
+ passthru.names = [ "forever-agent" ];
+ };
+ by-spec."form-data"."~0.1.0" =
+ self.by-version."form-data"."0.1.4";
+ by-version."form-data"."0.1.4" = lib.makeOverridable self.buildNodePackage {
+ name = "node-form-data-0.1.4";
+ src = [
+ (fetchurl {
+ url = "http://registry.npmjs.org/form-data/-/form-data-0.1.4.tgz";
+ name = "form-data-0.1.4.tgz";
+ sha1 = "91abd788aba9702b1aabfa8bc01031a2ac9e3b12";
+ })
+ ];
+ buildInputs =
+ (self.nativeDeps."form-data" or []);
+ deps = [
+ self.by-version."combined-stream"."0.0.5"
+ self.by-version."mime"."1.2.11"
+ self.by-version."async"."0.9.0"
+ ];
+ peerDependencies = [
+ ];
+ passthru.names = [ "form-data" ];
+ };
+ by-spec."fstream"."~0.1.28" =
+ self.by-version."fstream"."0.1.29";
+ by-version."fstream"."0.1.29" = lib.makeOverridable self.buildNodePackage {
+ name = "node-fstream-0.1.29";
+ src = [
+ (fetchurl {
+ url = "http://registry.npmjs.org/fstream/-/fstream-0.1.29.tgz";
+ name = "fstream-0.1.29.tgz";
+ sha1 = "34d04023ebc91a9df47bd31ab97e4704b4db413f";
+ })
+ ];
+ buildInputs =
+ (self.nativeDeps."fstream" or []);
+ deps = [
+ self.by-version."graceful-fs"."3.0.2"
+ self.by-version."inherits"."2.0.1"
+ self.by-version."mkdirp"."0.3.5"
+ self.by-version."rimraf"."2.2.8"
+ ];
+ peerDependencies = [
+ ];
+ passthru.names = [ "fstream" ];
+ };
+ by-spec."graceful-fs"."~3.0.2" =
+ self.by-version."graceful-fs"."3.0.2";
+ by-version."graceful-fs"."3.0.2" = lib.makeOverridable self.buildNodePackage {
+ name = "node-graceful-fs-3.0.2";
+ src = [
+ (fetchurl {
+ url = "http://registry.npmjs.org/graceful-fs/-/graceful-fs-3.0.2.tgz";
+ name = "graceful-fs-3.0.2.tgz";
+ sha1 = "2cb5bf7f742bea8ad47c754caeee032b7e71a577";
+ })
+ ];
+ buildInputs =
+ (self.nativeDeps."graceful-fs" or []);
+ deps = [
+ ];
+ peerDependencies = [
+ ];
+ passthru.names = [ "graceful-fs" ];
+ };
+ by-spec."hawk"."~1.0.0" =
+ self.by-version."hawk"."1.0.0";
+ by-version."hawk"."1.0.0" = lib.makeOverridable self.buildNodePackage {
+ name = "node-hawk-1.0.0";
+ src = [
+ (fetchurl {
+ url = "http://registry.npmjs.org/hawk/-/hawk-1.0.0.tgz";
+ name = "hawk-1.0.0.tgz";
+ sha1 = "b90bb169807285411da7ffcb8dd2598502d3b52d";
+ })
+ ];
+ buildInputs =
+ (self.nativeDeps."hawk" or []);
+ deps = [
+ self.by-version."hoek"."0.9.1"
+ self.by-version."boom"."0.4.2"
+ self.by-version."cryptiles"."0.2.2"
+ self.by-version."sntp"."0.2.4"
+ ];
+ peerDependencies = [
+ ];
+ passthru.names = [ "hawk" ];
+ };
+ by-spec."hoek"."0.9.x" =
+ self.by-version."hoek"."0.9.1";
+ by-version."hoek"."0.9.1" = lib.makeOverridable self.buildNodePackage {
+ name = "node-hoek-0.9.1";
+ src = [
+ (fetchurl {
+ url = "http://registry.npmjs.org/hoek/-/hoek-0.9.1.tgz";
+ name = "hoek-0.9.1.tgz";
+ sha1 = "3d322462badf07716ea7eb85baf88079cddce505";
+ })
+ ];
+ buildInputs =
+ (self.nativeDeps."hoek" or []);
+ deps = [
+ ];
+ peerDependencies = [
+ ];
+ passthru.names = [ "hoek" ];
+ };
+ by-spec."http-signature"."~0.10.0" =
+ self.by-version."http-signature"."0.10.0";
+ by-version."http-signature"."0.10.0" = lib.makeOverridable self.buildNodePackage {
+ name = "node-http-signature-0.10.0";
+ src = [
+ (fetchurl {
+ url = "http://registry.npmjs.org/http-signature/-/http-signature-0.10.0.tgz";
+ name = "http-signature-0.10.0.tgz";
+ sha1 = "1494e4f5000a83c0f11bcc12d6007c530cb99582";
+ })
+ ];
+ buildInputs =
+ (self.nativeDeps."http-signature" or []);
+ deps = [
+ self.by-version."assert-plus"."0.1.2"
+ self.by-version."asn1"."0.1.11"
+ self.by-version."ctype"."0.5.2"
+ ];
+ peerDependencies = [
+ ];
+ passthru.names = [ "http-signature" ];
+ };
+ by-spec."inherits"."2" =
+ self.by-version."inherits"."2.0.1";
+ by-version."inherits"."2.0.1" = lib.makeOverridable self.buildNodePackage {
+ name = "node-inherits-2.0.1";
+ src = [
+ (fetchurl {
+ url = "http://registry.npmjs.org/inherits/-/inherits-2.0.1.tgz";
+ name = "inherits-2.0.1.tgz";
+ sha1 = "b17d08d326b4423e568eff719f91b0b1cbdf69f1";
+ })
+ ];
+ buildInputs =
+ (self.nativeDeps."inherits" or []);
+ deps = [
+ ];
+ peerDependencies = [
+ ];
+ passthru.names = [ "inherits" ];
+ };
+ by-spec."inherits"."~2.0.0" =
+ self.by-version."inherits"."2.0.1";
+ by-spec."json-stringify-safe"."~5.0.0" =
+ self.by-version."json-stringify-safe"."5.0.0";
+ by-version."json-stringify-safe"."5.0.0" = lib.makeOverridable self.buildNodePackage {
+ name = "node-json-stringify-safe-5.0.0";
+ src = [
+ (fetchurl {
+ url = "http://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.0.tgz";
+ name = "json-stringify-safe-5.0.0.tgz";
+ sha1 = "4c1f228b5050837eba9d21f50c2e6e320624566e";
+ })
+ ];
+ buildInputs =
+ (self.nativeDeps."json-stringify-safe" or []);
+ deps = [
+ ];
+ peerDependencies = [
+ ];
+ passthru.names = [ "json-stringify-safe" ];
+ };
+ by-spec."mime"."~1.2.11" =
+ self.by-version."mime"."1.2.11";
+ by-version."mime"."1.2.11" = lib.makeOverridable self.buildNodePackage {
+ name = "node-mime-1.2.11";
+ src = [
+ (fetchurl {
+ url = "http://registry.npmjs.org/mime/-/mime-1.2.11.tgz";
+ name = "mime-1.2.11.tgz";
+ sha1 = "58203eed86e3a5ef17aed2b7d9ebd47f0a60dd10";
+ })
+ ];
+ buildInputs =
+ (self.nativeDeps."mime" or []);
+ deps = [
+ ];
+ peerDependencies = [
+ ];
+ passthru.names = [ "mime" ];
+ };
+ by-spec."mime"."~1.2.9" =
+ self.by-version."mime"."1.2.11";
+ by-spec."mkdirp"."0.3" =
+ self.by-version."mkdirp"."0.3.5";
+ by-version."mkdirp"."0.3.5" = lib.makeOverridable self.buildNodePackage {
+ name = "node-mkdirp-0.3.5";
+ src = [
+ (fetchurl {
+ url = "http://registry.npmjs.org/mkdirp/-/mkdirp-0.3.5.tgz";
+ name = "mkdirp-0.3.5.tgz";
+ sha1 = "de3e5f8961c88c787ee1368df849ac4413eca8d7";
+ })
+ ];
+ buildInputs =
+ (self.nativeDeps."mkdirp" or []);
+ deps = [
+ ];
+ peerDependencies = [
+ ];
+ passthru.names = [ "mkdirp" ];
+ };
+ by-spec."node-uuid"."~1.4.0" =
+ self.by-version."node-uuid"."1.4.1";
+ by-version."node-uuid"."1.4.1" = lib.makeOverridable self.buildNodePackage {
+ name = "node-node-uuid-1.4.1";
+ src = [
+ (fetchurl {
+ url = "http://registry.npmjs.org/node-uuid/-/node-uuid-1.4.1.tgz";
+ name = "node-uuid-1.4.1.tgz";
+ sha1 = "39aef510e5889a3dca9c895b506c73aae1bac048";
+ })
+ ];
+ buildInputs =
+ (self.nativeDeps."node-uuid" or []);
+ deps = [
+ ];
+ peerDependencies = [
+ ];
+ passthru.names = [ "node-uuid" ];
+ };
+ by-spec."oauth-sign"."~0.3.0" =
+ self.by-version."oauth-sign"."0.3.0";
+ by-version."oauth-sign"."0.3.0" = lib.makeOverridable self.buildNodePackage {
+ name = "node-oauth-sign-0.3.0";
+ src = [
+ (fetchurl {
+ url = "http://registry.npmjs.org/oauth-sign/-/oauth-sign-0.3.0.tgz";
+ name = "oauth-sign-0.3.0.tgz";
+ sha1 = "cb540f93bb2b22a7d5941691a288d60e8ea9386e";
+ })
+ ];
+ buildInputs =
+ (self.nativeDeps."oauth-sign" or []);
+ deps = [
+ ];
+ peerDependencies = [
+ ];
+ passthru.names = [ "oauth-sign" ];
+ };
+ by-spec."punycode".">=0.2.0" =
+ self.by-version."punycode"."1.3.0";
+ by-version."punycode"."1.3.0" = lib.makeOverridable self.buildNodePackage {
+ name = "node-punycode-1.3.0";
+ src = [
+ (fetchurl {
+ url = "http://registry.npmjs.org/punycode/-/punycode-1.3.0.tgz";
+ name = "punycode-1.3.0.tgz";
+ sha1 = "7f5009ef539b9444be5c7a19abd2c3ca49e1731c";
+ })
+ ];
+ buildInputs =
+ (self.nativeDeps."punycode" or []);
+ deps = [
+ ];
+ peerDependencies = [
+ ];
+ passthru.names = [ "punycode" ];
+ };
+ by-spec."qs"."~0.6.0" =
+ self.by-version."qs"."0.6.6";
+ by-version."qs"."0.6.6" = lib.makeOverridable self.buildNodePackage {
+ name = "node-qs-0.6.6";
+ src = [
+ (fetchurl {
+ url = "http://registry.npmjs.org/qs/-/qs-0.6.6.tgz";
+ name = "qs-0.6.6.tgz";
+ sha1 = "6e015098ff51968b8a3c819001d5f2c89bc4b107";
+ })
+ ];
+ buildInputs =
+ (self.nativeDeps."qs" or []);
+ deps = [
+ ];
+ peerDependencies = [
+ ];
+ passthru.names = [ "qs" ];
+ };
+ by-spec."request"."~2.34.0" =
+ self.by-version."request"."2.34.0";
+ by-version."request"."2.34.0" = lib.makeOverridable self.buildNodePackage {
+ name = "node-request-2.34.0";
+ src = [
+ (fetchurl {
+ url = "http://registry.npmjs.org/request/-/request-2.34.0.tgz";
+ name = "request-2.34.0.tgz";
+ sha1 = "b5d8b9526add4a2d4629f4d417124573996445ae";
+ })
+ ];
+ buildInputs =
+ (self.nativeDeps."request" or []);
+ deps = [
+ self.by-version."qs"."0.6.6"
+ self.by-version."json-stringify-safe"."5.0.0"
+ self.by-version."forever-agent"."0.5.2"
+ self.by-version."node-uuid"."1.4.1"
+ self.by-version."mime"."1.2.11"
+ self.by-version."tough-cookie"."0.12.1"
+ self.by-version."form-data"."0.1.4"
+ self.by-version."tunnel-agent"."0.3.0"
+ self.by-version."http-signature"."0.10.0"
+ self.by-version."oauth-sign"."0.3.0"
+ self.by-version."hawk"."1.0.0"
+ self.by-version."aws-sign2"."0.5.0"
+ ];
+ peerDependencies = [
+ ];
+ passthru.names = [ "request" ];
+ };
+ "request" = self.by-version."request"."2.34.0";
+ by-spec."rimraf"."2" =
+ self.by-version."rimraf"."2.2.8";
+ by-version."rimraf"."2.2.8" = lib.makeOverridable self.buildNodePackage {
+ name = "rimraf-2.2.8";
+ src = [
+ (fetchurl {
+ url = "http://registry.npmjs.org/rimraf/-/rimraf-2.2.8.tgz";
+ name = "rimraf-2.2.8.tgz";
+ sha1 = "e439be2aaee327321952730f99a8929e4fc50582";
+ })
+ ];
+ buildInputs =
+ (self.nativeDeps."rimraf" or []);
+ deps = [
+ ];
+ peerDependencies = [
+ ];
+ passthru.names = [ "rimraf" ];
+ };
+ by-spec."sntp"."0.2.x" =
+ self.by-version."sntp"."0.2.4";
+ by-version."sntp"."0.2.4" = lib.makeOverridable self.buildNodePackage {
+ name = "node-sntp-0.2.4";
+ src = [
+ (fetchurl {
+ url = "http://registry.npmjs.org/sntp/-/sntp-0.2.4.tgz";
+ name = "sntp-0.2.4.tgz";
+ sha1 = "fb885f18b0f3aad189f824862536bceeec750900";
+ })
+ ];
+ buildInputs =
+ (self.nativeDeps."sntp" or []);
+ deps = [
+ self.by-version."hoek"."0.9.1"
+ ];
+ peerDependencies = [
+ ];
+ passthru.names = [ "sntp" ];
+ };
+ by-spec."tar"."~0.1.19" =
+ self.by-version."tar"."0.1.20";
+ by-version."tar"."0.1.20" = lib.makeOverridable self.buildNodePackage {
+ name = "node-tar-0.1.20";
+ src = [
+ (fetchurl {
+ url = "http://registry.npmjs.org/tar/-/tar-0.1.20.tgz";
+ name = "tar-0.1.20.tgz";
+ sha1 = "42940bae5b5f22c74483699126f9f3f27449cb13";
+ })
+ ];
+ buildInputs =
+ (self.nativeDeps."tar" or []);
+ deps = [
+ self.by-version."block-stream"."0.0.7"
+ self.by-version."fstream"."0.1.29"
+ self.by-version."inherits"."2.0.1"
+ ];
+ peerDependencies = [
+ ];
+ passthru.names = [ "tar" ];
+ };
+ "tar" = self.by-version."tar"."0.1.20";
+ by-spec."tough-cookie".">=0.12.0" =
+ self.by-version."tough-cookie"."0.12.1";
+ by-version."tough-cookie"."0.12.1" = lib.makeOverridable self.buildNodePackage {
+ name = "node-tough-cookie-0.12.1";
+ src = [
+ (fetchurl {
+ url = "http://registry.npmjs.org/tough-cookie/-/tough-cookie-0.12.1.tgz";
+ name = "tough-cookie-0.12.1.tgz";
+ sha1 = "8220c7e21abd5b13d96804254bd5a81ebf2c7d62";
+ })
+ ];
+ buildInputs =
+ (self.nativeDeps."tough-cookie" or []);
+ deps = [
+ self.by-version."punycode"."1.3.0"
+ ];
+ peerDependencies = [
+ ];
+ passthru.names = [ "tough-cookie" ];
+ };
+ by-spec."tunnel-agent"."~0.3.0" =
+ self.by-version."tunnel-agent"."0.3.0";
+ by-version."tunnel-agent"."0.3.0" = lib.makeOverridable self.buildNodePackage {
+ name = "node-tunnel-agent-0.3.0";
+ src = [
+ (fetchurl {
+ url = "http://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.3.0.tgz";
+ name = "tunnel-agent-0.3.0.tgz";
+ sha1 = "ad681b68f5321ad2827c4cfb1b7d5df2cfe942ee";
+ })
+ ];
+ buildInputs =
+ (self.nativeDeps."tunnel-agent" or []);
+ deps = [
+ ];
+ peerDependencies = [
+ ];
+ passthru.names = [ "tunnel-agent" ];
+ };
+}
diff --git a/pkgs/applications/editors/zile/default.nix b/pkgs/applications/editors/zile/default.nix
index 4166bc1e9e3eae776c866929d94430f1ceed45f2..32d30cd474508e13448df3daee88d0ef8dcc1006 100644
--- a/pkgs/applications/editors/zile/default.nix
+++ b/pkgs/applications/editors/zile/default.nix
@@ -45,7 +45,7 @@ stdenv.mkDerivation rec {
homepage = http://www.gnu.org/software/zile/;
- license = "GPLv3+";
+ license = stdenv.lib.licenses.gpl3Plus;
maintainers = [ ];
};
diff --git a/pkgs/applications/graphics/autopanosiftc/default.nix b/pkgs/applications/graphics/autopanosiftc/default.nix
index be3cfc5935c77344aaa202268fc66c5a6ca529f6..6d26dafae6230bf65f650dd7bb46dca5e5e54d58 100644
--- a/pkgs/applications/graphics/autopanosiftc/default.nix
+++ b/pkgs/applications/graphics/autopanosiftc/default.nix
@@ -13,6 +13,6 @@ stdenv.mkDerivation {
meta = {
homepage = http://hugin.sourceforge.net/;
description = "Implementation in C of the autopano-sift algorithm for automatically stitching panoramas";
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
};
}
diff --git a/pkgs/applications/graphics/comical/default.nix b/pkgs/applications/graphics/comical/default.nix
index 68910e67e25a0ee87a4f1a104e88248ac7011b4a..2796a5535a03f2c06723155d55427713722c9d01 100644
--- a/pkgs/applications/graphics/comical/default.nix
+++ b/pkgs/applications/graphics/comical/default.nix
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
meta = {
description = "Viewer of CBR and CBZ files, often used to store scanned comics";
homepage = http://comical.sourceforge.net/;
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
maintainers = with stdenv.lib.maintainers; [viric];
platforms = with stdenv.lib.platforms; linux;
};
diff --git a/pkgs/applications/graphics/djview/default.nix b/pkgs/applications/graphics/djview/default.nix
index f832513a82419b0c2004646ab0f30aeb086149bb..4ded807cb29a616442c108be81580a0c605dfc42 100644
--- a/pkgs/applications/graphics/djview/default.nix
+++ b/pkgs/applications/graphics/djview/default.nix
@@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://djvu.sourceforge.net/djview4.html;
description = "A new portable DjVu viewer and browser plugin";
- license = "GPL2";
+ license = stdenv.lib.licenses.gpl2;
inherit (qt4.meta) platforms;
maintainers = [ stdenv.lib.maintainers.urkud ];
};
diff --git a/pkgs/applications/graphics/freecad/default.nix b/pkgs/applications/graphics/freecad/default.nix
index 770a7ee8212bd18f8679ab9f75d14cd8f8a26dc1..2f20291e27036252cd118fdc9266c333f1100f7b 100644
--- a/pkgs/applications/graphics/freecad/default.nix
+++ b/pkgs/applications/graphics/freecad/default.nix
@@ -1,19 +1,19 @@
{ stdenv, fetchurl, cmake, coin3d, xercesc, ode, eigen, qt4, opencascade, gts
, boost, zlib, python, swig, gfortran, soqt, libf2c , pyqt4, makeWrapper
-, matplotlib, pycollada }:
+, matplotlib, pycollada, pyside, pysideShiboken }:
stdenv.mkDerivation rec {
name = "freecad-${version}";
- version = "0.13.1830";
+ version = "0.14.3702";
src = fetchurl {
url = "mirror://sourceforge/free-cad/${name}.tar.gz";
- sha256 = "04rgww5y32asn4sx5j4wh79ggvb479pq56xfcfj6gkg44mid23jm";
+ sha256 = "1jcx7d3mp2wxkd20qdvr4vlf7h5wb0jgab9dl63sicdz88swy97f";
};
buildInputs = [ cmake coin3d xercesc ode eigen qt4 opencascade gts boost
zlib python swig gfortran soqt libf2c pyqt4 makeWrapper matplotlib
- pycollada
+ pycollada pyside pysideShiboken
];
enableParallelBuilding = true;
@@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
--set COIN_GL_NO_CURRENT_CONTEXT_CHECK 1
'';
- patches = [ ./pythonpath.patch ./cmake.patch ];
+ patches = [ ./pythonpath.patch ];
meta = {
homepage = http://free-cad.sourceforge.net/;
diff --git a/pkgs/applications/graphics/geeqie/default.nix b/pkgs/applications/graphics/geeqie/default.nix
index 44ca66ac5b9d996379fbeb64b7a2b49701c95e7f..b170b784aaa482e379fd0d544e35f4961c4e5d84 100644
--- a/pkgs/applications/graphics/geeqie/default.nix
+++ b/pkgs/applications/graphics/geeqie/default.nix
@@ -45,7 +45,7 @@ stdenv.mkDerivation rec {
initially based on GQview.
'';
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
homepage = http://geeqie.sourceforge.net;
diff --git a/pkgs/applications/graphics/gimp/plugins/default.nix b/pkgs/applications/graphics/gimp/plugins/default.nix
index 3810006103df74bd86342ce37885d8ac5c02ec0f..7139bc71f3c1496aeabbe80ed7c0473da4c22b2d 100644
--- a/pkgs/applications/graphics/gimp/plugins/default.nix
+++ b/pkgs/applications/graphics/gimp/plugins/default.nix
@@ -236,7 +236,7 @@ rec {
homepage = http://lensfun.sebastiankraft.net/;
- license = "GPLv3+";
+ license = stdenv.lib.licenses.gpl3Plus;
maintainers = [ stdenv.lib.maintainers.ludo ];
platforms = stdenv.lib.platforms.gnu;
};
diff --git a/pkgs/applications/graphics/giv/default.nix b/pkgs/applications/graphics/giv/default.nix
index 8b2c45398d9ecbf650e8429d319a707701ec5764..2e9d55a3f3f221dd5bf4770fb88a60b83d593211 100644
--- a/pkgs/applications/graphics/giv/default.nix
+++ b/pkgs/applications/graphics/giv/default.nix
@@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
meta = {
description = "Cross platform image and hierarchical vector viewer based";
homepage = http://giv.sourceforge.net/giv/;
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
maintainers = with stdenv.lib.maintainers; [viric];
platforms = with stdenv.lib.platforms; linux;
};
diff --git a/pkgs/applications/graphics/gocr/default.nix b/pkgs/applications/graphics/gocr/default.nix
index 15a8ab713dba3add826eb2fb5859721b9ac5e252..919b9fcc4c3c4912234a3027cb4009b740e52005 100644
--- a/pkgs/applications/graphics/gocr/default.nix
+++ b/pkgs/applications/graphics/gocr/default.nix
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = "http://jocr.sourceforge.net/";
description = "GPL Optical Character Recognition";
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
platforms = stdenv.lib.platforms.linux;
maintainers = [ stdenv.lib.maintainers.simons ];
diff --git a/pkgs/applications/graphics/hugin/default.nix b/pkgs/applications/graphics/hugin/default.nix
index a9ff7ef25c32a8c385119875c0c5416ef9d25dd4..a98e60d6fea0b10c38e7955db14c0cbcedb15bd7 100644
--- a/pkgs/applications/graphics/hugin/default.nix
+++ b/pkgs/applications/graphics/hugin/default.nix
@@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://hugin.sourceforge.net/;
description = "Toolkit for stitching photographs and assembling panoramas, together with an easy to use graphical front end";
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
maintainers = with stdenv.lib.maintainers; [viric];
platforms = with stdenv.lib.platforms; linux;
};
diff --git a/pkgs/applications/graphics/ipe/default.nix b/pkgs/applications/graphics/ipe/default.nix
index df50dd5bd793befb1e95a5ca441899e4f10e1553..53df14f8704f264c9f2200203a08c61793d2e556 100644
--- a/pkgs/applications/graphics/ipe/default.nix
+++ b/pkgs/applications/graphics/ipe/default.nix
@@ -37,7 +37,7 @@ stdenv.mkDerivation rec {
meta = {
description = "An editor for drawing figures";
homepage = http://ipe7.sourceforge.net;
- license = "GPLv3+";
+ license = stdenv.lib.licenses.gpl3Plus;
longDescription = ''
Ipe is an extensible drawing editor for creating figures in PDF and Postscript format.
It supports making small figures for inclusion into LaTeX-documents
diff --git a/pkgs/applications/graphics/mcomix/default.nix b/pkgs/applications/graphics/mcomix/default.nix
index 7629c57a2b861a39c8358d1873acdd7e9bdf653a..c997f5c343fdb31a7a72a9ca891e7bec2cb29eed 100644
--- a/pkgs/applications/graphics/mcomix/default.nix
+++ b/pkgs/applications/graphics/mcomix/default.nix
@@ -29,6 +29,6 @@ buildPythonPackage rec {
homepage = http://mcomix.sourceforge.net/;
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
};
}
diff --git a/pkgs/applications/graphics/meshlab/default.nix b/pkgs/applications/graphics/meshlab/default.nix
index 4e2075ff47148d264e0b4e097066d186717b96b0..9352ae092be4c0d5ea997dba623c6b9a90352fb0 100644
--- a/pkgs/applications/graphics/meshlab/default.nix
+++ b/pkgs/applications/graphics/meshlab/default.nix
@@ -47,7 +47,7 @@ stdenv.mkDerivation rec {
meta = {
description = "System for the processing and editing of unstructured 3D triangular meshes";
homepage = http://meshlab.sourceforge.net/;
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
maintainers = with stdenv.lib.maintainers; [viric];
platforms = with stdenv.lib.platforms; linux;
};
diff --git a/pkgs/applications/graphics/minidjvu/default.nix b/pkgs/applications/graphics/minidjvu/default.nix
index e3c6deddb2954bee36fdb4e283e5671f4efa4aa7..e354837f4b871d76487eda2e6675187939405959 100644
--- a/pkgs/applications/graphics/minidjvu/default.nix
+++ b/pkgs/applications/graphics/minidjvu/default.nix
@@ -20,7 +20,7 @@ stdenv.mkDerivation {
meta = {
homepage = http://djvu.sourceforge.net/djview4.html;
description = "Black-and-white djvu page encoder and decoder that use interpage information";
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
maintainers = [ stdenv.lib.maintainers.viric ];
};
}
diff --git a/pkgs/applications/graphics/mirage/default.nix b/pkgs/applications/graphics/mirage/default.nix
index def22804bb65366ef536f021510308b67127d44f..20f7460f7a16e3295a26d29737a2e827ad938548 100644
--- a/pkgs/applications/graphics/mirage/default.nix
+++ b/pkgs/applications/graphics/mirage/default.nix
@@ -24,6 +24,6 @@ buildPythonPackage rec {
homepage = http://mirageiv.sourceforge.net/;
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
};
}
diff --git a/pkgs/applications/graphics/ocrad/default.nix b/pkgs/applications/graphics/ocrad/default.nix
index 482b57d03d2d955bf4f8a0b01722b04260e0873f..4c20a41061ae8a1858944cd21ced90cca024489a 100644
--- a/pkgs/applications/graphics/ocrad/default.nix
+++ b/pkgs/applications/graphics/ocrad/default.nix
@@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
backend to other programs.
'';
- license = "GPLv3+";
+ license = stdenv.lib.licenses.gpl3Plus;
maintainers = [ ];
platforms = stdenv.lib.platforms.gnu; # arbitrary choice
diff --git a/pkgs/applications/graphics/panotools/default.nix b/pkgs/applications/graphics/panotools/default.nix
index 17e1b2e8b1466874b5270029ecd46159136a1fe9..8e5204ac63827320b26f4e75dfb12164c7c5d426 100644
--- a/pkgs/applications/graphics/panotools/default.nix
+++ b/pkgs/applications/graphics/panotools/default.nix
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://panotools.sourceforge.net/;
description = "Free software suite for authoring and displaying virtual reality panoramas";
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
platforms = stdenv.lib.platforms.gnu; # arbitrary choice
};
diff --git a/pkgs/applications/graphics/pinta/default.nix b/pkgs/applications/graphics/pinta/default.nix
index b54d73b4964f8109a5e73a0fe219637b7b89279d..6958c94f7e18e16359ee74fe07920b4459057cd4 100644
--- a/pkgs/applications/graphics/pinta/default.nix
+++ b/pkgs/applications/graphics/pinta/default.nix
@@ -37,7 +37,7 @@ stdenv.mkDerivation {
meta = {
homepage = http://www.pinta-project.com/;
description = "Drawing/editing program modeled after Paint.NET";
- license = "MIT";
+ license = stdenv.lib.licenses.mit;
maintainers = with stdenv.lib.maintainers; [viric];
platforms = with stdenv.lib.platforms; linux;
};
diff --git a/pkgs/applications/graphics/potrace/default.nix b/pkgs/applications/graphics/potrace/default.nix
index 365f88b19b4cabc4196d026ec824ab110cb12e73..f58fe0e28c1de3aa932757731ddaf1bd6d52d0cd 100644
--- a/pkgs/applications/graphics/potrace/default.nix
+++ b/pkgs/applications/graphics/potrace/default.nix
@@ -19,6 +19,6 @@ stdenv.mkDerivation {
description = "A tool for tracing a bitmap, which means, transforming a bitmap into a smooth, scalable image";
platforms = stdenv.lib.platforms.unix;
maintainers = [ stdenv.lib.maintainers.pSub ];
- license = "GPL2";
+ license = stdenv.lib.licenses.gpl2;
};
}
diff --git a/pkgs/applications/graphics/qtpfsgui/default.nix b/pkgs/applications/graphics/qtpfsgui/default.nix
index 95d7acca36c5aa8f8e27a87c701b9395a92a1b4b..cd8c76dc42cffbb5e879bf2138c8acf3fe8056e1 100644
--- a/pkgs/applications/graphics/qtpfsgui/default.nix
+++ b/pkgs/applications/graphics/qtpfsgui/default.nix
@@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
aims to provide a workflow for high dynamic range (HDR) imaging.
'';
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
maintainers = [ stdenv.lib.maintainers.ludo ];
platforms = stdenv.lib.platforms.gnu;
diff --git a/pkgs/applications/graphics/sane/backends.nix b/pkgs/applications/graphics/sane/backends.nix
index 3d95dcd81ee84a5f401b15f48dc884e1b8f195b7..28d2f1e200b270b6f99a0b72b73610354cdfb5b7 100644
--- a/pkgs/applications/graphics/sane/backends.nix
+++ b/pkgs/applications/graphics/sane/backends.nix
@@ -50,7 +50,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = "http://www.sane-project.org/";
description = "Scanner Access Now Easy";
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
maintainers = [ stdenv.lib.maintainers.simons ];
platforms = stdenv.lib.platforms.linux;
diff --git a/pkgs/applications/graphics/sane/frontends.nix b/pkgs/applications/graphics/sane/frontends.nix
index 9e73a08e0967c1e62feab62e567322538864de11..a0f6e5bac509f264985ac412f1b8591d11cab6b7 100644
--- a/pkgs/applications/graphics/sane/frontends.nix
+++ b/pkgs/applications/graphics/sane/frontends.nix
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = "http://www.sane-project.org/";
description = "Scanner Access Now Easy";
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
maintainers = [ stdenv.lib.maintainers.simons ];
platforms = stdenv.lib.platforms.linux;
diff --git a/pkgs/applications/graphics/sane/xsane.nix b/pkgs/applications/graphics/sane/xsane.nix
index 7b1ffb1f2be4019b904389eb4148072ed43dde32..221a4340dce2ed89dcc7fa654a9a15608a675461 100644
--- a/pkgs/applications/graphics/sane/xsane.nix
+++ b/pkgs/applications/graphics/sane/xsane.nix
@@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://www.sane-project.org/;
description = "Graphical scanning frontend for sane";
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
maintainers = with stdenv.lib.maintainers; [viric simons];
platforms = with stdenv.lib.platforms; linux;
};
diff --git a/pkgs/applications/graphics/smartdeblur/default.nix b/pkgs/applications/graphics/smartdeblur/default.nix
index 83f3c751029877940abdb298233025778d1296d2..083fde359029a607ae152d02c6dee6cd1b68c1ca 100644
--- a/pkgs/applications/graphics/smartdeblur/default.nix
+++ b/pkgs/applications/graphics/smartdeblur/default.nix
@@ -25,9 +25,8 @@ stdenv.mkDerivation rec {
meta = {
homepage = "https://github.com/Y-Vladimir/SmartDeblur";
description = "Tool for restoring blurry and defocused images";
- license = "GPLv3";
+ license = stdenv.lib.licenses.gpl3;
maintainers = with stdenv.lib.maintainers; [ viric ];
platforms = with stdenv.lib.platforms; linux;
};
}
-
diff --git a/pkgs/applications/graphics/sxiv/default.nix b/pkgs/applications/graphics/sxiv/default.nix
index 8500fa9faba2379ac942e357f46a35e357c56a1b..30513577d04b944bcfd1df50f9f33b44eaf29cdb 100644
--- a/pkgs/applications/graphics/sxiv/default.nix
+++ b/pkgs/applications/graphics/sxiv/default.nix
@@ -16,7 +16,7 @@ stdenv.mkDerivation {
meta = {
description = "Simple X Image Viewer";
homepage = "https://github.com/muennich/sxiv";
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
platforms = stdenv.lib.platforms.linux;
};
}
diff --git a/pkgs/applications/graphics/tesseract/default.nix b/pkgs/applications/graphics/tesseract/default.nix
index e67d202dcae64f8852fb91c36b07bc22b33500ff..eaf6dd4ba24839f69134c2077fe8f7ba4d4dc277 100644
--- a/pkgs/applications/graphics/tesseract/default.nix
+++ b/pkgs/applications/graphics/tesseract/default.nix
@@ -44,7 +44,7 @@ stdenv.mkDerivation rec {
meta = {
description = "OCR engine";
homepage = http://code.google.com/p/tesseract-ocr/;
- license = "Apache2.0";
+ license = stdenv.lib.licenses.asl20;
maintainers = with stdenv.lib.maintainers; [viric];
platforms = with stdenv.lib.platforms; linux;
};
diff --git a/pkgs/applications/graphics/ufraw/default.nix b/pkgs/applications/graphics/ufraw/default.nix
index 070244d67d2c071de9a34a7c3d24466e6a9d39d3..783832abd0036b45afae6c9484f237f14270ba7b 100644
--- a/pkgs/applications/graphics/ufraw/default.nix
+++ b/pkgs/applications/graphics/ufraw/default.nix
@@ -30,7 +30,7 @@ stdenv.mkDerivation rec {
the camera's tone curves.
'';
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
maintainers = [ ];
platforms = stdenv.lib.platforms.gnu; # needs GTK+
diff --git a/pkgs/applications/graphics/viewnior/default.nix b/pkgs/applications/graphics/viewnior/default.nix
index aa09fb705f1c0edc36d754391c95edb9c10d9616..dd8e01298ff49a42bb4d68eafdf6c162dac8f7f3 100644
--- a/pkgs/applications/graphics/viewnior/default.nix
+++ b/pkgs/applications/graphics/viewnior/default.nix
@@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
in mind (follows Gnome HIG2).
'';
- license = "GPLv3";
+ license = stdenv.lib.licenses.gpl3;
homepage = http://xsisqox.github.com/Viewnior;
diff --git a/pkgs/applications/graphics/xaos/default.nix b/pkgs/applications/graphics/xaos/default.nix
index cddbc212c190b9a2642f36c6245f2dae4babfb97..8387b3486d4d72ebfdd03dafb2a3f291fbc103d7 100644
--- a/pkgs/applications/graphics/xaos/default.nix
+++ b/pkgs/applications/graphics/xaos/default.nix
@@ -1,10 +1,10 @@
-a :
-let
+a :
+let
fetchurl = a.fetchurl;
- version = a.lib.attrByPath ["version"] "3.6" a;
+ version = a.lib.attrByPath ["version"] "3.6" a;
buildInputs = with a; [
- aalib gsl libpng libX11 xproto libXext xextproto
+ aalib gsl libpng libX11 xproto libXext xextproto
libXt zlib gettext intltool perl
];
in
@@ -24,11 +24,11 @@ rec {
sed -e s@/usr/@"$out/"@g -i configure $(find . -name 'Makefile*')
mkdir -p $out/share/locale
'') ["doUnpack" "minInit" "defEnsureDir"];
-
+
name = "xaos-" + version;
meta = {
homepage = http://xaos.sourceforge.net/;
description = "XaoS - fractal viewer";
- license = "GPLv2+";
+ license = a.stdenv.lib.licenses.gpl2Plus;
};
}
diff --git a/pkgs/applications/inferno/default.nix b/pkgs/applications/inferno/default.nix
index 6a1a3be27dd54a87a80d2a9362ce75b4c9aec26f..c5a40fcbf5b323b10bc96f211dd4e99d9ce4f153 100644
--- a/pkgs/applications/inferno/default.nix
+++ b/pkgs/applications/inferno/default.nix
@@ -58,7 +58,7 @@ stdenv.mkDerivation rec {
description = "A compact distributed operating system for building cross-platform distributed systems";
homepage = "http://inferno-os.org/";
license = stdenv.lib.licenses.gpl2;
- maintainer = [ "Chris Double " ];
+ maintainers = [ "Chris Double " ];
platforms = with stdenv.lib.platforms; linux;
};
}
diff --git a/pkgs/applications/misc/abook/default.nix b/pkgs/applications/misc/abook/default.nix
index 3d187d92f5c6f6d89caa3cf5ec54127fc3a151a9..77e48e49dd89eb8d7660bb4d0cf48e470399cf89 100644
--- a/pkgs/applications/misc/abook/default.nix
+++ b/pkgs/applications/misc/abook/default.nix
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = "http://abook.sourceforge.net/";
description = "Text-based addressbook program designed to use with mutt mail client";
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
maintainers = [ stdenv.lib.maintainers.edwtjo ];
platforms = with stdenv.lib.platforms; linux;
};
diff --git a/pkgs/applications/misc/adobe-reader/default.nix b/pkgs/applications/misc/adobe-reader/default.nix
index a186f5f5ee0da1471c90aa213071935428011080..85bc89f775598f382ec0e1a448e31c8ca5c32068 100644
--- a/pkgs/applications/misc/adobe-reader/default.nix
+++ b/pkgs/applications/misc/adobe-reader/default.nix
@@ -25,6 +25,6 @@ stdenv.mkDerivation {
meta = {
description = "Adobe Reader, a viewer for PDF documents";
homepage = http://www.adobe.com/products/reader;
- license = "unfree";
+ license = stdenv.lib.licenses.unfree;
};
}
diff --git a/pkgs/applications/misc/audio/soxr/default.nix b/pkgs/applications/misc/audio/soxr/default.nix
index a8dd26ab6095d17de051ebba78c470e6740afa29..73cdbb37616a8a07497e7fbfad744c4b42f02200 100644
--- a/pkgs/applications/misc/audio/soxr/default.nix
+++ b/pkgs/applications/misc/audio/soxr/default.nix
@@ -15,6 +15,6 @@ stdenv.mkDerivation rec {
meta = {
description = "An audio resampling library";
homepage = http://soxr.sourceforge.net;
- license = "LGPLv2.1+";
+ license = stdenv.lib.licenses.lgpl21Plus;
};
}
diff --git a/pkgs/applications/misc/bibletime/default.nix b/pkgs/applications/misc/bibletime/default.nix
index cdaeb49f14c665c88e1973ba1ef28b32c5ba78b9..1976ea5ce13534a67d5a6312c70bb4363956d3c0 100644
--- a/pkgs/applications/misc/bibletime/default.nix
+++ b/pkgs/applications/misc/bibletime/default.nix
@@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
description = "A Qt4 Bible study tool";
homepage = http://www.bibletime.info/;
platforms = stdenv.lib.platforms.linux;
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
maintainers = [ stdenv.lib.maintainers.piotr ];
};
}
diff --git a/pkgs/applications/misc/bitcoin/default.nix b/pkgs/applications/misc/bitcoin/default.nix
index 118b56c55b0794937559b4db1b98288fc0cf7399..1a25a233c0ded4e7f8b70c978966dc13226f3aa8 100644
--- a/pkgs/applications/misc/bitcoin/default.nix
+++ b/pkgs/applications/misc/bitcoin/default.nix
@@ -44,6 +44,6 @@ stdenv.mkDerivation rec {
'';
homepage = "http://www.bitcoin.org/";
maintainers = [ stdenv.lib.maintainers.roconnor ];
- license = "MIT";
+ license = stdenv.lib.licenses.mit;
};
}
diff --git a/pkgs/applications/misc/blender/default.nix b/pkgs/applications/misc/blender/default.nix
index 7e4fffa98bfcb360a0ee597d723f2ede6321d4d3..a31fcfeab0f483b777c6c81af215146fb12c7adf 100644
--- a/pkgs/applications/misc/blender/default.nix
+++ b/pkgs/applications/misc/blender/default.nix
@@ -2,7 +2,7 @@
, ilmbase, libXi, libjpeg, libpng, libsamplerate, libsndfile
, libtiff, mesa, openal, opencolorio, openexr, openimageio, openjpeg, python
, zlib, fftw
-, jackaudioSupport ? false, jackaudio
+, jackaudioSupport ? false, jack2
}:
with lib;
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
[ SDL boost cmake ffmpeg gettext glew ilmbase libXi
libjpeg libpng libsamplerate libsndfile libtiff mesa openal
opencolorio openexr openimageio /* openjpeg */ python zlib fftw
- ] ++ optional jackaudioSupport jackaudio;
+ ] ++ optional jackaudioSupport jack2;
postUnpack =
''
diff --git a/pkgs/applications/misc/calibre/default.nix b/pkgs/applications/misc/calibre/default.nix
index 95f28d9058a0cc84d0aa2148a2ac6b3d12a2cd27..03faaa9ada4b9191a5e3cde8a2e220a74b7b6d38 100644
--- a/pkgs/applications/misc/calibre/default.nix
+++ b/pkgs/applications/misc/calibre/default.nix
@@ -4,11 +4,11 @@
}:
stdenv.mkDerivation rec {
- name = "calibre-1.45.0";
+ name = "calibre-1.47.0";
src = fetchurl {
url = "mirror://sourceforge/calibre/${name}.tar.xz";
- sha256 = "0g9fzpkjvi0h7h5azk3v425l8gxd8zidcz3nrzlg26hgvbkzpm20";
+ sha256 = "1hmqynxh9h12whcjwcd5idgc6mdaggczsf4hm70ajhj7pfjp3szg";
};
inherit python;
diff --git a/pkgs/applications/misc/d4x/default.nix b/pkgs/applications/misc/d4x/default.nix
index 4eb4c441c99d931d62b8f30697907383e2e16c80..d6ca3939d137e4f727064f6a4f10ceb5c8cc884f 100644
--- a/pkgs/applications/misc/d4x/default.nix
+++ b/pkgs/applications/misc/d4x/default.nix
@@ -19,6 +19,6 @@ stdenv.mkDerivation {
meta = {
description = "Graphical download manager";
homepage = http://www.krasu.ru/soft/chuchelo/;
- license = "Artistic";
+ license = "perl";
};
}
diff --git a/pkgs/applications/misc/dmenu/default.nix b/pkgs/applications/misc/dmenu/default.nix
index 3fecddcb316cf903370ef85ee8688a88283f417a..1ba3ee5268f7a0f2051044f7dca5ff63e3dcaa9f 100644
--- a/pkgs/applications/misc/dmenu/default.nix
+++ b/pkgs/applications/misc/dmenu/default.nix
@@ -28,9 +28,8 @@ stdenv.mkDerivation rec {
meta = {
description = "a generic, highly customizable, and efficient menu for the X Window System";
homepage = http://tools.suckless.org/dmenu;
- license = "MIT";
+ license = stdenv.lib.licenses.mit;
maintainers = with stdenv.lib.maintainers; [viric];
platforms = with stdenv.lib.platforms; all;
};
}
-
diff --git a/pkgs/applications/misc/epdfview/default.nix b/pkgs/applications/misc/epdfview/default.nix
index 6941e8df626a658d214f0e04b17f03b809a9f48f..d79162289c3c71d2344c73642ee96f6c0c7ba1da 100644
--- a/pkgs/applications/misc/epdfview/default.nix
+++ b/pkgs/applications/misc/epdfview/default.nix
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
GTK+ libraries. The aim of ePDFView is to make a simple PDF document
viewer, in the lines of Evince but without using the Gnome libraries.
'';
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
maintainers = with stdenv.lib.maintainers; [ astsmtl ];
platforms = with stdenv.lib.platforms; linux;
};
diff --git a/pkgs/applications/misc/evopedia/default.nix b/pkgs/applications/misc/evopedia/default.nix
index b070b629282c35d832a29a25cc5a02d83d0d1809..5ad82c9239c82eff55350e4fb45bd915d39bd9c0 100644
--- a/pkgs/applications/misc/evopedia/default.nix
+++ b/pkgs/applications/misc/evopedia/default.nix
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
meta = {
description = "Offline Wikipedia Viewer";
homepage = http://www.evopedia.info;
- license = "GPLv3+";
+ license = stdenv.lib.licenses.gpl3Plus;
maintainers = with stdenv.lib.maintainers; [viric];
platforms = with stdenv.lib.platforms; linux;
};
diff --git a/pkgs/applications/misc/evtest/default.nix b/pkgs/applications/misc/evtest/default.nix
index f2dadd2e5e8b1b4db54485fb088f1aecae400d30..638f254364e847b603543897f3c4b63ce87cd712 100644
--- a/pkgs/applications/misc/evtest/default.nix
+++ b/pkgs/applications/misc/evtest/default.nix
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
meta = with stdenv.lib; {
description = "Simple tool for input event debugging";
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
platforms = platforms.linux;
maintainers = [ maintainers.bjornfor ];
};
diff --git a/pkgs/applications/misc/freicoin/default.nix b/pkgs/applications/misc/freicoin/default.nix
index 33d8585bb2dd686babe13180123f051aab215425..65265fc07a5a8f8746832926fa14185686145f26 100644
--- a/pkgs/applications/misc/freicoin/default.nix
+++ b/pkgs/applications/misc/freicoin/default.nix
@@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
meta = {
description = "Peer-to-peer currency with demurrage fee";
homepage = "http://freicoi.in/";
- license = "MIT";
+ license = stdenv.lib.licenses.mit;
maintainers = with stdenv.lib.maintainers; [viric];
platforms = with stdenv.lib.platforms; linux;
};
diff --git a/pkgs/applications/misc/gkrellm/default.nix b/pkgs/applications/misc/gkrellm/default.nix
index 3b8f8b1cc680fabe0e44dfc0bd5172a8d0e1b280..81f74847c2f0120b35b0a1d5e0d7e712d55076cb 100644
--- a/pkgs/applications/misc/gkrellm/default.nix
+++ b/pkgs/applications/misc/gkrellm/default.nix
@@ -32,7 +32,7 @@ stdenv.mkDerivation rec {
'';
homepage = http://members.dslextreme.com/users/billw/gkrellm/gkrellm.html;
- license = "GPLv3+";
+ license = stdenv.lib.licenses.gpl3Plus;
maintainers = [ stdenv.lib.maintainers.ludo ];
platforms = stdenv.lib.platforms.unix;
diff --git a/pkgs/applications/misc/googleearth/default.nix b/pkgs/applications/misc/googleearth/default.nix
index 08b868bca9263475f3cccdc149bbb3997be2fb57..ea577beb59294d6d255b48495def2bd3bd509b5c 100644
--- a/pkgs/applications/misc/googleearth/default.nix
+++ b/pkgs/applications/misc/googleearth/default.nix
@@ -71,7 +71,7 @@ stdenv.mkDerivation {
meta = {
description = "A world sphere viewer";
homepage = http://earth.google.com;
- license = "unfree";
+ license = stdenv.lib.licenses.unfree;
maintainers = [ stdenv.lib.maintainers.viric ];
};
}
diff --git a/pkgs/applications/misc/gpsbabel/default.nix b/pkgs/applications/misc/gpsbabel/default.nix
index 29d5b1ee7cc80fbe40144b0832c8fa294542a827..bf44f91056d7537e17aa9f7b42ead1e188549551 100644
--- a/pkgs/applications/misc/gpsbabel/default.nix
+++ b/pkgs/applications/misc/gpsbabel/default.nix
@@ -50,7 +50,7 @@ stdenv.mkDerivation {
homepage = http://www.gpsbabel.org/;
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
maintainers = [ stdenv.lib.maintainers.ludo ];
platforms = stdenv.lib.platforms.gnu; # arbitrary choice
diff --git a/pkgs/applications/misc/gpscorrelate/default.nix b/pkgs/applications/misc/gpscorrelate/default.nix
index 141476a6b4060991a8156ae28174180cfe4390f0..9a59329871e62923fafe3efac3f57943737a709f 100644
--- a/pkgs/applications/misc/gpscorrelate/default.nix
+++ b/pkgs/applications/misc/gpscorrelate/default.nix
@@ -38,7 +38,7 @@ stdenv.mkDerivation rec {
one takes the GPS data in a different format.
'';
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
homepage = http://freefoote.dview.net/linux_gpscorr.html;
};
diff --git a/pkgs/applications/misc/grip/default.nix b/pkgs/applications/misc/grip/default.nix
index 0c2b957bc7ca4b150ae5bc5b75c12fab6687f640..39621536e688eb3f2832ca8b4bcdce5532574a8a 100644
--- a/pkgs/applications/misc/grip/default.nix
+++ b/pkgs/applications/misc/grip/default.nix
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
meta = {
description = "GTK+-based audio CD player/ripper";
homepage = "http://nostatic.org/grip";
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
maintainers = [ stdenv.lib.maintainers.marcweber stdenv.lib.maintainers.simons ];
platforms = stdenv.lib.platforms.linux;
diff --git a/pkgs/applications/misc/gv/default.nix b/pkgs/applications/misc/gv/default.nix
index efd9cf263e7cfd440e5aea6c4de05a3bf8ae9939..4867bef1f719ba2d3883a5c1f109135defe19ba5 100644
--- a/pkgs/applications/misc/gv/default.nix
+++ b/pkgs/applications/misc/gv/default.nix
@@ -30,7 +30,7 @@ stdenv.mkDerivation {
interface for the Ghostscript interpreter.
'';
- license = "GPLv3+";
+ license = stdenv.lib.licenses.gpl3Plus;
maintainers = [ ];
platforms = stdenv.lib.platforms.gnu; # arbitrary choice
};
diff --git a/pkgs/applications/misc/hello/ex-2/default.nix b/pkgs/applications/misc/hello/ex-2/default.nix
index d3ade1ab8505d82f1171ef1a3483145b296ff51b..71c9777ff9b7ded7434363d9c9fbcf9570020d0e 100644
--- a/pkgs/applications/misc/hello/ex-2/default.nix
+++ b/pkgs/applications/misc/hello/ex-2/default.nix
@@ -17,8 +17,7 @@ stdenv.mkDerivation rec {
It is fully customizable.
'';
homepage = http://www.gnu.org/software/hello/manual/;
- license = "GPLv3+";
-
+ license = stdenv.lib.licenses.gpl3Plus;
maintainers = [ stdenv.lib.maintainers.ludo ];
platforms = stdenv.lib.platforms.all;
};
diff --git a/pkgs/applications/misc/htmldoc/default.nix b/pkgs/applications/misc/htmldoc/default.nix
index befa8d25210081a48b8816cca1b66e2052821453..e8274418ae16938aee987b75e98a8549edd8e3c5 100644
--- a/pkgs/applications/misc/htmldoc/default.nix
+++ b/pkgs/applications/misc/htmldoc/default.nix
@@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://www.htmldoc.org/;
description = "Converts HTML files to indexed HTML, PS or PDF";
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
maintainers = with stdenv.lib.maintainers; [ viric ];
platforms = with stdenv.lib.platforms; linux;
};
diff --git a/pkgs/applications/misc/ikiwiki/default.nix b/pkgs/applications/misc/ikiwiki/default.nix
index b347f971ee0f724ac9fcccba33dd9940c3d107f8..fab492d5c099a66b5acb0f9e0a589c215e7d66b0 100644
--- a/pkgs/applications/misc/ikiwiki/default.nix
+++ b/pkgs/applications/misc/ikiwiki/default.nix
@@ -83,7 +83,7 @@ stdenv.mkDerivation {
meta = {
description = "Wiki compiler, storing pages and history in a RCS";
homepage = "http://ikiwiki.info/";
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
platforms = stdenv.lib.platforms.linux;
maintainers = [ stdenv.lib.maintainers.simons ];
diff --git a/pkgs/applications/misc/jigdo/default.nix b/pkgs/applications/misc/jigdo/default.nix
index fe4c0287fdd2b787c1ac96caeedf2577788a1bec..d722367d1b49c195630c2d9f552d9cb95ace48d6 100644
--- a/pkgs/applications/misc/jigdo/default.nix
+++ b/pkgs/applications/misc/jigdo/default.nix
@@ -21,6 +21,6 @@ stdenv.mkDerivation {
meta = {
description = "Download utility that can fetch files from several sources simultaneously";
homepage = http://atterer.net/jigdo/;
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
};
}
diff --git a/pkgs/applications/misc/librecad/2.0.nix b/pkgs/applications/misc/librecad/2.0.nix
index 2f140db93973271e430524ddfb5be7d166344dbc..59d25a9804046fd941f269ce485fba223f88ca87 100644
--- a/pkgs/applications/misc/librecad/2.0.nix
+++ b/pkgs/applications/misc/librecad/2.0.nix
@@ -33,7 +33,7 @@ stdenv.mkDerivation {
description = "A 2D CAD package based upon Qt";
homepage = http://librecad.org;
repositories.git = git://github.com/LibreCAD/LibreCAD.git;
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
maintainers = with stdenv.lib.maintainers; [viric];
platforms = with stdenv.lib.platforms; linux;
};
diff --git a/pkgs/applications/misc/librecad/default.nix b/pkgs/applications/misc/librecad/default.nix
index b225519f4868c84084d38a75e3f1bde257738dcf..be3fa4128b663527d229164e75947d964f90d41b 100644
--- a/pkgs/applications/misc/librecad/default.nix
+++ b/pkgs/applications/misc/librecad/default.nix
@@ -27,7 +27,7 @@ stdenv.mkDerivation {
meta = {
description = "A 2D CAD package based upon Qt";
homepage = http://librecad.org;
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
maintainers = with stdenv.lib.maintainers; [viric];
platforms = with stdenv.lib.platforms; linux;
};
diff --git a/pkgs/applications/misc/lyx/default.nix b/pkgs/applications/misc/lyx/default.nix
index 1ea4f06c9273a757c4f5d16ba0ed301556aa2703..36b2f84aab54896c9165d25ec865a68b753d1422 100644
--- a/pkgs/applications/misc/lyx/default.nix
+++ b/pkgs/applications/misc/lyx/default.nix
@@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
meta = {
description = "WYSIWYM frontend for LaTeX, DocBook";
homepage = "http://www.lyx.org";
- license = "GPL2";
+ license = stdenv.lib.licenses.gpl2;
maintainers = [ stdenv.lib.maintainers.vcunat ];
platforms = stdenv.lib.platforms.linux;
};
diff --git a/pkgs/applications/misc/makeself/default.nix b/pkgs/applications/misc/makeself/default.nix
index e433b83cdeb5767ac928cbfaf46696dad44458c5..3ba0faef96821581b53d17fc5694997f860d0e5d 100644
--- a/pkgs/applications/misc/makeself/default.nix
+++ b/pkgs/applications/misc/makeself/default.nix
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
homepage = http://megastep.org/makeself;
description = "Utility to create self-extracting packages";
license = licenses.gpl2;
- maintainer = maintainers.wmertens;
+ maintainers = [ maintainers.wmertens ];
platforms = platforms.all;
};
}
diff --git a/pkgs/applications/misc/merkaartor/default.nix b/pkgs/applications/misc/merkaartor/default.nix
index e6636415b5ef39bae0fa7037222534ed1def10da..932e5bb483003d1c52739288781d902a4c18a188 100644
--- a/pkgs/applications/misc/merkaartor/default.nix
+++ b/pkgs/applications/misc/merkaartor/default.nix
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
meta = {
description = "An openstreetmap editor";
homepage = http://merkaartor.org/;
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
maintainers = with stdenv.lib.maintainers; [viric urkud];
inherit (qt4.meta) platforms;
};
diff --git a/pkgs/applications/misc/mupdf/default.nix b/pkgs/applications/misc/mupdf/default.nix
index a56460827f50f201dc1f37f67faf2ff6ada814a9..aa7c14634d13a950b2e20ee8dff52dbe1040b5a1 100644
--- a/pkgs/applications/misc/mupdf/default.nix
+++ b/pkgs/applications/misc/mupdf/default.nix
@@ -65,7 +65,7 @@ stdenv.mkDerivation rec {
homepage = http://mupdf.com/;
repositories.git = git://git.ghostscript.com/mupdf.git;
description = "Lightweight PDF viewer and toolkit written in portable C";
- license = "GPLv3+";
+ license = stdenv.lib.licenses.gpl3Plus;
maintainers = with stdenv.lib.maintainers; [ viric ];
platforms = with stdenv.lib.platforms; linux;
inherit version;
diff --git a/pkgs/applications/misc/navipowm/default.nix b/pkgs/applications/misc/navipowm/default.nix
index a526774d48ecf0685986c59009e5d444df5ecb2c..6d990831a369b822755067c5a5dbe1f0774b3448 100644
--- a/pkgs/applications/misc/navipowm/default.nix
+++ b/pkgs/applications/misc/navipowm/default.nix
@@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://navipowm.sourceforge.net/;
description = "Car navigation system";
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
maintainers = with stdenv.lib.maintainers; [ viric ];
platforms = with stdenv.lib.platforms; linux;
};
diff --git a/pkgs/applications/misc/navit/default.nix b/pkgs/applications/misc/navit/default.nix
index ef1e777f55fd17167da330a121f442fbbf425e2c..1be39c66642172613ab674ddb503aa4d8bfa3083 100644
--- a/pkgs/applications/misc/navit/default.nix
+++ b/pkgs/applications/misc/navit/default.nix
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://www.navit-project.org/;
description = "Car navigation system with routing engine using OSM maps";
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
maintainers = with stdenv.lib.maintainers; [ viric ];
platforms = with stdenv.lib.platforms; linux;
};
diff --git a/pkgs/applications/misc/nc-indicators/default.nix b/pkgs/applications/misc/nc-indicators/default.nix
index 026485c771b36cde861dae50aff49d4ccb293ad8..3198333cce2534a0ca480e24edf6d54dd6032184 100644
--- a/pkgs/applications/misc/nc-indicators/default.nix
+++ b/pkgs/applications/misc/nc-indicators/default.nix
@@ -4,8 +4,8 @@
cabal.mkDerivation (self: {
pname = "nc-indicators";
- version = "0.2";
- sha256 = "0z3h0d3cl0xapysq5sh1rnbp8fg8adlq0x3i4ql9xin9in29q27q";
+ version = "0.3";
+ sha256 = "0w5nddirsib9vz96dpan9bgdg1mag9gaz7w7ix51l44ls9r8yn3m";
isLibrary = false;
isExecutable = true;
buildDepends = [ attoparsec gtk hflags lens pipes stm ];
diff --git a/pkgs/applications/misc/openjump/default.nix b/pkgs/applications/misc/openjump/default.nix
index 74f657ee02a787c3b3a37f9836713449dc14868d..8a68bd7ccfb9788f9dcf281f8d51f95a0b16f120 100644
--- a/pkgs/applications/misc/openjump/default.nix
+++ b/pkgs/applications/misc/openjump/default.nix
@@ -32,7 +32,7 @@ stdenv.mkDerivation {
meta = {
description = "open source Geographic Information System (GIS) written in the Java programming language";
homepage = http://www.openjump.org/index.html;
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
maintainers = [stdenv.lib.maintainers.marcweber];
platforms = stdenv.lib.platforms.linux;
};
diff --git a/pkgs/applications/misc/qgis/default.nix b/pkgs/applications/misc/qgis/default.nix
index d6711c82968e317690690788f6ef2c393cc5c0fb..cc26a74802b4478d509b5fe2987ee760bf874a95 100644
--- a/pkgs/applications/misc/qgis/default.nix
+++ b/pkgs/applications/misc/qgis/default.nix
@@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
meta = {
description = "User friendly Open Source Geographic Information System";
homepage = http://www.qgis.org;
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
platforms = with stdenv.lib.platforms; linux;
maintainers = with stdenv.lib.maintainers; [viric];
};
diff --git a/pkgs/applications/misc/redshift/default.nix b/pkgs/applications/misc/redshift/default.nix
index 88d6e7a7cf94a04c2ff70557f38b6484c2e00087..abf55aa22b9743218fac844fa65d93436766ef9a 100644
--- a/pkgs/applications/misc/redshift/default.nix
+++ b/pkgs/applications/misc/redshift/default.nix
@@ -37,7 +37,7 @@ stdenv.mkDerivation rec {
temperature transitions smoothly from night to daytime
temperature to allow your eyes to slowly adapt.
'';
- license = "GPLv3+";
+ license = stdenv.lib.licenses.gpl3Plus;
homepage = "http://jonls.dk/redshift";
platforms = platforms.linux;
maintainers = maintainers.mornfall;
diff --git a/pkgs/applications/misc/sakura/default.nix b/pkgs/applications/misc/sakura/default.nix
index e1492a4769140d12beadd4a7d2abeed03710a231..151b8a077d5d6e16ecdf4b5947d2d35aa748fb31 100644
--- a/pkgs/applications/misc/sakura/default.nix
+++ b/pkgs/applications/misc/sakura/default.nix
@@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
terminals in one window and adds a contextual menu with some basic
options. No more no less.
'';
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
maintainers = with stdenv.lib.maintainers; [ astsmtl ];
platforms = with stdenv.lib.platforms; linux;
};
diff --git a/pkgs/applications/misc/st/default.nix b/pkgs/applications/misc/st/default.nix
index 9c57fbd19a7707aedc562792f5258f2b5b9c034d..1dcdf78456d2a5c7be83cd3b20d0eb983c1215b8 100644
--- a/pkgs/applications/misc/st/default.nix
+++ b/pkgs/applications/misc/st/default.nix
@@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://st.suckless.org/;
- license = "MIT";
+ license = stdenv.lib.licenses.mit;
maintainers = with maintainers; [viric];
platforms = with platforms; linux;
};
diff --git a/pkgs/applications/misc/stardict/stardict.nix b/pkgs/applications/misc/stardict/stardict.nix
index 9eb3e112342147616bc1531c9bcdd46ba3bb07ca..1ca8ec045d612a21bed103ce09c182eedfdcddb5 100644
--- a/pkgs/applications/misc/stardict/stardict.nix
+++ b/pkgs/applications/misc/stardict/stardict.nix
@@ -39,8 +39,7 @@ stdenv.mkDerivation rec {
meta = {
description = "stardict";
homepage = "A international dictionary supporting fuzzy and glob style matching";
- license = "LGPL3";
+ license = stdenv.lib.licenses.lgpl3;
maintainers = with stdenv.lib.maintainers; [qknight];
};
}
-
diff --git a/pkgs/applications/misc/surf/default.nix b/pkgs/applications/misc/surf/default.nix
index 651cfcca40673360e22d8daeaa74e171d0fa9abf..983fbde0c459383ce0bfcd1339da78688da982f3 100644
--- a/pkgs/applications/misc/surf/default.nix
+++ b/pkgs/applications/misc/surf/default.nix
@@ -38,7 +38,7 @@ stdenv.mkDerivation rec {
surf to another URI by setting its XProperties.
'';
homepage = http://surf.suckless.org;
- license = "MIT";
+ license = stdenv.lib.licenses.mit;
platforms = stdenv.lib.platforms.linux;
};
}
diff --git a/pkgs/applications/misc/tangogps/default.nix b/pkgs/applications/misc/tangogps/default.nix
index 609849166d1610a7318c61d31040d431dfb9abb9..aa1df2c9d1a6c57d3d40b4ae9055291a41e181e8 100644
--- a/pkgs/applications/misc/tangogps/default.nix
+++ b/pkgs/applications/misc/tangogps/default.nix
@@ -38,6 +38,6 @@ stdenv.mkDerivation rec {
#homepage = http://www.tangogps.org/; # no longer valid, I couldn't find any other
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
};
}
diff --git a/pkgs/applications/misc/taskjuggler/default.nix b/pkgs/applications/misc/taskjuggler/default.nix
index 77acc511fe4206aab79844e2e1d1387118deb84d..e1e04771460315796025cdf4ca5fd60c3935fc37 100644
--- a/pkgs/applications/misc/taskjuggler/default.nix
+++ b/pkgs/applications/misc/taskjuggler/default.nix
@@ -62,7 +62,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = "http://www.taskjuggler.org";
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
description = "Project management tool";
longDescription = ''
TaskJuggler is a modern and powerful, Open Source project management
diff --git a/pkgs/applications/misc/vanitygen/default.nix b/pkgs/applications/misc/vanitygen/default.nix
index e16767d4c261287045c1a56d9bf66de7202eccfa..720240d0d797298f25c8da092bf3e9cded8da25c 100644
--- a/pkgs/applications/misc/vanitygen/default.nix
+++ b/pkgs/applications/misc/vanitygen/default.nix
@@ -33,7 +33,7 @@ stdenv.mkDerivation rec {
and will run about 30% faster.
'';
homepage = "https://github.com/samr7/vanitygen";
- license = "AGPLv3";
+ license = stdenv.lib.licenses.agpl3;
platforms = stdenv.lib.platforms.all;
};
}
diff --git a/pkgs/applications/misc/viking/default.nix b/pkgs/applications/misc/viking/default.nix
index 70ac055db098d04548586a3bcd977c851fb829bd..6508b12e1de8f84478d8a0d226c44ccbe36a57fb 100644
--- a/pkgs/applications/misc/viking/default.nix
+++ b/pkgs/applications/misc/viking/default.nix
@@ -38,6 +38,6 @@ stdenv.mkDerivation {
homepage = http://viking.sourceforge.net/;
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
};
}
diff --git a/pkgs/applications/misc/wmname/default.nix b/pkgs/applications/misc/wmname/default.nix
index 417d4a5ae68350c88a0844f73244247493876a57..0f71a53075f9ac0e6abc9cac955f68a973a93630 100644
--- a/pkgs/applications/misc/wmname/default.nix
+++ b/pkgs/applications/misc/wmname/default.nix
@@ -15,6 +15,6 @@ stdenv.mkDerivation rec {
meta = {
description = "Prints or set the window manager name property of the root window";
homepage = "http://tools.suckless.org/wmname";
- license = "MIT";
+ license = stdenv.lib.licenses.mit;
};
}
diff --git a/pkgs/applications/misc/xfe/default.nix b/pkgs/applications/misc/xfe/default.nix
index 9b1385d9d6ad157057d7af58e05c17a7b0b42d4a..9a35cef082430244458bbbf9c18d2c9edd184656 100644
--- a/pkgs/applications/misc/xfe/default.nix
+++ b/pkgs/applications/misc/xfe/default.nix
@@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
Xfe aims to be the filemanager of choice for all the Unix addicts!
'';
homepage = "http://sourceforge.net/projects/xfe/";
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
maintainers = [ stdenv.lib.maintainers.bbenoist ];
platforms = stdenv.lib.platforms.mesaPlatforms;
};
diff --git a/pkgs/applications/misc/xneur/default.nix b/pkgs/applications/misc/xneur/default.nix
index 4f6e3342f588d213e17cf867fcb1bdca989e4400..cc08436fa0331c4354752d42155f43894c560248 100644
--- a/pkgs/applications/misc/xneur/default.nix
+++ b/pkgs/applications/misc/xneur/default.nix
@@ -37,7 +37,7 @@ stdenv.mkDerivation rec {
meta = {
description = "Utility for switching between keyboard layouts";
homepage = http://xneur.ru;
- license = "GPL2+";
+ license = stdenv.lib.licenses.gpl2Plus;
maintainers = [ stdenv.lib.maintainers.raskin ];
platforms = stdenv.lib.platforms.linux;
};
diff --git a/pkgs/applications/networking/browsers/chromium/common.nix b/pkgs/applications/networking/browsers/chromium/common.nix
index 3aac5f9b17ae49b853e66a46fdd590d90fd844cc..311257952712aaca3e1d0bb7d9c11279d499b64a 100644
--- a/pkgs/applications/networking/browsers/chromium/common.nix
+++ b/pkgs/applications/networking/browsers/chromium/common.nix
@@ -79,7 +79,7 @@ let
};
opusWithCustomModes = libopus.override {
- withCustomModes = !versionOlder source.version "35.0.0.0";
+ withCustomModes = true;
};
defaultDependencies = [
@@ -132,19 +132,13 @@ let
find -iname '*.gyp*' \( -type f -o -type l \) \
-exec sed -i -e 's|<(DEPTH)|'"$(pwd)"'|g' {} + \
-exec chmod u+w {} +
- '' + optionalString (!versionOlder source.version "37.0.0.0") ''
- python third_party/libaddressinput/chromium/tools/update-strings.py
'';
- postPatch = let
- toPatch = if versionOlder source.version "36.0.0.0"
- then "content/browser/browser_main_loop.cc"
- else "sandbox/linux/suid/client/setuid_sandbox_client.cc";
- in ''
+ postPatch = ''
sed -i -e '/base::FilePath exe_dir/,/^ *} *$/c \
sandbox_binary = base::FilePath(getenv("CHROMIUM_SANDBOX_BINARY_PATH"));
- ' ${toPatch}
- '' + optionalString (!versionOlder source.version "36.0.0.0") ''
+ ' sandbox/linux/suid/client/setuid_sandbox_client.cc
+
sed -i -e '/module_path *=.*libexif.so/ {
s|= [^;]*|= base::FilePath().AppendASCII("${libexif}/lib/libexif.so")|
}' chrome/utility/media_galleries/image_metadata_extractor.cc
@@ -165,6 +159,7 @@ let
use_cups = cupsSupport;
linux_sandbox_chrome_path="${libExecPath}/${packageName}";
werror = "";
+ clang = false;
# FIXME: In version 37, omnibox.mojom.js doesn't seem to be generated.
use_mojo = versionOlder source.version "37.0.0.0";
diff --git a/pkgs/applications/networking/browsers/chromium/source/default.nix b/pkgs/applications/networking/browsers/chromium/source/default.nix
index 6a6b299ee51189c45de15b086b6a28d6b0ab9304..70b01d071a78876d81ed6a0e849813a51b572a24 100644
--- a/pkgs/applications/networking/browsers/chromium/source/default.nix
+++ b/pkgs/applications/networking/browsers/chromium/source/default.nix
@@ -22,9 +22,7 @@ stdenv.mkDerivation {
prePatch = "patchShebangs .";
- patches = if (versionOlder version "36.0.0.0")
- then singleton ./sandbox_userns_31.patch
- else singleton ./sandbox_userns_36.patch;
+ patches = singleton ./sandbox_userns_36.patch;
postPatch = ''
sed -i -r \
@@ -32,14 +30,15 @@ stdenv.mkDerivation {
-e 's|/bin/echo|echo|' \
-e "/python_arch/s/: *'[^']*'/: '""'/" \
build/common.gypi chrome/chrome_tests.gypi
+ '' + optionalString (versionOlder version "38.0.0.0") (''
sed -i -e '/not RunGN/,+1d' -e '/import.*depot/d' build/gyp_chromium
sed -i -e 's|/usr/bin/gcc|gcc|' \
third_party/WebKit/Source/build/scripts/scripts.gypi \
third_party/WebKit/Source/build/scripts/preprocessor.pm
- '' + optionalString useOpenSSL ''
- cat $opensslPatches | patch -p1 -d third_party/openssl/openssl
'' + optionalString (!versionOlder version "37.0.0.0") ''
patch -p1 -d third_party/angle < "${./angle_build_37.patch}"
+ '') + optionalString useOpenSSL ''
+ cat $opensslPatches | patch -p1 -d third_party/openssl/openssl
'';
outputs = [ "out" "sandbox" "bundled" "main" ];
diff --git a/pkgs/applications/networking/browsers/chromium/source/sandbox_userns_31.patch b/pkgs/applications/networking/browsers/chromium/source/sandbox_userns_31.patch
deleted file mode 100644
index 490c1a9cebe921e5d17fb3020269054a7f85f6c0..0000000000000000000000000000000000000000
--- a/pkgs/applications/networking/browsers/chromium/source/sandbox_userns_31.patch
+++ /dev/null
@@ -1,297 +0,0 @@
-commit ff4e8b4af04c58fc4c58ee7ed108aefcdc26a960
-Author: aszlig
-Date: Thu May 16 14:17:56 2013 +0200
-
- zygote: Add support for user namespaces on Linux.
-
- The implementation is done by patching the Zygote host to execute the sandbox
- binary with CLONE_NEWUSER and setting the uid and gid mapping so that the child
- process is using uid 0 and gid 0 which map to the current user of the parent.
- Afterwards, the sandbox will continue as if it was called as a setuid binary.
-
- In addition, this adds new_user_namespace as an option in process_util in order
- to set the UID and GID mapping correctly. The reason for this is that just
- passing CLONE_NEWUSER to clone_flags doesn't help in LaunchProcess(), because
- without setting the mappings exec*() will clear the process's capability sets.
-
- If the kernel doesn't support unprivileged user namespaces and the sandbox
- binary doesn't have the setuid flag, the Zygote main process will run without a
- sandbox. This is to mimic the behaviour if no SUID sandbox binary path is set.
-
- Signed-off-by: aszlig
-
-diff --git a/base/process/launch.cc b/base/process/launch.cc
-index 1329a5a..ec28fdf 100644
---- a/base/process/launch.cc
-+++ b/base/process/launch.cc
-@@ -24,6 +24,7 @@ LaunchOptions::LaunchOptions()
- new_process_group(false)
- #if defined(OS_LINUX)
- , clone_flags(0)
-+ , new_user_namespace(false)
- #endif // OS_LINUX
- #if defined(OS_CHROMEOS)
- , ctrl_terminal_fd(-1)
-diff --git a/base/process/launch.h b/base/process/launch.h
-index ac2df5e..34a3851 100644
---- a/base/process/launch.h
-+++ b/base/process/launch.h
-@@ -100,6 +100,9 @@ struct BASE_EXPORT LaunchOptions {
- #if defined(OS_LINUX)
- // If non-zero, start the process using clone(), using flags as provided.
- int clone_flags;
-+
-+ // If true, start the process in a new user namespace.
-+ bool new_user_namespace;
- #endif // defined(OS_LINUX)
-
- #if defined(OS_CHROMEOS)
-diff --git a/base/process/launch_posix.cc b/base/process/launch_posix.cc
-index de6286d..9333494 100644
---- a/base/process/launch_posix.cc
-+++ b/base/process/launch_posix.cc
-@@ -37,6 +37,13 @@
- #include "base/threading/platform_thread.h"
- #include "base/threading/thread_restrictions.h"
-
-+#if defined(OS_LINUX)
-+#include
-+#if !defined(CLONE_NEWUSER)
-+#define CLONE_NEWUSER 0x10000000
-+#endif
-+#endif
-+
- #if defined(OS_CHROMEOS)
- #include
- #endif
-@@ -294,13 +301,23 @@ bool LaunchProcess(const std::vector& argv,
-
- pid_t pid;
- #if defined(OS_LINUX)
-- if (options.clone_flags) {
-+ int map_pipe_fd[2];
-+ int flags = options.clone_flags;
-+
-+ if (options.new_user_namespace) {
-+ flags |= CLONE_NEWUSER;
-+ if (pipe(map_pipe_fd) < 0) {
-+ DPLOG(ERROR) << "user namespace pipe";
-+ return false;
-+ }
-+ }
-+
-+ if (options.clone_flags || options.new_user_namespace) {
- // Signal handling in this function assumes the creation of a new
- // process, so we check that a thread is not being created by mistake
- // and that signal handling follows the process-creation rules.
-- RAW_CHECK(
-- !(options.clone_flags & (CLONE_SIGHAND | CLONE_THREAD | CLONE_VM)));
-- pid = syscall(__NR_clone, options.clone_flags, 0, 0, 0);
-+ RAW_CHECK(!(flags & (CLONE_SIGHAND | CLONE_THREAD | CLONE_VM)));
-+ pid = syscall(__NR_clone, flags, 0, 0, 0);
- } else
- #endif
- {
-@@ -318,6 +335,21 @@ bool LaunchProcess(const std::vector& argv,
- } else if (pid == 0) {
- // Child process
-
-+#if defined(OS_LINUX)
-+ if (options.new_user_namespace) {
-+ // Close the write end of the pipe so we get an EOF when the parent closes
-+ // the FD. This is to avoid race conditions when the UID/GID mappings are
-+ // written _after_ execvp().
-+ close(map_pipe_fd[1]);
-+
-+ char dummy;
-+ if (HANDLE_EINTR(read(map_pipe_fd[0], &dummy, 1)) != 0) {
-+ RAW_LOG(ERROR, "Unexpected input in uid/gid mapping pipe.");
-+ _exit(127);
-+ }
-+ }
-+#endif
-+
- // DANGER: fork() rule: in the child, if you don't end up doing exec*(),
- // you call _exit() instead of exit(). This is because _exit() does not
- // call any previously-registered (in the parent) exit handlers, which
-@@ -433,6 +465,40 @@ bool LaunchProcess(const std::vector& argv,
- _exit(127);
- } else {
- // Parent process
-+#if defined(OS_LINUX)
-+ if (options.new_user_namespace) {
-+ // We need to write UID/GID mapping here to map the current user outside
-+ // the namespace to the root user inside the namespace in order to
-+ // correctly "fool" the child process.
-+ char buf[256];
-+ int map_fd, map_len;
-+
-+ snprintf(buf, sizeof(buf), "/proc/%d/uid_map", pid);
-+ map_fd = open(buf, O_RDWR);
-+ DPCHECK(map_fd >= 0);
-+ snprintf(buf, sizeof(buf), "0 %d 1", geteuid());
-+ map_len = strlen(buf);
-+ if (write(map_fd, buf, map_len) != map_len) {
-+ RAW_LOG(WARNING, "Can't write to uid_map.");
-+ }
-+ close(map_fd);
-+
-+ snprintf(buf, sizeof(buf), "/proc/%d/gid_map", pid);
-+ map_fd = open(buf, O_RDWR);
-+ DPCHECK(map_fd >= 0);
-+ snprintf(buf, sizeof(buf), "0 %d 1", getegid());
-+ map_len = strlen(buf);
-+ if (write(map_fd, buf, map_len) != map_len) {
-+ RAW_LOG(WARNING, "Can't write to gid_map.");
-+ }
-+ close(map_fd);
-+
-+ // Close the pipe on the parent, so the child can continue doing the
-+ // execvp() call.
-+ close(map_pipe_fd[1]);
-+ }
-+#endif
-+
- if (options.wait) {
- // While this isn't strictly disk IO, waiting for another process to
- // finish is the sort of thing ThreadRestrictions is trying to prevent.
-diff --git a/content/browser/zygote_host/zygote_host_impl_linux.cc b/content/browser/zygote_host/zygote_host_impl_linux.cc
-index fea43b5..95cbe07 100644
---- a/content/browser/zygote_host/zygote_host_impl_linux.cc
-+++ b/content/browser/zygote_host/zygote_host_impl_linux.cc
-@@ -121,25 +121,31 @@ void ZygoteHostImpl::Init(const std::string& sandbox_cmd) {
-
- sandbox_binary_ = sandbox_cmd.c_str();
-
-- // A non empty sandbox_cmd means we want a SUID sandbox.
-- using_suid_sandbox_ = !sandbox_cmd.empty();
-+ bool userns_sandbox = false;
-+ const std::vector cmd_line_unwrapped(cmd_line.argv());
-
-- if (using_suid_sandbox_) {
-+ if (!sandbox_cmd.empty()) {
- struct stat st;
- if (stat(sandbox_binary_.c_str(), &st) != 0) {
- LOG(FATAL) << "The SUID sandbox helper binary is missing: "
- << sandbox_binary_ << " Aborting now.";
- }
-
-- if (access(sandbox_binary_.c_str(), X_OK) == 0 &&
-- (st.st_uid == 0) &&
-- (st.st_mode & S_ISUID) &&
-- (st.st_mode & S_IXOTH)) {
-+ if (access(sandbox_binary_.c_str(), X_OK) == 0) {
-+ using_suid_sandbox_ = true;
-+
- cmd_line.PrependWrapper(sandbox_binary_);
-
- scoped_ptr
- sandbox_client(sandbox::SetuidSandboxClient::Create());
- sandbox_client->SetupLaunchEnvironment();
-+
-+ if (!((st.st_uid == 0) &&
-+ (st.st_mode & S_ISUID) &&
-+ (st.st_mode & S_IXOTH))) {
-+ userns_sandbox = true;
-+ sandbox_client->SetNoSuid();
-+ }
- } else {
- LOG(FATAL) << "The SUID sandbox helper binary was found, but is not "
- "configured correctly. Rather than run without sandboxing "
-@@ -163,7 +169,19 @@ void ZygoteHostImpl::Init(const std::string& sandbox_cmd) {
- base::ProcessHandle process = -1;
- base::LaunchOptions options;
- options.fds_to_remap = &fds_to_map;
-+ if (userns_sandbox)
-+ options.new_user_namespace = true;
- base::LaunchProcess(cmd_line.argv(), options, &process);
-+
-+ if (process == -1 && userns_sandbox) {
-+ LOG(ERROR) << "User namespace sandbox failed to start, running without "
-+ << "sandbox! You need at least kernel 3.8.0 with CONFIG_USER_NS "
-+ << "enabled in order to use the sandbox without setuid bit.";
-+ using_suid_sandbox_ = false;
-+ options.new_user_namespace = false;
-+ base::LaunchProcess(cmd_line_unwrapped, options, &process);
-+ }
-+
- CHECK(process != -1) << "Failed to launch zygote process";
-
- if (using_suid_sandbox_) {
-diff --git a/content/zygote/zygote_main_linux.cc b/content/zygote/zygote_main_linux.cc
-index 567b305..1089233 100644
---- a/content/zygote/zygote_main_linux.cc
-+++ b/content/zygote/zygote_main_linux.cc
-@@ -426,6 +426,13 @@ static bool EnterSuidSandbox(LinuxSandbox* linux_sandbox,
- *has_started_new_init = true;
- }
-
-+ // Don't set non-dumpable, as it causes trouble when the host tries to find
-+ // the zygote process (XXX: Not quite sure why this happens with user
-+ // namespaces). Fortunately, we also have the seccomp filter sandbox which
-+ // should disallow the use of ptrace.
-+ if (setuid_sandbox->IsNoSuid())
-+ return true;
-+
- #if !defined(OS_OPENBSD)
- // Previously, we required that the binary be non-readable. This causes the
- // kernel to mark the process as non-dumpable at startup. The thinking was
-diff --git a/sandbox/linux/suid/client/setuid_sandbox_client.cc b/sandbox/linux/suid/client/setuid_sandbox_client.cc
-index 34231d4..36e3201 100644
---- a/sandbox/linux/suid/client/setuid_sandbox_client.cc
-+++ b/sandbox/linux/suid/client/setuid_sandbox_client.cc
-@@ -166,6 +166,10 @@ bool SetuidSandboxClient::IsInNewNETNamespace() const {
- return env_->HasVar(kSandboxNETNSEnvironmentVarName);
- }
-
-+bool SetuidSandboxClient::IsNoSuid() const {
-+ return env_->HasVar(kSandboxNoSuidVarName);
-+}
-+
- bool SetuidSandboxClient::IsSandboxed() const {
- return sandboxed_;
- }
-@@ -175,5 +179,9 @@ void SetuidSandboxClient::SetupLaunchEnvironment() {
- SetSandboxAPIEnvironmentVariable(env_);
- }
-
-+void SetuidSandboxClient::SetNoSuid() {
-+ env_->SetVar(kSandboxNoSuidVarName, "1");
-+}
-+
- } // namespace sandbox
-
-diff --git a/sandbox/linux/suid/client/setuid_sandbox_client.h b/sandbox/linux/suid/client/setuid_sandbox_client.h
-index a9f6536..2e8113a 100644
---- a/sandbox/linux/suid/client/setuid_sandbox_client.h
-+++ b/sandbox/linux/suid/client/setuid_sandbox_client.h
-@@ -39,6 +39,8 @@ class SetuidSandboxClient {
- bool IsInNewPIDNamespace() const;
- // Did the setuid helper create a new network namespace ?
- bool IsInNewNETNamespace() const;
-+ // Is sandboxed without SUID binary ?
-+ bool IsNoSuid() const;
- // Are we done and fully sandboxed ?
- bool IsSandboxed() const;
-
-@@ -46,6 +48,8 @@ class SetuidSandboxClient {
- // helper.
- void SetupLaunchEnvironment();
-
-+ void SetNoSuid();
-+
- private:
- // Holds the environment. Will never be NULL.
- base::Environment* env_;
-diff --git a/sandbox/linux/suid/common/sandbox.h b/sandbox/linux/suid/common/sandbox.h
-index aad4ff8..bd710d5 100644
---- a/sandbox/linux/suid/common/sandbox.h
-+++ b/sandbox/linux/suid/common/sandbox.h
-@@ -18,6 +18,7 @@ static const char kAdjustLowMemMarginSwitch[] = "--adjust-low-mem";
-
- static const char kSandboxDescriptorEnvironmentVarName[] = "SBX_D";
- static const char kSandboxHelperPidEnvironmentVarName[] = "SBX_HELPER_PID";
-+static const char kSandboxNoSuidVarName[] = "SBX_NO_SUID";
-
- static const long kSUIDSandboxApiNumber = 1;
- static const char kSandboxEnvironmentApiRequest[] = "SBX_CHROME_API_RQ";
diff --git a/pkgs/applications/networking/browsers/chromium/source/sources.nix b/pkgs/applications/networking/browsers/chromium/source/sources.nix
index 965328d43a4a0d8b1bfba90cfc49beb15f723876..294577aa55945ecd9984d7ee50c5feb7a7d1ee5a 100644
--- a/pkgs/applications/networking/browsers/chromium/source/sources.nix
+++ b/pkgs/applications/networking/browsers/chromium/source/sources.nix
@@ -1,21 +1,21 @@
# This file is autogenerated from update.sh in the parent directory.
{
dev = {
- version = "37.0.2054.3";
- sha256 = "1sly1fb9wh10m36crikahn7wgsq7j090jaga4l8zk4kihzprcnj2";
- sha256bin32 = "0242ypzgzskkmsw3iyirxzlm1gbng94lv723ffcr018grq9yg4gs";
- sha256bin64 = "17kzb7k0vn96wa6a4xfx05885li1qjg8bp6y3ngs2i0wws9ypfd9";
+ version = "38.0.2101.0";
+ sha256 = "01lmnw6kf7qahifybpcf7275ilbsdz1mg10lckh9jhbqk4mxy4c4";
+ sha256bin32 = "06grj03bvkgfmr5gfhv5gqn9vrz0r37svp5wr0l7d2iav7vk7g9g";
+ sha256bin64 = "0d856xkjpx1pcwrkfqa40kwy3s1nvc2qksvrvvdfb84fg3gc4j42";
};
beta = {
- version = "36.0.1985.84";
- sha256 = "02hhqx5m4hxmnf8l3a2ah9k39bpz35sll6gv89vz27vdgb6mza0j";
- sha256bin32 = "1jjxzknyiw6d5p0bcb7c9d0siffg55wmm34lq1phz1jlqq6hz6zy";
- sha256bin64 = "1jr9a386arfmd8rskns9bmlczzr3xzcw9ykv7xf23iz86qqp723r";
+ version = "37.0.2062.44";
+ sha256 = "0pvwdrwygn236bg8wdambwkw9iglq0a3lm8sr7k3q02ng5v0l111";
+ sha256bin32 = "1j326kgng245b1lf5dlg0ipwbrm7miiz5byhisqls30v1q3njka9";
+ sha256bin64 = "1w86salg04z42c518v6nn40003zhabk33plrz5zh9nfjdxn6nxig";
};
stable = {
- version = "35.0.1916.153";
- sha256 = "03p7wmlvbrgd8m94344z4azkhrffwrr5c76dm8c4jcxs0x1yn318";
- sha256bin32 = "0xm34xwdai8ns6bkq5dshh4izls70rwgvya23md4vxq6iv78sykn";
- sha256bin64 = "1x2cm1i8v8d69856b42anms33clv63adzpqy58in6i9vba13swif";
+ version = "36.0.1985.125";
+ sha256 = "08shkm89qzzdlrjg0rg5qiszbk6ziginsicyxqyk353y76jx10hp";
+ sha256bin32 = "1ahazz56k127xncgl1lzwsmydbh0vcxq0hzrb9cm9zzdkzqjzg03";
+ sha256bin64 = "0qx5316cd8l9g8w389aqi5m3csmr5s8hs7sivlk02mbs0jzi8ppc";
};
}
diff --git a/pkgs/applications/networking/browsers/elinks/default.nix b/pkgs/applications/networking/browsers/elinks/default.nix
index 61db2656a409319bab78fa923008611e4cf3b082..0e4fd4db1ba8a84e378ac142ac40957f78ff8e4a 100644
--- a/pkgs/applications/networking/browsers/elinks/default.nix
+++ b/pkgs/applications/networking/browsers/elinks/default.nix
@@ -43,6 +43,6 @@ stdenv.mkDerivation rec {
meta = {
description = "Full-featured text-mode web browser";
homepage = http://elinks.or.cz;
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
};
}
diff --git a/pkgs/applications/networking/browsers/firefox-bin/default.nix b/pkgs/applications/networking/browsers/firefox-bin/default.nix
index b8e3124f18583aef740d26b14c00ed8ca78f6613..969ced923b3d51743e09f456fb7bee7dfe1bbe81 100644
--- a/pkgs/applications/networking/browsers/firefox-bin/default.nix
+++ b/pkgs/applications/networking/browsers/firefox-bin/default.nix
@@ -38,184 +38,186 @@
}:
let
- version = "30.0";
+ version = "31.0";
sources = [
- { locale = "ach"; arch = "linux-i686"; sha256 = "44d2fc9d491b6c001e35cff6e5f1c38c8561d24f8fe2dfb4d79365bcabe965ea"; }
- { locale = "ach"; arch = "linux-x86_64"; sha256 = "e9fb52a3b82a1434b7fa3bae606749819672c96ce8678c51f1fdbc68520e26bf"; }
- { locale = "af"; arch = "linux-i686"; sha256 = "bfce74c891ea370ce4e0fe43d578c3c0050d2655fff7372806ed6be338b2c438"; }
- { locale = "af"; arch = "linux-x86_64"; sha256 = "18408a9c3f3b8c4d9f8cfe067ac23ddcdd3d3a7a22892ba8d74de5679a064db6"; }
- { locale = "an"; arch = "linux-i686"; sha256 = "601efbf7944408ba1ac35831eaa92c4910cd904bfadc32895ff8d756c70ae934"; }
- { locale = "an"; arch = "linux-x86_64"; sha256 = "0ba4c272ebac9ecafe5dbfb7fbba1cd2790d126f5b1756ab9a323c94b644df0b"; }
- { locale = "ar"; arch = "linux-i686"; sha256 = "23ea3168aea75b044fa217b78b01a2dc8c9dd92171d726c4a78c23cffc474469"; }
- { locale = "ar"; arch = "linux-x86_64"; sha256 = "dae2c1634e17b8c3e276e4c758c4d4c3b1b0d6006adac8e420c13b6f09a6cf53"; }
- { locale = "as"; arch = "linux-i686"; sha256 = "7d36bd4589556374822f2ab5dd102d557257b5e0b529d1c963f96e9ab6a08850"; }
- { locale = "as"; arch = "linux-x86_64"; sha256 = "c13ccf3546bafcfeb41c33762e41af249306d4bcfd3ad7fc957db481372be0dc"; }
- { locale = "ast"; arch = "linux-i686"; sha256 = "853310674d7011956d760883af15b8e343250f8fc3acb3067e0f5a3d978c06ff"; }
- { locale = "ast"; arch = "linux-x86_64"; sha256 = "2b938081e8672ed5ae16c40c6300e585a26f54da278726f48b98f3ca3e065662"; }
- { locale = "be"; arch = "linux-i686"; sha256 = "b9acce210f2adf188ba9a3d92774a846a263baa5e076bb9452b89ca5609d6ac8"; }
- { locale = "be"; arch = "linux-x86_64"; sha256 = "dd2a33ee1ed8c848454b6e64a0c1527f193d070e4d867c4f13fa84f39c9bfecd"; }
- { locale = "bg"; arch = "linux-i686"; sha256 = "ee060cd395ef28bbad4be74aa42e2a51e7ad866183d139bffbcc7634dc94d738"; }
- { locale = "bg"; arch = "linux-x86_64"; sha256 = "11a5dd807083da8c3132d9d6518dc674642418eff1fccf68e451ac67b90f141a"; }
- { locale = "bn-BD"; arch = "linux-i686"; sha256 = "339d286f7f8f469bb6f9f85a8b21a745ecc42717dc91c21c7db88822e9be661a"; }
- { locale = "bn-BD"; arch = "linux-x86_64"; sha256 = "fc3f06743a84a7684e43cd4efedb02a126dd119f6141da49c6120f1bbcdf9392"; }
- { locale = "bn-IN"; arch = "linux-i686"; sha256 = "c585982368f258a8a728f782c37428311f0b6a6512231c077a439dd93645c3a2"; }
- { locale = "bn-IN"; arch = "linux-x86_64"; sha256 = "00b9af4425050ec42b4a45a3c4a16700edcc66297331b601950fb81421ef8eb4"; }
- { locale = "br"; arch = "linux-i686"; sha256 = "b86d944592f16f5f0e558106e3464248e3d686f45527a40fb64aaa79d9f73422"; }
- { locale = "br"; arch = "linux-x86_64"; sha256 = "b894c12508f0b0a892154ea61fb2bb01947929041a63518f7c405ed976cc4d3f"; }
- { locale = "bs"; arch = "linux-i686"; sha256 = "f7da0fead608f63c4a5be92fed9e0109fbe7288948d15dde05e10bba80b47743"; }
- { locale = "bs"; arch = "linux-x86_64"; sha256 = "1cb090f9b16bcae95055377bc14a531697c480ad50e3a098dbd572770924d558"; }
- { locale = "ca"; arch = "linux-i686"; sha256 = "0b36330715f8909e1515c535a06f4e3fdd7660de11b3424b4ce88f336561935f"; }
- { locale = "ca"; arch = "linux-x86_64"; sha256 = "c6e9e545d09e589fd5fbfd2c6482a5ef366c470e294823b3ba05c5e728bca2c2"; }
- { locale = "cs"; arch = "linux-i686"; sha256 = "ff1ca239be0e99b923c63c5bbc425dd2989bc40dbdc82dd731d7173fd539406a"; }
- { locale = "cs"; arch = "linux-x86_64"; sha256 = "fe8472d6a4bf9fcda3caef51449fc3e20e1fbadbb772b330a012ffa7219afae3"; }
- { locale = "csb"; arch = "linux-i686"; sha256 = "db1b7dbc7b0cd564a04b3a37827e8d77277cd7ba6a59403c45115d34e637f463"; }
- { locale = "csb"; arch = "linux-x86_64"; sha256 = "023dd75e02f41a2ce9991fb40a8a46767f1a10da876a390035a084c5b97bd9d2"; }
- { locale = "cy"; arch = "linux-i686"; sha256 = "9a6ac60099b03bdeb71c1a7739dafeff4b1682ffc43997191196e1f590421afa"; }
- { locale = "cy"; arch = "linux-x86_64"; sha256 = "a5f2030fb08c0dd6dff95310209ed7c6ee613680dd500f00e30e26c547f9c249"; }
- { locale = "da"; arch = "linux-i686"; sha256 = "99a893ac19b0ca28177c8957d7296e6deef9ddb36a6b5b17823cb1e6fc9ec683"; }
- { locale = "da"; arch = "linux-x86_64"; sha256 = "69f29e795f203fe47e22daf1259c2ecfb39c362babefbbccb31405f4632f236b"; }
- { locale = "de"; arch = "linux-i686"; sha256 = "925aac0800ce63a88fadc945da40b00ed6dde327637821518a372d7affb6e450"; }
- { locale = "de"; arch = "linux-x86_64"; sha256 = "d86c5d2102a95ff5a6e580a1ca7af25c2f470211182ef70e988b29b195be6dd4"; }
- { locale = "el"; arch = "linux-i686"; sha256 = "af07fac82dea32d33bd6bc440e2a645eb160d196cf0d4883b878d3d2c584f81a"; }
- { locale = "el"; arch = "linux-x86_64"; sha256 = "fcc96c25422837f19f9ff6cde02c81c4a5a3b7c8e6809b90c8761519571db1f6"; }
- { locale = "en-GB"; arch = "linux-i686"; sha256 = "758f7bb669743d6067e416c26f43806b16ddd16511a6818373e70960cbbd7151"; }
- { locale = "en-GB"; arch = "linux-x86_64"; sha256 = "d46ba3d642bf43fca46dfb29efb5d08a15f114eb9facc868e86c31f7c9c98014"; }
- { locale = "en-US"; arch = "linux-i686"; sha256 = "4bca44a1ba94bf5616f7ea650e37cd3e5a719546def9e4a08ee88aedbc3a4db6"; }
- { locale = "en-US"; arch = "linux-x86_64"; sha256 = "3303cc600153d0198dace9826b6883aa510d4e380aa985b092b1da67ad865625"; }
- { locale = "en-ZA"; arch = "linux-i686"; sha256 = "13736870573863aab644bf2be2219fe4b5c6bde4bd79b84f22e12d39e7cda6e0"; }
- { locale = "en-ZA"; arch = "linux-x86_64"; sha256 = "7e88fa9f355f6787d38e75d86d5b592a1a2cec208255f276887f53a12beb9e97"; }
- { locale = "eo"; arch = "linux-i686"; sha256 = "ae4446e223c0169dd0b56db58760fdb323a2bec8135e45c79d385d895b64cee8"; }
- { locale = "eo"; arch = "linux-x86_64"; sha256 = "202f61dd8e5506594ae70bbee9150d86c8037887f8345871dc5c1c9e498b1d66"; }
- { locale = "es-AR"; arch = "linux-i686"; sha256 = "8fb276ed26fd46fceb029fbade706cb6e55d2958f03400ec1290784c533888c4"; }
- { locale = "es-AR"; arch = "linux-x86_64"; sha256 = "78130525d30d7c592bb63d7cedf3ab5db804d457c4d127d90b93d94501ad7b3c"; }
- { locale = "es-CL"; arch = "linux-i686"; sha256 = "ef6bf393a681f4a08031eeda61bba3614ebfab222fed43f9f8b21cfa8eb3862e"; }
- { locale = "es-CL"; arch = "linux-x86_64"; sha256 = "e56224bca0ebfab9eedecafafd792e48cb67e3f8741c4d5a94c8f74f634cecf6"; }
- { locale = "es-ES"; arch = "linux-i686"; sha256 = "9e007e6aa0f8aa3d1fac5dc13e98f81c23e6ff1e574545c021f8f7feeff86ce2"; }
- { locale = "es-ES"; arch = "linux-x86_64"; sha256 = "d4ff94f46fd086300992a30a1c4a8aa97ad7164d6cd26e82b20b5d0680b38169"; }
- { locale = "es-MX"; arch = "linux-i686"; sha256 = "9db42a0557838b23ac4937adfec407804e624e679e9ffd6da739d17cdfbaab78"; }
- { locale = "es-MX"; arch = "linux-x86_64"; sha256 = "d42d619d6da78d0bbcb32b0a93a2eaa623eadb3a5af43e5b8b14400e6e969779"; }
- { locale = "et"; arch = "linux-i686"; sha256 = "5947822f3f02bd4ba530ad978de1a9d237981e3abdf1598e44095c650794d1ff"; }
- { locale = "et"; arch = "linux-x86_64"; sha256 = "7521a4db287bb928f50b64817f3631e96ea4cead81b1a84ab7c3b930b3450e86"; }
- { locale = "eu"; arch = "linux-i686"; sha256 = "44095e98e74205fa012a2c0c636de3fe9cfb79d5729abf15214c1e7734946014"; }
- { locale = "eu"; arch = "linux-x86_64"; sha256 = "2032dfbc82a9aca1a2f4cf67e6089400bf305d13906f048c5c9b906a7201a9fb"; }
- { locale = "fa"; arch = "linux-i686"; sha256 = "469b8008287c93e152e762e82fb61644384c1e2631a6c45033503652daed09b1"; }
- { locale = "fa"; arch = "linux-x86_64"; sha256 = "61ea0d8941d22083f918d014d56a613788d1f4f549e5a62d50a1f9071439a36f"; }
- { locale = "ff"; arch = "linux-i686"; sha256 = "81a0083e5e4136e3ab3e6db0e2adcedfae7572722655a9cb8b9ca388c6057342"; }
- { locale = "ff"; arch = "linux-x86_64"; sha256 = "0efe16da918288754a3af816d72448a73690eb71b110cf3ff0586ee7505b9735"; }
- { locale = "fi"; arch = "linux-i686"; sha256 = "a0ee069e7c3100b921aab7c54c5d32741df4e058f52cb7f42acb2643bd534b30"; }
- { locale = "fi"; arch = "linux-x86_64"; sha256 = "55c84d504603d648e7d72a2fb8badb0bc9148cb376bb0cc6054f091867cb2613"; }
- { locale = "fr"; arch = "linux-i686"; sha256 = "9c9abea13db23ef5ef8c9a3ccb5a0702b44a8db2402f43f01a478eb61e7ddf34"; }
- { locale = "fr"; arch = "linux-x86_64"; sha256 = "ce26fc67cbc2031880ffa3529a59ca4122016258ab1c023e23247c26308b6a3e"; }
- { locale = "fy-NL"; arch = "linux-i686"; sha256 = "4a734880ed65a207d98630647a341644df4f68149c50ce5e683bb21b5c27f2c6"; }
- { locale = "fy-NL"; arch = "linux-x86_64"; sha256 = "bace955c686456d7894ca7bc1cf854eb158d6183050318efc73768e232c9a413"; }
- { locale = "ga-IE"; arch = "linux-i686"; sha256 = "4801f40ebd820b8f229cfcd04a04351fcee9f78268af1c9863089ef6c64d736a"; }
- { locale = "ga-IE"; arch = "linux-x86_64"; sha256 = "c417c0182e6f706473bc4b7cf8c14aec96f96e21c17b8593b71ff38c97f7e9d2"; }
- { locale = "gd"; arch = "linux-i686"; sha256 = "15a9d316d472d2918eff0c6f02600e40a8f62d7ef53ab14c57537fdda0b5257a"; }
- { locale = "gd"; arch = "linux-x86_64"; sha256 = "8fcdcf093148222865a905586774dae5d805ef22c01afadeaabe3f0c7b315dba"; }
- { locale = "gl"; arch = "linux-i686"; sha256 = "83b0ccfe7cf7166899d17b2c9b1ea8effda9cf02024698f8db8f943a388bb3dc"; }
- { locale = "gl"; arch = "linux-x86_64"; sha256 = "550026595e6e59405b5869183af056ba5a60a303270f1a176ef25e3db1c70289"; }
- { locale = "gu-IN"; arch = "linux-i686"; sha256 = "7e7dc86fa805808931ba57455b99c9273a4b0aa60998affce3c4b06f0ae7fc70"; }
- { locale = "gu-IN"; arch = "linux-x86_64"; sha256 = "e0f35d7fe7875785e3749131cf86c5cbea5cbd7b3abd2c2c69f5f8376d3e53d7"; }
- { locale = "he"; arch = "linux-i686"; sha256 = "5c200c8da3209c2120a8576c30ab609331b52807d0640daaa1a70f665c776969"; }
- { locale = "he"; arch = "linux-x86_64"; sha256 = "6923a64d1ac5453453f148d38f116faca41be5b1d0a13d4f128bb73db67cb8e2"; }
- { locale = "hi-IN"; arch = "linux-i686"; sha256 = "6a7e5d06169d6dd87e505012604c93a28440156a3f81e6fe24d567f9c2b2a919"; }
- { locale = "hi-IN"; arch = "linux-x86_64"; sha256 = "56801593b9dd5ecefed8d7eaf438879dd23006ffff9a31c543861259dedf8263"; }
- { locale = "hr"; arch = "linux-i686"; sha256 = "4573cd0269639d122496bcaf842d8c741f4d54e8f57d0690b97d8e7e86ee7e74"; }
- { locale = "hr"; arch = "linux-x86_64"; sha256 = "753984384829229601fbe55d0b6615f3432fdf9babe908fb642f6ac79c749727"; }
- { locale = "hu"; arch = "linux-i686"; sha256 = "c330478e6e77eff117bce58e17661b83a30308f0a680f648fbf06d1c00f3883c"; }
- { locale = "hu"; arch = "linux-x86_64"; sha256 = "9d118ba236aa7a9b517278c375aa4e4fa65f85c71b8bea9c41702f6ae7b815cb"; }
- { locale = "hy-AM"; arch = "linux-i686"; sha256 = "48c1691073b6ede77f5c5d5ae07af7372f17b9f52fd92950c2cca0a01b3b340e"; }
- { locale = "hy-AM"; arch = "linux-x86_64"; sha256 = "beda26cefeeeeee59ea52fdd28e1e3025ca4cc3124541fc6825100a61eb398d8"; }
- { locale = "id"; arch = "linux-i686"; sha256 = "8cf6d0bc2d4bcc68a5ddc935c3bd6ed19a63284dc3227e849be729645a6171d4"; }
- { locale = "id"; arch = "linux-x86_64"; sha256 = "8be5900b83840871ffb6faba08fea9b35f9f396cae08b228c68e333719fb819f"; }
- { locale = "is"; arch = "linux-i686"; sha256 = "7c167389105063b84d507b09c689fa18bf854fd695010c8273b9711b21a24034"; }
- { locale = "is"; arch = "linux-x86_64"; sha256 = "c79321c83c9e654f6eaf96ddf5d24f279d517fbf35dfdf923acf026124919598"; }
- { locale = "it"; arch = "linux-i686"; sha256 = "a3eb17e0eda3cbf8ffbbd1ecd1716929ac87a801f060dd8ed5291298667775a9"; }
- { locale = "it"; arch = "linux-x86_64"; sha256 = "3742453f0748911b393fed804e5827f014cc595a9df4516438dfa163d5050411"; }
- { locale = "ja"; arch = "linux-i686"; sha256 = "fa030c64e04766ae5200370586c08b2f25627343586cd8a0486e583f345c466e"; }
- { locale = "ja"; arch = "linux-x86_64"; sha256 = "fddeae03ffdfef0f6cc999807e001ea931c15b1833da48655bcb5845f1e017a3"; }
- { locale = "kk"; arch = "linux-i686"; sha256 = "39d94b10fa751faf7423e5d43cd07ef4485ff26e21e47d106d2268058e2f33d9"; }
- { locale = "kk"; arch = "linux-x86_64"; sha256 = "1dc7138dd5c08088479c5e7e8054d7ed640504860a0043ecea2c8b0c9c1892f9"; }
- { locale = "km"; arch = "linux-i686"; sha256 = "0d12a305de4a63fc6c6394bd4044f44ca3626cbc41ca9ef1adad6d5041f6f1fd"; }
- { locale = "km"; arch = "linux-x86_64"; sha256 = "7710091695dd100b7f33585fce58c54fec462a96540a7d791f1935088f21fadf"; }
- { locale = "kn"; arch = "linux-i686"; sha256 = "b039e6a1114522ccae10b89ab794a222966fbf0914513b3c14f05c082a78b922"; }
- { locale = "kn"; arch = "linux-x86_64"; sha256 = "cf82965b25d3990a57d861d688f1bd69e5b069fe281937274060ebe36ddbb8a6"; }
- { locale = "ko"; arch = "linux-i686"; sha256 = "8b9378d39d7b42852c2bb537b0e85312760c343e6485826ed949ab4617293025"; }
- { locale = "ko"; arch = "linux-x86_64"; sha256 = "4b946a0cbedad2b8d0c3598c04eeb058cea05d6d7e6388e4cfa3146a40f7c449"; }
- { locale = "ku"; arch = "linux-i686"; sha256 = "11950c4a54c6a165e924fb6e68bcc46d63b5fddfcd2561c58a0ce401c0146d36"; }
- { locale = "ku"; arch = "linux-x86_64"; sha256 = "37a07a4e059580c31433b419bcd61d928ad1db7e607cf8443378472d54b61b78"; }
- { locale = "lij"; arch = "linux-i686"; sha256 = "c0efca49f31800a3773b0d05add56b195d1cbea287108803bb1ef5249a0dc94f"; }
- { locale = "lij"; arch = "linux-x86_64"; sha256 = "6e4b2d8c5e9942bc469f722110ba310b2ccdc4dda6e3baee93ae54012ae658a2"; }
- { locale = "lt"; arch = "linux-i686"; sha256 = "acde9010aa815f6645868b03f3d68d9a24c450ed830f063e2846ac1219ee628b"; }
- { locale = "lt"; arch = "linux-x86_64"; sha256 = "c2491cd3e5d11c302d7ec3191d646e2073c46f69966fc382901a93d16fb0c902"; }
- { locale = "lv"; arch = "linux-i686"; sha256 = "7411de62c4d8c01c8bb15b3f2dfc2e2ed17755e2f9856ead8e5e0fd05971ffd5"; }
- { locale = "lv"; arch = "linux-x86_64"; sha256 = "e8e57e629396eb180e0041a50ae98ecb2292f514d423423748e4d4cebc54fb59"; }
- { locale = "mai"; arch = "linux-i686"; sha256 = "26a053e48f4e6f04e4856a0dcb26e577a6ddb99afc883786d9c260d57e5e4a6d"; }
- { locale = "mai"; arch = "linux-x86_64"; sha256 = "86be2c736aa5ccf926d44f24afdb2d40c28444b5bd6cf090f9a847199b38b492"; }
- { locale = "mk"; arch = "linux-i686"; sha256 = "dcf7759bcde70158298ad9e2434e37d4e8240e00589a83dd8dbba53c35466a58"; }
- { locale = "mk"; arch = "linux-x86_64"; sha256 = "056297d6404794a8da78aeceb620b0ebbcb38a693ee1079cc02e4d0411e40ec3"; }
- { locale = "ml"; arch = "linux-i686"; sha256 = "2d632b3a5b60f18955906adca80b7ac7af3bfa39d03afd308efd1136cfc8971d"; }
- { locale = "ml"; arch = "linux-x86_64"; sha256 = "b54a9d47cadeae4f92d22a362ca887a18a16ef64500149ac8eb9355dbbe5971b"; }
- { locale = "mr"; arch = "linux-i686"; sha256 = "e66b22488bf2c772fa6d29cf43f3e9c1aa2a1a867620a1144af8cb92c2647651"; }
- { locale = "mr"; arch = "linux-x86_64"; sha256 = "da982205e9b659dd66ab05ca815324642bed2117e668e67ad620bb2d87c5d1c8"; }
- { locale = "ms"; arch = "linux-i686"; sha256 = "ad39ffa6d6d765c1e983d885f5d139a28e481d536068d517b4807137fa8d3036"; }
- { locale = "ms"; arch = "linux-x86_64"; sha256 = "fb1b6ed5e2e7247beb69f3d0ad937f76ce7c1107ccdad742ff5085d4b3a8da98"; }
- { locale = "nb-NO"; arch = "linux-i686"; sha256 = "5220da4627863f9fa1c11886e9c19c315547afafa96c98b22a1a4359c75f1056"; }
- { locale = "nb-NO"; arch = "linux-x86_64"; sha256 = "5f9d60faadc7b76b010cd9cf35922b1881377b535e8afc5d9b974651156df866"; }
- { locale = "nl"; arch = "linux-i686"; sha256 = "357b28841ea861b8297a4986460d1d265b27202c37bb296dcc69224f9b07fc51"; }
- { locale = "nl"; arch = "linux-x86_64"; sha256 = "9a8505da2fe045ab6c2a2277d2d043374a26f106a5966b00f42e22fb26cf929a"; }
- { locale = "nn-NO"; arch = "linux-i686"; sha256 = "f115bb50d1e052584caf7363db875ae222ee37449fa151e2f313c157a6274d76"; }
- { locale = "nn-NO"; arch = "linux-x86_64"; sha256 = "2e7829a8a20c946bddce13b7b3d1b3600f90d90d2438f3eb69188d47203b264d"; }
- { locale = "or"; arch = "linux-i686"; sha256 = "9ad48bdf2b7f1deedb05bdcc49740d5075ebf6ec228d82a7ed455c6bb36d7cb0"; }
- { locale = "or"; arch = "linux-x86_64"; sha256 = "a007bc73fb1ea7765016e9faebac2c4f5e0111a45b3d75d1e55f4de8931796a2"; }
- { locale = "pa-IN"; arch = "linux-i686"; sha256 = "8a38d2b1516ed4b58e36d266cd25a5bd10548f9e412076c9b4f1f27256c98c2a"; }
- { locale = "pa-IN"; arch = "linux-x86_64"; sha256 = "664fa562261532d0f6bad10b84e15d47b69073768c2d12986c8d776eb1af8ddd"; }
- { locale = "pl"; arch = "linux-i686"; sha256 = "3bb8963f1e3dcdb22cc55feebb2583fefd6f3760f4e6f2cc754174079d4ca07f"; }
- { locale = "pl"; arch = "linux-x86_64"; sha256 = "710f1d86d2974d6ad3c63ebc0873518fd59f218ba07b27d06fb75c83af2c632e"; }
- { locale = "pt-BR"; arch = "linux-i686"; sha256 = "cd2fafbd2291bad8481c4086db3c2973a7869b28a5e68a5ff199079814c6b3fc"; }
- { locale = "pt-BR"; arch = "linux-x86_64"; sha256 = "f0ba5dc2366757841afb9c9f7799c40667304c36efe7da284202e8e7a45aa1fc"; }
- { locale = "pt-PT"; arch = "linux-i686"; sha256 = "051af14810ad0cee4487757833f1f5b4a6f6f903f3cecf00d00410c1324d9ce4"; }
- { locale = "pt-PT"; arch = "linux-x86_64"; sha256 = "82102b33dc1989bc3aa49da3915baf7e4012afe6e4bd7f80a301dfe847f3dbbe"; }
- { locale = "rm"; arch = "linux-i686"; sha256 = "02051668e46d98f4e2e5becc3192f6173dfdf3a48cc82264c5821be06c5e12a0"; }
- { locale = "rm"; arch = "linux-x86_64"; sha256 = "9600c1d272785b946058ffac9e57a8b1701d065f24fa940ad22e4b5aec2efad9"; }
- { locale = "ro"; arch = "linux-i686"; sha256 = "7f17cbd3041396135eee08eac597c8c6a936e5a33d67d2b5de8ae157a56719ad"; }
- { locale = "ro"; arch = "linux-x86_64"; sha256 = "ba1de85abe53a7d66f6311d6a202d91f86e871bace168cf60a759ab0e17eccdb"; }
- { locale = "ru"; arch = "linux-i686"; sha256 = "9dcd0c2b5671fc5849b01f2932504a7217fca9a4b4eca8e9b6ff8f5a146517e2"; }
- { locale = "ru"; arch = "linux-x86_64"; sha256 = "725214900968e4e648d3d13635bf72d34910eb31a30b83a3e7ba9c5c4085c2d7"; }
- { locale = "si"; arch = "linux-i686"; sha256 = "d22ed75aa727351efcdba1cffe8e24ff305943c9a3072cac08b004677cf6a028"; }
- { locale = "si"; arch = "linux-x86_64"; sha256 = "89d60c682413949a6dad4b7fd49cc4508c4e067fe5847c5f21d5e25a953f195f"; }
- { locale = "sk"; arch = "linux-i686"; sha256 = "4ecbc58df00eaf4fafb1c33a93493bdd3e544562a67c60e2d4d93da90d369261"; }
- { locale = "sk"; arch = "linux-x86_64"; sha256 = "75baa2c5153e282e2671d6222b7fc8c3b9cfc2b9ee0a595a4451fd314a928fb4"; }
- { locale = "sl"; arch = "linux-i686"; sha256 = "53e2ae3525d0bd2005a86bf7ed3f27ca66906ddfceb85a738bd60e46ba2df773"; }
- { locale = "sl"; arch = "linux-x86_64"; sha256 = "2dcc5592a49767dc3f2a7d40387bb550fd36724419ff567f9d107e32b2cf2d6d"; }
- { locale = "son"; arch = "linux-i686"; sha256 = "d3b7372c59b21d0393768197517b3666ab78705b04a6e84a3345da031bad3776"; }
- { locale = "son"; arch = "linux-x86_64"; sha256 = "fc017e7a18701880c7a54c23a0f77a6521aae17880dbc562e2b37167ba918fa0"; }
- { locale = "sq"; arch = "linux-i686"; sha256 = "7f9c9100c559ebfbfff35adc694199079930f4bf9f1f6a820c0e17d80ea0e12b"; }
- { locale = "sq"; arch = "linux-x86_64"; sha256 = "0f3fcddabab8263eb4c238942c45c0b5efc20c169948da24c56ed401a85209dc"; }
- { locale = "sr"; arch = "linux-i686"; sha256 = "6281e2f849b3c530ff383cfd4cdc4ab06115362c3d57ba8133a9f799af08e815"; }
- { locale = "sr"; arch = "linux-x86_64"; sha256 = "368ca83faa5ef3640f71d977916614369ebac1622681e828b75e9abf6ebeb425"; }
- { locale = "sv-SE"; arch = "linux-i686"; sha256 = "9f77f497fc3e8c585bd546c0bb95c92f9f37d683e092c0762b3fe0022b6d39b5"; }
- { locale = "sv-SE"; arch = "linux-x86_64"; sha256 = "0aa21764f0ca58591e3cfebba75196edd51a8fdbadb738f036994178c9612a67"; }
- { locale = "ta"; arch = "linux-i686"; sha256 = "463ce70405d84945c201cca56c84171e097e6a0420d38cd453a0836fad82f09c"; }
- { locale = "ta"; arch = "linux-x86_64"; sha256 = "db7e78bc1f4bcb573474806d19324eca58f42008fb0b0fa856f701f1430aeefd"; }
- { locale = "te"; arch = "linux-i686"; sha256 = "18643daf675f8ef9785a0039d012c3a8ce96f4d228426651c5f09c292cbfb335"; }
- { locale = "te"; arch = "linux-x86_64"; sha256 = "d9f8a260fc47b608fd523c61e9c6981776997f4b7fc247e794be32d177abfbc0"; }
- { locale = "th"; arch = "linux-i686"; sha256 = "e03b80d55d2a545ab3219c5e88ed6b7d6974945e32321a2fc96039a6996638f6"; }
- { locale = "th"; arch = "linux-x86_64"; sha256 = "0416fd2b7e7ddde59a101fcba8258622a83b739effb327984fa8405e634c2121"; }
- { locale = "tr"; arch = "linux-i686"; sha256 = "75a49ce141c9a04254185b62af72c7e8c214e19e5257ff308b294aee6ac49a28"; }
- { locale = "tr"; arch = "linux-x86_64"; sha256 = "0845a554b299b848d35894144d3ba5c7e0b808bcc9b2732e904463258ca73cb7"; }
- { locale = "uk"; arch = "linux-i686"; sha256 = "a89f58c0f20a3ff7e609f572a4786f06b48886b7e2d303824417f42af49c8df2"; }
- { locale = "uk"; arch = "linux-x86_64"; sha256 = "b45768588aaf80917c8ad40d62835cc96c3dadf97715234e66542b96eeb8db8e"; }
- { locale = "vi"; arch = "linux-i686"; sha256 = "3fc35e59ecbbdf1b76b5b66e962a60eb724d9514d622879108725bcf7881fd1e"; }
- { locale = "vi"; arch = "linux-x86_64"; sha256 = "88116edeeecbfe1ac03af0da26aff84bc3aa5ba00574e899ec08e0d68243f509"; }
- { locale = "xh"; arch = "linux-i686"; sha256 = "a3afd3ac14049c72a9be28fb9a0849e4d3c5c2f13cb160c480988c4231679329"; }
- { locale = "xh"; arch = "linux-x86_64"; sha256 = "569587e9cc4cd99899d2939367d56f2e4e9ae333b583064a648f05a8b0b58e2c"; }
- { locale = "zh-CN"; arch = "linux-i686"; sha256 = "358e44998142e56356b839a51dff97fe85e6293424bd0c148decf61f01b6125b"; }
- { locale = "zh-CN"; arch = "linux-x86_64"; sha256 = "7b5a84dbbe361a775aaadad8fd328e24f6cf2e336297f1d5906f51ff5d3dfae7"; }
- { locale = "zh-TW"; arch = "linux-i686"; sha256 = "cf2cb9bed37dffe178a524ef5fe983e0e8b18f17c999e98474ae13e012da54da"; }
- { locale = "zh-TW"; arch = "linux-x86_64"; sha256 = "aa0f1c5fb96dc4585e70fbcc291c6842be25e5d59be8bf39e8dc0232e9f1a76c"; }
- { locale = "zu"; arch = "linux-i686"; sha256 = "775f6507ae8d6c2ef6e29e6b4d00453dcf9a0c9651eb9da482c78b5ebe64f2cd"; }
- { locale = "zu"; arch = "linux-x86_64"; sha256 = "603510372a52497a8e41468dbc193afa25b0615f504f4548201deb89f27bd354"; }
+ { locale = "ach"; arch = "linux-i686"; sha256 = "8372c1227b75486e297fd914bac530a45b22b789e627638e010d4c25337f350f"; }
+ { locale = "ach"; arch = "linux-x86_64"; sha256 = "e01412aa570a462a3bb1ba851cd7133014b3299c0ad349c15534edc35c6d6397"; }
+ { locale = "af"; arch = "linux-i686"; sha256 = "e75bd2d41de60483ed1eadcf03d9cd57146210ff9fdfe04e984404ce4bca29f7"; }
+ { locale = "af"; arch = "linux-x86_64"; sha256 = "32697271215a0e63b7d0b25398d27772da5d53e88d020df24f170ebc341e5394"; }
+ { locale = "an"; arch = "linux-i686"; sha256 = "3a590702183a86283e4de415eefdeed6f95f1e5d48c64456c4d6db8f84dcfb68"; }
+ { locale = "an"; arch = "linux-x86_64"; sha256 = "98d35a6a2f0875a9723ed9511f3bea65f58da3196db3f75aaf7420d45bde33ad"; }
+ { locale = "ar"; arch = "linux-i686"; sha256 = "e632f104442b725cf8e0e25c9a924b166289e1fab601a70aee0a81394632423c"; }
+ { locale = "ar"; arch = "linux-x86_64"; sha256 = "603a054ceb36645881f52042e556572252e898bfa78cec04811e65f27b9db026"; }
+ { locale = "as"; arch = "linux-i686"; sha256 = "05e64b9113f450bfbfa1b99c9580dbb2442af35d6cc20dec0c7af379dd5d37db"; }
+ { locale = "as"; arch = "linux-x86_64"; sha256 = "85b57a101afd0c4aae040bb1f3523ddda3079d46ac8abe9cad826939fd274353"; }
+ { locale = "ast"; arch = "linux-i686"; sha256 = "5df5eb0db623b42d9a2c9be58807ec66f43a26dd1365d44202d4b0db50d6a6f0"; }
+ { locale = "ast"; arch = "linux-x86_64"; sha256 = "6faac3f3637bd68d6c20c73dd84c554afdaa136c4e142c26eb8142b7ab00895f"; }
+ { locale = "be"; arch = "linux-i686"; sha256 = "4a87051df26ddb3fd2cf7c2beabc2d403cbc4d2f2e7e0802fb11566722171b57"; }
+ { locale = "be"; arch = "linux-x86_64"; sha256 = "8194b851ed7f9559b78f63711df598ed094783eb2cc288fbd1e880d53118dde5"; }
+ { locale = "bg"; arch = "linux-i686"; sha256 = "f6f903529d3276d1aa55968d4978fe5977d45076db0ee99d87199d59a9441ad5"; }
+ { locale = "bg"; arch = "linux-x86_64"; sha256 = "bce34ee8ec314db0f7abfeddf491d15642dcedea125dc9bb7d7dda3915054940"; }
+ { locale = "bn-BD"; arch = "linux-i686"; sha256 = "9bd0e37ddf9a222263ca90308245e2078f45d754d8a2b0bc1e4dea13a5e7b581"; }
+ { locale = "bn-BD"; arch = "linux-x86_64"; sha256 = "debb3a9983e4219b6632cdfd09d04ab95314ba4e0bd7ff36fd89f0a748d25cdd"; }
+ { locale = "bn-IN"; arch = "linux-i686"; sha256 = "ea2c9d29f4a3dfe8e0f146979c47ccba835b81cb1f1ed6e95124a837918590fa"; }
+ { locale = "bn-IN"; arch = "linux-x86_64"; sha256 = "b2bf8e36ac1ca1afeae463bf95a289db7cf2d2fa303083ab405497cca2993b57"; }
+ { locale = "br"; arch = "linux-i686"; sha256 = "b4b9d2828e5387a65d0f63b2149400626cd47fc81b97b912eda11b3fe31d4604"; }
+ { locale = "br"; arch = "linux-x86_64"; sha256 = "c3af78f1215ffc1e9b6c193ba87d17e2f08e1a24856ee68aabf95b3ee7804ea9"; }
+ { locale = "bs"; arch = "linux-i686"; sha256 = "7930f10d5d43e4504b9f347bcb2a2ef451be4418cee86c199b3e98c38587a20d"; }
+ { locale = "bs"; arch = "linux-x86_64"; sha256 = "ee31279d2acf7286c9a59c99e68fdd1692b96247585230df20ea2bea5ee30ba2"; }
+ { locale = "ca"; arch = "linux-i686"; sha256 = "f22f7964180ad27a122e56f070c6a2a0e3b044fe15ec5046b04db03877a3b7c7"; }
+ { locale = "ca"; arch = "linux-x86_64"; sha256 = "84e8675f9613d1a8a49a760ee46d4625b88092cfc542e6b750384d0d5a0a465f"; }
+ { locale = "cs"; arch = "linux-i686"; sha256 = "bed550a83c763a8147ef862cca7ca36106bfc5b34ea81f008c94886b86a3dde2"; }
+ { locale = "cs"; arch = "linux-x86_64"; sha256 = "8bf76f388c6286a1b91cf460325b98c2dd08842031288617d9141b1368b5f62c"; }
+ { locale = "csb"; arch = "linux-i686"; sha256 = "2420bf49ff3429b3f186b17555b8b3250d44579b5ff7ce616914af646b5996be"; }
+ { locale = "csb"; arch = "linux-x86_64"; sha256 = "a0ee304a61b12ec1dd3caf5d876acbd9d2ad4443f9b96e73ecc1de8a1e16206f"; }
+ { locale = "cy"; arch = "linux-i686"; sha256 = "603a66c237e95534d2dbd004e7fd77b69d5b99b73cba797c7825aaca6d849c61"; }
+ { locale = "cy"; arch = "linux-x86_64"; sha256 = "69f68c024d6e9999b5a846d12c5a61ca63d962f6bd21737769d1fe5519916dad"; }
+ { locale = "da"; arch = "linux-i686"; sha256 = "da8ed391e8ae9729cf2af35700aff3f6900af208fee9eab6a6bd0fcb303abd09"; }
+ { locale = "da"; arch = "linux-x86_64"; sha256 = "7e3cc63eb61289e1006f683581345caaffe3ae39f7a636ff4f451b1e77a8ffb6"; }
+ { locale = "de"; arch = "linux-i686"; sha256 = "f191e74047cdddd43fa72242b1dce15a28160f62b4b8eae08ad117f4b27d6e0f"; }
+ { locale = "de"; arch = "linux-x86_64"; sha256 = "a81165d446cab525645ca2b18ef28cf253c6ee6267086d692a3904c79f7e5be0"; }
+ { locale = "el"; arch = "linux-i686"; sha256 = "eb0757aafd2a1c4bb9abeab01a3960d3ac21b92879f8dc7d24f485a43d305957"; }
+ { locale = "el"; arch = "linux-x86_64"; sha256 = "900f64bad286393f6d96f0ff00c6e78ae6cce998046cf506e2b3ec7a7b8e76c0"; }
+ { locale = "en-GB"; arch = "linux-i686"; sha256 = "99284b229b7bfcc44cce3ebeee523e49bd5d9c7d860345ad3e242af4f9848683"; }
+ { locale = "en-GB"; arch = "linux-x86_64"; sha256 = "9a4e003441556422375d4bede21da27a03d31b5ec452ff467abcfffdfe363f4a"; }
+ { locale = "en-US"; arch = "linux-i686"; sha256 = "13b4297db52ef851b38f292eba2b2136e4c2f1453e004012fe8b1fbcf000abce"; }
+ { locale = "en-US"; arch = "linux-x86_64"; sha256 = "ce87f081c4867b9968a2695341001854aa6c1f4f19073d13f54f333cfed236fc"; }
+ { locale = "en-ZA"; arch = "linux-i686"; sha256 = "849584baf4c6dd330bf9c798e3e8923004a3a381642d4f684b5de3fb5b4fd895"; }
+ { locale = "en-ZA"; arch = "linux-x86_64"; sha256 = "635d0cb43a2b5f7f0401f961fd88fc0d6735223ad421ec0ef92a4ee16b29727f"; }
+ { locale = "eo"; arch = "linux-i686"; sha256 = "91da9571212dc82f5d7140e4de073189018f7f895a3b263a4f8840401b4b10bb"; }
+ { locale = "eo"; arch = "linux-x86_64"; sha256 = "77f39ab0168efe9070ecd881dbd2884fe5f35eeea17a63ad8d957398f6eef40d"; }
+ { locale = "es-AR"; arch = "linux-i686"; sha256 = "f4ec6f07e67195981c12b5cbc3a6289a6e9d29539014c034039bd498a40f9301"; }
+ { locale = "es-AR"; arch = "linux-x86_64"; sha256 = "3f24135fd1a6fd2207bf1d80fc79cb34536b109e195e43a3a13eba0b68548c0e"; }
+ { locale = "es-CL"; arch = "linux-i686"; sha256 = "de3672a512473cc6edc48bb775bc9a405d0c9effccdb0cd46af5ce2593d67613"; }
+ { locale = "es-CL"; arch = "linux-x86_64"; sha256 = "770134c2bd8bc9f2e629e355b8e3b0949f67dd2ecd1b3a1d513bff364e53b734"; }
+ { locale = "es-ES"; arch = "linux-i686"; sha256 = "4eeb5854427cde599468b90af70ae3e04eb9aff5132659f6e1ddb2f859f0be74"; }
+ { locale = "es-ES"; arch = "linux-x86_64"; sha256 = "eb91e2e9b80cab85e6ab75e78a9b206a18bb647ffb247c0d5ed324ee219dccd9"; }
+ { locale = "es-MX"; arch = "linux-i686"; sha256 = "0aa0c85a51a50adb9eca5e5a1eda0ca11ddc15ad12b2d930ebe769f10d535433"; }
+ { locale = "es-MX"; arch = "linux-x86_64"; sha256 = "3f340072c80c95283b17e797bf4fdbde9d1de55b5f10f1c9e8193f8426c6157d"; }
+ { locale = "et"; arch = "linux-i686"; sha256 = "4719961e58e755ea2d9b94ff7439e1f9e858b0dacbd8631f98fadebca36c72a1"; }
+ { locale = "et"; arch = "linux-x86_64"; sha256 = "70aa1a76414c50b00fc85be87a07b936c7f60d83037f13716862e8491ec8d609"; }
+ { locale = "eu"; arch = "linux-i686"; sha256 = "ea450d11b0cd3b4381797bf6ca48d74fb18d661864eccb365bc2d51b872b101a"; }
+ { locale = "eu"; arch = "linux-x86_64"; sha256 = "d543e7fdd4c27875d30a1d527219e257296c6010e80dc0d5529722aa82cc666f"; }
+ { locale = "fa"; arch = "linux-i686"; sha256 = "4b8aaf0d27f10474c6ec4eeec1418ffb08338475c5433199ac2db79aab5273b2"; }
+ { locale = "fa"; arch = "linux-x86_64"; sha256 = "df10d71c7a762696ee682ca705052b15031dc7e84aa396f67fa26463e3dcd353"; }
+ { locale = "ff"; arch = "linux-i686"; sha256 = "acdfec7656b48e5502692c408cd8c7543add80181130bdd2e0ec66ac44219a06"; }
+ { locale = "ff"; arch = "linux-x86_64"; sha256 = "a9a0041cba2f80b09a2f22da6f1e9bfdfc1cbf0f5c324a427a1758174901fc27"; }
+ { locale = "fi"; arch = "linux-i686"; sha256 = "304e90020134af5564d5c90c5d9fee6264aa871e82419408f5b0e9d97f8f8ff1"; }
+ { locale = "fi"; arch = "linux-x86_64"; sha256 = "bfb86547ea4e0a5650a152070a7651a7f63b0df366fa4aed7f890033332e64a5"; }
+ { locale = "fr"; arch = "linux-i686"; sha256 = "1ccef0f95df1571b9e378d97122303982f93251bd3ed70d0af93babc3459bad2"; }
+ { locale = "fr"; arch = "linux-x86_64"; sha256 = "93ffcc3bbba8b7e0941fe674f6a67ed378e75b37c3e52debbef2434ea75f2b09"; }
+ { locale = "fy-NL"; arch = "linux-i686"; sha256 = "20ae7baa888fdcb467388313fa51104f8ba77ca31b2bcd731e2d65a46ff75c3f"; }
+ { locale = "fy-NL"; arch = "linux-x86_64"; sha256 = "33a028be0c63dc892efc93bd03375c8c4f9be38acb96a2bc516300c204086b3d"; }
+ { locale = "ga-IE"; arch = "linux-i686"; sha256 = "ddf134c692d321744bd787b7833ccc9b06ef130865c8f8ee816d35ff55c344a7"; }
+ { locale = "ga-IE"; arch = "linux-x86_64"; sha256 = "e76e18b18a7468ee6a550e837abf04b79833ae084210f723d0781f2b81e3077e"; }
+ { locale = "gd"; arch = "linux-i686"; sha256 = "3c361e322be79ffaec9a382aacf3b9cc90f03fa664e35e283cd8572e66d3b8b0"; }
+ { locale = "gd"; arch = "linux-x86_64"; sha256 = "5e95305321ff373d9cc6eee522dbd5ee948e6c298f2fb38d655965ec1de448e0"; }
+ { locale = "gl"; arch = "linux-i686"; sha256 = "99b9dbf38f50f5385072d72d14684e980aead6125c4c91cfa8e69bd5c7f1aa0e"; }
+ { locale = "gl"; arch = "linux-x86_64"; sha256 = "372bf1395f96be3b41d05630267354f7a6c0706e90f5e21320ab5ebd5d411d41"; }
+ { locale = "gu-IN"; arch = "linux-i686"; sha256 = "0b8429553052c8e23d3aaf1210d53b51fac2250d1d526311a22757ebd85ca54f"; }
+ { locale = "gu-IN"; arch = "linux-x86_64"; sha256 = "da6a7d7292965a0c1eaf58564d9bf85192719831208e8762d06c7082ee9824d7"; }
+ { locale = "he"; arch = "linux-i686"; sha256 = "78ac97da0515eb5a94455dcbf4cbd9a8d1ddbf03d4b8d29bad7b9e8fdbf5ef12"; }
+ { locale = "he"; arch = "linux-x86_64"; sha256 = "c0d853c639cfa7b14ce10ee50776f3aebf0c84807bb59d9ec6e0e20554ae8ed2"; }
+ { locale = "hi-IN"; arch = "linux-i686"; sha256 = "82376fe3005c56d2e895e1ffa0e9233f3885700117a73d1c49d67d742e324752"; }
+ { locale = "hi-IN"; arch = "linux-x86_64"; sha256 = "0ed6234fa9c5d449437d133c83f572ceca3dd82df6cbee8573c9f137c50bcf9c"; }
+ { locale = "hr"; arch = "linux-i686"; sha256 = "10ff3539c27dc49763fe322e9540878d421bdf590d9a307fecc6c158472889c3"; }
+ { locale = "hr"; arch = "linux-x86_64"; sha256 = "f97d7e3b290b0fc6a9116198da7fc7eb32895da74a3ad572d29577e14ab12f20"; }
+ { locale = "hsb"; arch = "linux-i686"; sha256 = "bba1a949823e70d1b5f4a0bec27437b6fc11638fa67b2ca286a833a0d44f5ef8"; }
+ { locale = "hsb"; arch = "linux-x86_64"; sha256 = "5efaf3ec7f7b5d94df17d2fe0d5877a35442d33ccbf141fcf30e11351f9b4000"; }
+ { locale = "hu"; arch = "linux-i686"; sha256 = "88a86463f2a47e38886cd2e8b470702623c772086b71d55e61de80e1c1be4fb3"; }
+ { locale = "hu"; arch = "linux-x86_64"; sha256 = "967ff3bb62c8dbc93a25f75bec73803428b3fe5024841d3e2d97e444c1d27304"; }
+ { locale = "hy-AM"; arch = "linux-i686"; sha256 = "4bac63a8b8fea36c3dab794dff933972f9adff7f91a7d3957d4edc3c60534016"; }
+ { locale = "hy-AM"; arch = "linux-x86_64"; sha256 = "9c26a2438462429f96b2d8bb8c4566b1b1f7d03200ed68aaca4eb6602342c33c"; }
+ { locale = "id"; arch = "linux-i686"; sha256 = "e36cd7195d5cd21afd97f31a5108af5999ade8a97f92db3e00067f3cfc31cd72"; }
+ { locale = "id"; arch = "linux-x86_64"; sha256 = "191e47625a6764670bfbab673989e5b2e6ad45ad1c3a0544a129afe8cb963171"; }
+ { locale = "is"; arch = "linux-i686"; sha256 = "c839d21d4e16b05bd9aa995ff2124b6b8418ca1405a8f3bfc70fb65b5710488b"; }
+ { locale = "is"; arch = "linux-x86_64"; sha256 = "16d8df9867e6a13a2be7408f459e2c67d449a47105cf9709e4a743abed8229a9"; }
+ { locale = "it"; arch = "linux-i686"; sha256 = "7f9c3909cda97d9a40f2630af4f11e6dd8e29f45ab949348123c4334f6aee8fe"; }
+ { locale = "it"; arch = "linux-x86_64"; sha256 = "52f95491dbf4ee9a1f2ee552feb8a30b8196b6747064e45d5a98d0fecfa11f67"; }
+ { locale = "ja"; arch = "linux-i686"; sha256 = "6586fd1d792feea4e98442736f06eab15d7de526667db6a3ce7de1afac9fdaec"; }
+ { locale = "ja"; arch = "linux-x86_64"; sha256 = "0ef883bdf3d415a5795bd613af05b16a406b3af3415ac1c1ebc646dd76f76467"; }
+ { locale = "kk"; arch = "linux-i686"; sha256 = "39167c7ee9f0e9b62308fcaba0f061bda0eaac9d3bb707c6556f71085c7ddd54"; }
+ { locale = "kk"; arch = "linux-x86_64"; sha256 = "ec2c9ae1f5daba1e3b0c8a4f24737b0968bc818748b682418f02983e25302703"; }
+ { locale = "km"; arch = "linux-i686"; sha256 = "797747aa402ad42b6addd04d69995b0ea5c628da71f2cce15c8e612d15461189"; }
+ { locale = "km"; arch = "linux-x86_64"; sha256 = "fd75e5fbba75dd8a6cdafdb1c4983bfd4336f300df559518d3fff0e6e7e482d6"; }
+ { locale = "kn"; arch = "linux-i686"; sha256 = "fada07e5679bcf174078e0c596cd121301f72c307401922e5772c6fa79eeedbe"; }
+ { locale = "kn"; arch = "linux-x86_64"; sha256 = "d9cbb3dc02e3db54ea691dc09c882fcd65fd99bb1d0250e29e3d0a37df72179b"; }
+ { locale = "ko"; arch = "linux-i686"; sha256 = "22bd8b1dec10117579a267d5bb9b10f460c27c9419305aa1cc4456b09fcd7df5"; }
+ { locale = "ko"; arch = "linux-x86_64"; sha256 = "0e9da5e79ebb149a62606e002202b70908d329a26c213df35480962fb05a9f7c"; }
+ { locale = "ku"; arch = "linux-i686"; sha256 = "e5f55ab5112ca3a137c4df37460304ff7e33471e3e95e2709ace1cb32ef88084"; }
+ { locale = "ku"; arch = "linux-x86_64"; sha256 = "224385ae3a9da1fbbbc0d309eba0de6f64e29da4de29299cb1c778cb5a57c968"; }
+ { locale = "lij"; arch = "linux-i686"; sha256 = "e39f5edc61e25f490dcae7ea4fdc91033f5e868cbcaf848180c40bd920455f17"; }
+ { locale = "lij"; arch = "linux-x86_64"; sha256 = "f6e9725f368ce4df3be078a1ad268a29cfeba01e5606de85fbe2e375b3a5e263"; }
+ { locale = "lt"; arch = "linux-i686"; sha256 = "46b2c694c60540ded3d3f6cb504bc5b7a709cc0940ff6b3223f05d7b8e1f7309"; }
+ { locale = "lt"; arch = "linux-x86_64"; sha256 = "51d10f5c63e377b0f9e46d7ee12ea8552b8df57d6e8d9334555b7fbab617c8a4"; }
+ { locale = "lv"; arch = "linux-i686"; sha256 = "8e224c3efcca9864255332b7f7c089c0c04b0eb2dfe60cd04d7dd6a61d807852"; }
+ { locale = "lv"; arch = "linux-x86_64"; sha256 = "e53090be92e7557be5d38aed25ac0a2fb1006d15bb38d61141473f4b38c6e26c"; }
+ { locale = "mai"; arch = "linux-i686"; sha256 = "479795f542d17476bb721d3e7c7fef565617528016085976a63b9e5864b4dd31"; }
+ { locale = "mai"; arch = "linux-x86_64"; sha256 = "8daa2882e27a19894ded43885e868dd7203f506cb1bd25ede1d36328fffbbe0d"; }
+ { locale = "mk"; arch = "linux-i686"; sha256 = "78f6fa53d5fda46fbe54b9978acaa75faaf094d2d3b8e464539609253da07c52"; }
+ { locale = "mk"; arch = "linux-x86_64"; sha256 = "47a147a93dc7d1e683a57f0d7ddd7fbe3d944145932e0773be8dab6a7a0b4b01"; }
+ { locale = "ml"; arch = "linux-i686"; sha256 = "6ac6a36596db8bf675df76abc629fc99ff019455f8c08842668a08cb40b67e9a"; }
+ { locale = "ml"; arch = "linux-x86_64"; sha256 = "c4d4bed760c429c5db1d5c42682127794f81e20182aed0fc37f4c9aaf7bc582c"; }
+ { locale = "mr"; arch = "linux-i686"; sha256 = "a2fc483f2aca2cbb7bdff42e4b27b711fdf27f46bee707d1c6d664c391c95def"; }
+ { locale = "mr"; arch = "linux-x86_64"; sha256 = "5209926b3130b8b75d933287872af62ac752fc9e3fc170b540a2f0bc49d97bdf"; }
+ { locale = "ms"; arch = "linux-i686"; sha256 = "926944ef9a3807b3379bba4b2fff05d8c2776cc4e3239b0b2bd2e5424151e6ee"; }
+ { locale = "ms"; arch = "linux-x86_64"; sha256 = "20cf8557fa41119febc99bbc6de10ea7e97d3c1abc2245241db862ca8a735db1"; }
+ { locale = "nb-NO"; arch = "linux-i686"; sha256 = "5a2778d9e93ae4371ad29737904aaecacf494855b45e5e79cfe773410f6600f6"; }
+ { locale = "nb-NO"; arch = "linux-x86_64"; sha256 = "8cfe4c778ee258dcd511990fd71eefcda46ab73c4448705e3815c5c371ee6ea1"; }
+ { locale = "nl"; arch = "linux-i686"; sha256 = "350efbbaeb3ef9eee16a398ce482c2a3790f5b85dda6177857d7448de03af9e1"; }
+ { locale = "nl"; arch = "linux-x86_64"; sha256 = "6d1310f7e2ebe5fc846f966bfa930a2bf3cd0877260de40b01496cb860630c37"; }
+ { locale = "nn-NO"; arch = "linux-i686"; sha256 = "6447690e509ec0d1306bbfa484df82e62dd5909603b43440443c28bf2f489f24"; }
+ { locale = "nn-NO"; arch = "linux-x86_64"; sha256 = "6e71ad4fe85b02f8745e6b3b39a6f69f13fff45fd555704747d1f59fcf64447a"; }
+ { locale = "or"; arch = "linux-i686"; sha256 = "71866d15af41df9d98716544d25d8fc2069a9a8f92cdd8180731e3b3fb3c3492"; }
+ { locale = "or"; arch = "linux-x86_64"; sha256 = "22ace7c20948526f1011e16581c870a919c4d8002bd0c3210ae8f702d1f8a03f"; }
+ { locale = "pa-IN"; arch = "linux-i686"; sha256 = "12eabc66d39bd767c129c1a1777a6a13812efa0bc3df430dd7940908f53094ec"; }
+ { locale = "pa-IN"; arch = "linux-x86_64"; sha256 = "54501bca85e231e9fab0aa894a6e566966fdbd172fc45888d97eb828e248d105"; }
+ { locale = "pl"; arch = "linux-i686"; sha256 = "e16acf44c5ab2ee708ba0f74301106a5fc0c36cd65ebd302043af09803f30138"; }
+ { locale = "pl"; arch = "linux-x86_64"; sha256 = "a1532684d5d0e9e2091a5d42202dc6b49ee8c21df14600f0772e1f0f53f6d638"; }
+ { locale = "pt-BR"; arch = "linux-i686"; sha256 = "9827bfda689b01e795d4ddf7ab1169e25cc1728175af74e8a08fa3e8ef40e40c"; }
+ { locale = "pt-BR"; arch = "linux-x86_64"; sha256 = "bfe02180011d564fe8deff4d3f3f8e3a6bfde05469738b5b2f8849a2ee485ba8"; }
+ { locale = "pt-PT"; arch = "linux-i686"; sha256 = "83fcda599d09946da8a968d903fa12b93502a23337f019d3217cc80f81607fe7"; }
+ { locale = "pt-PT"; arch = "linux-x86_64"; sha256 = "533050be56e6dbf06a5631a5b7a7db2da4f5514f224cb787600671c79c020379"; }
+ { locale = "rm"; arch = "linux-i686"; sha256 = "62906af16b8e179be3015f6be9cf4b9481fcc506044c053373f9bc2e315729fa"; }
+ { locale = "rm"; arch = "linux-x86_64"; sha256 = "f968ed9ba8ed43d0d52b02db23b2badf6e6a2544d105f23d6b09b80a07a28ee3"; }
+ { locale = "ro"; arch = "linux-i686"; sha256 = "503fc4cf0de24ff5b1658d09264f8bb3b131c678f61c554ddf1006633ff2d336"; }
+ { locale = "ro"; arch = "linux-x86_64"; sha256 = "514625ffbf4af4519a7671896f2f2797a1b17057dea356f7c17fa52a17736358"; }
+ { locale = "ru"; arch = "linux-i686"; sha256 = "01521832ab38fd46751578691b82c0283d9c7a68459ab7225328afa285699b01"; }
+ { locale = "ru"; arch = "linux-x86_64"; sha256 = "16b780ed767ff0537ec4619453d8cd3ebdcf124704d03d1741b5501007078dee"; }
+ { locale = "si"; arch = "linux-i686"; sha256 = "35ee6cded95ea13c8c480a46ffc9398f50d172aff2030611d6713b04ddc1c54d"; }
+ { locale = "si"; arch = "linux-x86_64"; sha256 = "c4ad9cec257bacffbcf3b4c84c63ec52e1ce830754b5be0b622a44ab223919ad"; }
+ { locale = "sk"; arch = "linux-i686"; sha256 = "53a6bc5aebe5edf4bad34e163a54a3bed30a7c74ff883463caf057793ac3f58e"; }
+ { locale = "sk"; arch = "linux-x86_64"; sha256 = "5110806bb3f02317b542bb79ce34c6bffeef68982807a5e53614958fb9adc779"; }
+ { locale = "sl"; arch = "linux-i686"; sha256 = "3a58652b394fc2ffe1abcc1e89596f3e9357a2455cda8a0c76a44ff20331ada2"; }
+ { locale = "sl"; arch = "linux-x86_64"; sha256 = "fb733f327080e5b4e2ae079a5cdbdb645fde1c9388368c13fcc6af4d3d91da7a"; }
+ { locale = "son"; arch = "linux-i686"; sha256 = "56a262e4411404e94747312858ae1e7ca99ea48171361f03cdc660f8b0da0da2"; }
+ { locale = "son"; arch = "linux-x86_64"; sha256 = "db77a5cab885f96efcbaae8e9f284ad30ab78aae1a405a5f1c2ac7d4d2e43498"; }
+ { locale = "sq"; arch = "linux-i686"; sha256 = "fde7c85f09997ab3f7918072a9577f8d70947c5fafcc70782d684759146941bd"; }
+ { locale = "sq"; arch = "linux-x86_64"; sha256 = "9865054be5d0a3913e4fa16aafdacd345607955b1d733d978033a2825d926c32"; }
+ { locale = "sr"; arch = "linux-i686"; sha256 = "87f9f7d46a211b9205df5258f551b7c42264fdb81c70f836a37b3d5a821c4c03"; }
+ { locale = "sr"; arch = "linux-x86_64"; sha256 = "ed03914c382efdec2f218e87e8efdd2b761e16ad0cc2a646b02050f27503161b"; }
+ { locale = "sv-SE"; arch = "linux-i686"; sha256 = "1e28e39ac45177607a2ff3c71d3317b8b777679bc9e8dad2236991f05c6823ca"; }
+ { locale = "sv-SE"; arch = "linux-x86_64"; sha256 = "81c2fdc5ec9f338b1dc3cd5d2e8dd62cf106c4cf759826be8eb7f3f3f550c49e"; }
+ { locale = "ta"; arch = "linux-i686"; sha256 = "8e27ba1c8079745a93bebf6f7e4dbfa9ffc32b91d6dfa12975497466f3ec1550"; }
+ { locale = "ta"; arch = "linux-x86_64"; sha256 = "c244aeff11608d6f1a8513045ab53d4909af02915761b15ff34ddbbc9995dcbe"; }
+ { locale = "te"; arch = "linux-i686"; sha256 = "32e404eeeebeb521d909cc64fe1ba3c0b40130f7a4b4ae742a48ba61e8b668d4"; }
+ { locale = "te"; arch = "linux-x86_64"; sha256 = "83b5cefddc6308050c24d9fb30818fa1fb3c1d4ba9a2de9d8fc99878b01855b4"; }
+ { locale = "th"; arch = "linux-i686"; sha256 = "009cb39521635c1c89717b3d526a59c05e7ab82082ec31f0fd482800f01d3e8b"; }
+ { locale = "th"; arch = "linux-x86_64"; sha256 = "1fe31902ef44e7049e9efa4774098c00d3ecad0a4c4f585716cb4bec158e3b88"; }
+ { locale = "tr"; arch = "linux-i686"; sha256 = "e54ee04479b9891420af6fc1d639da121b677660a5bf1dfd8565792c9e1cdbdf"; }
+ { locale = "tr"; arch = "linux-x86_64"; sha256 = "bdfae1142a7714a0be9bd24b02582a9ab9913c17d130cf0b2928deb657f8bebc"; }
+ { locale = "uk"; arch = "linux-i686"; sha256 = "b2d6b518e86c3bae1068f7a6d7cdc975f3b0f99e514c5d3d18dbe5e62d15dbce"; }
+ { locale = "uk"; arch = "linux-x86_64"; sha256 = "71bd0518b69c911dbb21297cd676ed66231a3b7bc59090a9f6a85d6882263277"; }
+ { locale = "vi"; arch = "linux-i686"; sha256 = "390fb219da7169d69a7aca1df883750d56bf34f0f7b6b49781d6f3c6b8962962"; }
+ { locale = "vi"; arch = "linux-x86_64"; sha256 = "1c5af9f646ced5533223bca6dd36f364c0ca9d3f02ba93797aa8b091144cf7e2"; }
+ { locale = "xh"; arch = "linux-i686"; sha256 = "5d0d04c7c84ffc51b11f99205ae767954b78d98c3a2d18bfcceca1cb292fcd9a"; }
+ { locale = "xh"; arch = "linux-x86_64"; sha256 = "5fafe2b375ee0935da52ec9037c4f515d1be5cf783548215d289a300e06bb9de"; }
+ { locale = "zh-CN"; arch = "linux-i686"; sha256 = "1361b7cfc08d4d000107a244ec2a163ab27616b1d1db13917f34acc4d4167d34"; }
+ { locale = "zh-CN"; arch = "linux-x86_64"; sha256 = "66aa04a7b5240df285afd37608c816b7c09cb365c6d0cd5aa4dbe8a7be61d824"; }
+ { locale = "zh-TW"; arch = "linux-i686"; sha256 = "c0e3d9b584ba10e2a67a904253b2d93ab3546465e69619f932b566ad6b04a003"; }
+ { locale = "zh-TW"; arch = "linux-x86_64"; sha256 = "6a24f9f3631bc0bcc15de6a124c0f7dbcee6d0099e2f0b0622a18e54c04620a9"; }
+ { locale = "zu"; arch = "linux-i686"; sha256 = "7fa59f6ee26d48f992015b0bb667a0c230cea854eafa67d7c4e51d38e1a267d3"; }
+ { locale = "zu"; arch = "linux-x86_64"; sha256 = "4af969f1e0d0703e83d903fc2a30739ae2ab42cc3a24219be8bfd152490970c5"; }
];
arch = if stdenv.system == "i686-linux"
diff --git a/pkgs/applications/networking/browsers/firefox/3.6.nix b/pkgs/applications/networking/browsers/firefox/3.6.nix
deleted file mode 100644
index c430bb7089a8cd426c28f9a3efc3f202836b71a5..0000000000000000000000000000000000000000
--- a/pkgs/applications/networking/browsers/firefox/3.6.nix
+++ /dev/null
@@ -1,155 +0,0 @@
-{ stdenv, fetchurl, pkgconfig, gtk, pango, perl, python, zip, libIDL
-, libjpeg, libpng, zlib, cairo, dbus, dbus_glib, bzip2, xlibs
-, freetype, fontconfig, file, alsaLib, nspr, nss, libnotify
-
-, # If you want the resulting program to call itself "Firefox" instead
- # of "Shiretoko" or whatever, enable this option. However, those
- # binaries may not be distributed without permission from the
- # Mozilla Foundation, see
- # http://www.mozilla.org/foundation/trademarks/.
- enableOfficialBranding ? false
-}:
-
-rec {
-
- firefoxVersion = "3.6.27";
-
- xulVersion = "1.9.2.27"; # this attribute is used by other packages
-
-
- src = fetchurl {
- url = "http://releases.mozilla.org/pub/mozilla.org/firefox/releases/${firefoxVersion}/source/firefox-${firefoxVersion}.source.tar.bz2";
- sha1 = "dd472a10e4ef5b017f00074d0325be13e832d610";
- };
-
-
- commonConfigureFlags =
- [ "--enable-optimize"
- "--disable-debug"
- "--enable-strip"
- "--with-system-jpeg"
- "--with-system-zlib"
- "--with-system-bz2"
- "--with-system-nspr"
- "--with-system-nss"
- # "--with-system-png" # <-- "--with-system-png won't work because the system's libpng doesn't have APNG support"
- "--enable-system-cairo"
- #"--enable-system-sqlite" # <-- this seems to be discouraged
- "--disable-crashreporter"
- "--disable-tests"
- "--disable-necko-wifi" # maybe we want to enable this at some point
- ];
-
- xulrunner = stdenv.mkDerivation {
- name = "xulrunner-${xulVersion}";
-
- inherit src;
-
- patches = [
- # Loongson2f related patches:
- ./xulrunner-chromium-mips.patch
- ./xulrunner-mips-n32.patch
- ./xulrunner-1.9.2_beta4-mips-bus-error.patch
-
- # Fix building on GCC 4.6.
- ./gcc-4.6.patch
- ];
-
- buildInputs =
- [ pkgconfig gtk perl zip libIDL libjpeg libpng zlib cairo bzip2
- python dbus dbus_glib pango freetype fontconfig xlibs.libXi
- xlibs.libX11 xlibs.libXrender xlibs.libXft xlibs.libXt file
- alsaLib nspr nss libnotify xlibs.pixman
- ];
-
- preConfigure = if stdenv.isMips then ''
- export ac_cv_thread_keyword=no
- '' else "";
-
- configureFlags =
- [ "--enable-application=xulrunner"
- "--disable-javaxpcom"
- ] ++ commonConfigureFlags;
-
- # !!! Temporary hack.
- preBuild = ''
- export NIX_ENFORCE_PURITY=
- '';
-
- installFlags = "SKIP_GRE_REGISTRATION=1";
-
- postInstall = ''
- # Fix some references to /bin paths in the Xulrunner shell script.
- substituteInPlace $out/bin/xulrunner \
- --replace /bin/pwd "$(type -tP pwd)" \
- --replace /bin/ls "$(type -tP ls)"
-
- # Fix run-mozilla.sh search
- libDir=$(cd $out/lib && ls -d xulrunner-[0-9]*)
- echo libDir: $libDir
- test -n "$libDir"
- cd $out/bin
- mv xulrunner ../lib/$libDir/
-
- for i in $out/lib/$libDir/*; do
- file $i;
- if file $i | grep executable &>/dev/null; then
- ln -s $i $out/bin
- fi;
- done;
- rm -f $out/bin/run-mozilla.sh
- ''; # */
-
- enableParallelBuilding = true;
-
- meta = {
- description = "Mozilla Firefox XUL runner";
- homepage = http://www.mozilla.org/firefox/;
- };
-
- passthru = { inherit gtk; version = xulVersion; };
- };
-
-
- firefox = stdenv.mkDerivation rec {
- name = "firefox-${firefoxVersion}";
-
- inherit src;
-
- buildInputs =
- [ pkgconfig gtk perl zip libIDL libjpeg zlib cairo bzip2 python
- dbus dbus_glib pango freetype fontconfig alsaLib nspr nss libnotify
- xlibs.pixman
- ];
-
- propagatedBuildInputs = [xulrunner];
-
- configureFlags =
- [ "--enable-application=browser"
- "--with-libxul-sdk=${xulrunner}/lib/xulrunner-devel-${xulrunner.version}"
- ]
- ++ commonConfigureFlags
- ++ stdenv.lib.optional enableOfficialBranding "--enable-official-branding";
-
- postInstall = ''
- libDir=$(cd $out/lib && ls -d firefox-[0-9]*)
- test -n "$libDir"
-
- ln -s ${xulrunner}/lib/xulrunner-${xulrunner.version} $out/lib/$libDir/xulrunner
-
- # Register extensions etc. !!! is this needed anymore?
- echo "running firefox -register..."
- $out/bin/firefox -register
- ''; # */
-
- meta = {
- description = "Mozilla Firefox - the browser, reloaded";
- homepage = http://www.mozilla.org/firefox/;
- };
-
- passthru = {
- inherit gtk xulrunner nspr;
- isFirefox3Like = true;
- };
- };
-}
diff --git a/pkgs/applications/networking/browsers/firefox/default.nix b/pkgs/applications/networking/browsers/firefox/default.nix
index 1e2c3e2cfb194a41846043876f57016312dcfc07..ad2ea75bd704f43c38dd492ebed52cc80267ddee 100644
--- a/pkgs/applications/networking/browsers/firefox/default.nix
+++ b/pkgs/applications/networking/browsers/firefox/default.nix
@@ -1,5 +1,5 @@
-{ stdenv, fetchurl, pkgconfig, gtk, pango, perl, python, zip, libIDL
-, libjpeg, libpng, zlib, dbus, dbus_glib, bzip2, xlibs
+{ lib, stdenv, fetchurl, pkgconfig, gtk, pango, perl, python, zip, libIDL
+, libjpeg, zlib, dbus, dbus_glib, bzip2, xlibs
, freetype, fontconfig, file, alsaLib, nspr, nss, libnotify
, yasm, mesa, sqlite, unzip, makeWrapper, pysqlite
, hunspell, libevent, libstartup_notification, libvpx
@@ -15,27 +15,38 @@
assert stdenv.gcc ? libc && stdenv.gcc.libc != null;
-rec {
-
- firefoxVersion = "30.0";
-
- xulVersion = "30.0"; # this attribute is used by other packages
+let version = "31.0"; in
+stdenv.mkDerivation rec {
+ name = "firefox-${version}";
src = fetchurl {
- url = "http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/${firefoxVersion}/source/firefox-${firefoxVersion}.source.tar.bz2";
- sha1 = "bll9hxf31gvg9db6gxgmq25qsjif3p11";
+ url = "http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/${version}/source/firefox-${version}.source.tar.bz2";
+ sha1 = "a6c3e25ee3aeb7da42db2aaeb50a385d63532beb";
};
- commonConfigureFlags =
- [ "--with-system-jpeg"
+ buildInputs =
+ [ pkgconfig gtk perl zip libIDL libjpeg zlib bzip2
+ python dbus dbus_glib pango freetype fontconfig xlibs.libXi
+ xlibs.libX11 xlibs.libXrender xlibs.libXft xlibs.libXt file
+ alsaLib nspr nss libnotify xlibs.pixman yasm mesa
+ xlibs.libXScrnSaver xlibs.scrnsaverproto pysqlite
+ xlibs.libXext xlibs.xextproto sqlite unzip makeWrapper
+ hunspell libevent libstartup_notification libvpx cairo
+ gstreamer gst_plugins_base icu
+ ];
+
+ configureFlags =
+ [ "--enable-application=browser"
+ "--disable-javaxpcom"
+ "--with-system-jpeg"
"--with-system-zlib"
"--with-system-bz2"
"--with-system-nspr"
"--with-system-nss"
"--with-system-libevent"
"--with-system-libvpx"
- "--with-system-png"
+ # "--with-system-png" # needs APNG support
# "--with-system-icu" # causes ‘ar: invalid option -- 'L'’ in Firefox 28.0
"--enable-system-ffi"
"--enable-system-hunspell"
@@ -52,160 +63,45 @@ rec {
"--disable-installer"
"--disable-updater"
"--disable-pulseaudio"
- ] ++ (if debugBuild then [ "--enable-debug" "--enable-profiling"]
- else [ "--disable-debug" "--enable-release"
- "--enable-optimize" "--enable-strip" ]);
-
-
- xulrunner = stdenv.mkDerivation rec {
- name = "xulrunner-${xulVersion}";
-
- inherit src;
-
- buildInputs =
- [ pkgconfig libpng gtk perl zip libIDL libjpeg zlib bzip2
- python dbus dbus_glib pango freetype fontconfig xlibs.libXi
- xlibs.libX11 xlibs.libXrender xlibs.libXft xlibs.libXt file
- alsaLib nspr nss libnotify xlibs.pixman yasm mesa
- xlibs.libXScrnSaver xlibs.scrnsaverproto pysqlite
- xlibs.libXext xlibs.xextproto sqlite unzip makeWrapper
- hunspell libevent libstartup_notification libvpx cairo
- gstreamer gst_plugins_base icu
- ];
-
- configureFlags =
- [ "--enable-application=xulrunner"
- "--disable-javaxpcom"
- ] ++ commonConfigureFlags;
-
- #enableParallelBuilding = true; # cf. https://github.com/NixOS/nixpkgs/pull/1699#issuecomment-35196282
-
- preConfigure =
- ''
- export NIX_LDFLAGS="$NIX_LDFLAGS -L$out/lib/xulrunner-${xulVersion}"
-
- mkdir ../objdir
- cd ../objdir
- configureScript=../mozilla-release/configure
- ''; # */
-
- #installFlags = "SKIP_GRE_REGISTRATION=1";
+ ]
+ ++ (if debugBuild then [ "--enable-debug" "--enable-profiling"]
+ else [ "--disable-debug" "--enable-release"
+ "--enable-optimize" "--enable-strip" ])
+ ++ lib.optional enableOfficialBranding "--enable-official-branding";
+
+ enableParallelBuilding = true;
+
+ preConfigure =
+ ''
+ mkdir ../objdir
+ cd ../objdir
+ configureScript=../mozilla-release/configure
+ '';
- preInstall = ''
- # The following is needed for startup cache creation on grsecurity kernels
+ preInstall =
+ ''
+ # The following is needed for startup cache creation on grsecurity kernels.
paxmark m ../objdir/dist/bin/xpcshell
'';
- postInstall = ''
- # Fix run-mozilla.sh search
- libDir=$(cd $out/lib && ls -d xulrunner-[0-9]*)
- echo libDir: $libDir
- test -n "$libDir"
- cd $out/bin
- rm xulrunner
-
- for i in $out/lib/$libDir/*; do
- file $i;
- if file $i | grep executable &>/dev/null; then
- echo -e '#! /bin/sh\nexec "'"$i"'" "$@"' > "$out/bin/$(basename "$i")";
- chmod a+x "$out/bin/$(basename "$i")";
- fi;
- done
- for i in $out/lib/$libDir/*.so; do
- patchelf --set-rpath "$(patchelf --print-rpath "$i"):$out/lib/$libDir" $i || true
- done
-
+ postInstall =
+ ''
# For grsecurity kernels
- paxmark m $out/lib/$libDir/{plugin-container,xulrunner}
-
- for i in $out/lib/$libDir/{plugin-container,xulrunner,xulrunner-stub}; do
- wrapProgram $i --prefix LD_LIBRARY_PATH ':' "$out/lib/$libDir"
- done
-
- rm -f $out/bin/run-mozilla.sh
- ''; # */
+ paxmark m $out/lib/*/{plugin-container,xulrunner}
- meta = {
- description = "Mozilla Firefox XUL runner";
- homepage = http://www.mozilla.com/en-US/firefox/;
- };
+ # Remove SDK cruft. FIXME: move to a separate output?
+ rm -rf $out/share/idl $out/include $out/lib/firefox-devel-*
+ '';
- passthru = { inherit gtk; version = xulVersion; };
+ meta = {
+ description = "Mozilla Firefox - the browser, reloaded";
+ homepage = http://www.mozilla.com/en-US/firefox/;
+ maintainers = with lib.maintainers; [ eelco wizeman ];
+ platforms = lib.platforms.linux;
};
-
- firefox = stdenv.mkDerivation rec {
- name = "firefox-${firefoxVersion}";
-
- inherit src;
-
- enableParallelBuilding = true;
-
- buildInputs =
- [ pkgconfig libpng gtk perl zip libIDL libjpeg zlib bzip2 python
- dbus dbus_glib pango freetype fontconfig alsaLib nspr nss libnotify
- xlibs.pixman yasm mesa sqlite file unzip pysqlite
- hunspell libevent libstartup_notification libvpx cairo
- gstreamer gst_plugins_base icu
- ];
-
- patches = [
- ./disable-reporter.patch # fixes "search box not working when built on xulrunner"
- ./xpidl.patch
- ];
-
- propagatedBuildInputs = [xulrunner];
-
- configureFlags =
- [ "--enable-application=browser"
- "--with-libxul-sdk=${xulrunner}/lib/xulrunner-devel-${xulrunner.version}"
- "--enable-chrome-format=jar"
- ]
- ++ commonConfigureFlags
- ++ stdenv.lib.optional enableOfficialBranding "--enable-official-branding";
-
- makeFlags = [
- "SYSTEM_LIBXUL=1"
- ];
-
- # Because preConfigure runs configure from a subdirectory.
- configureScript = "../configure";
-
- preConfigure =
- ''
- # Hack to work around make's idea of -lbz2 dependency
- find . -name Makefile.in -execdir sed -i '{}' -e '1ivpath %.so ${
- stdenv.lib.concatStringsSep ":"
- (map (s : s + "/lib") (buildInputs ++ [stdenv.gcc.libc]))
- }' ';'
-
- # Building directly in the main source directory is not allowed.
- mkdir obj_dir
- cd obj_dir
- '';
-
- postInstall =
- ''
- ln -s ${xulrunner}/lib/xulrunner-${xulrunner.version} $(echo $out/lib/firefox-*)/xulrunner
- cd "$out/lib/"firefox-*
- rm firefox
- echo -e '#!${stdenv.shell}\nexec ${xulrunner}/bin/xulrunner "'"$PWD"'/application.ini" "$@"' > firefox
- chmod a+x firefox
-
- # Put chrome.manifest etc. in the right place.
- mv browser/* .
- rmdir browser
- ''; # */
-
- meta = {
- description = "Mozilla Firefox - the browser, reloaded";
- homepage = http://www.mozilla.com/en-US/firefox/;
- maintainers = with stdenv.lib.maintainers; [ eelco wizeman ];
- };
-
- passthru = {
- inherit gtk xulrunner nspr;
- isFirefox3Like = true;
- };
+ passthru = {
+ inherit gtk nspr version;
+ isFirefox3Like = true;
};
}
diff --git a/pkgs/applications/networking/browsers/firefox/disable-reporter.patch b/pkgs/applications/networking/browsers/firefox/disable-reporter.patch
deleted file mode 100644
index 0a71a7210f2a7478a1834af06824d5b0b5d6de61..0000000000000000000000000000000000000000
--- a/pkgs/applications/networking/browsers/firefox/disable-reporter.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-# from:
-# - https://www.linuxquestions.org/questions/linux-from-scratch-13/blfs-xulrunner-firefox-21-0-and-search-4175462532/
-# - http://www.mail-archive.com/blfs-support@linuxfromscratch.org/msg17359.html
-
---- mozilla-release/browser/base/content/browser.js.orig 2013-05-11 16:19:21.000000000 -0300
-+++ mozilla-release/browser/base/content/browser.js 2013-06-07 00:39:16.114862388 -0300
-@@ -3559,10 +3559,12 @@
- */
- recordSearchInHealthReport: function (engine, source) {
- #ifdef MOZ_SERVICES_HEALTHREPORT
-- let reporter = Cc["@mozilla.org/datareporting/service;1"]
-+ /*let reporter = Cc["@mozilla.org/datareporting/service;1"]
- .getService()
- .wrappedJSObject
- .healthReporter;
-+ */
-+ return;
-
- // This can happen if the FHR component of the data reporting service is
- // disabled. This is controlled by a pref that most will never use.
diff --git a/pkgs/applications/networking/browsers/firefox/gcc-4.6.patch b/pkgs/applications/networking/browsers/firefox/gcc-4.6.patch
deleted file mode 100644
index f5f685951ef4dca4c8bd5e4939cd9502e64811f2..0000000000000000000000000000000000000000
--- a/pkgs/applications/networking/browsers/firefox/gcc-4.6.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-https://346825.bugs.gentoo.org/attachment.cgi?id=270163
-
---- a/gfx/ots/src/os2.cc
-+++ b/gfx/ots/src/os2.cc
-@@ -2,6 +2,8 @@
- // Use of this source code is governed by a BSD-style license that can be
- // found in the LICENSE file.
-
-+#include
-+
- #include "os2.h"
-
- #include "head.h"
diff --git a/pkgs/applications/networking/browsers/firefox/xpidl.patch b/pkgs/applications/networking/browsers/firefox/xpidl.patch
deleted file mode 100644
index e6a6b4d826466046b9458e821626a9b3dd76a8e8..0000000000000000000000000000000000000000
--- a/pkgs/applications/networking/browsers/firefox/xpidl.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- mozilla-release/python/mozbuild/mozbuild/backend/recursivemake.py 2013-12-05 08:07:53.000000000 -0800
-+++ mozilla-release_1/python/mozbuild/mozbuild/backend/recursivemake.py 2013-12-12 23:38:39.697318563 -0800
-@@ -421,7 +421,7 @@
- def _handle_idl_manager(self, manager):
- build_files = self._purge_manifests['xpidl']
-
-- for p in ('Makefile', 'backend.mk', '.deps/.mkdir.done',
-+ for p in ('Makefile.in', 'Makefile', 'backend.mk', '.deps/.mkdir.done',
- 'xpt/.mkdir.done'):
- build_files.add(p)
-
diff --git a/pkgs/applications/networking/browsers/firefox/xulrunner-1.9.2_beta4-mips-bus-error.patch b/pkgs/applications/networking/browsers/firefox/xulrunner-1.9.2_beta4-mips-bus-error.patch
deleted file mode 100644
index 54799397f6f8cd94cfbc44e4fb72e6657eeb546c..0000000000000000000000000000000000000000
--- a/pkgs/applications/networking/browsers/firefox/xulrunner-1.9.2_beta4-mips-bus-error.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-http://www.gentoo-cn.org/gitweb/?p=loongson.git;a=blob;f=net-libs/xulrunner/files/xulrunner-1.9.2_beta4-mips-bus-error.patch;h=2bf51d77054796ffaf4f4d903dd8560bf96b7844;hb=HEAD
-
---- ./xpcom/glue/nsTArray.h.orig 2009-04-26 01:21:58.000000000 +0800
-+++ ./xpcom/glue/nsTArray.h 2009-04-26 01:21:33.000000000 +0800
-@@ -168,6 +168,7 @@
-
- // The array's elements (prefixed with a Header). This pointer is never
- // null. If the array is empty, then this will point to sEmptyHdr.
-+ void *padding;
- Header *mHdr;
- };
-
-diff --git a/layout/svg/base/src/nsSVGGlyphFrame.cpp b/layout/svg/base/src/nsSVGGlyphFrame.cpp
-index 6d452d0..3ce4193 100644
---- a/layout/svg/base/src/nsSVGGlyphFrame.cpp
-+++ b/layout/svg/base/src/nsSVGGlyphFrame.cpp
-@@ -169,8 +169,8 @@ private:
- PRBool SetupForDirectTextRun(gfxContext *aContext, float aScale);
- void SetupFor(gfxContext *aContext, float aScale);
-
-- nsSVGGlyphFrame *mSource;
- nsAutoTArray mPositions;
-+ nsSVGGlyphFrame *mSource;
- gfxMatrix mInitialMatrix;
- // Textrun advance width from start to mCurrentChar, in appunits
- gfxFloat mCurrentAdvance;
diff --git a/pkgs/applications/networking/browsers/firefox/xulrunner-chromium-mips.patch b/pkgs/applications/networking/browsers/firefox/xulrunner-chromium-mips.patch
deleted file mode 100644
index d309f5fb6e8064fbd3ad6bed4d255e05c1a12a40..0000000000000000000000000000000000000000
--- a/pkgs/applications/networking/browsers/firefox/xulrunner-chromium-mips.patch
+++ /dev/null
@@ -1,207 +0,0 @@
-http://gentoo-overlays.zugaina.org/loongson/portage/net-libs/xulrunner/files/xulrunner-chromium-mips.patch
-
-diff --git a/ipc/chromium/src/base/atomicops.h b/ipc/chromium/src/base/atomicops.h
-index 87df918..363bf63 100644
---- a/ipc/chromium/src/base/atomicops.h
-+++ b/ipc/chromium/src/base/atomicops.h
-@@ -132,6 +132,8 @@ Atomic64 Release_Load(volatile const Atomic64* ptr);
- #include "base/atomicops_internals_x86_gcc.h"
- #elif defined(COMPILER_GCC) && defined(ARCH_CPU_ARM_FAMILY)
- #include "base/atomicops_internals_arm_gcc.h"
-+#elif defined(COMPILER_GCC) && defined(ARCH_CPU_MIPS_FAMILY)
-+#include "base/atomicops_internals_mips_gcc.h"
- #else
- #error "Atomic operations are not supported on your platform"
- #endif
-diff --git a/ipc/chromium/src/base/atomicops_internals_mips_gcc.h b/ipc/chromium/src/base/atomicops_internals_mips_gcc.h
-new file mode 100644
-index 0000000..d1b87ee
---- /dev/null
-+++ b/ipc/chromium/src/base/atomicops_internals_mips_gcc.h
-@@ -0,0 +1,160 @@
-+// Copyright (c) 2010 Zhang, Le
-+// Use of this source code is governed by GPLv2.
-+
-+// This file is an internal atomic implementation, use base/atomicops.h instead.
-+
-+#ifndef BASE_ATOMICOPS_INTERNALS_MIPS_GCC_H_
-+#define BASE_ATOMICOPS_INTERNALS_MIPS_GCC_H_
-+
-+#define ATOMICOPS_COMPILER_BARRIER() __asm__ __volatile__("" : : : "memory")
-+
-+namespace base {
-+namespace subtle {
-+
-+// 32-bit low-level operations on any platform.
-+
-+inline Atomic32 NoBarrier_CompareAndSwap(volatile Atomic32* ptr,
-+ Atomic32 old_value,
-+ Atomic32 new_value) {
-+ Atomic32 prev;
-+ __asm__ __volatile__(
-+ " .set push \n"
-+ " .set noat \n"
-+ " .set mips3 \n"
-+ "1: ll %0, %2 \n"
-+ " bne %0, %z3, 2f \n"
-+ " .set mips0 \n"
-+ " move $1, %z4 \n"
-+ " .set mips3 \n"
-+ " sc $1, %1 \n"
-+ " beqz $1, 3f \n"
-+ "2: \n"
-+ " .subsection 2 \n"
-+ "3: b 1b \n"
-+ " .previous \n"
-+ " .set pop \n"
-+ : "=&r" (prev), "=R" (*ptr)
-+ : "R" (*ptr), "Jr" (old_value), "Jr" (new_value)
-+ : "memory");
-+ return prev;
-+}
-+
-+inline Atomic32 NoBarrier_AtomicExchange(volatile Atomic32* ptr,
-+ Atomic32 new_value) {
-+ unsigned int ret_value;
-+ unsigned long dummy;
-+
-+ __asm__ __volatile__(" .set mips3 \n"
-+ "1: ll %0, %3 # xchg_u32 \n"
-+ " .set mips0 \n"
-+ " move %2, %z4 \n"
-+ " .set mips3 \n"
-+ " sc %2, %1 \n"
-+ " beqz %2, 2f \n"
-+ " .subsection 2 \n"
-+ "2: b 1b \n"
-+ " .previous \n"
-+ " .set mips0 \n"
-+ : "=&r" (ret_value), "=m" (*ptr), "=&r" (dummy)
-+ : "R" (*ptr), "Jr" (new_value)
-+ : "memory");
-+
-+ return ret_value; // Now it's the previous value.
-+}
-+
-+inline Atomic32 NoBarrier_AtomicIncrement(volatile Atomic32* ptr,
-+ Atomic32 increment) {
-+ Atomic32 temp, result;
-+ __asm__ __volatile__(
-+ " .set mips3 \n"
-+ "1: ll %1, %2 # atomic_add_return \n"
-+ " addu %0, %1, %3 \n"
-+ " sc %0, %2 \n"
-+ " beqz %0, 2f \n"
-+ " addu %0, %1, %3 \n"
-+ " .subsection 2 \n"
-+ "2: b 1b \n"
-+ " .previous \n"
-+ " .set mips0 \n"
-+ : "=&r" (result), "=&r" (temp), "=m" (*ptr)
-+ : "Ir" (increment), "m" (*ptr)
-+ : "memory");
-+ return result;
-+}
-+
-+inline Atomic32 Barrier_AtomicIncrement(volatile Atomic32* ptr,
-+ Atomic32 increment) {
-+ Atomic32 temp, result;
-+ __asm__ __volatile__(
-+ " .set mips3 \n"
-+ "1: ll %1, %2 # atomic_add_return \n"
-+ " addu %0, %1, %3 \n"
-+ " sc %0, %2 \n"
-+ " beqz %0, 2f \n"
-+ " addu %0, %1, %3 \n"
-+ " .subsection 2 \n"
-+ "2: b 1b \n"
-+ " .previous \n"
-+ " .set mips0 \n"
-+ : "=&r" (result), "=&r" (temp), "=m" (*ptr)
-+ : "Ir" (increment), "m" (*ptr)
-+ : "memory");
-+ __asm__ __volatile__("sync" : : : "memory");
-+ return result;
-+}
-+
-+inline Atomic32 Acquire_CompareAndSwap(volatile Atomic32* ptr,
-+ Atomic32 old_value,
-+ Atomic32 new_value) {
-+ Atomic32 x = NoBarrier_CompareAndSwap(ptr, old_value, new_value);
-+ __asm__ __volatile__("sync" : : : "memory");
-+ return x;
-+}
-+
-+inline Atomic32 Release_CompareAndSwap(volatile Atomic32* ptr,
-+ Atomic32 old_value,
-+ Atomic32 new_value) {
-+ return NoBarrier_CompareAndSwap(ptr, old_value, new_value);
-+}
-+
-+inline void NoBarrier_Store(volatile Atomic32* ptr, Atomic32 value) {
-+ *ptr = value;
-+}
-+
-+inline void MemoryBarrier() {
-+ __asm__ __volatile__("sync" : : : "memory");
-+}
-+
-+inline void Acquire_Store(volatile Atomic32* ptr, Atomic32 value) {
-+ *ptr = value;
-+ __asm__ __volatile__("sync" : : : "memory");
-+}
-+
-+inline void Release_Store(volatile Atomic32* ptr, Atomic32 value) {
-+ ATOMICOPS_COMPILER_BARRIER();
-+ *ptr = value; // An x86 store acts as a release barrier.
-+ // See comments in Atomic64 version of Release_Store(), below.
-+}
-+
-+inline Atomic32 NoBarrier_Load(volatile const Atomic32* ptr) {
-+ return *ptr;
-+}
-+
-+inline Atomic32 Acquire_Load(volatile const Atomic32* ptr) {
-+ Atomic32 value = *ptr; // An x86 load acts as a acquire barrier.
-+ // See comments in Atomic64 version of Release_Store(), below.
-+ ATOMICOPS_COMPILER_BARRIER();
-+ return value;
-+}
-+
-+inline Atomic32 Release_Load(volatile const Atomic32* ptr) {
-+ MemoryBarrier();
-+ return *ptr;
-+}
-+
-+} // namespace base::subtle
-+} // namespace base
-+
-+#undef ATOMICOPS_COMPILER_BARRIER
-+
-+#endif // BASE_ATOMICOPS_INTERNALS_MIPS_GCC_H_
-diff --git a/ipc/chromium/src/base/debug_util_posix.cc b/ipc/chromium/src/base/debug_util_posix.cc
-index f7c58b4..50fb41d 100644
---- a/ipc/chromium/src/base/debug_util_posix.cc
-+++ b/ipc/chromium/src/base/debug_util_posix.cc
-@@ -108,7 +108,7 @@ bool DebugUtil::BeingDebugged() {
-
- // static
- void DebugUtil::BreakDebugger() {
--#if !defined(ARCH_CPU_ARM_FAMILY)
-+#if !defined(ARCH_CPU_ARM_FAMILY) && !defined(ARCH_CPU_MIPS_FAMILY)
- asm ("int3");
- #endif
- }
-diff --git a/ipc/chromium/src/build/build_config.h b/ipc/chromium/src/build/build_config.h
-index 36f83e7..128bbc7 100644
---- a/ipc/chromium/src/build/build_config.h
-+++ b/ipc/chromium/src/build/build_config.h
-@@ -57,6 +57,8 @@
- #define ARCH_CPU_ARMEL 1
- #define ARCH_CPU_32_BITS 1
- #define WCHAR_T_IS_UNSIGNED 1
-+#elif defined(__MIPSEL__)
-+#define ARCH_CPU_MIPS_FAMILY 1
- #else
- #error Please add support for your architecture in build/build_config.h
- #endif
diff --git a/pkgs/applications/networking/browsers/firefox/xulrunner-mips-n32.patch b/pkgs/applications/networking/browsers/firefox/xulrunner-mips-n32.patch
deleted file mode 100644
index 8be51035260770ef80aa896a1fc229ba31a5366b..0000000000000000000000000000000000000000
--- a/pkgs/applications/networking/browsers/firefox/xulrunner-mips-n32.patch
+++ /dev/null
@@ -1,764 +0,0 @@
-http://gentoo-overlays.zugaina.org/loongson/portage/net-libs/xulrunner/files/xulrunner-mips-n32.patch
-
-From 1aa3577cf7e79b574bd2cff058ea00221194869b Mon Sep 17 00:00:00 2001
-From: Zhang Le
-Date: Thu, 12 Mar 2009 02:24:34 +0800
-Subject: [PATCH 2/2] xulrunner mips n32 ABI patch
-
-Signed-off-by: Zhang Le
----
- xpcom/reflect/xptcall/src/md/unix/Makefile.in | 5 +
- .../xptcall/src/md/unix/xptcinvoke_asm_mips64.s | 159 ++++++++++++++
- .../xptcall/src/md/unix/xptcinvoke_mips64.cpp | 173 ++++++++++++++++
- .../xptcall/src/md/unix/xptcstubs_asm_mips64.s | 149 +++++++++++++
- .../xptcall/src/md/unix/xptcstubs_mips64.cpp | 218 ++++++++++++++++++++
- 5 files changed, 704 insertions(+), 0 deletions(-)
- create mode 100644 xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_mips64.s
- create mode 100644 xpcom/reflect/xptcall/src/md/unix/xptcinvoke_mips64.cpp
- create mode 100644 xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_mips64.s
- create mode 100644 xpcom/reflect/xptcall/src/md/unix/xptcstubs_mips64.cpp
-
-diff --git a/xpcom/reflect/xptcall/src/md/unix/Makefile.in b/xpcom/reflect/xptcall/src/md/unix/Makefile.in
-index 524174e..63586cf 100644
---- a/xpcom/reflect/xptcall/src/md/unix/Makefile.in
-+++ b/xpcom/reflect/xptcall/src/md/unix/Makefile.in
-@@ -274,8 +274,13 @@ endif
-
- ifeq ($(OS_ARCH),Linux)
- ifneq (,$(findstring mips, $(OS_TEST)))
-+ifneq (,$(findstring mips64, $(OS_TEST)))
-+CPPSRCS := xptcinvoke_mips64.cpp xptcstubs_mips64.cpp
-+ASFILES := xptcinvoke_asm_mips64.s xptcstubs_asm_mips64.s
-+else
- CPPSRCS := xptcinvoke_mips.cpp xptcstubs_mips.cpp
- ASFILES := xptcinvoke_asm_mips.s xptcstubs_asm_mips.s
-+endif
- ASFLAGS += -I$(DIST)/include -x assembler-with-cpp
- endif
- endif
-diff --git a/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_mips64.s b/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_mips64.s
-new file mode 100644
-index 0000000..f146ad8
---- /dev/null
-+++ b/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_mips64.s
-@@ -0,0 +1,159 @@
-+/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-+/* ***** BEGIN LICENSE BLOCK *****
-+ * Version: MPL 1.1/GPL 2.0/LGPL 2.1
-+ *
-+ * The contents of this file are subject to the Mozilla Public License Version
-+ * 1.1 (the "License"); you may not use this file except in compliance with
-+ * the License. You may obtain a copy of the License at
-+ * http://www.mozilla.org/MPL/
-+ *
-+ * Software distributed under the License is distributed on an "AS IS" basis,
-+ * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
-+ * for the specific language governing rights and limitations under the
-+ * License.
-+ *
-+ * The Original Code is mozilla.org code.
-+ *
-+ * The Initial Developer of the Original Code is
-+ * Netscape Communications Corporation.
-+ * Portions created by the Initial Developer are Copyright (C) 1998
-+ * the Initial Developer. All Rights Reserved.
-+ *
-+ * Contributor(s):
-+ * ZHANG Le
-+ *
-+ * Alternatively, the contents of this file may be used under the terms of
-+ * either of the GNU General Public License Version 2 or later (the "GPL"),
-+ * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
-+ * in which case the provisions of the GPL or the LGPL are applicable instead
-+ * of those above. If you wish to allow use of your version of this file only
-+ * under the terms of either the GPL or the LGPL, and not to allow others to
-+ * use your version of this file under the terms of the MPL, indicate your
-+ * decision by deleting the provisions above and replace them with the notice
-+ * and other provisions required by the GPL or the LGPL. If you do not delete
-+ * the provisions above, a recipient may use your version of this file under
-+ * the terms of any one of the MPL, the GPL or the LGPL.
-+ *
-+ * ***** END LICENSE BLOCK ***** */
-+#include
-+#include
-+
-+.text
-+.globl invoke_count_words
-+.globl invoke_copy_to_stack
-+
-+LOCALSZ=7 # a0, a1, a2, a3, s0, ra, gp
-+FRAMESZ=(((NARGSAVE+LOCALSZ)*SZREG)+ALSZ)&ALMASK
-+
-+RAOFF=FRAMESZ-(1*SZREG)
-+A0OFF=FRAMESZ-(2*SZREG)
-+A1OFF=FRAMESZ-(3*SZREG)
-+A2OFF=FRAMESZ-(4*SZREG)
-+A3OFF=FRAMESZ-(5*SZREG)
-+S0OFF=FRAMESZ-(6*SZREG)
-+GPOFF=FRAMESZ-(7*SZREG)
-+
-+#
-+# _NS_InvokeByIndex_P(that, methodIndex, paramCount, params)
-+# a0 a1 a2 a3
-+
-+NESTED(_NS_InvokeByIndex_P, FRAMESZ, ra)
-+ PTR_SUBU sp, FRAMESZ
-+ SETUP_GP64(GPOFF, _NS_InvokeByIndex_P)
-+
-+ REG_S ra, RAOFF(sp)
-+ REG_S a0, A0OFF(sp)
-+ REG_S a1, A1OFF(sp)
-+ REG_S a2, A2OFF(sp)
-+ REG_S a3, A3OFF(sp)
-+ REG_S s0, S0OFF(sp)
-+
-+ # invoke_count_words(paramCount, params)
-+ move a0, a2
-+ move a1, a3
-+ jal invoke_count_words
-+
-+ # invoke_copy_to_stack(PRUint32* d, PRUint32 paramCount,
-+ # nsXPTCVariant* s, PRUint32 *reg)
-+
-+ REG_L a1, A2OFF(sp) # a1 - paramCount
-+ REG_L a2, A3OFF(sp) # a2 - params
-+
-+ # save sp before we copy the params to the stack
-+ move t0, sp
-+
-+ # assume full size of 16 bytes per param to be safe
-+ sll v0, 4 # 16 bytes * num params
-+ subu sp, sp, v0 # make room
-+ move a0, sp # a0 - param stack address
-+
-+ # create temporary stack space to write int and fp regs
-+ subu sp, 64 # 64 = 8 regs of 8 bytes
-+ move a3, sp
-+
-+ # save the old sp and save the arg stack
-+ subu sp, sp, 16
-+ REG_S t0, 0(sp)
-+ REG_S a0, 8(sp)
-+
-+ # copy the param into the stack areas
-+ jal invoke_copy_to_stack
-+
-+ REG_L t3, 8(sp) # get previous a0
-+ REG_L sp, 0(sp) # get orig sp back
-+
-+ REG_L a0, A0OFF(sp) # a0 - that
-+ REG_L a1, A1OFF(sp) # a1 - methodIndex
-+
-+ # t1 = methodIndex * pow(2, PTRLOG)
-+ # (use shift instead of mult)
-+ sll t1, a1, PTRLOG
-+
-+ # calculate the function we need to jump to,
-+ # which must then be saved in t9
-+ lw t9, 0(a0)
-+ addu t9, t9, t1
-+#if defined(__GXX_ABI_VERSION) && __GXX_ABI_VERSION >= 100 /* G++ V3 ABI */
-+ lw t9, (t9)
-+#else /* not G++ V3 ABI */
-+ lw t9, 2*PTRSIZE(t9)
-+#endif /* G++ V3 ABI */
-+
-+ # get register save area from invoke_copy_to_stack
-+ subu t1, t3, 64
-+
-+ # a1..a7 and f13..f19 should now be set to what
-+ # invoke_copy_to_stack told us. skip a0 and f12
-+ # because that's the "this" pointer
-+
-+ REG_L a1, 0(t1)
-+ REG_L a2, 8(t1)
-+ REG_L a3, 16(t1)
-+ REG_L a4, 24(t1)
-+ REG_L a5, 32(t1)
-+ REG_L a6, 40(t1)
-+ REG_L a7, 48(t1)
-+
-+ l.d $f13, 0(t1)
-+ l.d $f14, 8(t1)
-+ l.d $f15, 16(t1)
-+ l.d $f16, 24(t1)
-+ l.d $f17, 32(t1)
-+ l.d $f18, 40(t1)
-+ l.d $f19, 48(t1)
-+
-+ # save away our stack pointer and create
-+ # the stack pointer for the function
-+ move s0, sp
-+ move sp, t3
-+
-+ jalr t9
-+
-+ move sp, s0
-+
-+ RESTORE_GP64
-+ REG_L ra, RAOFF(sp)
-+ REG_L s0, S0OFF(sp)
-+ PTR_ADDU sp, FRAMESZ
-+ j ra
-+.end _NS_InvokeByIndex_P
-diff --git a/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_mips64.cpp b/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_mips64.cpp
-new file mode 100644
-index 0000000..d1d1a7d
---- /dev/null
-+++ b/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_mips64.cpp
-@@ -0,0 +1,173 @@
-+/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-+/* ***** BEGIN LICENSE BLOCK *****
-+ * Version: MPL 1.1/GPL 2.0/LGPL 2.1
-+ *
-+ * The contents of this file are subject to the Mozilla Public License Version
-+ * 1.1 (the "License"); you may not use this file except in compliance with
-+ * the License. You may obtain a copy of the License at
-+ * http://www.mozilla.org/MPL/
-+ *
-+ * Software distributed under the License is distributed on an "AS IS" basis,
-+ * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
-+ * for the specific language governing rights and limitations under the
-+ * License.
-+ *
-+ * The Original Code is mozilla.org code.
-+ *
-+ * The Initial Developer of the Original Code is
-+ * Netscape Communications Corporation.
-+ * Portions created by the Initial Developer are Copyright (C) 1998
-+ * the Initial Developer. All Rights Reserved.
-+ *
-+ * Contributor(s):
-+ * ZHANG Le
-+ *
-+ * Alternatively, the contents of this file may be used under the terms of
-+ * either of the GNU General Public License Version 2 or later (the "GPL"),
-+ * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
-+ * in which case the provisions of the GPL or the LGPL are applicable instead
-+ * of those above. If you wish to allow use of your version of this file only
-+ * under the terms of either the GPL or the LGPL, and not to allow others to
-+ * use your version of this file under the terms of the MPL, indicate your
-+ * decision by deleting the provisions above and replace them with the notice
-+ * and other provisions required by the GPL or the LGPL. If you do not delete
-+ * the provisions above, a recipient may use your version of this file under
-+ * the terms of any one of the MPL, the GPL or the LGPL.
-+ *
-+ * ***** END LICENSE BLOCK ***** */
-+
-+/* Platform specific code to invoke XPCOM methods on native objects */
-+
-+#include "xptcprivate.h"
-+
-+#if (_MIPS_SIM != _ABIN32)
-+#error "This code is for MIPS N32 only"
-+#endif
-+
-+extern "C" uint32
-+invoke_count_words(PRUint32 paramCount, nsXPTCVariant* s)
-+{
-+ return paramCount;
-+}
-+
-+extern "C" void
-+invoke_copy_to_stack(PRUint64* d, PRUint32 paramCount,
-+ nsXPTCVariant* s, PRUint64 *regs)
-+{
-+#define N_ARG_REGS 7 /* 8 regs minus 1 for "this" ptr */
-+
-+ for (PRUint32 i = 0; i < paramCount; i++, s++)
-+ {
-+ if (s->IsPtrData()) {
-+ if (i < N_ARG_REGS)
-+ regs[i] = (PRUint64)s->ptr;
-+ else
-+ *d++ = (PRUint64)s->ptr;
-+ continue;
-+ }
-+ switch (s->type) {
-+ //
-+ // signed types first
-+ //
-+ case nsXPTType::T_I8:
-+ if (i < N_ARG_REGS)
-+ ((PRInt64*)regs)[i] = s->val.i8;
-+ else
-+ *d++ = s->val.i8;
-+ break;
-+ case nsXPTType::T_I16:
-+ if (i < N_ARG_REGS)
-+ ((PRInt64*)regs)[i] = s->val.i16;
-+ else
-+ *d++ = s->val.i16;
-+ break;
-+ case nsXPTType::T_I32:
-+ if (i < N_ARG_REGS)
-+ ((PRInt64*)regs)[i] = s->val.i32;
-+ else
-+ *d++ = s->val.i32;
-+ break;
-+ case nsXPTType::T_I64:
-+ if (i < N_ARG_REGS)
-+ ((PRInt64*)regs)[i] = s->val.i64;
-+ else
-+ *d++ = s->val.i64;
-+ break;
-+ //
-+ // unsigned types next
-+ //
-+ case nsXPTType::T_U8:
-+ if (i < N_ARG_REGS)
-+ regs[i] = s->val.u8;
-+ else
-+ *d++ = s->val.u8;
-+ break;
-+ case nsXPTType::T_U16:
-+ if (i < N_ARG_REGS)
-+ regs[i] = s->val.u16;
-+ else
-+ *d++ = s->val.u16;
-+ break;
-+ case nsXPTType::T_U32:
-+ if (i < N_ARG_REGS)
-+ regs[i] = s->val.u32;
-+ else
-+ *d++ = s->val.u32;
-+ break;
-+ case nsXPTType::T_U64:
-+ if (i < N_ARG_REGS)
-+ regs[i] = s->val.u64;
-+ else
-+ *d++ = s->val.u64;
-+ break;
-+ case nsXPTType::T_FLOAT:
-+ if (i < N_ARG_REGS)
-+ *(float*)®s[i] = s->val.f;
-+ else
-+ *(float*)d++ = s->val.f;
-+ break;
-+ case nsXPTType::T_DOUBLE:
-+ if (i < N_ARG_REGS)
-+ *(double*)®s[i] = s->val.d;
-+ else
-+ *(double*)d++ = s->val.d;
-+ break;
-+ case nsXPTType::T_BOOL:
-+ if (i < N_ARG_REGS)
-+ regs[i] = s->val.b;
-+ else
-+ *d++ = s->val.b;
-+ break;
-+ case nsXPTType::T_CHAR:
-+ if (i < N_ARG_REGS)
-+ regs[i] = s->val.c;
-+ else
-+ *d++ = s->val.c;
-+ break;
-+ case nsXPTType::T_WCHAR:
-+ if (i < N_ARG_REGS)
-+ regs[i] = s->val.wc;
-+ else
-+ *d++ = s->val.wc;
-+ break;
-+ default:
-+ // all the others are plain pointer types
-+ if (i < N_ARG_REGS)
-+ regs[i] = (PRUint64)s->val.p;
-+ else
-+ *d++ = (PRUint64)s->val.p;
-+ break;
-+ }
-+ }
-+}
-+
-+extern "C" nsresult _NS_InvokeByIndex_P(nsISupports* that, PRUint32 methodIndex,
-+ PRUint32 paramCount,
-+ nsXPTCVariant* params);
-+
-+EXPORT_XPCOM_API(nsresult)
-+NS_InvokeByIndex_P(nsISupports* that, PRUint32 methodIndex,
-+ PRUint32 paramCount, nsXPTCVariant* params)
-+{
-+ return _NS_InvokeByIndex_P(that, methodIndex, paramCount, params);
-+}
-diff --git a/xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_mips64.s b/xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_mips64.s
-new file mode 100644
-index 0000000..dfee24b
---- /dev/null
-+++ b/xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_mips64.s
-@@ -0,0 +1,149 @@
-+/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-+/* ***** BEGIN LICENSE BLOCK *****
-+ * Version: MPL 1.1/GPL 2.0/LGPL 2.1
-+ *
-+ * The contents of this file are subject to the Mozilla Public License Version
-+ * 1.1 (the "License"); you may not use this file except in compliance with
-+ * the License. You may obtain a copy of the License at
-+ * http://www.mozilla.org/MPL/
-+ *
-+ * Software distributed under the License is distributed on an "AS IS" basis,
-+ * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
-+ * for the specific language governing rights and limitations under the
-+ * License.
-+ *
-+ * The Original Code is mozilla.org code.
-+ *
-+ * The Initial Developer of the Original Code is
-+ * Netscape Communications Corporation.
-+ * Portions created by the Initial Developer are Copyright (C) 1998
-+ * the Initial Developer. All Rights Reserved.
-+ *
-+ * Contributor(s):
-+ * ZHANG Le
-+ *
-+ * Alternatively, the contents of this file may be used under the terms of
-+ * either of the GNU General Public License Version 2 or later (the "GPL"),
-+ * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
-+ * in which case the provisions of the GPL or the LGPL are applicable instead
-+ * of those above. If you wish to allow use of your version of this file only
-+ * under the terms of either the GPL or the LGPL, and not to allow others to
-+ * use your version of this file under the terms of the MPL, indicate your
-+ * decision by deleting the provisions above and replace them with the notice
-+ * and other provisions required by the GPL or the LGPL. If you do not delete
-+ * the provisions above, a recipient may use your version of this file under
-+ * the terms of any one of the MPL, the GPL or the LGPL.
-+ *
-+ * ***** END LICENSE BLOCK ***** */
-+#include
-+#include
-+
-+LOCALSZ=16
-+FRAMESZ=(((NARGSAVE+LOCALSZ)*SZREG)+ALSZ)&ALMASK
-+
-+A1OFF=FRAMESZ-(9*SZREG)
-+A2OFF=FRAMESZ-(8*SZREG)
-+A3OFF=FRAMESZ-(7*SZREG)
-+A4OFF=FRAMESZ-(6*SZREG)
-+A5OFF=FRAMESZ-(5*SZREG)
-+A6OFF=FRAMESZ-(4*SZREG)
-+A7OFF=FRAMESZ-(3*SZREG)
-+GPOFF=FRAMESZ-(2*SZREG)
-+RAOFF=FRAMESZ-(1*SZREG)
-+
-+F13OFF=FRAMESZ-(16*SZREG)
-+F14OFF=FRAMESZ-(15*SZREG)
-+F15OFF=FRAMESZ-(14*SZREG)
-+F16OFF=FRAMESZ-(13*SZREG)
-+F17OFF=FRAMESZ-(12*SZREG)
-+F18OFF=FRAMESZ-(11*SZREG)
-+F19OFF=FRAMESZ-(10*SZREG)
-+
-+#define SENTINEL_ENTRY(n) /* defined in cpp file, not here */
-+
-+#if defined(__GXX_ABI_VERSION) && __GXX_ABI_VERSION >= 100 /* G++ V3 ABI */
-+#define STUB_ENTRY(x) \
-+ .if x < 10; \
-+ MAKE_STUB(x, _ZN14nsXPTCStubBase5Stub ##x ##Ev); \
-+ .elseif x < 100; \
-+ MAKE_STUB(x, _ZN14nsXPTCStubBase6Stub ##x ##Ev); \
-+ .elseif x < 1000; \
-+ MAKE_STUB(x, _ZN14nsXPTCStubBase7Stub ##x ##Ev); \
-+ .else; \
-+ .err; \
-+ .endif
-+#else /* not G++ V3 ABI */
-+#define STUB_ENTRY(x) \
-+ MAKE_STUB(x, Stub ##x ##__14nsXPTCStubBase)
-+#endif /* G++ V3 ABI */
-+
-+#define MAKE_STUB(x, name) \
-+ .globl name; \
-+ .type name,@function; \
-+ .aent name,0; \
-+name:; \
-+ PTR_SUBU sp,FRAMESZ; \
-+ SETUP_GP64(GPOFF, name); \
-+ li t0,x; \
-+ b sharedstub; \
-+
-+#
-+# open a dummy frame for the function entries
-+#
-+ .text
-+ .align 2
-+ .type dummy,@function
-+ .ent dummy, 0
-+dummy:
-+ .frame sp, FRAMESZ, ra
-+ .mask 0x90000FF0, RAOFF-FRAMESZ
-+ .fmask 0x000FF000, F19OFF-FRAMESZ
-+
-+#include "xptcstubsdef.inc"
-+
-+sharedstub:
-+
-+ REG_S a1, A1OFF(sp)
-+ REG_S a2, A2OFF(sp)
-+ REG_S a3, A3OFF(sp)
-+ REG_S a4, A4OFF(sp)
-+ REG_S a5, A5OFF(sp)
-+ REG_S a6, A6OFF(sp)
-+ REG_S a7, A7OFF(sp)
-+ REG_S ra, RAOFF(sp)
-+
-+ s.d $f13, F13OFF(sp)
-+ s.d $f14, F14OFF(sp)
-+ s.d $f15, F15OFF(sp)
-+ s.d $f16, F16OFF(sp)
-+ s.d $f17, F17OFF(sp)
-+ s.d $f18, F18OFF(sp)
-+ s.d $f19, F19OFF(sp)
-+
-+ # t0 is methodIndex
-+ move a1, t0
-+
-+ # a2 is stack address where extra function params
-+ # are stored that do not fit in registers
-+ move a2, sp
-+ addi a2, FRAMESZ
-+
-+ # a3 is stack address of a1..a7
-+ move a3, sp
-+ addi a3, A1OFF
-+
-+ # a4 is stack address of f13..f19
-+ move a4, sp
-+ addi a4, F13OFF
-+
-+ # PrepareAndDispatch(that, methodIndex, args, gprArgs, fpArgs)
-+ # a0 a1 a2 a3 a4
-+ #
-+ jal PrepareAndDispatch
-+
-+ REG_L ra, RAOFF(sp)
-+ RESTORE_GP64
-+
-+ PTR_ADDU sp, FRAMESZ
-+ j ra
-+ END(dummy)
-diff --git a/xpcom/reflect/xptcall/src/md/unix/xptcstubs_mips64.cpp b/xpcom/reflect/xptcall/src/md/unix/xptcstubs_mips64.cpp
-new file mode 100644
-index 0000000..c404065
---- /dev/null
-+++ b/xpcom/reflect/xptcall/src/md/unix/xptcstubs_mips64.cpp
-@@ -0,0 +1,218 @@
-+/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-+/* ***** BEGIN LICENSE BLOCK *****
-+ * Version: MPL 1.1/GPL 2.0/LGPL 2.1
-+ *
-+ * The contents of this file are subject to the Mozilla Public License Version
-+ * 1.1 (the "License"); you may not use this file except in compliance with
-+ * the License. You may obtain a copy of the License at
-+ * http://www.mozilla.org/MPL/
-+ *
-+ * Software distributed under the License is distributed on an "AS IS" basis,
-+ * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
-+ * for the specific language governing rights and limitations under the
-+ * License.
-+ *
-+ * The Original Code is mozilla.org code.
-+ *
-+ * The Initial Developer of the Original Code is
-+ * Netscape Communications Corporation.
-+ * Portions created by the Initial Developer are Copyright (C) 1999
-+ * the Initial Developer. All Rights Reserved.
-+ *
-+ * Contributor(s):
-+ * ZHANG Le
-+ *
-+ * Alternatively, the contents of this file may be used under the terms of
-+ * either of the GNU General Public License Version 2 or later (the "GPL"),
-+ * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
-+ * in which case the provisions of the GPL or the LGPL are applicable instead
-+ * of those above. If you wish to allow use of your version of this file only
-+ * under the terms of either the GPL or the LGPL, and not to allow others to
-+ * use your version of this file under the terms of the MPL, indicate your
-+ * decision by deleting the provisions above and replace them with the notice
-+ * and other provisions required by the GPL or the LGPL. If you do not delete
-+ * the provisions above, a recipient may use your version of this file under
-+ * the terms of any one of the MPL, the GPL or the LGPL.
-+ *
-+ * ***** END LICENSE BLOCK ***** */
-+
-+#include "xptcprivate.h"
-+#include "xptiprivate.h"
-+
-+#if (_MIPS_SIM != _ABIN32)
-+#error "This code is for MIPS N32 only"
-+#endif
-+
-+/*
-+ * This is for MIPS N32 ABI
-+ *
-+ * When we're called, the "gp" registers are stored in gprData and
-+ * the "fp" registers are stored in fprData. There are 8 regs
-+ * available which coorespond to the first 7 parameters of the
-+ * function and the "this" pointer. If there are additional parms,
-+ * they are stored on the stack at address "args".
-+ *
-+ */
-+extern "C" nsresult
-+PrepareAndDispatch(nsXPTCStubBase* self, PRUint32 methodIndex, PRUint64* args,
-+ PRUint64 *gprData, double *fprData)
-+{
-+#define PARAM_BUFFER_COUNT 16
-+#define PARAM_GPR_COUNT 7
-+#define PARAM_FPR_COUNT 7
-+
-+ nsXPTCMiniVariant paramBuffer[PARAM_BUFFER_COUNT];
-+ nsXPTCMiniVariant* dispatchParams = NULL;
-+ const nsXPTMethodInfo* info;
-+ PRUint8 paramCount;
-+ PRUint8 i;
-+ nsresult result = NS_ERROR_FAILURE;
-+
-+ NS_ASSERTION(self,"no self");
-+
-+ self->mEntry->GetMethodInfo(PRUint16(methodIndex), &info);
-+ NS_ASSERTION(info,"no method info");
-+
-+ paramCount = info->GetParamCount();
-+
-+ // setup variant array pointer
-+ if(paramCount > PARAM_BUFFER_COUNT)
-+ dispatchParams = new nsXPTCMiniVariant[paramCount];
-+ else
-+ dispatchParams = paramBuffer;
-+ NS_ASSERTION(dispatchParams,"no place for params");
-+
-+ PRUint64* ap = args;
-+ PRUint32 iCount = 0;
-+ for(i = 0; i < paramCount; i++)
-+ {
-+ const nsXPTParamInfo& param = info->GetParam(i);
-+ const nsXPTType& type = param.GetType();
-+ nsXPTCMiniVariant* dp = &dispatchParams[i];
-+
-+ if(param.IsOut() || !type.IsArithmetic())
-+ {
-+ if (iCount < PARAM_GPR_COUNT)
-+ dp->val.p = (void*)gprData[iCount++];
-+ else
-+ dp->val.p = (void*)*ap++;
-+ continue;
-+ }
-+ // else
-+ switch(type)
-+ {
-+ case nsXPTType::T_I8:
-+ if (iCount < PARAM_GPR_COUNT)
-+ dp->val.i8 = (PRInt8)gprData[iCount++];
-+ else
-+ dp->val.i8 = (PRInt8)*ap++;
-+ break;
-+
-+ case nsXPTType::T_I16:
-+ if (iCount < PARAM_GPR_COUNT)
-+ dp->val.i16 = (PRInt16)gprData[iCount++];
-+ else
-+ dp->val.i16 = (PRInt16)*ap++;
-+ break;
-+
-+ case nsXPTType::T_I32:
-+ if (iCount < PARAM_GPR_COUNT)
-+ dp->val.i32 = (PRInt32)gprData[iCount++];
-+ else
-+ dp->val.i32 = (PRInt32)*ap++;
-+ break;
-+
-+ case nsXPTType::T_I64:
-+ if (iCount < PARAM_GPR_COUNT)
-+ dp->val.i64 = (PRInt64)gprData[iCount++];
-+ else
-+ dp->val.i64 = (PRInt64)*ap++;
-+ break;
-+
-+ case nsXPTType::T_U8:
-+ if (iCount < PARAM_GPR_COUNT)
-+ dp->val.u8 = (PRUint8)gprData[iCount++];
-+ else
-+ dp->val.u8 = (PRUint8)*ap++;
-+ break;
-+
-+ case nsXPTType::T_U16:
-+ if (iCount < PARAM_GPR_COUNT)
-+ dp->val.u16 = (PRUint16)gprData[iCount++];
-+ else
-+ dp->val.u16 = (PRUint16)*ap++;
-+ break;
-+
-+ case nsXPTType::T_U32:
-+ if (iCount < PARAM_GPR_COUNT)
-+ dp->val.u32 = (PRUint32)gprData[iCount++];
-+ else
-+ dp->val.u32 = (PRUint32)*ap++;
-+ break;
-+
-+ case nsXPTType::T_U64:
-+ if (iCount < PARAM_GPR_COUNT)
-+ dp->val.u64 = (PRUint64)gprData[iCount++];
-+ else
-+ dp->val.u64 = (PRUint64)*ap++;
-+ break;
-+
-+ case nsXPTType::T_FLOAT:
-+ if (iCount < PARAM_FPR_COUNT)
-+ dp->val.f = (double)fprData[iCount++];
-+ else
-+ dp->val.f = *((double*)ap++);
-+ break;
-+
-+ case nsXPTType::T_DOUBLE:
-+ if (iCount < PARAM_FPR_COUNT)
-+ dp->val.d = (double)fprData[iCount++];
-+ else
-+ dp->val.d = *((double*)ap++);
-+ break;
-+
-+ case nsXPTType::T_BOOL:
-+ if (iCount < PARAM_GPR_COUNT)
-+ dp->val.b = (PRBool)gprData[iCount++];
-+ else
-+ dp->val.b = (PRBool)*ap++;
-+ break;
-+
-+ case nsXPTType::T_CHAR:
-+ if (iCount < PARAM_GPR_COUNT)
-+ dp->val.c = (char)gprData[iCount++];
-+ else
-+ dp->val.c = (char)*ap++;
-+ break;
-+
-+ case nsXPTType::T_WCHAR:
-+ if (iCount < PARAM_GPR_COUNT)
-+ dp->val.wc = (wchar_t)gprData[iCount++];
-+ else
-+ dp->val.wc = (wchar_t)*ap++;
-+ break;
-+
-+ default:
-+ NS_ASSERTION(0, "bad type");
-+ break;
-+ }
-+ }
-+
-+ result = self->mOuter->CallMethod((PRUint16)methodIndex, info, dispatchParams);
-+
-+ if(dispatchParams != paramBuffer)
-+ delete [] dispatchParams;
-+
-+ return result;
-+}
-+
-+#define STUB_ENTRY(n) /* defined in the assembly file */
-+
-+#define SENTINEL_ENTRY(n) \
-+nsresult nsXPTCStubBase::Sentinel##n() \
-+{ \
-+ NS_ASSERTION(0,"nsXPTCStubBase::Sentinel called"); \
-+ return NS_ERROR_NOT_IMPLEMENTED; \
-+}
-+
-+#include "xptcstubsdef.inc"
---
-1.6.2
-
diff --git a/pkgs/applications/networking/browsers/mozilla-plugins/flashplayer-11/default.nix b/pkgs/applications/networking/browsers/mozilla-plugins/flashplayer-11/default.nix
index 617d307b78355806daf0d6567fc49b7b67cc8e11..d39dfe3582e9871c3ce226c7ed23d33597863aca 100644
--- a/pkgs/applications/networking/browsers/mozilla-plugins/flashplayer-11/default.nix
+++ b/pkgs/applications/networking/browsers/mozilla-plugins/flashplayer-11/default.nix
@@ -89,6 +89,6 @@ stdenv.mkDerivation {
description = "Adobe Flash Player browser plugin";
homepage = http://www.adobe.com/products/flashplayer/;
maintainers = with stdenv.lib.maintainers; [ wizeman ];
- license = "unfree";
+ license = stdenv.lib.licenses.unfree;
};
}
diff --git a/pkgs/applications/networking/browsers/mozilla-plugins/gecko-mediaplayer/default.nix b/pkgs/applications/networking/browsers/mozilla-plugins/gecko-mediaplayer/default.nix
index 44f191e54f1d1b762b229f5179b7651d604668b6..05e3a8bf613a685f5ebf60d7f4358b7434f03506 100644
--- a/pkgs/applications/networking/browsers/mozilla-plugins/gecko-mediaplayer/default.nix
+++ b/pkgs/applications/networking/browsers/mozilla-plugins/gecko-mediaplayer/default.nix
@@ -10,12 +10,12 @@ stdenv.mkDerivation rec {
sha256 = "913fd39e70c564cb210c2544a88869f9d1a448184421f000b14b2bc5ba718b49";
};
- buildInputs = [ pkgconfig glib dbus dbus_glib browser x11 GConf browser.xulrunner gmtk ];
+ buildInputs = [ pkgconfig glib dbus dbus_glib browser x11 GConf browser gmtk ];
# !!! fix this
preBuild =
''
- export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I$(echo ${browser.xulrunner}/include/xulrunner-*) -I${browser.nspr}/include/nspr"
+ export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I$(echo ${browser}/include/xulrunner-*) -I${browser.nspr}/include/nspr"
echo $NIX_CFLAGS_COMPILE
'';
@@ -31,6 +31,7 @@ stdenv.mkDerivation rec {
meta = {
description = "A browser plugin that uses GNOME MPlayer to play media in a browser";
homepage = http://kdekorte.googlepages.com/gecko-mediaplayer;
+ broken = true;
};
}
diff --git a/pkgs/applications/networking/browsers/mozilla-plugins/google-talk-plugin/default.nix b/pkgs/applications/networking/browsers/mozilla-plugins/google-talk-plugin/default.nix
index e1bc4e977f6a061772d040c5f38a33d3efb66e0e..afe0600d6f7e550258fbe9a2aec111c639494ec2 100644
--- a/pkgs/applications/networking/browsers/mozilla-plugins/google-talk-plugin/default.nix
+++ b/pkgs/applications/networking/browsers/mozilla-plugins/google-talk-plugin/default.nix
@@ -109,7 +109,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://www.google.com/chat/video/;
- license = "unfree";
+ license = stdenv.lib.licenses.unfree;
maintainers = [ stdenv.lib.maintainers.eelco ];
};
}
diff --git a/pkgs/applications/networking/browsers/netsurf/default.nix b/pkgs/applications/networking/browsers/netsurf/default.nix
index cf01a3c6d5f598d112174643ed16c857830a14a1..07184bfd9f2cf6746e742f8852c14c8ea584b3f3 100644
--- a/pkgs/applications/networking/browsers/netsurf/default.nix
+++ b/pkgs/applications/networking/browsers/netsurf/default.nix
@@ -42,7 +42,7 @@ rec {
meta = {
description = "HTML5 compliant parsing library, written in C";
homepage = http://www.netsurf-browser.org/projects/hubbub/;
- license = "MIT";
+ license = stdenv.lib.licenses.mit;
maintainers = [lib.maintainers.marcweber];
platforms = lib.platforms.linux;
};
@@ -63,7 +63,7 @@ rec {
meta = {
description = "implementation of the W3C DOM, written in C";
homepage = http://www.netsurf-browser.org/projects/hubbub/;
- license = "MIT";
+ license = stdenv.lib.licenses.mit;
maintainers = [lib.maintainers.marcweber];
platforms = lib.platforms.linux;
};
diff --git a/pkgs/applications/networking/browsers/netsurf/libCSS.nix b/pkgs/applications/networking/browsers/netsurf/libCSS.nix
index 7ad39ee4ec9ccbab7f3c0b08f9b0f6838d0b9b42..ede053aeca3fef5337e0a3c089d18353ba680784 100644
--- a/pkgs/applications/networking/browsers/netsurf/libCSS.nix
+++ b/pkgs/applications/networking/browsers/netsurf/libCSS.nix
@@ -13,7 +13,7 @@ stdenv.mkDerivation {
meta = {
description = "libCSS is a CSS parser and selection engine, written in C"; # used by netsurf
homepage = http://www.netsurf-browser.org/projects/libcss/;
- license = "MIT";
+ license = stdenv.lib.licenses.mit;
maintainers = [args.lib.maintainers.marcweber];
platforms = args.lib.platforms.linux;
};
diff --git a/pkgs/applications/networking/browsers/netsurf/libParserUtils.nix b/pkgs/applications/networking/browsers/netsurf/libParserUtils.nix
index fec93c39ab9de8e16a7be5b1be589d1215c8fa0d..32bede76e432d3c37aeb5744f96ecfb743c40cab 100644
--- a/pkgs/applications/networking/browsers/netsurf/libParserUtils.nix
+++ b/pkgs/applications/networking/browsers/netsurf/libParserUtils.nix
@@ -13,7 +13,7 @@ stdenv.mkDerivation {
meta = {
description = "LibParserUtils is a library for building efficient parsers, written in C";
homepage = http://www.netsurf-browser.org/projects/libparserutils/;
- license = "MIT";
+ license = stdenv.lib.licenses.mit;
maintainers = [args.lib.maintainers.marcweber];
platforms = args.lib.platforms.linux;
broken = true;
diff --git a/pkgs/applications/networking/browsers/netsurf/libnsbmp.nix b/pkgs/applications/networking/browsers/netsurf/libnsbmp.nix
index 462d532cb9c4f19f3617446ccfa86bbf90a23036..9c16ff9b89c503b6245b4c61fa25726c28ce6a08 100644
--- a/pkgs/applications/networking/browsers/netsurf/libnsbmp.nix
+++ b/pkgs/applications/networking/browsers/netsurf/libnsbmp.nix
@@ -13,7 +13,7 @@ stdenv.mkDerivation {
meta = {
description = "Libnsbmp is a decoding library for BMP and ICO image file formats"; # used by netsurf
homepage = http://www.netsurf-browser.org/projects/libnsbmp/;
- license = "MIT";
+ license = stdenv.lib.licenses.mit;
maintainers = [args.lib.maintainers.marcweber];
platforms = args.lib.platforms.linux;
};
diff --git a/pkgs/applications/networking/browsers/netsurf/libnsgif.nix b/pkgs/applications/networking/browsers/netsurf/libnsgif.nix
index 5894e5c1c0335fa7596fcfe76d5dea170c67e050..a4502d2354deb7e2c6656510e48314c440ba00d0 100644
--- a/pkgs/applications/networking/browsers/netsurf/libnsgif.nix
+++ b/pkgs/applications/networking/browsers/netsurf/libnsgif.nix
@@ -13,7 +13,7 @@ stdenv.mkDerivation {
meta = {
description = "Libnsbmp is a decoding library for gif image file formats"; # used by netsurf
homepage = http://www.netsurf-browser.org/projects/libnsgif/;
- license = "MIT";
+ license = stdenv.lib.licenses.mit;
maintainers = [args.lib.maintainers.marcweber];
platforms = args.lib.platforms.linux;
broken = true;
diff --git a/pkgs/applications/networking/browsers/netsurf/libsvgtiny.nix b/pkgs/applications/networking/browsers/netsurf/libsvgtiny.nix
index a90e6fa193cd894ea5f66c2c81e357b1488783c6..300e9965092d1b2a541eb38a340da15dac0a61ba 100644
--- a/pkgs/applications/networking/browsers/netsurf/libsvgtiny.nix
+++ b/pkgs/applications/networking/browsers/netsurf/libsvgtiny.nix
@@ -13,7 +13,7 @@ stdenv.mkDerivation {
meta = {
description = "implementation of SVG Tiny, written in C";
homepage = http://www.netsurf-browser.org/projects/libsvgtiny/;
- license = "MIT";
+ license = stdenv.lib.licenses.mit;
maintainers = [args.lib.maintainers.marcweber];
platforms = args.lib.platforms.linux;
};
diff --git a/pkgs/applications/networking/browsers/netsurf/libwapcaplet.nix b/pkgs/applications/networking/browsers/netsurf/libwapcaplet.nix
index c4e4a60fbd689497f0fc090e5ada9cbc9342696b..8d19d1c1ef24d38f3c042915a9681ae6099bea59 100644
--- a/pkgs/applications/networking/browsers/netsurf/libwapcaplet.nix
+++ b/pkgs/applications/networking/browsers/netsurf/libwapcaplet.nix
@@ -13,7 +13,7 @@ stdenv.mkDerivation {
meta = {
description = "LibWapcaplet is a string internment library, written in C";
homepage = http://www.netsurf-browser.org/projects/libwapcaplet/;
- license = "MIT";
+ license = stdenv.lib.licenses.mit;
maintainers = [args.lib.maintainers.marcweber];
platforms = args.lib.platforms.linux;
};
diff --git a/pkgs/applications/networking/ids/daq/default.nix b/pkgs/applications/networking/ids/daq/default.nix
index 92175bb23e9c9b1c06b95798728537ad212f6bf8..36571809a3708dec449b52d6e42b19676a799338 100644
--- a/pkgs/applications/networking/ids/daq/default.nix
+++ b/pkgs/applications/networking/ids/daq/default.nix
@@ -14,6 +14,6 @@ stdenv.mkDerivation rec {
meta = {
description = "Data AcQuisition library (DAQ), for packet I/O";
homepage = http://www.snort.org;
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
};
}
diff --git a/pkgs/applications/networking/ids/snort/default.nix b/pkgs/applications/networking/ids/snort/default.nix
index b674f3a83fb29f74080d451b977737ce575422fa..858e99c245bad3f0b1a217144a5b58b2c31a91c3 100644
--- a/pkgs/applications/networking/ids/snort/default.nix
+++ b/pkgs/applications/networking/ids/snort/default.nix
@@ -14,6 +14,6 @@ stdenv.mkDerivation rec {
meta = {
description = "Snort is an open source network intrusion prevention and detection system (IDS/IPS)";
homepage = http://www.snort.org;
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
};
}
diff --git a/pkgs/applications/networking/instant-messengers/bitlbee/default.nix b/pkgs/applications/networking/instant-messengers/bitlbee/default.nix
index 457d3441b3ab77fa238ced1713814cc8046d62da..ec614bf4b8c1e5b17905f6f16e811cb431992af0 100644
--- a/pkgs/applications/networking/instant-messengers/bitlbee/default.nix
+++ b/pkgs/applications/networking/instant-messengers/bitlbee/default.nix
@@ -31,7 +31,7 @@ stdenv.mkDerivation rec {
'';
homepage = http://www.bitlbee.org/;
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
maintainers = [ stdenv.lib.maintainers.ludo ];
platforms = stdenv.lib.platforms.gnu; # arbitrary choice
diff --git a/pkgs/applications/networking/instant-messengers/centerim/default.nix b/pkgs/applications/networking/instant-messengers/centerim/default.nix
index d746d54974afe8ed0d27b96fb3ee81de1cc7dba2..54e2d813be8acb9406ebde89a7e30942c7129e13 100644
--- a/pkgs/applications/networking/instant-messengers/centerim/default.nix
+++ b/pkgs/applications/networking/instant-messengers/centerim/default.nix
@@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://www.centerim.org/;
description = "Fork of CenterICQ, a curses instant messaging program";
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
platforms = with stdenv.lib.platforms; linux;
};
}
diff --git a/pkgs/applications/networking/instant-messengers/gtmess/default.nix b/pkgs/applications/networking/instant-messengers/gtmess/default.nix
index 68973b4e47f54a586ed3b22aa2f7ded2532a7680..64021c93bc83ca615b2319abb7cccb68bb69b202 100644
--- a/pkgs/applications/networking/instant-messengers/gtmess/default.nix
+++ b/pkgs/applications/networking/instant-messengers/gtmess/default.nix
@@ -15,7 +15,7 @@ stdenv.mkDerivation {
meta = {
description = "Console MSN Messenger client for Linux and other unix systems";
homepage = http://gtmess.sourceforge.net/;
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
platforms = with stdenv.lib.platforms; linux;
};
}
diff --git a/pkgs/applications/networking/instant-messengers/kadu/default.nix b/pkgs/applications/networking/instant-messengers/kadu/default.nix
index 4e176ec56dcba40129cf2f552da4b07e0df87afa..be24878259fbf583e6a4fe0d1ead7726a6c6abd3 100644
--- a/pkgs/applications/networking/instant-messengers/kadu/default.nix
+++ b/pkgs/applications/networking/instant-messengers/kadu/default.nix
@@ -34,7 +34,7 @@ stdenv.mkDerivation {
meta = {
description = "An instant-messenger client for the gadu-gadu network (most popular polish IM network)";
homepage = http://www.kadu.net/w/English:Main_Page;
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
platforms = stdenv.lib.platforms.linux;
maintainers = [ stdenv.lib.maintainers.piotr ];
};
diff --git a/pkgs/applications/networking/instant-messengers/linphone/default.nix b/pkgs/applications/networking/instant-messengers/linphone/default.nix
index c3af0ad0e3406b7cc145455c1b2ae3b0ed5e0452..be12c7e8e2ae206ac105473390046adc91536283 100644
--- a/pkgs/applications/networking/instant-messengers/linphone/default.nix
+++ b/pkgs/applications/networking/instant-messengers/linphone/default.nix
@@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://www.linphone.org/;
description = "Open Source video SIP softphone";
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
platforms = stdenv.lib.platforms.gnu;
};
}
diff --git a/pkgs/applications/networking/instant-messengers/pidgin-plugins/otr/default.nix b/pkgs/applications/networking/instant-messengers/pidgin-plugins/otr/default.nix
index cf42dd5700ba863efaf9bf7151fd80adb4d0dd0d..7cbc38ea0dc0d60622a30d2dc91e52ba38859b2b 100644
--- a/pkgs/applications/networking/instant-messengers/pidgin-plugins/otr/default.nix
+++ b/pkgs/applications/networking/instant-messengers/pidgin-plugins/otr/default.nix
@@ -14,6 +14,6 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://www.cypherpunks.ca/otr;
description = "Plugin for Pidgin 2.x which implements OTR Messaging";
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
};
}
diff --git a/pkgs/applications/networking/instant-messengers/pidgin-plugins/skype4pidgin/default.nix b/pkgs/applications/networking/instant-messengers/pidgin-plugins/skype4pidgin/default.nix
index 544aa06877ad275cb16a7aa0c2f32a0655be0719..6402e7154de4a328b637fb61795830af298ff5e5 100644
--- a/pkgs/applications/networking/instant-messengers/pidgin-plugins/skype4pidgin/default.nix
+++ b/pkgs/applications/networking/instant-messengers/pidgin-plugins/skype4pidgin/default.nix
@@ -33,7 +33,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = https://github.com/novas0x2a/skype4pidgin;
- license = "GPLv3+";
+ license = stdenv.lib.licenses.gpl3Plus;
description = "Plugin to use a running skype account through pidgin";
};
}
diff --git a/pkgs/applications/networking/instant-messengers/pidgin-plugins/tox-prpl/default.nix b/pkgs/applications/networking/instant-messengers/pidgin-plugins/tox-prpl/default.nix
index b87db662f45e2b9e12fbc4a334fa6f3cb755d91e..348802fe16eb7a99d91d3ab36c9af20d0d89526d 100644
--- a/pkgs/applications/networking/instant-messengers/pidgin-plugins/tox-prpl/default.nix
+++ b/pkgs/applications/networking/instant-messengers/pidgin-plugins/tox-prpl/default.nix
@@ -24,6 +24,6 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://tox.dhs.org/;
description = "Tox plugin for Pidgin / libpurple";
- license = "GPLv3";
+ license = stdenv.lib.licenses.gpl3;
};
}
diff --git a/pkgs/applications/networking/instant-messengers/sflphone/default.nix b/pkgs/applications/networking/instant-messengers/sflphone/default.nix
index a31a682abf88978e651f5ac1be0c4765edd79a37..fb14782ef9f61004615ee4d9c2876b70be9846a7 100644
--- a/pkgs/applications/networking/instant-messengers/sflphone/default.nix
+++ b/pkgs/applications/networking/instant-messengers/sflphone/default.nix
@@ -14,7 +14,7 @@ let
meta = {
homepage = http://sflphone.org/;
- license = "GPLv3+";
+ license = stdenv.lib.licenses.gpl3Plus;
description = "Free software enterprise-class softphone for GNU/Linux";
platforms = with stdenv.lib.platforms; linux;
maintainers = with stdenv.lib.maintainers; [viric];
diff --git a/pkgs/applications/networking/instant-messengers/silc-client/default.nix b/pkgs/applications/networking/instant-messengers/silc-client/default.nix
index a4035604168f3e4b07d0e45ad273f8c148ad5d32..4ce098e6ca46531b63134e6589fd2f85028734eb 100644
--- a/pkgs/applications/networking/instant-messengers/silc-client/default.nix
+++ b/pkgs/applications/networking/instant-messengers/silc-client/default.nix
@@ -30,7 +30,7 @@ stdenv.mkDerivation {
meta = {
homepage = http://silcnet.org/;
description = "Secure Internet Live Conferencing server";
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
maintainers = with stdenv.lib.maintainers; [viric];
platforms = with stdenv.lib.platforms; linux;
};
diff --git a/pkgs/applications/networking/instant-messengers/skype-call-recorder/default.nix b/pkgs/applications/networking/instant-messengers/skype-call-recorder/default.nix
index 2fa82e1251bc783e05d7bce4735740852c83ebe1..713aa8f03744c6238dc365e1c8d3fd5ed94004b2 100644
--- a/pkgs/applications/networking/instant-messengers/skype-call-recorder/default.nix
+++ b/pkgs/applications/networking/instant-messengers/skype-call-recorder/default.nix
@@ -20,7 +20,7 @@ stdenv.mkDerivation {
meta = {
homepage = http://atdot.ch/scr/;
description = "Open source tool to record your Skype calls on Linux";
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
platforms = with stdenv.lib.platforms; linux;
maintainers = with stdenv.lib.maintainers; [viric];
};
diff --git a/pkgs/applications/networking/instant-messengers/skype/default.nix b/pkgs/applications/networking/instant-messengers/skype/default.nix
index f1ac10639344346bade60c4c424d6e23a8a4f9bf..32755306cc76f5c01164417b55acf7056675b76b 100644
--- a/pkgs/applications/networking/instant-messengers/skype/default.nix
+++ b/pkgs/applications/networking/instant-messengers/skype/default.nix
@@ -66,6 +66,6 @@ stdenv.mkDerivation rec {
meta = {
description = "A proprietary voice-over-IP (VoIP) client";
homepage = http://www.skype.com/;
- license = "unfree";
+ license = stdenv.lib.licenses.unfree;
};
}
diff --git a/pkgs/applications/networking/instant-messengers/telegram-cli/default.nix b/pkgs/applications/networking/instant-messengers/telegram-cli/default.nix
index 51639f6050dcde4f176d5e039978aa13a99e8813..b0302ba8e0bf2014189dd7579423d972a6b65bad 100644
--- a/pkgs/applications/networking/instant-messengers/telegram-cli/default.nix
+++ b/pkgs/applications/networking/instant-messengers/telegram-cli/default.nix
@@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
meta = {
description = "Command-line interface for Telegram messenger";
homepage = https://telegram.org/;
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
platforms = stdenv.lib.platforms.linux;
};
}
diff --git a/pkgs/applications/networking/instant-messengers/toxic/default.nix b/pkgs/applications/networking/instant-messengers/toxic/default.nix
index ded2bbf92500e5330e26529a6976d51cc776fe99..b3e1ff74cfa5c2bb8c748556c542d721fb6b93bb 100644
--- a/pkgs/applications/networking/instant-messengers/toxic/default.nix
+++ b/pkgs/applications/networking/instant-messengers/toxic/default.nix
@@ -1,9 +1,9 @@
{ stdenv, fetchurl, autoconf, libtool, automake, libsodium, ncurses
-, libtoxcore, pkgconfig }:
+, libtoxcore, openal, libvpx, freealut, libconfig, pkgconfig }:
let
- version = "b308e19e6b";
- date = "20140224";
+ version = "7566aa9d26";
+ date = "20140728";
in
stdenv.mkDerivation rec {
name = "toxic-${date}-${version}";
@@ -11,29 +11,20 @@ stdenv.mkDerivation rec {
src = fetchurl {
url = "https://github.com/Tox/toxic/tarball/${version}";
name = "${name}.tar.gz";
- sha256 = "0fgkvnpy3dl2h378h796z9md0zg05b3174fgx17b919av6j9x4ma";
+ sha256 = "13vns0qc0hxhab6rpz0irnzgv42mp3v1nrbwm90iymhf4xkc9nwa";
};
- preConfigure = ''
- autoreconf -i
- '';
+ makeFlags = [ "-Cbuild" "VERSION=${version}" ];
+ installFlags = [ "PREFIX=$(out)" ];
- NIX_LDFLAGS = "-lsodium";
-
- configureFlags = [
- "--with-libtoxcore-headers=${libtoxcore}/include"
- "--with-libtoxcore-libs=${libtoxcore}/lib"
- "--with-libsodium-headers=${libtoxcore}/include"
- "--with-libsodium-libs=${libtoxcore}/lib"
+ buildInputs = [
+ autoconf libtool automake libtoxcore libsodium ncurses openal libvpx
+ freealut libconfig pkgconfig
];
- buildInputs = [ autoconf libtool automake libtoxcore libsodium ncurses pkgconfig ];
-
- doCheck = true;
-
meta = {
description = "Reference CLI for Tox";
- license = "GPLv3+";
+ license = stdenv.lib.licenses.gpl3Plus;
maintainers = with stdenv.lib.maintainers; [ viric ];
platforms = stdenv.lib.platforms.all;
};
diff --git a/pkgs/applications/networking/instant-messengers/utox/default.nix b/pkgs/applications/networking/instant-messengers/utox/default.nix
new file mode 100644
index 0000000000000000000000000000000000000000..823df5c27a28f52c3d6bc5e3d3fd300575324519
--- /dev/null
+++ b/pkgs/applications/networking/instant-messengers/utox/default.nix
@@ -0,0 +1,28 @@
+{ stdenv, fetchFromGitHub, pkgconfig, libtoxcore, dbus, libvpx, libX11, openal, freetype, libv4l
+, libXrender, fontconfig, libXext, libXft }:
+
+
+stdenv.mkDerivation rec {
+ name = "utox-dev";
+
+ src = fetchFromGitHub {
+ owner = "notsecure";
+ repo = "uTox";
+ rev = "d70f9bfb4ff8a156ec35803da6226b0ac8c47961";
+ sha256 = "10cvsg0phv0jsrdl3zkk339c4bzn3xc82q1x90h6gcnrbg4vzmp0";
+ };
+
+ buildInputs = [ pkgconfig libtoxcore dbus libvpx libX11 openal freetype
+ libv4l libXrender fontconfig libXext libXft ];
+
+ doCheck = false;
+
+ makeFlags = "DESTDIR=$(out)";
+
+ meta = with stdenv.lib; {
+ description = "Lightweight Tox client";
+ license = licenses.gpl3;
+ maintainers = with stdenv.lib.maintainers; [ iElectric ];
+ platforms = stdenv.lib.platforms.all;
+ };
+}
diff --git a/pkgs/applications/networking/iptraf/default.nix b/pkgs/applications/networking/iptraf/default.nix
index f0a6dbbe7e77dd0e7e6f775601336e0e33f15900..db1f2011f113ebc8f84aa6f6e1adf6fb0509bada 100644
--- a/pkgs/applications/networking/iptraf/default.nix
+++ b/pkgs/applications/networking/iptraf/default.nix
@@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://iptraf.seul.org/;
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
description = "Console-based network statistics utility for Linux";
};
}
diff --git a/pkgs/applications/networking/irc/ii/default.nix b/pkgs/applications/networking/irc/ii/default.nix
index 537897c13b4a7c1df8a5da825a1280f4f41b867c..224f639cc150242d5479b585aa643f6ff4a3a89e 100644
--- a/pkgs/applications/networking/irc/ii/default.nix
+++ b/pkgs/applications/networking/irc/ii/default.nix
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://tools.suckless.org/ii/;
- license = "MIT";
+ license = stdenv.lib.licenses.mit;
description = "Irc it, simple FIFO based irc client";
};
}
diff --git a/pkgs/applications/networking/irc/irssi/fish/default.nix b/pkgs/applications/networking/irc/irssi/fish/default.nix
index 98d5afa0ba9f0f98ce933fa0d3be48bf17784b6e..eb21f34838e7a429c6aff211f161209f022a354e 100644
--- a/pkgs/applications/networking/irc/irssi/fish/default.nix
+++ b/pkgs/applications/networking/irc/irssi/fish/default.nix
@@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = https://github.com/falsovsky/FiSH-irssi;
- license = "unfree"; # I can't find any mention of license
+ license = stdenv.lib.licenses.unfree; # I can't find any mention of license
maintainers = with stdenv.lib.maintainers; [viric];
};
}
diff --git a/pkgs/applications/networking/irc/irssi/otr/default.nix b/pkgs/applications/networking/irc/irssi/otr/default.nix
index 988320dd61fc7ef009201d09770edcba0baea8b7..4841aa8070e0a26525c2c9182f6861497a970240 100644
--- a/pkgs/applications/networking/irc/irssi/otr/default.nix
+++ b/pkgs/applications/networking/irc/irssi/otr/default.nix
@@ -25,6 +25,6 @@ stdenv.mkDerivation rec {
meta = {
homepage = https://github.com/cryptodotis/irssi-otr;
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
};
}
diff --git a/pkgs/applications/networking/irc/quassel/default.nix b/pkgs/applications/networking/irc/quassel/default.nix
index 2a5be53619d7887bb92af28e60aea8eff7e5c33d..ba3d7b8c368aeb2d6933a9eb4d6e3364bdbdbe3c 100644
--- a/pkgs/applications/networking/irc/quassel/default.nix
+++ b/pkgs/applications/networking/irc/quassel/default.nix
@@ -40,10 +40,15 @@ in with stdenv; mkDerivation rec {
++ edf ssl "WITH_OPENSSL"
++ edf previews "WITH_WEBKIT" ;
- preFixup = ''
- wrapProgram "$out/bin/quasselclient" \
- --prefix GIO_EXTRA_MODULES : "${dconf}/lib/gio/modules"
- '';
+ preFixup =
+ lib.optionalString client ''
+ wrapProgram "$out/bin/quasselclient" \
+ --prefix GIO_EXTRA_MODULES : "${dconf}/lib/gio/modules"
+ '' +
+ lib.optionalString monolithic ''
+ wrapProgram "$out/bin/quassel" \
+ --prefix GIO_EXTRA_MODULES : "${dconf}/lib/gio/modules"
+ '';
meta = with stdenv.lib; {
homepage = http://quassel-irc.org/;
@@ -55,10 +60,9 @@ in with stdenv; mkDerivation rec {
combination of screen and a text-based IRC client such
as WeeChat, but graphical (based on Qt4/KDE4).
'';
- license = "GPLv3";
+ license = stdenv.lib.licenses.gpl3;
maintainers = [ maintainers.phreedom ];
repositories.git = https://github.com/quassel/quassel.git;
inherit (qt4.meta) platforms;
};
}
-
diff --git a/pkgs/applications/networking/mailreaders/mutt/default.nix b/pkgs/applications/networking/mailreaders/mutt/default.nix
index dbd5a41afd342700a1485d5277ec0289ca8694fe..9c397f27c46f65d6bc86b9644852b456b2e50598 100644
--- a/pkgs/applications/networking/mailreaders/mutt/default.nix
+++ b/pkgs/applications/networking/mailreaders/mutt/default.nix
@@ -55,9 +55,8 @@ stdenv.mkDerivation rec {
meta = with stdenv.lib; {
description = "A small but very powerful text-based mail client";
homepage = http://www.mutt.org;
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
platforms = platforms.unix;
maintainers = with maintainers; [ the-kenny ];
};
}
-
diff --git a/pkgs/applications/networking/mailreaders/thunderbird-bin/default.nix b/pkgs/applications/networking/mailreaders/thunderbird-bin/default.nix
index 13facc90690134b899f08cbd7e7a5a3663a0edf5..15acd5af8dfd4633e6c8f43682da0e84b687e001 100644
--- a/pkgs/applications/networking/mailreaders/thunderbird-bin/default.nix
+++ b/pkgs/applications/networking/mailreaders/thunderbird-bin/default.nix
@@ -38,118 +38,118 @@
}:
let
- version = "24.6.0";
+ version = "31.0";
sources = [
- { locale = "id"; arch = "linux-i686"; sha256 = "e19f6f5b8f19178350ec68386afd2ab7e5900b8c1fdb7bf81928fedcfcea5cbe"; }
- { locale = "id"; arch = "linux-x86_64"; sha256 = "ece7445451150b2776f5debc818e288b9037dac1f2da9c7f7db584b6d2b73d34"; }
- { locale = "he"; arch = "linux-i686"; sha256 = "0ff30ffc7ffe087056b0e72d66d2bc264c1060e3abb65e0c4d53d976855f436f"; }
- { locale = "he"; arch = "linux-x86_64"; sha256 = "dd41d433644f7790ace1f246ec6703c060456260716710fc4318ca834ecd758b"; }
- { locale = "el"; arch = "linux-i686"; sha256 = "eb6d53c00a6cd912279b56c5322d65b94fdd2a021c9ea2c854f664e476ae89e2"; }
- { locale = "el"; arch = "linux-x86_64"; sha256 = "b0fdf2dc2de7ba5296f69694908aef4954b24b4c3092bddbec8995bf838bb817"; }
- { locale = "tr"; arch = "linux-i686"; sha256 = "71f4f7738540445dc64399368bb63bf48ede79f055d6647ba9ed4d274040d623"; }
- { locale = "tr"; arch = "linux-x86_64"; sha256 = "2be714b598bf8f1a3c6c9a13141d370c4d29bfec3e4053eb6f1c8a6a7988a96b"; }
- { locale = "ast"; arch = "linux-i686"; sha256 = "8b2c3b83f4f88e33ac31b07dfb64e83fd1b2cce9ad877c8bb5715a0e6299ce6f"; }
- { locale = "ast"; arch = "linux-x86_64"; sha256 = "93cd2c5c6c2ac05af3bb55a723bf3f02234d55064b5ea7cba6289bd07cca7647"; }
- { locale = "nl"; arch = "linux-i686"; sha256 = "2f11b85055fa21b4e2677b92fef34a769ed56bdbd877fefb86599edb5dd39932"; }
- { locale = "nl"; arch = "linux-x86_64"; sha256 = "d47057633c0ec5e785a723c45c5b8b0168e3d3fabe4aaedb4ca1adbff29a4dcd"; }
- { locale = "bn-BD"; arch = "linux-i686"; sha256 = "902274548b7308e75c465f71912a7d1e5539e92420ffa17c80a2ac20d02d8630"; }
- { locale = "bn-BD"; arch = "linux-x86_64"; sha256 = "044494d6bfc07b9cbeaa325dab3c1f0c5e554a05f1a050d960c39fbe093d9482"; }
- { locale = "eu"; arch = "linux-i686"; sha256 = "e453a06a64c35ed81e661c67fbd4241a7c5494b1f3d2bf5ace7543798feb338c"; }
- { locale = "eu"; arch = "linux-x86_64"; sha256 = "e8006f0e89153424c809de41ec1a714b91011b5a2a9601c1893a6ff30dcbd2ac"; }
- { locale = "fr"; arch = "linux-i686"; sha256 = "fed414783f8e9bba5be6d4cb90ef04f274aabab34f3b4351a329d5c5ae7ae8f0"; }
- { locale = "fr"; arch = "linux-x86_64"; sha256 = "e8f0203bf90bc30c89380c417921139f7b92ef1d38b3d95d292acee3be4e93c3"; }
- { locale = "br"; arch = "linux-i686"; sha256 = "0948d002df401b9aaedbf8e3277ce312edeb635baa57b1bdf5de87cc13dd36cb"; }
- { locale = "br"; arch = "linux-x86_64"; sha256 = "733e09671f00c693e13a726fa597b4705822e693ddce8a0494c57fde1de3cb56"; }
- { locale = "pa-IN"; arch = "linux-i686"; sha256 = "c160c17e4b9b0e3d579a01b5973d142c711d4f87b03fd542d073d816ced9a9c9"; }
- { locale = "pa-IN"; arch = "linux-x86_64"; sha256 = "0c281e6430a233aca5c6130e907e08c7d05aed8851214063546aff5a5df82232"; }
- { locale = "gd"; arch = "linux-i686"; sha256 = "5d85eb78f01e1d52e733d4abf8d33281ec2c4adf9a9c65f50c6d6e2b6acf3d1d"; }
- { locale = "gd"; arch = "linux-x86_64"; sha256 = "a7bb71bb08ccfc01f8e91b47b6ee0ac4592976e964454304da493e0582d262d1"; }
- { locale = "bg"; arch = "linux-i686"; sha256 = "a63e060eac9efb27b4166e05ff6a035afd51cd29d45ddf69e5226e08441ac53c"; }
- { locale = "bg"; arch = "linux-x86_64"; sha256 = "8a5f45352e180e984c7f1bc37f0e7602cbc6085a3dcdcac2d74f493941fd9f0e"; }
- { locale = "sv-SE"; arch = "linux-i686"; sha256 = "ef70e1ff3ff3ce2fd9ecbe62ed010c06e63b410b843cdc3aa3c93fda2bf56708"; }
- { locale = "sv-SE"; arch = "linux-x86_64"; sha256 = "af33cba52556057abf17df0e92c11ecbf39382bbf92c66b137113e5503ae170b"; }
- { locale = "ja"; arch = "linux-i686"; sha256 = "f87eac6641ebccf018c76275adcba03976b9c62b9fa51533ec67ab0d2a5a91b9"; }
- { locale = "ja"; arch = "linux-x86_64"; sha256 = "009b53f10bd785a799026dab028fbb7fa46c154569eba98db2673af12f6c19c4"; }
- { locale = "pt-BR"; arch = "linux-i686"; sha256 = "ae2243346546cc2c768a9c24fc296013a45459637ab65477537f9d08d5ae193c"; }
- { locale = "pt-BR"; arch = "linux-x86_64"; sha256 = "5cb2af1ec854e12b91bdf7f2fe88b56bfb45bf7144cf5cc3f0e307259d767a43"; }
- { locale = "is"; arch = "linux-i686"; sha256 = "bf3a2e4efd86b1e73ac38ef3dc880ce2cee3102d2844b17ebf31aa6528040a92"; }
- { locale = "is"; arch = "linux-x86_64"; sha256 = "d36f8d321d2952310dcb19a288f36f6496ca24e7f49fb483882c270c1c96571d"; }
- { locale = "es-AR"; arch = "linux-i686"; sha256 = "e05f63d1f978029169a91719551b6e399be0e0d37310921168904d188e41f50d"; }
- { locale = "es-AR"; arch = "linux-x86_64"; sha256 = "b8025a7a724a0d98c4f706e7ce59aae8c0f7bcd0082733ce6bee73a1d243feef"; }
- { locale = "nn-NO"; arch = "linux-i686"; sha256 = "26ded9a3ebea58bcf80ca47759d4fdb86fe91aea8dcf56afdbaf7a32d548ee66"; }
- { locale = "nn-NO"; arch = "linux-x86_64"; sha256 = "fd8321d5d6adaae042651d911df6ef587afda19ee82bdcfce98814144282b54d"; }
- { locale = "sr"; arch = "linux-i686"; sha256 = "94b94517072901f34ab28b6cf3a2fd8852867f147ab4b47f34f7d9ae16fbd603"; }
- { locale = "sr"; arch = "linux-x86_64"; sha256 = "e38f493ea1b8c0b183bad2f2627eb166e75e875a62b33704f50f8f831fd552ec"; }
- { locale = "si"; arch = "linux-i686"; sha256 = "319ae8256ecf3d7623195e474040fffffff230cd612571872a38b52b608c0507"; }
- { locale = "si"; arch = "linux-x86_64"; sha256 = "f776b8a9efad41f5c2f8770452a0bd053a3ba9ed4b74da3e3f24214c69e9779e"; }
- { locale = "ro"; arch = "linux-i686"; sha256 = "f6aea954d3ba2334411a7ce9e7e1da926b0039935c5db3a5480f0fbda583b849"; }
- { locale = "ro"; arch = "linux-x86_64"; sha256 = "9fef811764441b2b16e408808f4608e17cd21175cf45774162b3bce8b8612491"; }
- { locale = "it"; arch = "linux-i686"; sha256 = "71df4de89a1eff632339dbaf48ce41182f7a20f7e55a223f6816ef86d3465443"; }
- { locale = "it"; arch = "linux-x86_64"; sha256 = "076332c97a5c854b2313bd9f2138a6660d8e04fbddc3f8beb89acf071efd4c86"; }
- { locale = "pl"; arch = "linux-i686"; sha256 = "1a45f7d1d8817f6c724dff556886edc3f2d0ee62ff45bea8d6b7ef63f7f92928"; }
- { locale = "pl"; arch = "linux-x86_64"; sha256 = "8aa25320126052c9ebc3496e8731224e30fbd45ee2679f4d87f7f2050a01c312"; }
- { locale = "sk"; arch = "linux-i686"; sha256 = "83a31a94eeb95e28612eeb1e696ed387b6793da350efda439de11833e0ea1173"; }
- { locale = "sk"; arch = "linux-x86_64"; sha256 = "8c1647f8bfb210f7da8aa164777ef412bf3d4459ce53c95ee2211b4b5df440dc"; }
- { locale = "vi"; arch = "linux-i686"; sha256 = "e5bb99de119fd6496674fb9cc8432f146e684afc652dec2861108d1ef20b49d7"; }
- { locale = "vi"; arch = "linux-x86_64"; sha256 = "f35e62031154a32da68ea3d6960da8807f0de7ade7071526fafd6ace48c88976"; }
- { locale = "rm"; arch = "linux-i686"; sha256 = "0826595dddc981b64d4f1a59cd71411c34ccd0aeac182925709abeedff8461fc"; }
- { locale = "rm"; arch = "linux-x86_64"; sha256 = "b5b8d30251fc482861518e1c86001aa5eca6b53a65e14a8c6ff9e61eaf651044"; }
- { locale = "ar"; arch = "linux-i686"; sha256 = "a9b2138cacc983142353ec09a5c4226fc731501da4c0200cc86026e6b28ca10c"; }
- { locale = "ar"; arch = "linux-x86_64"; sha256 = "6c9a2ce8a8d3b4815475827caf89a3fee8371c422aa6c4984bb03f56728b682c"; }
- { locale = "es-ES"; arch = "linux-i686"; sha256 = "813260cf5ab06e55c563e015e0172ce0192ccdd894a352ef6d4f439252032619"; }
- { locale = "es-ES"; arch = "linux-x86_64"; sha256 = "c879fe62db6952f91c51ec7c172bc67d5351f55e99ab6df5cdd8639206f3444a"; }
- { locale = "fi"; arch = "linux-i686"; sha256 = "33888c19b7e5e57155748d7372ad2b0e61f522ee96913f8846c754c3361fcb4a"; }
- { locale = "fi"; arch = "linux-x86_64"; sha256 = "d5487588cf07cbd2b02b1c566b6515d087cf8fe9d528890b1dd5a0de53ab1d8c"; }
- { locale = "hu"; arch = "linux-i686"; sha256 = "72b3a36269de70bd627589bad817e7702a4c83fff9b460e4f787486fa4bf15c7"; }
- { locale = "hu"; arch = "linux-x86_64"; sha256 = "d458ed4b62f65ce7c3787930549cbee42842ae87a846e5d1565c1881b3bc17e8"; }
- { locale = "zh-CN"; arch = "linux-i686"; sha256 = "3155a71e847020b2806f6b31acbaa702ccf20f8bd805c2aedb0c9c415f75b88f"; }
- { locale = "zh-CN"; arch = "linux-x86_64"; sha256 = "b56beb864d247685cd9ba6820e5a8a143be28ff95440e38670c8963d2c769738"; }
- { locale = "uk"; arch = "linux-i686"; sha256 = "74b7059580a4f389278b1059d80308101ffcfd0a738c6d614e56560ce116db34"; }
- { locale = "uk"; arch = "linux-x86_64"; sha256 = "a351421c230f6629de0125a30767ff10d541264f6249f6fa2568eae76189398f"; }
- { locale = "ko"; arch = "linux-i686"; sha256 = "d26ba336a555276c36f9a003df9bc3e0df1c40dd4da7062d1cd8b3a6cba6d52c"; }
- { locale = "ko"; arch = "linux-x86_64"; sha256 = "078e5878f823b2d19568af8bda095e6ab46097a680b209bae9242d7658377abf"; }
- { locale = "cs"; arch = "linux-i686"; sha256 = "c9aaab25dabdba0708459a82882b926155b475314d72463633af10c27d9e5dfb"; }
- { locale = "cs"; arch = "linux-x86_64"; sha256 = "9a9fc61875f0427c26107b96ee3a6f7d71717c0d4aa6e41cc7b1b56bff2131e7"; }
- { locale = "be"; arch = "linux-i686"; sha256 = "afc862a2a1054f08cffa0ec4facb2e9098fb042f7e4dab85c2ace7f30a384426"; }
- { locale = "be"; arch = "linux-x86_64"; sha256 = "50353005857df556840fab0b18e8784dc18cbcdc5c45f4fc1f68f6b78b58048c"; }
- { locale = "ru"; arch = "linux-i686"; sha256 = "4876fcda18fd01b51f392a56085ebfcb97cefd69355666f42d58ffe53b9eb8e9"; }
- { locale = "ru"; arch = "linux-x86_64"; sha256 = "ef90a31aa408c6c86f3103d7bc82e3e8b5ac7bc9956d431ef46e1f44156b7dbf"; }
- { locale = "ta-LK"; arch = "linux-i686"; sha256 = "ee4a961e76e63a79d08118e2355e37b1b2a1e0260613532ac6dc7c9a9e86caf1"; }
- { locale = "ta-LK"; arch = "linux-x86_64"; sha256 = "9a1233c0ee7a72f8b1c071a6cd507d870d34bd64c71f7f960c00cf2e840ea5b1"; }
- { locale = "zh-TW"; arch = "linux-i686"; sha256 = "00bf471763ca98d7c7e0243f5bbc75230b6cf8cea9c5dab17464c47544d102de"; }
- { locale = "zh-TW"; arch = "linux-x86_64"; sha256 = "61e474bd0c930b9d6bcc553a87c07e415e1fe037dd033a6a97f9137d4fc73f49"; }
- { locale = "de"; arch = "linux-i686"; sha256 = "e93520901aa59938e1c51c9943225dded88c668a91da6660de9f41714114ac8b"; }
- { locale = "de"; arch = "linux-x86_64"; sha256 = "008156ddb73f4eb91d801d8bc35685e517328b5e5f13a4ed39873df471d01c67"; }
- { locale = "nb-NO"; arch = "linux-i686"; sha256 = "20b3b10e12238238737fa0da3dce5e2fdff1161594b415c5872dd7416001482b"; }
- { locale = "nb-NO"; arch = "linux-x86_64"; sha256 = "79f854469ac1a6fb0768934dc20ebc511a01904c71f321ed31ebe400ab88f4d8"; }
- { locale = "fy-NL"; arch = "linux-i686"; sha256 = "61cec7fef6e75ecd7d459e973b258c5b62af0dbfd175b7000484594e63ead2e4"; }
- { locale = "fy-NL"; arch = "linux-x86_64"; sha256 = "83b3761bfd949e3890c7006ba9610e858fab25815cd6e2f3f293ca707086a78c"; }
- { locale = "sq"; arch = "linux-i686"; sha256 = "f36321189ed80130b9e4a3a6e387531c48745f4c109f35afe928cf2d44e1b424"; }
- { locale = "sq"; arch = "linux-x86_64"; sha256 = "81da71b2ce832788213ed60f801fd79e61205a98c44e9082a35f2195af314de8"; }
- { locale = "ga-IE"; arch = "linux-i686"; sha256 = "b759d93d78964eb8b9ce5aaad37d652fa425cfb5d6049f58a31c2492e3aa475d"; }
- { locale = "ga-IE"; arch = "linux-x86_64"; sha256 = "62b32a8a4e7455c42bbf8cc5029919a64ca2ff61e06f535dd628a8dd612a15d9"; }
- { locale = "da"; arch = "linux-i686"; sha256 = "4ad6ede882e973b37627105812619d2e8c804d50d496d96f68554bf75ca093fe"; }
- { locale = "da"; arch = "linux-x86_64"; sha256 = "9fd6ce0edef1a8c8eb7d811afa39600a2c946f9ed87610a9e98a971d4cf31b08"; }
- { locale = "hr"; arch = "linux-i686"; sha256 = "35254ef736865d1a7c368e62c9cba68fa64b7f017aca4d9569aeb18b5f559717"; }
- { locale = "hr"; arch = "linux-x86_64"; sha256 = "6ff8a5b4ebfb9217b37afdfc4d5cab01f1ce66387010d2105a51bed486eea52c"; }
- { locale = "ca"; arch = "linux-i686"; sha256 = "eb4af3ff107f6827d0288bd68486b8eef174c5dc6e9b5313099d99b2e695db0d"; }
- { locale = "ca"; arch = "linux-x86_64"; sha256 = "80a6bf800a53af0cc9445c632546ce7cefcf5bd819e6e5e35e662330d58d757c"; }
- { locale = "en-US"; arch = "linux-i686"; sha256 = "ba35f578095f79582341e988ce7c5e07f489833f7a309756c80caf4f56367987"; }
- { locale = "en-US"; arch = "linux-x86_64"; sha256 = "09c193e865e90b6d2c547c17d10add7d43e8b89b630a8a490323d4ed391c924d"; }
- { locale = "pt-PT"; arch = "linux-i686"; sha256 = "57610296c564291a8432fdb9215bcfbab6f09792c47e5606c1619bb203c7f5de"; }
- { locale = "pt-PT"; arch = "linux-x86_64"; sha256 = "c702acf69957ffd1c4774f42d4f28dc239a4c5bcf6e003c236952167bf9e7e9f"; }
- { locale = "gl"; arch = "linux-i686"; sha256 = "56ae2d38af2988791163e6b118c781d55e2c545097aa5afccc72998705312888"; }
- { locale = "gl"; arch = "linux-x86_64"; sha256 = "c5386f149831aa2f48b65391f31f8f2e0a9c3b7a8bcaae67420a5819e80315ec"; }
- { locale = "lt"; arch = "linux-i686"; sha256 = "8409401c0b87be071d081c03eb34e3338cb62e80669045f5d268f8da60d96bce"; }
- { locale = "lt"; arch = "linux-x86_64"; sha256 = "4f93e9b0688e30586b3d372944ae5579f7249220733d6045e6bca3830e7f121a"; }
- { locale = "en-GB"; arch = "linux-i686"; sha256 = "ae1608b9e15862f82d15c5acbcd9f65775efc4368588bc685ebff523ff93e2d6"; }
- { locale = "en-GB"; arch = "linux-x86_64"; sha256 = "2466f020209de610f429315e0b090b43cf42c9ce540c6bc51e7ad11f5a3449f5"; }
- { locale = "sl"; arch = "linux-i686"; sha256 = "76cbcf31388cbe72ebbf3fa3be66a0cfe20cd572febf062f3a58a9c50313aa03"; }
- { locale = "sl"; arch = "linux-x86_64"; sha256 = "e4aa9dd8bb21f3d79ce5f9cfc907fc8a355fef349dcdec30403d534bf3cfbdf6"; }
- { locale = "et"; arch = "linux-i686"; sha256 = "06561fa96d5166bfbe8eb492ebc08b3d2a768a8a7a251b357dec89ad33f3825e"; }
- { locale = "et"; arch = "linux-x86_64"; sha256 = "85e663261cc6722c25dd36e1c0a15b7a82a3a6aaca54191effe8ea09ccb8c43e"; }
- { locale = "hy-AM"; arch = "linux-i686"; sha256 = "d80f116d39e48b42a767fbda5b6e765be4bc3d210cf95d80bb014606785be3e6"; }
- { locale = "hy-AM"; arch = "linux-x86_64"; sha256 = "c2e124736d63581a3034e60fe3d40bfef9458a712853ab5c8c5d391a9d3af6a9"; }
+ { locale = "nn-NO"; arch = "linux-i686"; sha256 = "a1e9954236de1d0581342fbb894b721528bc51a208d3bbedd4d8defbcc1cb50f"; }
+ { locale = "nn-NO"; arch = "linux-x86_64"; sha256 = "0fe9c22ad8cf575813ae8e476d985a3b951174df5beda67fd98e261f831252aa"; }
+ { locale = "lt"; arch = "linux-i686"; sha256 = "35fb5c44bc3ed25beec4f6172c44f75426579f27bd2302361870615bb1f62194"; }
+ { locale = "lt"; arch = "linux-x86_64"; sha256 = "3b04ffd5e1640c0138e5dab63a1059bd0342fff9f44547c6b34fbe6da810f911"; }
+ { locale = "ta-LK"; arch = "linux-i686"; sha256 = "2e8a1b96820216fda11c234d80a74d7326b49d7ac3f595f646aa10dccde61940"; }
+ { locale = "ta-LK"; arch = "linux-x86_64"; sha256 = "006f25951b4ac90b8d8d32491d260900dfcfb24c10cd4a10dbadf3840b4bcd4e"; }
+ { locale = "bn-BD"; arch = "linux-i686"; sha256 = "839e95de15a4e0287cfe36d70e07d1d40a1708016f615244a84553794ac76b4c"; }
+ { locale = "bn-BD"; arch = "linux-x86_64"; sha256 = "592a353df70c368c3c9855ead6d3b68433e7ebaaf42169108b9e74a83517230b"; }
+ { locale = "de"; arch = "linux-i686"; sha256 = "890bc1ee046ebf67079bd39ecb761a78fbf8cee8f72b32958ad18a0c3184b23b"; }
+ { locale = "de"; arch = "linux-x86_64"; sha256 = "7b52dfc2cea5bedae2ccfe11b0ec2d66edb81b76c2272c60f4bb247970384c9f"; }
+ { locale = "rm"; arch = "linux-i686"; sha256 = "6ab1e46650ff296719e498a1b9e5dad5c2f32e6be9d6fec12d1ab917a5f76872"; }
+ { locale = "rm"; arch = "linux-x86_64"; sha256 = "fdb170e3f546de759ef8a8aa85f6c3bf5152e121739cc27797c3065f4f85c183"; }
+ { locale = "nl"; arch = "linux-i686"; sha256 = "208be79ce95d45f4f69d8bf53d4e2f457410653a81117b4bd4d42bf14a1485dc"; }
+ { locale = "nl"; arch = "linux-x86_64"; sha256 = "2e562f9f59457d484ccfb1beb0129e2ca3ba4e5cbf5c955a65480836dc2e6567"; }
+ { locale = "sv-SE"; arch = "linux-i686"; sha256 = "07c7836bac31fa835c244dbe5eff19bad5dc5a9339cb8a94bd07d88f8590c867"; }
+ { locale = "sv-SE"; arch = "linux-x86_64"; sha256 = "7124de1e3cff7a5c17506f8e175aab1aaf96d4c9fd57824d6c0af110f47b1fbc"; }
+ { locale = "fy-NL"; arch = "linux-i686"; sha256 = "5d4e7f1f82b53161e84abf45f4a7210f0304399efed2df621c2e24cd5f1e1db0"; }
+ { locale = "fy-NL"; arch = "linux-x86_64"; sha256 = "814798f7dd066228ae73ce6bfdf430db4f0c4e905ce8a6670c73f894865dbf4e"; }
+ { locale = "si"; arch = "linux-i686"; sha256 = "35727d874cdeca69e18cedc109b6c3540c8dbb7450b2158cb1209cf00272cc38"; }
+ { locale = "si"; arch = "linux-x86_64"; sha256 = "0aa2232adc0e06c0a841a11155c2cd8f317b2f12b0e02c239ebe6150ad3bc278"; }
+ { locale = "vi"; arch = "linux-i686"; sha256 = "b45871e531b18a35f60240dc0417e5a9f08f8c9e3ea762a36e938425505df8b0"; }
+ { locale = "vi"; arch = "linux-x86_64"; sha256 = "a32dd96a41ed33a81c240c60c3538db45c1c4357ceaf37c8482a378a526c5454"; }
+ { locale = "br"; arch = "linux-i686"; sha256 = "3162753876da622895175afb60cd89be1ee343a10a45f9ac3feb3b306e161838"; }
+ { locale = "br"; arch = "linux-x86_64"; sha256 = "7c8d26a07d239f18f94f14696036974317ac1186072ba4482c315d02dcb97e5f"; }
+ { locale = "da"; arch = "linux-i686"; sha256 = "8cfaf98f3702b418bfd7692373b9f6e99a4b06e47a75a2df602e98d8f6acf761"; }
+ { locale = "da"; arch = "linux-x86_64"; sha256 = "6bd9ab36402f3391abc2e96f8786e16407736cf04d524e562736ac47279e2a26"; }
+ { locale = "fi"; arch = "linux-i686"; sha256 = "0a3e7c130197d4abcbf4d37eef51a946c11cf72707686f8c7a0caa9cc21e75c8"; }
+ { locale = "fi"; arch = "linux-x86_64"; sha256 = "8d4003960a8a7a496662b59834118c8712443761b867e5f54f3bf4a683715d22"; }
+ { locale = "he"; arch = "linux-i686"; sha256 = "5db77f9d117071feeddb5eadf74ea6332ccf9abaa441ba4d7b0a5f0f3781452d"; }
+ { locale = "he"; arch = "linux-x86_64"; sha256 = "46995a9f269f0385fc9ac9d31ee65d84e79ac81bd61892adaeb1afff991bcc82"; }
+ { locale = "zh-CN"; arch = "linux-i686"; sha256 = "73071beb9caa24aaac8eec9cfb01f7e333dc6ac438ab36e7f5afa7d850dbeb8e"; }
+ { locale = "zh-CN"; arch = "linux-x86_64"; sha256 = "a17cc26a51bbcff44837d74bdb35ba0ae10def6f4b536c4a67e9169221bd0afb"; }
+ { locale = "gl"; arch = "linux-i686"; sha256 = "4782b1f56c1f5fb1f802385d693a96b5013503e97e4d73e43fb90c3331aec839"; }
+ { locale = "gl"; arch = "linux-x86_64"; sha256 = "dbba59d0c697e6dc05bc2b554eed2c6040642cb1246a4119cd7c37b0451c6d4e"; }
+ { locale = "sl"; arch = "linux-i686"; sha256 = "b37a5eaf187d1c026990f55a3e993594a49bb689f1643d2f944c7f3c7cfd6819"; }
+ { locale = "sl"; arch = "linux-x86_64"; sha256 = "629132c5cc5f937fb504542662bb8aa7570eee1ae648087dbfb0c6dedadfa53c"; }
+ { locale = "cs"; arch = "linux-i686"; sha256 = "89e818736957569f91f7f329118b09a27b072c6d7c89f601eb02cd1d870c4088"; }
+ { locale = "cs"; arch = "linux-x86_64"; sha256 = "6a3a358227972a0eb60b1b531f322ebb2e604805bfb50b55d88cb8447b443105"; }
+ { locale = "ca"; arch = "linux-i686"; sha256 = "794b1e0be4bd6f8facebe3aa44f66a139a660d4fe75891f463adb5d7da7b32cb"; }
+ { locale = "ca"; arch = "linux-x86_64"; sha256 = "81b51a607844b229d026d9acec4ea1739c365a890857871260b6eca92a176e04"; }
+ { locale = "ar"; arch = "linux-i686"; sha256 = "924c5c47c76fc09f5a46176ef1a6e3466d783b8a4c08a5e660a03e0e84459116"; }
+ { locale = "ar"; arch = "linux-x86_64"; sha256 = "c46c2285a6f1c825e52ea6cd7dda31d6f67be15668ecf71883c55c9fa21a3fd5"; }
+ { locale = "tr"; arch = "linux-i686"; sha256 = "58a53bf3ad217b36beb9795f34349cfa3f10b7a39044f024c547be31b033ee28"; }
+ { locale = "tr"; arch = "linux-x86_64"; sha256 = "21d1f89810a284818c0a73e8abd5b51a9ea58b7db2b9bf6dd5e0119f4bfc13a3"; }
+ { locale = "ru"; arch = "linux-i686"; sha256 = "67cb3d38230d24c2a7615468ae2465e6f768904e3735ce31833dcba7b98023c5"; }
+ { locale = "ru"; arch = "linux-x86_64"; sha256 = "9e6b5351e96b9b2c57ce04fddaf9656adf84bc2a961a8ca614cec2f830d4e2a7"; }
+ { locale = "uk"; arch = "linux-i686"; sha256 = "80d0a09d93362f7eff9c7a20025080207a14c43e56b132c3962dd1d795d2a85c"; }
+ { locale = "uk"; arch = "linux-x86_64"; sha256 = "07d92405612e1000bc0b401481e94548877511ce224f19b23aa4fa192f21d489"; }
+ { locale = "fr"; arch = "linux-i686"; sha256 = "0d70e52c8dc5bf6f13c8ea2a5762cb94534ec54548c792ae181febc3d23c01cb"; }
+ { locale = "fr"; arch = "linux-x86_64"; sha256 = "2962de1886753b81684360ffbf97afa4d4371662a6f467ebc369e225d335745d"; }
+ { locale = "hr"; arch = "linux-i686"; sha256 = "6eacb202078be4de4a86c3fc957dbf482e32ab28805d719aa5d0d7f4fd832f48"; }
+ { locale = "hr"; arch = "linux-x86_64"; sha256 = "83ed10b7d9d74a28f9982a9d11840522f214ccb53ed599f9fce6ae26bd9d2298"; }
+ { locale = "el"; arch = "linux-i686"; sha256 = "227140594d1e12f2edf4e942327a8c64ab922796f7bda324eead8a299a6082ab"; }
+ { locale = "el"; arch = "linux-x86_64"; sha256 = "bc219c6795389fbdf20c4a84a61c350f376374285eff9aaedbc4893fdcbbdc24"; }
+ { locale = "et"; arch = "linux-i686"; sha256 = "4ac7de0edc1d2b084f38058f8c55e8c2fad0782a1f7f7ac69af5c6f28e2a71f9"; }
+ { locale = "et"; arch = "linux-x86_64"; sha256 = "cf026ebca03f6eb59b81073f754b9989f2023bb61d8dfaacbb28da3372abf43b"; }
+ { locale = "it"; arch = "linux-i686"; sha256 = "001f67664b02736aa757fa99ec00c8df023ead8f94113d1040092057031c4557"; }
+ { locale = "it"; arch = "linux-x86_64"; sha256 = "39fdd81738e0cea77c0f860f0e5253416daa6bd13f1e9feab4c6a52c6dd981f9"; }
+ { locale = "ja"; arch = "linux-i686"; sha256 = "0a5a830078e0774e81154f07055613d4b6dd6875be4ac976ac70883cfa0ed9cc"; }
+ { locale = "ja"; arch = "linux-x86_64"; sha256 = "a33890be6ac154862b7b80f864990b3bbad2db8adbf1d26bf2cd61b175db673e"; }
+ { locale = "bg"; arch = "linux-i686"; sha256 = "6f837f1c640c46dd99c4ab691ec6964e40b6d931830d4da604d4329c6d1ecde2"; }
+ { locale = "bg"; arch = "linux-x86_64"; sha256 = "a37294fbf0b358e5b9619aa36a20f92fc637a6b0697b8d607b958d256ce81225"; }
+ { locale = "nb-NO"; arch = "linux-i686"; sha256 = "2bbb5800b9a6d03545ca3dfc8f99f9f30c11e474ea360481f1f7e9610b0a87b0"; }
+ { locale = "nb-NO"; arch = "linux-x86_64"; sha256 = "e2a68f359f48a19437605b581bf9a8cf911feabfb2b15ec3724c60d1cbfe15ec"; }
+ { locale = "es-ES"; arch = "linux-i686"; sha256 = "976fbb88b1c75dc402b9eea76aef4d8a0886ee76bcf65d798a6ae8234b2b297a"; }
+ { locale = "es-ES"; arch = "linux-x86_64"; sha256 = "190679f7638b3697b236d971014f0da938aa2d664afb93e7f4d1c0fb51bfb46e"; }
+ { locale = "ro"; arch = "linux-i686"; sha256 = "530b19e48b0e49047746b2f5dd486cfb19930b1064478c465ce2acb21eac66ba"; }
+ { locale = "ro"; arch = "linux-x86_64"; sha256 = "0fe30abe10b4c97aef9ee40550205e0f269c5cfe76c08a36c8cf886a5af78558"; }
+ { locale = "en-GB"; arch = "linux-i686"; sha256 = "3f2d2784e3aa75cbd3ca0579d660b50b31e488253e52fedbfefc7c5448803967"; }
+ { locale = "en-GB"; arch = "linux-x86_64"; sha256 = "83e64293ed8d1ecf509e2617a71fed9583e4d4c3de3ae5b50175ad8c0f8322ae"; }
+ { locale = "gd"; arch = "linux-i686"; sha256 = "aa282b17eeeb185734f33d2ed9f287958d8a48ed82653d197426e3e3091ecba3"; }
+ { locale = "gd"; arch = "linux-x86_64"; sha256 = "c17db84f0cfd5525e4b8a08e300cabbbcd2bc45f59eb886e180eef0f8c4e45ef"; }
+ { locale = "be"; arch = "linux-i686"; sha256 = "909ae64789280db1a07b3b57dfa1a5d337fecd3bd59bacd3bab2eb72dbecb04f"; }
+ { locale = "be"; arch = "linux-x86_64"; sha256 = "9021a15bda3d4947e1ed6ee6666a252e3541b020d8d7eb58e854e426719f8d6d"; }
+ { locale = "pl"; arch = "linux-i686"; sha256 = "a3536d7e8bb429d562e7731fea8675dc9d442ca8e59cc72eb1b404da12d1d53a"; }
+ { locale = "pl"; arch = "linux-x86_64"; sha256 = "99cb049415e4837e615e1946409d1fd62966ae8eb843d89dfb61a6675b5b363f"; }
+ { locale = "pa-IN"; arch = "linux-i686"; sha256 = "06a17ca2ee8f44098252f24dae17589f32c80bd35e127a093c18161751a581fc"; }
+ { locale = "pa-IN"; arch = "linux-x86_64"; sha256 = "b8537b39f3e1242e3ed705ff919b01eb89ac72cf7c15ef0c44d258069c8ea317"; }
+ { locale = "ko"; arch = "linux-i686"; sha256 = "f2f1e9babb37f79121034f9b8cbc90fbf9f0fa1c152a7f0d7162aff6f6e33f1a"; }
+ { locale = "ko"; arch = "linux-x86_64"; sha256 = "60bc6bd468c820066e00f8108e0912df57a941b4150c06797a7958ec684c4969"; }
+ { locale = "sq"; arch = "linux-i686"; sha256 = "a88591a1850b56c68dd75b4ecff79a32d46dcb42f788d66bb46d45cd0f0d5672"; }
+ { locale = "sq"; arch = "linux-x86_64"; sha256 = "2bb7656dde363f3c3d3c8c8b4dbdb306f7e618491c917bc7c1b6e6f41d30fbf0"; }
+ { locale = "id"; arch = "linux-i686"; sha256 = "b396c752f7652e5ee31d6bec4bfb70b2d86438d966051f91e4d7a77ce5a924dc"; }
+ { locale = "id"; arch = "linux-x86_64"; sha256 = "1f0595e6953b0b6aa09577f180897760f8f85ba15e00e6ae3b12105c705cdac4"; }
+ { locale = "sk"; arch = "linux-i686"; sha256 = "4d3a4d283705889759dcb321e4b700896b132634005590e546bf6744e6187260"; }
+ { locale = "sk"; arch = "linux-x86_64"; sha256 = "456252e7bb5f29ef3c76afb2df0f406fcf93ef1c6df56d0f209bb85e91c8acce"; }
+ { locale = "en-US"; arch = "linux-i686"; sha256 = "ee93df33057576bd55bc80b71aeec7c6f487028f0fe52f679614811be5c71bae"; }
+ { locale = "en-US"; arch = "linux-x86_64"; sha256 = "7f7189250d76f970bfc1879b2ac6fe2d42bdcf3a652614fa4e080dcc636bbd4c"; }
+ { locale = "sr"; arch = "linux-i686"; sha256 = "cb389bd9712def87c06ffab3fc50b8fa58c773c6725fd0e0befec3e2ac957ef5"; }
+ { locale = "sr"; arch = "linux-x86_64"; sha256 = "8f9bf916357e7385dec5de9e4d58f6dfbe3c7fc6d2b66298304c3630189833e6"; }
+ { locale = "zh-TW"; arch = "linux-i686"; sha256 = "f89251f74b85c22a9f7b97b844a118e498698e205f733f1fb0d7a98787f973ee"; }
+ { locale = "zh-TW"; arch = "linux-x86_64"; sha256 = "019a15e1e83b6810de6a4d64deb3eba1a9c2a0c6f1c382582e356445e40d5bda"; }
+ { locale = "es-AR"; arch = "linux-i686"; sha256 = "ae1d03ddf4b424edc59e08c65a9fb20107311289e4faf8f06f14bc471b00d35f"; }
+ { locale = "es-AR"; arch = "linux-x86_64"; sha256 = "a19dce910ba5be35c0fd51be50bd96be3b3db84587f749ed9a108a14a3b732b7"; }
+ { locale = "ast"; arch = "linux-i686"; sha256 = "8cb4cb6a99955209026224a4cbbcab7b37b0b9fc38147eeaa439631be7750c08"; }
+ { locale = "ast"; arch = "linux-x86_64"; sha256 = "4520a3ae24cc7056eb87d48280999c2c3da6aa76b9182c291512dc80363efb27"; }
+ { locale = "ga-IE"; arch = "linux-i686"; sha256 = "8803a9477f6ac963bdacfd82f6e6b8aabb217fa6c39b311645e461f38cda3757"; }
+ { locale = "ga-IE"; arch = "linux-x86_64"; sha256 = "c8eae521293986be6d626302d91abbb88a12855565fd41c3614f7a5d7534f0cd"; }
+ { locale = "pt-BR"; arch = "linux-i686"; sha256 = "9ea7f173533757c99a9c2dfdceab5cc58e583f929a2e7db95184823a00319a0a"; }
+ { locale = "pt-BR"; arch = "linux-x86_64"; sha256 = "6b9775f8142273d118870887da2728da4732609395897513739df7b352a4989c"; }
+ { locale = "is"; arch = "linux-i686"; sha256 = "bcaeea579405f015fcdb78e16cfd92e4c0895614c5966a1a7049a4fe310b1c46"; }
+ { locale = "is"; arch = "linux-x86_64"; sha256 = "7de3a89ece968819fcd7f438aaa2f5762f9d936b20fb3c364467ac123b24182e"; }
+ { locale = "eu"; arch = "linux-i686"; sha256 = "af7f04ef648264f56dcb62e7e473586f3c5b13d3ecd2918278962f335dda7966"; }
+ { locale = "eu"; arch = "linux-x86_64"; sha256 = "8477854792552b471e4eb11f71c79b14544cf438e795feae3082c0f3a31e0c8a"; }
+ { locale = "hu"; arch = "linux-i686"; sha256 = "21db7e27557670796db9282174e7da04afe3a0c89b31e042f7bbd3992e4e08be"; }
+ { locale = "hu"; arch = "linux-x86_64"; sha256 = "8f05b160d346b45308ba0c7dbe531bce043f22abffd2a4d1200628669a3b4aa0"; }
+ { locale = "hy-AM"; arch = "linux-i686"; sha256 = "5e77c23bdb52dba7b663b574520972e2b78588e5143922c1e1837c0e0bd71a86"; }
+ { locale = "hy-AM"; arch = "linux-x86_64"; sha256 = "35e663dad586cce929baa1ec501b149ff586df15a687eb41a8cc619c542a625c"; }
+ { locale = "pt-PT"; arch = "linux-i686"; sha256 = "211322939ab3b4bfc3e6f0548356c9479db5deb687e1e2232f527462017dcd2d"; }
+ { locale = "pt-PT"; arch = "linux-x86_64"; sha256 = "0d50802a6fd7d9256591076c267759d39af91f680025b03ec6925e21c20494e4"; }
];
arch = if stdenv.system == "i686-linux"
diff --git a/pkgs/applications/networking/mumble/default.nix b/pkgs/applications/networking/mumble/default.nix
index b2b2e37fd663a7c3f83f81b77f1a468d13660a73..7b9396ff5ffbd614e96fedf61bdd9bab331f01a4 100644
--- a/pkgs/applications/networking/mumble/default.nix
+++ b/pkgs/applications/networking/mumble/default.nix
@@ -1,12 +1,12 @@
{ stdenv, fetchurl, qt4, boost, protobuf, libsndfile
, speex, libopus, avahi, pkgconfig
, jackSupport ? false
-, jackaudio ? null
+, jack2 ? null
, speechdSupport ? false
, speechd ? null
}:
-assert jackSupport -> jackaudio != null;
+assert jackSupport -> jack2 != null;
assert speechdSupport -> speechd != null;
let
@@ -15,11 +15,11 @@ let
in
stdenv.mkDerivation rec {
name = "mumble-" + version;
- version = "1.2.6";
+ version = "1.2.7";
src = fetchurl {
url = "mirror://sourceforge/mumble/${name}.tar.gz";
- sha256 = "1zxnbwbd81p7lvscghlpkad8kynh9gbf1nhc092sp64pp37xwv47";
+ sha256 = "0zjqkkdkcvgmqic6np87hj6b6f851lkzyd6y3cqj6zzacjvps31d";
};
patches = optional jackSupport ./mumble-jack-support.patch;
@@ -36,7 +36,7 @@ stdenv.mkDerivation rec {
buildInputs = [ qt4 boost protobuf libsndfile speex
libopus avahi pkgconfig ]
- ++ (optional jackSupport jackaudio)
+ ++ (optional jackSupport jack2)
++ (optional speechdSupport speechd);
installPhase = ''
diff --git a/pkgs/applications/networking/p2p/freenet/default.nix b/pkgs/applications/networking/p2p/freenet/default.nix
index 4c74c2c32de0a8444a94c83dd22aedde0038d528..013694d259cb71c7d466cae6ed5e41e3d875254a 100644
--- a/pkgs/applications/networking/p2p/freenet/default.nix
+++ b/pkgs/applications/networking/p2p/freenet/default.nix
@@ -50,7 +50,7 @@ stdenv.mkDerivation {
meta = {
description = "Decentralised and censorship-resistant network";
homepage = https://freenetproject.org/;
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
platforms = with stdenv.lib.platforms; linux;
};
}
diff --git a/pkgs/applications/networking/p2p/gnunet/default.nix b/pkgs/applications/networking/p2p/gnunet/default.nix
index bcd0eb503f60b6973fd871529fec77278a1146f5..6c28840f7e5f206c8159269c869d703c1f040404 100644
--- a/pkgs/applications/networking/p2p/gnunet/default.nix
+++ b/pkgs/applications/networking/p2p/gnunet/default.nix
@@ -73,7 +73,7 @@ stdenv.mkDerivation rec {
homepage = http://gnunet.org/;
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
maintainers = with stdenv.lib.maintainers; [ ludo viric ];
platforms = stdenv.lib.platforms.gnu;
diff --git a/pkgs/applications/networking/p2p/gnunet/svn.nix b/pkgs/applications/networking/p2p/gnunet/svn.nix
index ed6c348706b97943bb7e0cd166443018df6547c8..25a51b3c9365fbaf4c37e13652a6b87096aac142 100644
--- a/pkgs/applications/networking/p2p/gnunet/svn.nix
+++ b/pkgs/applications/networking/p2p/gnunet/svn.nix
@@ -85,7 +85,7 @@ stdenv.mkDerivation rec {
homepage = http://gnunet.org/;
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
maintainers = with stdenv.lib.maintainers; [ ludo viric ];
platforms = stdenv.lib.platforms.gnu;
diff --git a/pkgs/applications/networking/p2p/tribler/default.nix b/pkgs/applications/networking/p2p/tribler/default.nix
index 5fa19c71d9a18b5ed91bd517ecca565350d91741..5bc228f9a6b9e15c7f5995692fd5440296ed9ea5 100644
--- a/pkgs/applications/networking/p2p/tribler/default.nix
+++ b/pkgs/applications/networking/p2p/tribler/default.nix
@@ -44,6 +44,6 @@ stdenv.mkDerivation {
meta = {
homepage = http://www.tribler.org/;
description = "A completely decentralised P2P filesharing client based on the Bittorrent protocol";
- license = "LGPLv2.1";
+ license = stdenv.lib.licenses.lgpl21;
};
}
diff --git a/pkgs/applications/networking/pjsip/default.nix b/pkgs/applications/networking/pjsip/default.nix
index 558394199f457d93ec7f5126eb9d831f998b5cb0..4d08e1cc60a1403c09c9c82d3226caeabead4dc4 100644
--- a/pkgs/applications/networking/pjsip/default.nix
+++ b/pkgs/applications/networking/pjsip/default.nix
@@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
meta = {
description = "SIP stack and media stack for presence, im, and multimedia communication";
homepage = http://pjsip.org/;
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
maintainers = with stdenv.lib.maintainers; [viric];
platforms = with stdenv.lib.platforms; linux;
};
diff --git a/pkgs/applications/networking/remote/remmina/default.nix b/pkgs/applications/networking/remote/remmina/default.nix
index 24bc20af6528c5e51e461307cd8791aa19fe3f0e..8fb929d53e10d619697d3c3d3699c152bef47679 100644
--- a/pkgs/applications/networking/remote/remmina/default.nix
+++ b/pkgs/applications/networking/remote/remmina/default.nix
@@ -42,7 +42,7 @@ stdenv.mkDerivation {
'';
meta = with stdenv.lib; {
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
homepage = "http://remmina.sourceforge.net/";
description = "Remmina is a remote desktop client written in GTK+";
maintainers = [];
diff --git a/pkgs/applications/networking/remote/ssvnc/default.nix b/pkgs/applications/networking/remote/ssvnc/default.nix
index 619925354f0665c18997ab9e132723b1d90a1bea..f142395aa57bc066cc71d0b3845985f5d445e321 100644
--- a/pkgs/applications/networking/remote/ssvnc/default.nix
+++ b/pkgs/applications/networking/remote/ssvnc/default.nix
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
meta = {
description = "VNC viewer that adds encryption security to VNC connections";
homepage = "http://www.karlrunge.com/x11vnc/ssvnc.html";
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
maintainers = [ stdenv.lib.maintainers.edwtjo ];
platforms = with stdenv.lib.platforms; linux;
};
diff --git a/pkgs/applications/networking/remote/teamviewer/8.nix b/pkgs/applications/networking/remote/teamviewer/8.nix
index 440eb90390ae8820c8156fecb94d14e6b1b9a7b9..459ae9fab82b35995c983599748467fc96588620 100644
--- a/pkgs/applications/networking/remote/teamviewer/8.nix
+++ b/pkgs/applications/networking/remote/teamviewer/8.nix
@@ -41,7 +41,7 @@ stdenv.mkDerivation {
meta = {
homepage = "http://www.teamviewer.com";
- license = "unfree";
+ license = stdenv.lib.licenses.unfree;
description = "Desktop sharing application, providing remote support and online meetings";
};
}
diff --git a/pkgs/applications/networking/remote/teamviewer/default.nix b/pkgs/applications/networking/remote/teamviewer/default.nix
index 6802782bcb5d9097bd99f4e1dacf0829adb35781..65ddd7305c832350c0efdd5f93ad5075f290c7d2 100644
--- a/pkgs/applications/networking/remote/teamviewer/default.nix
+++ b/pkgs/applications/networking/remote/teamviewer/default.nix
@@ -47,7 +47,7 @@ stdenv.mkDerivation {
meta = {
homepage = "http://www.teamviewer.com";
- license = "unfree";
+ license = stdenv.lib.licenses.unfree;
description = "Desktop sharing application, providing remote support and online meetings";
};
}
diff --git a/pkgs/applications/networking/sniffers/etherape/default.nix b/pkgs/applications/networking/sniffers/etherape/default.nix
index a51f65cbccb09d28ed73c4d10fd16d9cd255d980..f5104665562d95c8d609c4218f476d3b03c427dc 100644
--- a/pkgs/applications/networking/sniffers/etherape/default.nix
+++ b/pkgs/applications/networking/sniffers/etherape/default.nix
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://etherape.sourceforge.net/;
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
platforms = with stdenv.lib.platforms; linux;
};
}
diff --git a/pkgs/applications/networking/spideroak/default.nix b/pkgs/applications/networking/spideroak/default.nix
new file mode 100644
index 0000000000000000000000000000000000000000..403630e25e55cb1e7997c7eb6b89084f0afa9e9c
--- /dev/null
+++ b/pkgs/applications/networking/spideroak/default.nix
@@ -0,0 +1,62 @@
+{ stdenv, fetchurl, makeWrapper, glib
+, fontconfig, patchelf, libXext, libX11
+, freetype, libXrender
+}:
+
+let
+ arch = if stdenv.system == "x86_64-linux" then "x86_64"
+ else if stdenv.system == "i686-linux" then "i386"
+ else throw "Spideroak client for: ${stdenv.system} not supported!";
+
+ interpreter = if stdenv.system == "x86_64-linux" then "ld-linux-x86-64.so.2"
+ else if stdenv.system == "i686-linux" then "ld-linux.so.2"
+ else throw "Spideroak client for: ${stdenv.system} not supported!";
+
+ sha256 = if stdenv.system == "x86_64-linux" then "0ax5ij3fwq3q9agf7qkw2zg53fcd82llg734pq3swzpn3z1ajs38"
+ else if stdenv.system == "i686-linux" then "18hvgx8bvd2khnqfn434gd4mflv0w5y8kvim72rvya2kwxsyf3i1"
+ else throw "Spideroak client for: ${stdenv.system} not supported!";
+
+ ldpath = stdenv.lib.makeSearchPath "lib" [
+ glib fontconfig libXext libX11 freetype libXrender
+ ];
+
+ version = "5.1.6";
+
+in stdenv.mkDerivation {
+ name = "spideroak-${version}";
+
+ src = fetchurl {
+ name = "spideroak-${version}-${arch}";
+ url = "https://spideroak.com/getbuild?platform=slackware&arch=${arch}&version=${version}";
+ inherit sha256;
+ };
+
+ sourceRoot = ".";
+
+ unpackCmd = "tar -xzf $curSrc";
+
+ installPhase = ''
+ ensureDir "$out"
+ cp -r "./"* "$out"
+ ensureDir "$out/bin"
+ rm "$out/usr/bin/SpiderOak"
+
+ patchelf --set-interpreter ${stdenv.glibc}/lib/${interpreter} \
+ "$out/opt/SpiderOak/lib/SpiderOak"
+
+ RPATH=$out/opt/SpiderOak/lib:${ldpath}
+ makeWrapper $out/opt/SpiderOak/lib/SpiderOak $out/bin/spideroak --set LD_LIBRARY_PATH $RPATH \
+ --set QT_PLUGIN_PATH $out/opt/SpiderOak/lib/plugins/ \
+ --set SpiderOak_EXEC_SCRIPT $out/bin/spideroak
+ '';
+
+ buildInputs = [ patchelf makeWrapper ];
+
+ meta = {
+ homepage = "https://spideroak.com";
+ description = "Secure online backup and sychronization";
+ license = stdenv.lib.licenses.unfree;
+ maintainers = with stdenv.lib.maintainers; [ amorsillo ];
+ platforms = stdenv.lib.platforms.linux;
+ };
+}
diff --git a/pkgs/applications/networking/sync/unison/default.nix b/pkgs/applications/networking/sync/unison/default.nix
index 744c8c01efa5e48945fe5f949332d26abed928e7..4ac5e8300ca8cb02dc810e9f1b0e3c2af2b88703 100644
--- a/pkgs/applications/networking/sync/unison/default.nix
+++ b/pkgs/applications/networking/sync/unison/default.nix
@@ -32,7 +32,7 @@ stdenv.mkDerivation (rec {
meta = {
homepage = http://www.cis.upenn.edu/~bcpierce/unison/;
description = "Bidirectional file synchronizer";
- license = "GPLv3+";
+ license = stdenv.lib.licenses.gpl3Plus;
maintainers = with stdenv.lib.maintainers; [viric];
platforms = with stdenv.lib.platforms; linux;
};
diff --git a/pkgs/applications/networking/vnstat/default.nix b/pkgs/applications/networking/vnstat/default.nix
index 57afefd7dcdd1c8e013195a4b3af67e52536297f..6d4306044a41df21b10bba08c69b24270650ed19 100644
--- a/pkgs/applications/networking/vnstat/default.nix
+++ b/pkgs/applications/networking/vnstat/default.nix
@@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://humdi.net/vnstat/;
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
description = "Console-based network statistics utility for Linux";
};
}
diff --git a/pkgs/applications/networking/yafc/default.nix b/pkgs/applications/networking/yafc/default.nix
index 752a7824e6f0520272dcf417ad81d42d5c24ea40..2e60b9aa3228c12094b2c9a48b8cc1323d0b0460 100644
--- a/pkgs/applications/networking/yafc/default.nix
+++ b/pkgs/applications/networking/yafc/default.nix
@@ -13,6 +13,6 @@ stdenv.mkDerivation rec {
description = "ftp/sftp client with readline, autocompletion and bookmarks";
homepage = http://www.yafc-ftp.com;
maintainers = [ stdenv.lib.maintainers.page ];
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
};
}
diff --git a/pkgs/applications/office/eventlist/default.nix b/pkgs/applications/office/eventlist/default.nix
index f126d6bfba659a6382ee48bc541cbc7247c9501f..c260220aad4d75649b8187109e56294e5cd02a73 100644
--- a/pkgs/applications/office/eventlist/default.nix
+++ b/pkgs/applications/office/eventlist/default.nix
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
Incidences can be filtered, added, edited, deleted via context menu.
'';
homepage = "http://kde-look.org/content/show.php/Eventlist?content=107779";
- license = "GPLv3+";
+ license = stdenv.lib.licenses.gpl3Plus;
};
}
diff --git a/pkgs/applications/office/gnucash/default.nix b/pkgs/applications/office/gnucash/default.nix
index ee0475d45ec0443193fb7ad4291bd38d8a9931d5..9c255f493d3f835e1932d6b9ade88eb089a5366d 100644
--- a/pkgs/applications/office/gnucash/default.nix
+++ b/pkgs/applications/office/gnucash/default.nix
@@ -70,7 +70,7 @@ stdenv.mkDerivation rec {
accounting principles to ensure balanced books and accurate reports.
'';
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
homepage = http://www.gnucash.org/;
diff --git a/pkgs/applications/office/gnumeric/default.nix b/pkgs/applications/office/gnumeric/default.nix
index 014aa5bf0fd2f1d88a2c61ca8d65b7652e6c83a6..2b2fd87cf430fc6f1e0fae99a8d0301d717512c9 100644
--- a/pkgs/applications/office/gnumeric/default.nix
+++ b/pkgs/applications/office/gnumeric/default.nix
@@ -30,7 +30,7 @@ stdenv.mkDerivation rec {
meta = with stdenv.lib; {
description = "The GNOME Office Spreadsheet";
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
homepage = http://projects.gnome.org/gnumeric/;
platforms = platforms.linux;
maintainers = [ maintainers.vcunat ];
diff --git a/pkgs/applications/office/homebank/default.nix b/pkgs/applications/office/homebank/default.nix
index 5e5c98e826019ed4c0668f8044ca510c547801a8..007e093378da8fbf797be37bb55ffa7b7ec445af 100644
--- a/pkgs/applications/office/homebank/default.nix
+++ b/pkgs/applications/office/homebank/default.nix
@@ -20,7 +20,7 @@ stdenv.mkDerivation {
meta = {
description = "Free, easy, personal accounting for everyone";
homepage = http://homebank.free.fr/;
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
maintainers = with stdenv.lib.maintainers; [viric];
platforms = with stdenv.lib.platforms; linux;
};
diff --git a/pkgs/applications/office/impressive/default.nix b/pkgs/applications/office/impressive/default.nix
index de6517923b6e3f990719c338c94a4b3751566eab..fad2167fb7ac1c857ff0184c3acdf44af0f9bfac 100644
--- a/pkgs/applications/office/impressive/default.nix
+++ b/pkgs/applications/office/impressive/default.nix
@@ -71,7 +71,7 @@ in
homepage = http://impressive.sourceforge.net/;
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
maintainers = [ stdenv.lib.maintainers.ludo ];
platforms = stdenv.lib.platforms.mesaPlatforms;
diff --git a/pkgs/applications/office/keepnote/default.nix b/pkgs/applications/office/keepnote/default.nix
index 419d761b09598f404e99d176241e17c49353590a..409da36b26400514dd7d1e8c8852270a10e1095a 100644
--- a/pkgs/applications/office/keepnote/default.nix
+++ b/pkgs/applications/office/keepnote/default.nix
@@ -17,6 +17,6 @@ buildPythonPackage {
meta = {
description = "Note taking application";
homepage = http://rasm.ods.org/keepnote;
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
};
}
diff --git a/pkgs/applications/office/mmex/default.nix b/pkgs/applications/office/mmex/default.nix
index d56f4bed0ce9ecba76ef082d6e90d203e185798b..2940569ef6597c7e74fb32e134c0cdde40581c8d 100644
--- a/pkgs/applications/office/mmex/default.nix
+++ b/pkgs/applications/office/mmex/default.nix
@@ -28,7 +28,7 @@ in
meta = {
description = "Easy-to-use personal finance software";
homepage = http://www.codelathe.com/mmex;
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
maintainers = with stdenv.lib.maintainers; [viric];
platforms = with stdenv.lib.platforms; linux;
};
diff --git a/pkgs/applications/office/scribus/default.nix b/pkgs/applications/office/scribus/default.nix
index 250ce163e4f51d9153873815b2755cdcf8c1d7f6..4026031de08419c379b99a3d6798f6d6b168c2db 100644
--- a/pkgs/applications/office/scribus/default.nix
+++ b/pkgs/applications/office/scribus/default.nix
@@ -26,6 +26,6 @@ stdenv.mkDerivation rec {
platforms = stdenv.lib.platforms.linux;
description = "Desktop Publishing (DTP) and Layout program for Linux";
homepage = http://www.scribus.net;
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
};
}
diff --git a/pkgs/applications/science/astronomy/gravit/default.nix b/pkgs/applications/science/astronomy/gravit/default.nix
index a2cc07b0a61c053f93b0d66fb3b0af0166b1872c..696890f95f1e6eca3a0702fa60fe490656b5025d 100644
--- a/pkgs/applications/science/astronomy/gravit/default.nix
+++ b/pkgs/applications/science/astronomy/gravit/default.nix
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = "http://gravit.slowchop.com";
description = "A beautiful OpenGL-based gravity simulator";
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
longDescription = ''
Gravit is a gravity simulator which runs under Linux, Windows and
diff --git a/pkgs/applications/science/biology/arb/default.nix b/pkgs/applications/science/biology/arb/default.nix
index 279091f21bd24665a78a91085bac5abcfa7d4d49..2f622e94057b722536ec9026eba8deb7cb4e9d10 100644
--- a/pkgs/applications/science/biology/arb/default.nix
+++ b/pkgs/applications/science/biology/arb/default.nix
@@ -81,5 +81,6 @@ stdenv.mkDerivation {
pkgMaintainer = "http://BioLib.open-bio.org/";
homepage = http://www.arb-home.de/;
priority = "10"; # because it includes binaries of clustal etc.
+ broken = true;
};
}
diff --git a/pkgs/applications/science/biology/plink/default.nix b/pkgs/applications/science/biology/plink/default.nix
index fa6dcaa82ede794560dbb8a61133582d76f863db..4396ab463c6d059c43abd7ce3973c721de176f4d 100644
--- a/pkgs/applications/science/biology/plink/default.nix
+++ b/pkgs/applications/science/biology/plink/default.nix
@@ -18,7 +18,7 @@ stdenv.mkDerivation {
meta = {
description = "Whole genome association toolkit";
homepage = "http://pngu.mgh.harvard.edu/~purcell/plink/";
- license = "GNUv2";
+ license = stdenv.lib.licenses.gpl2;
platforms = stdenv.lib.platforms.all;
};
}
diff --git a/pkgs/applications/science/electronics/archimedes/default.nix b/pkgs/applications/science/electronics/archimedes/default.nix
index 142519c30ed5593333d6f798a96f50c259a02db6..a6a5f68755a46b0f118ab494464dde6592c3c574 100644
--- a/pkgs/applications/science/electronics/archimedes/default.nix
+++ b/pkgs/applications/science/electronics/archimedes/default.nix
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
meta = {
description = "GNU package for semiconductor device simulations";
homepage = http://www.gnu.org/software/archimedes;
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
platforms = with stdenv.lib.platforms; linux;
};
}
diff --git a/pkgs/applications/science/electronics/caneda/default.nix b/pkgs/applications/science/electronics/caneda/default.nix
index d135fb094345758eca02b8f908ed9455b57effda..404ffc5010b4ebf2a5ca69b24b23a0160f2c29bc 100644
--- a/pkgs/applications/science/electronics/caneda/default.nix
+++ b/pkgs/applications/science/electronics/caneda/default.nix
@@ -32,7 +32,7 @@ stdenv.mkDerivation rec {
meta = {
description = "Open source EDA software focused on easy of use and portability";
homepage = http://caneda.tuxfamily.org;
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
maintainers = with stdenv.lib.maintainers; [viric];
platforms = with stdenv.lib.platforms; linux;
};
diff --git a/pkgs/applications/science/electronics/gtkwave/default.nix b/pkgs/applications/science/electronics/gtkwave/default.nix
index 0bc6b60e721053b2fcbc16b0e9ece4324bba5537..c761f6196424baee07171167f6abb9ca132f66f7 100644
--- a/pkgs/applications/science/electronics/gtkwave/default.nix
+++ b/pkgs/applications/science/electronics/gtkwave/default.nix
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
meta = {
description = "Wave viewer for Unix and Win32";
homepage = http://gtkwave.sourceforge.net;
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
maintainers = with stdenv.lib.maintainers; [viric];
platforms = with stdenv.lib.platforms; linux;
};
diff --git a/pkgs/applications/science/electronics/kicad/default.nix b/pkgs/applications/science/electronics/kicad/default.nix
index 0e81616a006952c10d3a35682839b944d45b1e9d..1fc97abef92753e0423f89535afcab2c58dbcdbd 100644
--- a/pkgs/applications/science/electronics/kicad/default.nix
+++ b/pkgs/applications/science/electronics/kicad/default.nix
@@ -37,7 +37,7 @@ stdenv.mkDerivation rec {
meta = {
description = "Free Software EDA Suite";
homepage = "http://www.kicad-pcb.org/";
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
maintainers = with stdenv.lib.maintainers; [viric];
platforms = with stdenv.lib.platforms; linux;
};
diff --git a/pkgs/applications/science/electronics/qucs/default.nix b/pkgs/applications/science/electronics/qucs/default.nix
index e434c97db2b0b1564074d460dd427f2061807700..dd3eaecc7441fe91c05f5b75175354950929e9f3 100644
--- a/pkgs/applications/science/electronics/qucs/default.nix
+++ b/pkgs/applications/science/electronics/qucs/default.nix
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
meta = {
description = "Integrated circuit simulator";
homepage = http://qucs.sourceforge.net;
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
maintainers = with stdenv.lib.maintainers; [viric];
platforms = with stdenv.lib.platforms; linux;
};
diff --git a/pkgs/applications/science/electronics/tkgate/1.x.nix b/pkgs/applications/science/electronics/tkgate/1.x.nix
index 1feac0b31c175fc59f0b2f525c7b13bdaf33b02a..30e882a7f38e7ee7da9d9b06c057b4b28437bd7e 100644
--- a/pkgs/applications/science/electronics/tkgate/1.x.nix
+++ b/pkgs/applications/science/electronics/tkgate/1.x.nix
@@ -33,7 +33,7 @@ stdenv.mkDerivation rec {
meta = {
description = "Event driven digital circuit simulator with a TCL/TK-based graphical editor";
homepage = "http://www.tkgate.org/";
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
maintainers = [ stdenv.lib.maintainers.simons ];
hydraPlatforms = stdenv.lib.platforms.linux;
};
diff --git a/pkgs/applications/science/electronics/tkgate/2.x.nix b/pkgs/applications/science/electronics/tkgate/2.x.nix
index 25c6a309cf377f7db3b7a5440ae745200ea92cca..108986ddefe4b3e269105321c99240802e1a4897 100644
--- a/pkgs/applications/science/electronics/tkgate/2.x.nix
+++ b/pkgs/applications/science/electronics/tkgate/2.x.nix
@@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
meta = {
description = "Event driven digital circuit simulator with a TCL/TK-based graphical editor";
homepage = "http://www.tkgate.org/";
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
broken = true;
};
}
diff --git a/pkgs/applications/science/electronics/verilog/default.nix b/pkgs/applications/science/electronics/verilog/default.nix
index f2c9d2e646f0550f3470b0cc448b28ed002fa774..e68d2a4ab91a52f70f890fb6faf2bbd623827b8e 100644
--- a/pkgs/applications/science/electronics/verilog/default.nix
+++ b/pkgs/applications/science/electronics/verilog/default.nix
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
description = "Icarus Verilog compiler";
repositories.git = https://github.com/steveicarus/iverilog.git;
homepage = http://www.icarus.com;
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
maintainers = with stdenv.lib.maintainers; [winden];
platforms = with stdenv.lib.platforms; linux;
};
diff --git a/pkgs/applications/science/electronics/xoscope/default.nix b/pkgs/applications/science/electronics/xoscope/default.nix
index 54aae9e7d3bfcd35af303ed3efe793f937b70c87..df7d053d93bd7294b967711a736de496a3ffe458 100644
--- a/pkgs/applications/science/electronics/xoscope/default.nix
+++ b/pkgs/applications/science/electronics/xoscope/default.nix
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
meta = {
description = "Oscilloscope through the sound card";
homepage = http://xoscope.sourceforge.net;
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
maintainers = with stdenv.lib.maintainers; [viric];
platforms = with stdenv.lib.platforms; linux;
};
diff --git a/pkgs/applications/science/geometry/tetgen/default.nix b/pkgs/applications/science/geometry/tetgen/default.nix
index d14fa08bbb5770d57ae617cff0c3a514447f328c..ddfb92def95893bf1786ae114f6492d298a9d8aa 100644
--- a/pkgs/applications/science/geometry/tetgen/default.nix
+++ b/pkgs/applications/science/geometry/tetgen/default.nix
@@ -16,6 +16,6 @@ stdenv.mkDerivation rec {
meta = {
description = "Quality Tetrahedral Mesh Generator and 3D Delaunay Triangulator";
homepage = "http://tetgen.org/";
- license = "MIT";
+ license = stdenv.lib.licenses.mit;
};
}
diff --git a/pkgs/applications/science/logic/iprover/default.nix b/pkgs/applications/science/logic/iprover/default.nix
index 2fb9678b8329f43fb21c7d2900db6b87134ac528..e03b33fa43ccf23b7955306ddbac28233abd1292 100644
--- a/pkgs/applications/science/logic/iprover/default.nix
+++ b/pkgs/applications/science/logic/iprover/default.nix
@@ -2,9 +2,9 @@ x@{builderDefsPackage
, ocaml, eprover
, ...}:
builderDefsPackage
-(a :
-let
- helperArgNames = ["stdenv" "fetchurl" "builderDefsPackage"] ++
+(a :
+let
+ helperArgNames = ["stdenv" "fetchurl" "builderDefsPackage"] ++
[];
buildInputs = map (n: builtins.getAttr n x)
@@ -38,7 +38,7 @@ rec {
echo -e "#! /bin/sh\\n$out/bin/iproveropt --clausifier \"${eprover}/bin/eprover\" --clausifier_options \" --tstp-format --silent --cnf \" \"\$@\"" > "$out"/bin/iprover
chmod a+x "$out"/bin/iprover
'') ["defEnsureDir" "minInit" "doMake"];
-
+
meta = {
description = "An automated first-order logic theorem prover";
maintainers = with a.lib.maintainers;
@@ -47,7 +47,8 @@ rec {
];
platforms = with a.lib.platforms;
linux;
- license = "GPLv3";
+ license = with a.lib.licenses;
+ gpl3;
};
passthru = {
updateInfo = {
@@ -55,4 +56,3 @@ rec {
};
};
}) x
-
diff --git a/pkgs/applications/science/logic/logisim/default.nix b/pkgs/applications/science/logic/logisim/default.nix
index ab46efa9a9612273d7e256d16c4f5af1042c9c50..c71ed73a99250b84852bd37424cc593445113b28 100644
--- a/pkgs/applications/science/logic/logisim/default.nix
+++ b/pkgs/applications/science/logic/logisim/default.nix
@@ -27,6 +27,6 @@ stdenv.mkDerivation {
meta = {
homepage = "http://ozark.hendrix.edu/~burch/logisim";
description = "Educational tool for designing and simulating digital logic circuits";
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
};
}
diff --git a/pkgs/applications/science/logic/matita/130312.nix b/pkgs/applications/science/logic/matita/130312.nix
index f77e9d34a2a8816a8f806393f6250fd1e97dff56..9e98c8db394763fc51e1adafe237bfc4001b3bab 100644
--- a/pkgs/applications/science/logic/matita/130312.nix
+++ b/pkgs/applications/science/logic/matita/130312.nix
@@ -60,7 +60,7 @@ stdenv.mkDerivation {
meta = {
homepage = http://matita.cs.unibo.it/;
description = "Matita is an experimental, interactive theorem prover";
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
maintainers = [ stdenv.lib.maintainers.roconnor ];
};
}
diff --git a/pkgs/applications/science/logic/matita/default.nix b/pkgs/applications/science/logic/matita/default.nix
index 0713ff09e92990b6e7bc3e256075210fb7deed19..f601f97de62ef1530de609d00247fdde141a9b34 100644
--- a/pkgs/applications/science/logic/matita/default.nix
+++ b/pkgs/applications/science/logic/matita/default.nix
@@ -48,7 +48,7 @@ stdenv.mkDerivation {
meta = {
homepage = http://matita.cs.unibo.it/;
description = "Matita is an experimental, interactive theorem prover";
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
maintainers = [ stdenv.lib.maintainers.roconnor ];
};
}
diff --git a/pkgs/applications/science/logic/minisat/default.nix b/pkgs/applications/science/logic/minisat/default.nix
index 1f29b3aa1a112c41b48f78a0910556ef5b726420..e91ff67fc9cce6df9b9130ce64f8fe784a9bf165 100644
--- a/pkgs/applications/science/logic/minisat/default.nix
+++ b/pkgs/applications/science/logic/minisat/default.nix
@@ -2,9 +2,9 @@ x@{builderDefsPackage
, zlib
, ...}:
builderDefsPackage
-(a :
-let
- helperArgNames = ["stdenv" "fetchurl" "builderDefsPackage"] ++
+(a :
+let
+ helperArgNames = ["stdenv" "fetchurl" "builderDefsPackage"] ++
[];
buildInputs = map (n: builtins.getAttr n x)
@@ -36,7 +36,7 @@ rec {
setVars = a.fullDepEntry (''
export MROOT=$PWD/../
'') ["doUnpack"];
-
+
meta = {
description = "A compact and readable SAT-solver";
maintainers = with a.lib.maintainers;
@@ -45,7 +45,7 @@ rec {
];
platforms = with a.lib.platforms;
linux;
- license = "MIT";
+ license = a.stdenv.lib.licenses.mit;
homepage = "http://minisat.se/";
};
passthru = {
@@ -54,4 +54,3 @@ rec {
};
};
}) x
-
diff --git a/pkgs/applications/science/logic/opensmt/default.nix b/pkgs/applications/science/logic/opensmt/default.nix
index 430537fd57ff488f7c112541ea3ca1f24ed48771..2dc4b99342961651c16363793b3735a9f2f05cbf 100644
--- a/pkgs/applications/science/logic/opensmt/default.nix
+++ b/pkgs/applications/science/logic/opensmt/default.nix
@@ -3,9 +3,9 @@ x@{builderDefsPackage
, gmpxx, flex, bison
, ...}:
builderDefsPackage
-(a :
-let
- helperArgNames = ["stdenv" "fetchurl" "builderDefsPackage"] ++
+(a :
+let
+ helperArgNames = ["stdenv" "fetchurl" "builderDefsPackage"] ++
[];
buildInputs = map (n: builtins.getAttr n x)
@@ -30,7 +30,7 @@ rec {
/* doConfigure should be removed if not needed */
phaseNames = ["doAutotools" "doConfigure" "doMakeInstall"];
-
+
meta = {
description = "A satisfiability modulo theory (SMT) solver";
maintainers = with a.lib.maintainers;
@@ -39,7 +39,7 @@ rec {
];
platforms = with a.lib.platforms;
linux;
- license = "GPLv3";
+ license = a.stdenv.lib.licenses.gpl3;
homepage = "http://code.google.com/p/opensmt/";
};
passthru = {
@@ -48,4 +48,3 @@ rec {
};
};
}) x
-
diff --git a/pkgs/applications/science/logic/picosat/default.nix b/pkgs/applications/science/logic/picosat/default.nix
index 970daf739fca84348141f13411206ff019310b7f..6c2cce0ea4b10d4689182c55dea944496c5dc8d9 100644
--- a/pkgs/applications/science/logic/picosat/default.nix
+++ b/pkgs/applications/science/logic/picosat/default.nix
@@ -35,7 +35,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://fmv.jku.at/picosat/;
description = "SAT solver with proof and core support";
- license = "MIT";
+ license = stdenv.lib.licenses.mit;
maintainers = [ stdenv.lib.maintainers.roconnor ];
};
}
diff --git a/pkgs/applications/science/math/eukleides/default.nix b/pkgs/applications/science/math/eukleides/default.nix
index 55ea4c6216c6036b9b662c36456f72c6eb342395..fdf5c1bd831531effe17072e5f50f4127310c274 100644
--- a/pkgs/applications/science/math/eukleides/default.nix
+++ b/pkgs/applications/science/math/eukleides/default.nix
@@ -20,7 +20,7 @@ stdenv.mkDerivation {
meta = {
description = "Geometry Drawing Language";
homepage = "http://www.eukleides.org/";
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
longDescription = ''
Eukleides is a computer language devoted to elementary plane
diff --git a/pkgs/applications/science/math/gap/default.nix b/pkgs/applications/science/math/gap/default.nix
index f76640567f60d27f9150c9a6947489152344c909..74fff2390a39c5ab6661cf13d8792c57c10a8310 100644
--- a/pkgs/applications/science/math/gap/default.nix
+++ b/pkgs/applications/science/math/gap/default.nix
@@ -1,10 +1,10 @@
x@{builderDefsPackage
- , pari ? null
+ , pari ? null
, ...}:
builderDefsPackage
-(a :
-let
- helperArgNames = ["stdenv" "fetchurl" "builderDefsPackage"] ++
+(a :
+let
+ helperArgNames = ["stdenv" "fetchurl" "builderDefsPackage"] ++
[];
buildInputs = map (n: builtins.getAttr n x)
@@ -44,14 +44,14 @@ rec {
tar xf "${pkgSrc}" -C "$out/share/gap/build-dir/pkg"
- ${if a.pari != null then
- ''sed -e '2iexport PATH=$PATH:${pari}/bin' -i "$out/share/gap/build-dir/bin/gap.sh" ''
+ ${if a.pari != null then
+ ''sed -e '2iexport PATH=$PATH:${pari}/bin' -i "$out/share/gap/build-dir/bin/gap.sh" ''
else ""}
- sed -e "/GAP_DIR=/aGAP_DIR='$out/share/gap/build-dir/'" -i "$out/share/gap/build-dir/bin/gap.sh"
+ sed -e "/GAP_DIR=/aGAP_DIR='$out/share/gap/build-dir/'" -i "$out/share/gap/build-dir/bin/gap.sh"
ln -s "$out/share/gap/build-dir/bin/gap.sh" "$out/bin"
'' ["doMake" "minInit" "defEnsureDir"];
-
+
meta = {
description = "Computational discrete algebra system";
maintainers = with a.lib.maintainers;
@@ -60,8 +60,8 @@ rec {
];
platforms = with a.lib.platforms;
linux;
- license = "GPLv2";
+ license = with a.lib.licenses;
+ gpl2;
homepage = "http://gap-system.org/";
};
}) x
-
diff --git a/pkgs/applications/science/math/mathematica/default.nix b/pkgs/applications/science/math/mathematica/default.nix
index 997080ee303cd235ccf749b76bba890425feada7..d4d352c95bbb0914dec7eb38cea961e3ce477a5e 100644
--- a/pkgs/applications/science/math/mathematica/default.nix
+++ b/pkgs/applications/science/math/mathematica/default.nix
@@ -119,6 +119,6 @@ stdenv.mkDerivation rec {
meta = {
description = "Wolfram Mathematica computational software system";
homepage = "http://www.wolfram.com/mathematica/";
- license = "unfree";
+ license = stdenv.lib.licenses.unfree;
};
}
diff --git a/pkgs/applications/science/math/maxima/default.nix b/pkgs/applications/science/math/maxima/default.nix
index 7123b476f3560ef5047ccceb0b2da0523ad707a7..096796a859d00ef5de8b5ab54a9feb9e8c663715 100644
--- a/pkgs/applications/science/math/maxima/default.nix
+++ b/pkgs/applications/science/math/maxima/default.nix
@@ -40,7 +40,7 @@ stdenv.mkDerivation {
meta = {
description = "Maxima computer algebra system";
homepage = "http://maxima.sourceforge.net";
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
longDescription = ''
Maxima is a fairly complete computer algebra system written in
diff --git a/pkgs/applications/science/math/singular/default.nix b/pkgs/applications/science/math/singular/default.nix
index 5c5dfae8200f7501a58db1b9c2b6b195c3514b69..1afb510e9948c2b04a2e77112b7e8dbb72692c9a 100644
--- a/pkgs/applications/science/math/singular/default.nix
+++ b/pkgs/applications/science/math/singular/default.nix
@@ -3,9 +3,9 @@ x@{builderDefsPackage
, coreutils
, ...}:
builderDefsPackage
-(a :
-let
- helperArgNames = ["stdenv" "fetchurl" "builderDefsPackage"] ++
+(a :
+let
+ helperArgNames = ["stdenv" "fetchurl" "builderDefsPackage"] ++
[];
buildInputs = map (n: builtins.getAttr n x)
@@ -38,9 +38,9 @@ rec {
rm -rf "$out/LIB"
cp -r Singular/LIB "$out"
mkdir -p "$out/bin"
- ln -s "$out"/*/Singular "$out/bin"
+ ln -s "$out/"*/Singular "$out/bin"
'') ["minInit" "defEnsureDir"];
-
+
meta = {
description = "A CAS for polynomial computations";
maintainers = with a.lib.maintainers;
@@ -49,7 +49,7 @@ rec {
];
platforms = with a.lib.platforms;
linux;
- license = "GPLv3"; # Or GPLv2 at your option - but not GPLv4
+ license = a.stdenv.lib.licenses.gpl3; # Or GPLv2 at your option - but not GPLv4
homepage = "http://www.singular.uni-kl.de/index.php";
};
passthru = {
@@ -58,4 +58,3 @@ rec {
};
};
}) x
-
diff --git a/pkgs/applications/science/math/weka/default.nix b/pkgs/applications/science/math/weka/default.nix
index 8471c46c8d75d6d5e3335b4a4cd740d5d7d6b8cd..66609fa5834154e3f53b92bcc393ac3b5a747ad1 100644
--- a/pkgs/applications/science/math/weka/default.nix
+++ b/pkgs/applications/science/math/weka/default.nix
@@ -27,6 +27,6 @@ stdenv.mkDerivation {
meta = {
homepage = "http://www.cs.waikato.ac.nz/ml/weka/";
description = "Collection of machine learning algorithms for data mining tasks";
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
};
}
diff --git a/pkgs/applications/science/math/wxmaxima/default.nix b/pkgs/applications/science/math/wxmaxima/default.nix
index 01be4ba7e6c6376ecab0b53bdcea6c91d975a545..75448b6965cdafe3a1ad7da26cf6c65f95cb8243 100644
--- a/pkgs/applications/science/math/wxmaxima/default.nix
+++ b/pkgs/applications/science/math/wxmaxima/default.nix
@@ -27,7 +27,7 @@ stdenv.mkDerivation {
meta = {
description = "Cross platform GUI for the computer algebra system Maxima";
- license = "GPL2";
+ license = stdenv.lib.licenses.gpl2;
homepage = http://wxmaxima.sourceforge.net;
platforms = stdenv.lib.platforms.linux;
maintainers = [ stdenv.lib.maintainers.simons ];
diff --git a/pkgs/applications/science/math/yacas/default.nix b/pkgs/applications/science/math/yacas/default.nix
index acc4740eb6b4d1694516c0e4ab07f59215f6b64f..2c9d63be1b4d47dd6dd96cac051c88b8f3551ad2 100644
--- a/pkgs/applications/science/math/yacas/default.nix
+++ b/pkgs/applications/science/math/yacas/default.nix
@@ -35,7 +35,7 @@ stdenv.mkDerivation rec {
meta = {
description = "Easy to use, general purpose Computer Algebra System";
homepage = http://yacas.sourceforge.net/;
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
maintainers = with stdenv.lib.maintainers; [viric];
platforms = with stdenv.lib.platforms; all;
};
diff --git a/pkgs/applications/science/misc/boinc/default.nix b/pkgs/applications/science/misc/boinc/default.nix
index f4b79c8d236fb9070cd9f2ca58538b16bbde61fb..7020de0bca88a48dac90c8f2edd51055280c9fb7 100644
--- a/pkgs/applications/science/misc/boinc/default.nix
+++ b/pkgs/applications/science/misc/boinc/default.nix
@@ -36,7 +36,7 @@ stdenv.mkDerivation rec {
homepage = http://boinc.berkeley.edu/;
- license = "LGPLv2+";
+ license = stdenv.lib.licenses.lgpl2Plus;
platforms = stdenv.lib.platforms.linux; # arbitrary choice
};
diff --git a/pkgs/applications/science/misc/golly/default.nix b/pkgs/applications/science/misc/golly/default.nix
index a380f05b0915f36a19d3a4cfe09bd7fc0b3e2b78..9d198cd5c7f807af1044456148784ba233003276 100644
--- a/pkgs/applications/science/misc/golly/default.nix
+++ b/pkgs/applications/science/misc/golly/default.nix
@@ -1,11 +1,11 @@
-x@{builderDefsPackage,
+x@{builderDefsPackage,
wxGTK, perl, python, zlib
, ...}:
builderDefsPackage
-(a :
-let
+(a :
+let
s = import ./src-for-default.nix;
- helperArgNames = ["builderDefsPackage"] ++
+ helperArgNames = ["builderDefsPackage"] ++
[];
buildInputs = map (n: builtins.getAttr n x)
(builtins.attrNames (builtins.removeAttrs x helperArgNames));
@@ -26,7 +26,7 @@ rec {
export NIX_LDFLAGS="$NIX_LDFLAGS -l$pythonLib"
echo "Flags: $NIX_LDFLAGS"
'';
-
+
meta = {
description = "Cellular automata simulation program";
maintainers = with a.lib.maintainers;
@@ -35,7 +35,7 @@ rec {
];
platforms = with a.lib.platforms;
linux;
- license = "GPLv2";
+ license = with a.lib.licenses;
+ gpl2;
};
}) x
-
diff --git a/pkgs/applications/science/misc/simgrid/default.nix b/pkgs/applications/science/misc/simgrid/default.nix
index 5fdede1abcdf639e30c556be5fb5a858227d5a4d..d402a48c815c3b17e1624e3c19fc703caf6778f4 100644
--- a/pkgs/applications/science/misc/simgrid/default.nix
+++ b/pkgs/applications/science/misc/simgrid/default.nix
@@ -71,7 +71,7 @@ stdenv.mkDerivation rec {
homepage = http://simgrid.gforge.inria.fr/;
- license = "LGPLv2+";
+ license = stdenv.lib.licenses.lgpl2Plus;
maintainers = [ ];
platforms = stdenv.lib.platforms.gnu; # arbitrary choice
diff --git a/pkgs/applications/science/misc/tulip/default.nix b/pkgs/applications/science/misc/tulip/default.nix
index e58183a4f40b945641292efc2cfaadf1521d2f9b..da6e0cb2805d4a0efc01ece67a1fbe3edc373bc9 100644
--- a/pkgs/applications/science/misc/tulip/default.nix
+++ b/pkgs/applications/science/misc/tulip/default.nix
@@ -30,7 +30,7 @@ stdenv.mkDerivation rec {
homepage = http://tulip.labri.fr/;
- license = "GPLv3+";
+ license = stdenv.lib.licenses.gpl3Plus;
maintainers = [ ];
platforms = stdenv.lib.platforms.gnu; # arbitrary choice
diff --git a/pkgs/applications/search/doodle/default.nix b/pkgs/applications/search/doodle/default.nix
index a6b3ac7ccfdfe1b86298fbf0a69f95891cc20d09..3a9df15057423af8680f80f9cbd682a9157a7228 100644
--- a/pkgs/applications/search/doodle/default.nix
+++ b/pkgs/applications/search/doodle/default.nix
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://grothoff.org/christian/doodle/;
description = "Tool to quickly index and search documents on a computer";
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
maintainers = with stdenv.lib.maintainers; [viric];
platforms = with stdenv.lib.platforms; linux;
};
diff --git a/pkgs/applications/version-management/cvsps/default.nix b/pkgs/applications/version-management/cvsps/default.nix
index 1be797fea9666a1a2e2b44a2efe95ea20025a5a5..9bc4401e06812d30e325321ed347c4429f50c58e 100644
--- a/pkgs/applications/version-management/cvsps/default.nix
+++ b/pkgs/applications/version-management/cvsps/default.nix
@@ -24,6 +24,6 @@ stdenv.mkDerivation rec {
same time (using a single "cvs commit" command).
'';
homepage = http://www.cobite.com/cvsps/;
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
};
}
diff --git a/pkgs/applications/version-management/git-and-tools/github-backup/default.nix b/pkgs/applications/version-management/git-and-tools/github-backup/default.nix
index f9d43037f6a12041124ad1f7a193d24179a8540e..93ad9451401822e70829dd3a09ce4a628564e422 100644
--- a/pkgs/applications/version-management/git-and-tools/github-backup/default.nix
+++ b/pkgs/applications/version-management/git-and-tools/github-backup/default.nix
@@ -7,8 +7,8 @@
cabal.mkDerivation (self: {
pname = "github-backup";
- version = "1.20140707";
- sha256 = "0c15gq91c36xza7yiimqvgk609p9xf9jlzy9683d9p9bx1khpadd";
+ version = "1.20140721";
+ sha256 = "0bnkfmgpk1iaaqck4ppn461fzk3s2761w2nxfrvw10gc934lhrxc";
isLibrary = false;
isExecutable = true;
buildDepends = [
diff --git a/pkgs/applications/version-management/git-and-tools/qgit/default.nix b/pkgs/applications/version-management/git-and-tools/qgit/default.nix
index d92b49b9ef6c58b24b5dfdb7444f3ef5eaeb54cd..a7e6a62ce5f5eee3e1c1592f8b84a6a2dd824226 100644
--- a/pkgs/applications/version-management/git-and-tools/qgit/default.nix
+++ b/pkgs/applications/version-management/git-and-tools/qgit/default.nix
@@ -4,7 +4,7 @@ stdenv.mkDerivation rec {
name = "qgit-2.5";
meta =
{
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
homepage = "http://libre.tibirna.org/projects/qgit/wiki/QGit";
description = "Graphical front-end to Git";
inherit (qt.meta) platforms;
diff --git a/pkgs/applications/version-management/git-and-tools/qgit/qgit-git.nix b/pkgs/applications/version-management/git-and-tools/qgit/qgit-git.nix
index c3b3469ca1ad18b3b684a419742869b685101d98..590e090de48c709c16b314e53dfac21d6b010d64 100644
--- a/pkgs/applications/version-management/git-and-tools/qgit/qgit-git.nix
+++ b/pkgs/applications/version-management/git-and-tools/qgit/qgit-git.nix
@@ -4,7 +4,7 @@ stdenv.mkDerivation rec {
name = "qgit-git";
meta =
{
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
homepage = "http://digilander.libero.it/mcostalba/";
description = "Graphical front-end to Git";
};
diff --git a/pkgs/applications/version-management/git-and-tools/topgit/default.nix b/pkgs/applications/version-management/git-and-tools/topgit/default.nix
index 5290a12a54ac1830166ae878dda08d0b9e158e63..195f6f3a4635c7b99e818c0fe3cce32d977a9ede 100644
--- a/pkgs/applications/version-management/git-and-tools/topgit/default.nix
+++ b/pkgs/applications/version-management/git-and-tools/topgit/default.nix
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = "https://github.com/greenrd/topgit";
description = "TopGit manages large amount of interdependent topic branches";
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
platforms = stdenv.lib.platforms.unix;
maintainers = with stdenv.lib.maintainers; [ marcweber ludo simons ];
};
diff --git a/pkgs/applications/version-management/meld/default.nix b/pkgs/applications/version-management/meld/default.nix
index 73b21728e16569c1ee858cd711ff42b6f1d45cee..29094f1efce4b9f4863b4ae8f6d2fcfa6f7c904a 100644
--- a/pkgs/applications/version-management/meld/default.nix
+++ b/pkgs/applications/version-management/meld/default.nix
@@ -27,7 +27,7 @@ stdenv.mkDerivation {
meta = with stdenv.lib; {
description = "Visual diff and merge tool";
homepage = http://meld.sourceforge.net;
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
platforms = platforms.linux;
};
}
diff --git a/pkgs/applications/version-management/mercurial/default.nix b/pkgs/applications/version-management/mercurial/default.nix
index 5fdafe8ac2aa5a1f0e93b183ad77423a003d7af7..fb3e115e125f45ba94165eecfaa0a09317c5c092 100644
--- a/pkgs/applications/version-management/mercurial/default.nix
+++ b/pkgs/applications/version-management/mercurial/default.nix
@@ -55,7 +55,7 @@ stdenv.mkDerivation {
meta = {
description = "A fast, lightweight SCM system for very large distributed projects";
homepage = "http://www.selenic.com/mercurial/";
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
maintainers = [ stdenv.lib.maintainers.eelco ];
};
}
diff --git a/pkgs/applications/version-management/mr/default.nix b/pkgs/applications/version-management/mr/default.nix
index e89cea6aadcea0ce59d5e140df4ee3dae4dcc05a..29fafc4db74cd4a7bc3f9b638231e6d37adca023 100644
--- a/pkgs/applications/version-management/mr/default.nix
+++ b/pkgs/applications/version-management/mr/default.nix
@@ -49,7 +49,7 @@ stdenv.mkDerivation rec {
offline, so they can be retried when it comes back online.
'';
homepage = http://joeyh.name/code/mr/;
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
platforms = stdenv.lib.platforms.unix;
maintainers = [ stdenv.lib.maintainers.antono ];
};
diff --git a/pkgs/applications/version-management/rapidsvn/default.nix b/pkgs/applications/version-management/rapidsvn/default.nix
index 264340b48262625d78d972b6ac564067c7ec441c..843fe9ad3230d5aa21d6849c7cc4c0a1d3cf83e8 100644
--- a/pkgs/applications/version-management/rapidsvn/default.nix
+++ b/pkgs/applications/version-management/rapidsvn/default.nix
@@ -16,7 +16,7 @@ stdenv.mkDerivation {
meta = {
description = "Multi-platform GUI front-end for the Subversion revision system";
homepage = http://rapidsvn.tigris.org/;
- license = "GPLv3+";
+ license = stdenv.lib.licenses.gpl3Plus;
maintainers = [ stdenv.lib.maintainers.viric ];
};
}
diff --git a/pkgs/applications/version-management/rcs/default.nix b/pkgs/applications/version-management/rcs/default.nix
index 90bca9b07124cf4f8803e5ae917efba2ab035707..e71d23132acafaf95b93896a15d75125887d330a 100644
--- a/pkgs/applications/version-management/rcs/default.nix
+++ b/pkgs/applications/version-management/rcs/default.nix
@@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
documentation, graphics, papers, and form letters.
'';
- license = "GPLv3+";
+ license = stdenv.lib.licenses.gpl3Plus;
maintainers = with stdenv.lib.maintainers; [ eelco simons ];
platforms = stdenv.lib.platforms.all;
};
diff --git a/pkgs/applications/version-management/tkcvs/default.nix b/pkgs/applications/version-management/tkcvs/default.nix
index 569c442f9838f04973be4a9c9a167f431ca142a5..b3bfe8a22e68186f59cfc4c2d6c50f2f02987ef8 100644
--- a/pkgs/applications/version-management/tkcvs/default.nix
+++ b/pkgs/applications/version-management/tkcvs/default.nix
@@ -22,6 +22,6 @@ stdenv.mkDerivation
meta = {
homepage = http://www.twobarleycorns.net/tkcvs.html;
description = "TCL/TK GUI for cvs and subversion";
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
};
}
diff --git a/pkgs/applications/video/avxsynth/default.nix b/pkgs/applications/video/avxsynth/default.nix
index 70dcad49c9789041639ade00e095451f8558acdf..a9a2ec46397f00632a8152d0aee311aeb55f698e 100644
--- a/pkgs/applications/video/avxsynth/default.nix
+++ b/pkgs/applications/video/avxsynth/default.nix
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = https://github.com/avxsynth/avxsynth/wiki;
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
maintainers = with stdenv.lib.maintainers; [viric];
platforms = with stdenv.lib.platforms; linux;
};
diff --git a/pkgs/applications/video/bangarang/default.nix b/pkgs/applications/video/bangarang/default.nix
index 1058243c0e08d74f70862f8a3b53542d02a1b2e6..f962b52dd627337fe623ea2a647958a2d2d36ecb 100644
--- a/pkgs/applications/video/bangarang/default.nix
+++ b/pkgs/applications/video/bangarang/default.nix
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
media collection management, playlists and statistics.
'';
homepage = http://bangarangkde.wordpress.com/;
- license = "GPLv3";
+ license = stdenv.lib.licenses.gpl3;
maintainers = [ maintainers.phreedom maintainers.urkud ];
platforms = platforms.linux;
};
diff --git a/pkgs/applications/video/cinelerra/default.nix b/pkgs/applications/video/cinelerra/default.nix
index ce8bbde2ecd151ee77dfaa2777b5f3dd46201055..8287cb9121ea3c260498bf2a4be2deeee86c7690 100644
--- a/pkgs/applications/video/cinelerra/default.nix
+++ b/pkgs/applications/video/cinelerra/default.nix
@@ -44,6 +44,6 @@ stdenv.mkDerivation {
description = "Video Editor";
homepage = http://www.cinelerra.org;
maintainers = [ stdenv.lib.maintainers.marcweber ];
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
};
}
diff --git a/pkgs/applications/video/coriander/default.nix b/pkgs/applications/video/coriander/default.nix
index f4be54ae23ecc612ca4896a8166f0cce5a7fa903..e3c288534035641ed3e02d8939b76d5b59482066 100644
--- a/pkgs/applications/video/coriander/default.nix
+++ b/pkgs/applications/video/coriander/default.nix
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://damien.douxchamps.net/ieee1394/coriander/;
description = "GUI for controlling a Digital Camera through the IEEE1394 bus";
- license = "GPLv3+";
+ license = stdenv.lib.licenses.gpl3Plus;
maintainers = with stdenv.lib.maintainers; [viric];
platforms = with stdenv.lib.platforms; linux;
};
diff --git a/pkgs/applications/video/dvb-apps/default.nix b/pkgs/applications/video/dvb-apps/default.nix
index 74e3d58553a7b1d5bc04ddfce85eaa3762720f62..5e8e63564f4f8dd9c4415e95e13aae4e40ed7781 100644
--- a/pkgs/applications/video/dvb-apps/default.nix
+++ b/pkgs/applications/video/dvb-apps/default.nix
@@ -18,6 +18,6 @@ stdenv.mkDerivation {
description = "Linux DVB API applications and utilities";
homepage = http://linuxtv.org/;
platforms = stdenv.lib.platforms.linux;
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
};
}
diff --git a/pkgs/applications/video/gnash/default.nix b/pkgs/applications/video/gnash/default.nix
index 2e8b7e63cb82a02e3def2dbec4439eed305f7082..06122619066ad48e5f995ba451794e31de7ca3f6 100644
--- a/pkgs/applications/video/gnash/default.nix
+++ b/pkgs/applications/video/gnash/default.nix
@@ -114,7 +114,7 @@ stdenv.mkDerivation rec {
supports most SWF v7 features and some SWF v8 and v9.
'';
- license = "GPLv3+";
+ license = stdenv.lib.licenses.gpl3Plus;
maintainers = [ stdenv.lib.maintainers.ludo ];
platforms = stdenv.lib.platforms.gnu;
diff --git a/pkgs/applications/video/kdenlive/default.nix b/pkgs/applications/video/kdenlive/default.nix
index d7fab74e6cac92e618e8066d99e0cd3fb0903f69..8c51c4f35a3b96d4214bb684cd2ec76b407832e7 100644
--- a/pkgs/applications/video/kdenlive/default.nix
+++ b/pkgs/applications/video/kdenlive/default.nix
@@ -1,28 +1,36 @@
-{ stdenv, fetchurl, lib, cmake, qt4, perl, kdelibs, automoc4, phonon
-, mlt, gettext , qimageblitz, qjson, shared_mime_info, soprano
-, pkgconfig, shared_desktop_ontologies, libv4l }:
+{ stdenv, fetchurl, frei0r, lib, cmake, qt4, perl, kdelibs, automoc4
+, phonon , makeWrapper, mlt, gettext , qimageblitz, qjson
+, shared_mime_info, soprano, pkgconfig, shared_desktop_ontologies
+, libv4l
+}:
stdenv.mkDerivation rec {
name = "kdenlive-${version}";
- version = "0.9.6";
+ version = "0.9.8";
src = fetchurl {
url = "mirror://kde/stable/kdenlive/${version}/src/${name}.tar.bz2";
- sha256 = "1rw2cbzy5mabwijvryyzbhpgldn2zy5jy4j87hl4m1i8ah9lgi7x";
+ sha256 = "17x5srgywcwlbpbs598jwwc62l8313n4dbqx3sdk7p6lyvwk3jln";
};
- buildInputs =
- [ cmake qt4 perl kdelibs automoc4 phonon mlt gettext qimageblitz
- qjson shared_mime_info soprano pkgconfig shared_desktop_ontologies libv4l
- ];
+ buildInputs = [
+ automoc4 cmake frei0r gettext kdelibs libv4l makeWrapper mlt perl
+ phonon pkgconfig qimageblitz qjson qt4 shared_desktop_ontologies
+ shared_mime_info soprano
+ ];
enableParallelBuilding = true;
+ postInstall = ''
+ wrapProgram $out/bin/kdenlive --prefix FREI0R_PATH : ${frei0r}/lib/frei0r-1
+ wrapProgram $out/bin/kdenlive_render --prefix FREI0R_PATH : ${frei0r}/lib/frei0r-1
+ '';
+
meta = {
description = "Free and open source video editor";
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
homepage = http://www.kdenlive.org/;
- maintainers = with stdenv.lib.maintainers; [viric];
+ maintainers = with stdenv.lib.maintainers; [ goibhniu viric ];
platforms = with stdenv.lib.platforms; linux;
};
}
diff --git a/pkgs/applications/video/kino/default.nix b/pkgs/applications/video/kino/default.nix
index 30e0bdfb197a5fdbf34ea1888f57a40c79d52204..16bd57bef34a6d21e241eb4ffe8306cc3b969d1b 100644
--- a/pkgs/applications/video/kino/default.nix
+++ b/pkgs/applications/video/kino/default.nix
@@ -87,6 +87,6 @@ stdenv.mkDerivation {
meta = {
description = "Kino is a non-linear DV editor for GNU/Linux";
homepage = http://www.kinodv.org/;
- license = "GPL2";
+ license = stdenv.lib.licenses.gpl2;
};
}
diff --git a/pkgs/applications/video/lxdvdrip/default.nix b/pkgs/applications/video/lxdvdrip/default.nix
index 1b3acd2c2ff32774f5bd66ddd2b4299f8ec868be..6e7b874841fc9c519417442eeccac9ac525fd4f2 100644
--- a/pkgs/applications/video/lxdvdrip/default.nix
+++ b/pkgs/applications/video/lxdvdrip/default.nix
@@ -23,6 +23,6 @@ stdenv.mkDerivation rec {
meta = {
description = "Command line tool to make a copy from a video DVD for private use";
homepage = http://sourceforge.net/projects/lxdvdrip;
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
};
}
diff --git a/pkgs/applications/video/makemkv/default.nix b/pkgs/applications/video/makemkv/default.nix
index 43482bd976247f8c0f2841d79476cb668d13a219..bec9d85aefd8be536b8e7ee78e9396cc6a20b320 100644
--- a/pkgs/applications/video/makemkv/default.nix
+++ b/pkgs/applications/video/makemkv/default.nix
@@ -33,7 +33,7 @@ stdenv.mkDerivation rec {
can always download the latest version from makemkv.com that will reset the
expiration date.
'';
- license = "unfree";
+ license = stdenv.lib.licenses.unfree;
homepage = http://makemkv.com;
};
}
diff --git a/pkgs/applications/video/mplayer/default.nix b/pkgs/applications/video/mplayer/default.nix
index 6d8780d6cf4833861c6c2d5146103d57568346bf..f3cef6db69f11d9835e2a0630bd854a84af7f283 100644
--- a/pkgs/applications/video/mplayer/default.nix
+++ b/pkgs/applications/video/mplayer/default.nix
@@ -15,7 +15,7 @@
, speexSupport ? true, speex ? null
, theoraSupport ? true, libtheora ? null
, x264Support ? false, x264 ? null
-, jackaudioSupport ? false, jackaudio ? null
+, jackaudioSupport ? false, jack2 ? null
, pulseSupport ? false, pulseaudio ? null
, bs2bSupport ? false, libbs2b ? null
# For screenshots
@@ -40,7 +40,7 @@ assert lameSupport -> lame != null;
assert speexSupport -> speex != null;
assert theoraSupport -> libtheora != null;
assert x264Support -> x264 != null;
-assert jackaudioSupport -> jackaudio != null;
+assert jackaudioSupport -> jack2 != null;
assert pulseSupport -> pulseaudio != null;
assert bs2bSupport -> libbs2b != null;
assert libpngSupport -> libpng != null;
@@ -72,7 +72,7 @@ let
cp -prv * $out
'';
- meta.license = "unfree";
+ meta.license = stdenv.lib.licenses.unfree;
} else null;
in
@@ -109,7 +109,7 @@ stdenv.mkDerivation rec {
++ optional dvdnavSupport libdvdnav
++ optional bluraySupport libbluray
++ optional cddaSupport cdparanoia
- ++ optional jackaudioSupport jackaudio
+ ++ optional jackaudioSupport jack2
++ optionals amrSupport [ amrnb amrwb ]
++ optional x264Support x264
++ optional pulseSupport pulseaudio
diff --git a/pkgs/applications/video/mplayer2/default.nix b/pkgs/applications/video/mplayer2/default.nix
index 74b74037e50e0a40bac7da396e516b7dead2a953..d8ada6372b10198ee6283fbbd581f40753a7aa6c 100644
--- a/pkgs/applications/video/mplayer2/default.nix
+++ b/pkgs/applications/video/mplayer2/default.nix
@@ -10,7 +10,7 @@
, bluraySupport ? true, libbluray ? null
, speexSupport ? true, speex ? null
, theoraSupport ? true, libtheora ? null
-, jackaudioSupport ? false, jackaudio ? null
+, jackaudioSupport ? false, jack2 ? null
, pulseSupport ? true, pulseaudio ? null
, bs2bSupport ? false, libbs2b ? null
# For screenshots
@@ -28,7 +28,7 @@ assert dvdnavSupport -> libdvdnav != null;
assert bluraySupport -> libbluray != null;
assert speexSupport -> speex != null;
assert theoraSupport -> libtheora != null;
-assert jackaudioSupport -> jackaudio != null;
+assert jackaudioSupport -> jack2 != null;
assert pulseSupport -> pulseaudio != null;
assert bs2bSupport -> libbs2b != null;
assert libpngSupport -> libpng != null;
@@ -60,7 +60,7 @@ let
cp -prv * $out
'';
- meta.license = "unfree";
+ meta.license = stdenv.lib.licenses.unfree;
} else null;
in
@@ -89,7 +89,7 @@ stdenv.mkDerivation rec {
++ optional xineramaSupport libXinerama
++ optionals dvdnavSupport [ libdvdnav libdvdnav.libdvdread ]
++ optional bluraySupport libbluray
- ++ optional jackaudioSupport jackaudio
+ ++ optional jackaudioSupport jack2
++ optional pulseSupport pulseaudio
++ optional screenSaverSupport libXScrnSaver
++ optional vdpauSupport libvdpau
@@ -130,7 +130,7 @@ stdenv.mkDerivation rec {
meta = {
description = "A movie player that supports many video formats (MPlayer fork)";
homepage = "http://mplayer2.org";
- license = "GPLv3+";
+ license = stdenv.lib.licenses.gpl3Plus;
maintainers = [ stdenv.lib.maintainers.viric ];
platforms = stdenv.lib.platforms.linux;
};
diff --git a/pkgs/applications/video/mpv/default.nix b/pkgs/applications/video/mpv/default.nix
index 53136010c826b99bb382218cabb922cd231330ed..4eec9afdbf3d6b358508a76835a04d99aaac1f09 100644
--- a/pkgs/applications/video/mpv/default.nix
+++ b/pkgs/applications/video/mpv/default.nix
@@ -14,7 +14,7 @@
, bluraySupport ? true, libbluray ? null
, speexSupport ? true, speex ? null
, theoraSupport ? true, libtheora ? null
-, jackaudioSupport ? true, jackaudio ? null
+, jackaudioSupport ? true, jack2 ? null
, pulseSupport ? true, pulseaudio ? null
, bs2bSupport ? false, libbs2b ? null
# For screenshots
@@ -36,7 +36,7 @@ assert dvdnavSupport -> libdvdnav != null;
assert bluraySupport -> libbluray != null;
assert speexSupport -> speex != null;
assert theoraSupport -> libtheora != null;
-assert jackaudioSupport -> jackaudio != null;
+assert jackaudioSupport -> jack2 != null;
assert pulseSupport -> pulseaudio != null;
assert bs2bSupport -> libbs2b != null;
assert libpngSupport -> libpng != null;
@@ -74,7 +74,7 @@ stdenv.mkDerivation rec {
++ optional dvdreadSupport libdvdread
++ optionals dvdnavSupport [ libdvdnav libdvdnav.libdvdread ]
++ optional bluraySupport libbluray
- ++ optional jackaudioSupport jackaudio
+ ++ optional jackaudioSupport jack2
++ optional pulseSupport pulseaudio
++ optional screenSaverSupport libXScrnSaver
++ optional vdpauSupport libvdpau
diff --git a/pkgs/applications/video/ogmtools/default.nix b/pkgs/applications/video/ogmtools/default.nix
index 11a16e3a79d2f9a645c270ed3667612b6b7d6349..82077e4d3ddde632f4111bf7bf036f298d616353 100644
--- a/pkgs/applications/video/ogmtools/default.nix
+++ b/pkgs/applications/video/ogmtools/default.nix
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
tool for extracting chapter information from DVD.
'';
homepage = http://www.bunkus.org/videotools/ogmtools/;
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
platforms = stdenv.lib.platforms.all;
};
}
diff --git a/pkgs/applications/video/omxplayer/default.nix b/pkgs/applications/video/omxplayer/default.nix
index b3880067cac4b0b96f135ca3754a3f6a761aad8a..811fb7a78dbfa2572491076344c4fc4cc83d963b 100644
--- a/pkgs/applications/video/omxplayer/default.nix
+++ b/pkgs/applications/video/omxplayer/default.nix
@@ -79,6 +79,6 @@ stdenv.mkDerivation rec {
meta = {
homepage = https://github.com/huceke/omxplayer;
description = "Commandline OMX player for the Raspberry Pi";
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
};
}
diff --git a/pkgs/applications/video/quvi/tool.nix b/pkgs/applications/video/quvi/tool.nix
index 807e3954d6feae0cf05cd908b1a8017c5a27779b..29bb439dcf6641cfa3bfebd1a0099a52601ff8d7 100644
--- a/pkgs/applications/video/quvi/tool.nix
+++ b/pkgs/applications/video/quvi/tool.nix
@@ -17,9 +17,8 @@ stdenv.mkDerivation rec {
meta = {
description = "Web video downloader";
homepage = http://quvi.sf.net;
- license = "LGPLv2.1+";
+ license = stdenv.lib.licenses.lgpl21Plus;
platforms = stdenv.lib.platforms.linux;
maintainers = [ stdenv.lib.maintainers.mornfall ];
};
}
-
diff --git a/pkgs/applications/video/shotcut/CuteLogger.patch b/pkgs/applications/video/shotcut/CuteLogger.patch
new file mode 100644
index 0000000000000000000000000000000000000000..77b451cb437d5da1fe5b012b9819c63416950e23
--- /dev/null
+++ b/pkgs/applications/video/shotcut/CuteLogger.patch
@@ -0,0 +1,13 @@
+diff --git shotcut-14.07/CuteLogger/CuteLogger.pro shotcut-14.07/CuteLogger/CuteLogger.pro
+index 501eddc..a5290b0 100644
+--- shotcut-14.07/CuteLogger/CuteLogger.pro
++++ shotcut-14.07/CuteLogger/CuteLogger.pro
+@@ -42,7 +42,7 @@ unix:!symbian {
+ maemo5 {
+ target.path = /opt/usr/lib
+ } else {
+- target.path = /usr/lib
++ target.path = $(INSTALL_ROOT)/usr/lib
+ }
+ INSTALLS += target
+ }
diff --git a/pkgs/applications/video/shotcut/default.nix b/pkgs/applications/video/shotcut/default.nix
new file mode 100644
index 0000000000000000000000000000000000000000..97c3720f7f932ad8772453470ed41066cbe82320
--- /dev/null
+++ b/pkgs/applications/video/shotcut/default.nix
@@ -0,0 +1,41 @@
+{ stdenv, fetchurl, SDL, frei0r, gettext, makeWrapper, mlt, pkgconfig, qt5 }:
+
+stdenv.mkDerivation rec {
+ name = "shotcut-${version}";
+ version = "14.07";
+
+ src = fetchurl {
+ url = "https://github.com/mltframework/shotcut/archive/v${version}.tar.gz";
+ sha256 = "05g0b3jhmmdv8qnlgmi8wsfi7l3c5zvjcrrb3q7ajfc3q7yf6k6a";
+ };
+
+ buildInputs = [ SDL frei0r gettext makeWrapper mlt pkgconfig qt5 ];
+
+ # Fixed in git and can be removed for the next release
+ patches = [ ./CuteLogger.patch ];
+
+ configurePhase = "qmake PREFIX=$out";
+
+ postInstall = ''
+ mkdir -p $out/share/shotcut
+ cp -r src/qml $out/share/shotcut/
+ wrapProgram $out/bin/shotcut --prefix FREI0R_PATH : ${frei0r}/lib/frei0r-1
+ '';
+
+ meta = with stdenv.lib; {
+ description = "A free, open source, cross-platform video editor";
+ longDescription = ''
+ An offical binary for Shotcut, which includes all the
+ dependencies pinned to specific versions, is provided on
+ http://shotcut.org.
+
+ If you encounter problems with this version, please contact the
+ nixpkgs maintainer(s). If you wish to report any bugs upstream,
+ please use the official build from shotcut.org instead.
+ '';
+ homepage = http://shotcut.org;
+ license = licenses.gpl3;
+ maintainers = [ maintainers.goibhniu ];
+ platforms = platforms.linux;
+ };
+}
diff --git a/pkgs/applications/video/simplescreenrecorder/default.nix b/pkgs/applications/video/simplescreenrecorder/default.nix
index 3251127c7a1917daa22b9c9dbd72f98feb4129ae..4c58262a5f10653e57a0e35e8d188eb090395495 100644
--- a/pkgs/applications/video/simplescreenrecorder/default.nix
+++ b/pkgs/applications/video/simplescreenrecorder/default.nix
@@ -1,18 +1,18 @@
-{ stdenv, fetchurl, alsaLib, ffmpeg, jackaudio, libX11, libXext
+{ stdenv, fetchurl, alsaLib, ffmpeg, jack2, libX11, libXext
, libXfixes, mesa, pkgconfig, pulseaudio, qt4
}:
stdenv.mkDerivation rec {
name = "simplescreenrecorder-${version}";
- version = "0.2.2";
+ version = "0.3.0";
src = fetchurl {
url = "https://github.com/MaartenBaert/ssr/archive/${version}.tar.gz";
- sha256 = "0k1r1ilpk05qmwpnld95zxxk57qvyaq2r9f4i3la7y0xh9bz1gls";
+ sha256 = "0caal8jq47d56ld57cdf2lr1ji350v09j5chgvgxv2pbqmqga4p5";
};
buildInputs = [
- alsaLib ffmpeg jackaudio libX11 libXext libXfixes mesa pkgconfig
+ alsaLib ffmpeg jack2 libX11 libXext libXfixes mesa pkgconfig
pulseaudio qt4
];
diff --git a/pkgs/applications/video/vlc/default.nix b/pkgs/applications/video/vlc/default.nix
index 2c5b53c596a6bdf6bd66b2c82f7bcd2199a98059..71db3d40a46fee7e7532a3694fc59514ad028fb3 100644
--- a/pkgs/applications/video/vlc/default.nix
+++ b/pkgs/applications/video/vlc/default.nix
@@ -3,7 +3,7 @@
, pkgconfig, dbus, fribidi, qt4, freefont_ttf, libebml, libmatroska
, libvorbis, libtheora, speex, lua5, libgcrypt, libupnp
, libcaca, pulseaudio, flac, schroedinger, libxml2, librsvg
-, mpeg2dec, udev, gnutls, avahi, libcddb, jackaudio, SDL, SDL_image
+, mpeg2dec, udev, gnutls, avahi, libcddb, jack2, SDL, SDL_image
, libmtp, unzip, taglib, libkate, libtiger, libv4l, samba, liboggz
, libass, libva, libdvbpsi, libdc1394, libraw1394, libopus
, libvdpau
@@ -11,18 +11,18 @@
stdenv.mkDerivation rec {
name = "vlc-${version}";
- version = "2.1.4";
+ version = "2.1.5";
src = fetchurl {
url = "http://download.videolan.org/pub/videolan/vlc/${version}/${name}.tar.xz";
- sha256 = "1lymhbb2bns73qivdaqanhggjjhyc9fwfgf5ikhng0a74msnqmiy";
+ sha256 = "0whzbn7ahn5maarcwl1yhk9lq10b0q0y9w5pjl9kh3frdjmncrbg";
};
buildInputs =
[ xz bzip2 perl zlib a52dec libmad faad2 ffmpeg alsaLib libdvdnav libdvdnav.libdvdread
libbluray dbus fribidi qt4 libvorbis libtheora speex lua5 libgcrypt
libupnp libcaca pulseaudio flac schroedinger libxml2 librsvg mpeg2dec
- udev gnutls avahi libcddb jackaudio SDL SDL_image libmtp unzip taglib
+ udev gnutls avahi libcddb jack2 SDL SDL_image libmtp unzip taglib
libkate libtiger libv4l samba liboggz libass libdvbpsi libva
xlibs.xlibs xlibs.libXv xlibs.libXvMC xlibs.libXpm xlibs.xcbutilkeysyms
libdc1394 libraw1394 libopus libebml libmatroska libvdpau
diff --git a/pkgs/applications/video/xvidcap/default.nix b/pkgs/applications/video/xvidcap/default.nix
index 9d7f8a6ac992152d32f857ed09376bd8ab5a943c..83b5c778f866f944163eb9a7eda055b08d5855d8 100644
--- a/pkgs/applications/video/xvidcap/default.nix
+++ b/pkgs/applications/video/xvidcap/default.nix
@@ -18,6 +18,6 @@ stdenv.mkDerivation {
meta = {
description = "screencast video catpuring tool";
homepage = http://xvidcap.sourceforge.net/;
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
};
}
diff --git a/pkgs/applications/virtualization/docker/default.nix b/pkgs/applications/virtualization/docker/default.nix
index d951fe124c9f97a98ed148bdcbadd19df5166c75..4a488a381abf06846dd31b0f5bb66d627809a0d0 100644
--- a/pkgs/applications/virtualization/docker/default.nix
+++ b/pkgs/applications/virtualization/docker/default.nix
@@ -3,24 +3,21 @@ btrfsProgs, iptables, bash}:
stdenv.mkDerivation rec {
name = "docker-${version}";
- version = "0.10.0";
+ version = "1.1.2";
src = fetchurl {
url = "https://github.com/dotcloud/docker/archive/v${version}.tar.gz";
- sha256 = "14gmx119hd3j0c6rbks2mm83hk46s5wnnyvj8rhn25h0yp39pm5q";
+ sha256 = "1pa6k3gx940ap3r96xdry6apzkm0ymqra92b2mrp25b25264cqcy";
};
- phases = ["unpackPhase" "preBuild" "buildPhase" "installPhase"];
-
buildInputs = [ makeWrapper go sqlite lxc iproute bridge_utils devicemapper btrfsProgs iptables ];
- preBuild = ''
- patchShebangs ./hack
- '';
+ dontStrip = true;
buildPhase = ''
+ patchShebangs ./hack
export AUTO_GOPATH=1
- export DOCKER_GITCOMMIT="867b2a90c228f62cdcd44907ceef279a2d8f1ac5"
+ export DOCKER_GITCOMMIT="d84a070"
./hack/make.sh dynbinary
'';
@@ -41,7 +38,7 @@ stdenv.mkDerivation rec {
homepage = http://www.docker.io/;
description = "An open source project to pack, ship and run any application as a lightweight container";
license = licenses.asl20;
- maintainers = with maintainers; [ offline ];
+ maintainers = with maintainers; [ offline tailhook ];
platforms = platforms.linux;
};
}
diff --git a/pkgs/applications/virtualization/virtinst/default.nix b/pkgs/applications/virtualization/virtinst/default.nix
index 84600884e7b6866ca1a689be82460d7d7b5b178c..8e2da5c3b7644476adc007fb3959e3b45ed7869f 100644
--- a/pkgs/applications/virtualization/virtinst/default.nix
+++ b/pkgs/applications/virtualization/virtinst/default.nix
@@ -38,7 +38,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://virt-manager.org;
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
maintainers = with stdenv.lib.maintainers; [qknight];
description = "Command line tool which provides an easy way to provision operating systems into virtual machines";
};
diff --git a/pkgs/applications/virtualization/xen/default.nix b/pkgs/applications/virtualization/xen/default.nix
index 5f149b05978731cf54cf2e3bdf148937161e525c..3cb16a6b4425ea702fb54a1b32fe82ef5c72d260 100644
--- a/pkgs/applications/virtualization/xen/default.nix
+++ b/pkgs/applications/virtualization/xen/default.nix
@@ -136,6 +136,5 @@ stdenv.mkDerivation {
description = "Xen hypervisor and management tools for Dom0";
platforms = [ "i686-linux" "x86_64-linux" ];
maintainers = [ stdenv.lib.maintainers.eelco ];
- broken = true;
};
}
diff --git a/pkgs/applications/window-managers/awesome/3.4.nix b/pkgs/applications/window-managers/awesome/3.4.nix
index b21f73ddc549b41e577862471efc8abf8d4ffe68..3db2bde6540de5e0ae491dae01a924b9eff0b4dc 100644
--- a/pkgs/applications/window-managers/awesome/3.4.nix
+++ b/pkgs/applications/window-managers/awesome/3.4.nix
@@ -43,7 +43,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://awesome.naquadah.org/;
description = "Highly configurable, dynamic window manager for X";
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
maintainers = with stdenv.lib.maintainers; [viric];
platforms = with stdenv.lib.platforms; linux;
};
diff --git a/pkgs/applications/window-managers/dwm/default.nix b/pkgs/applications/window-managers/dwm/default.nix
index b69dd9d8a492860f87ad0f1f907e5fd046233fe5..626a0926a676bb89943b4acd4ec48bba6a7077ea 100644
--- a/pkgs/applications/window-managers/dwm/default.nix
+++ b/pkgs/applications/window-managers/dwm/default.nix
@@ -23,7 +23,7 @@ stdenv.mkDerivation {
meta = {
homepage = "www.suckless.org";
description = "Dynamic window manager for X";
- license = "MIT";
+ license = stdenv.lib.licenses.mit;
maintainers = with stdenv.lib.maintainers; [viric];
platforms = with stdenv.lib.platforms; all;
};
diff --git a/pkgs/applications/window-managers/fvwm/default.nix b/pkgs/applications/window-managers/fvwm/default.nix
index 33acd00027058607e5d8955d41bb948b74d7fe17..6830e3a1c01022f9fab507d30659f72c6927a334 100644
--- a/pkgs/applications/window-managers/fvwm/default.nix
+++ b/pkgs/applications/window-managers/fvwm/default.nix
@@ -20,7 +20,6 @@ stdenv.mkDerivation rec {
meta = {
homepage = "http://fvwm.org";
description = "A multiple large virtual desktop window manager";
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
};
}
-
diff --git a/pkgs/applications/window-managers/i3/default.nix b/pkgs/applications/window-managers/i3/default.nix
index 17a287f8aae2a34556f24183832a792bade83e03..536f76dbc501cb669974c9ee3bd876addab28056 100644
--- a/pkgs/applications/window-managers/i3/default.nix
+++ b/pkgs/applications/window-managers/i3/default.nix
@@ -1,6 +1,6 @@
{ fetchurl, stdenv, which, pkgconfig, libxcb, xcbutilkeysyms, xcbutil,
xcbutilwm, libstartup_notification, libX11, pcre, libev, yajl,
- xcb-util-cursor, coreutils, perl, pango }:
+ xcb-util-cursor, coreutils, perl, pango, perlPackages, xdummy }:
stdenv.mkDerivation rec {
name = "i3-${version}";
@@ -11,13 +11,25 @@ stdenv.mkDerivation rec {
sha256 = "0sqvd8yqf9vwqrrvbpbf8k93b3qfa3q9289m82xq15r31wlk8b2h";
};
- buildInputs = [ which pkgconfig libxcb xcbutilkeysyms xcbutil xcbutilwm
- libstartup_notification libX11 pcre libev yajl xcb-util-cursor perl pango ];
+ buildInputs = [
+ which pkgconfig libxcb xcbutilkeysyms xcbutil xcbutilwm
+ libstartup_notification libX11 pcre libev yajl xcb-util-cursor perl pango
+ perlPackages.AnyEventI3 perlPackages.X11XCB perlPackages.IPCRun
+ perlPackages.ExtUtilsPkgConfig perlPackages.TestMore perlPackages.InlineC
+ ];
patchPhase = ''
patchShebangs .
'';
+ doCheck = stdenv.system == "x86_64-linux";
+
+ checkPhase = ''
+ ln -sf "${xdummy}/bin/xdummy" testcases/Xdummy
+ (cd testcases && perl complete-run.pl -p 1)
+ ! grep -q '^not ok' testcases/latest/complete-run.log
+ '';
+
configurePhase = "makeFlags=PREFIX=$out";
meta = with stdenv.lib; {
diff --git a/pkgs/applications/window-managers/matchbox/default.nix b/pkgs/applications/window-managers/matchbox/default.nix
index ed2637eff6e51a563ad0c1d1539dc60672b2f1fe..08c1be9f963d4b79a338a2c704daa2057d1fe5c0 100644
--- a/pkgs/applications/window-managers/matchbox/default.nix
+++ b/pkgs/applications/window-managers/matchbox/default.nix
@@ -13,6 +13,6 @@ stdenv.mkDerivation rec {
meta = {
description = "X window manager for non-desktop embedded systems";
homepage = http://matchbox-project.org/;
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
};
}
diff --git a/pkgs/applications/window-managers/openbox/default.nix b/pkgs/applications/window-managers/openbox/default.nix
index 56a5f0e3e2cea4bf25c3e1e62df088d61c938bdc..fad5b8010ea4a5ca3a756b328f900e4172c104af 100644
--- a/pkgs/applications/window-managers/openbox/default.nix
+++ b/pkgs/applications/window-managers/openbox/default.nix
@@ -28,6 +28,6 @@ stdenv.mkDerivation rec {
meta = {
description = "X window manager for non-desktop embedded systems";
homepage = http://openbox.org/;
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
};
}
diff --git a/pkgs/applications/window-managers/ratpoison/default.nix b/pkgs/applications/window-managers/ratpoison/default.nix
index d1419fc2225840e4325dba211f035fd98350ce43..65264c20db3593f508a0772292f0a5ae5c7bd576 100644
--- a/pkgs/applications/window-managers/ratpoison/default.nix
+++ b/pkgs/applications/window-managers/ratpoison/default.nix
@@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = "http://www.nongnu.org/ratpoison/";
description = "Ratpoison, a simple mouse-free tiling window manager";
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
longDescription = ''
Ratpoison is a simple window manager with no fat library
diff --git a/pkgs/data/fonts/freefont-ttf/default.nix b/pkgs/data/fonts/freefont-ttf/default.nix
index 92f617888921b5bba095692d8559b0f58b841b67..e1d9e1614f3868a0f5755f6d55cd80f94caf8fc3 100644
--- a/pkgs/data/fonts/freefont-ttf/default.nix
+++ b/pkgs/data/fonts/freefont-ttf/default.nix
@@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
'';
homepage = http://www.gnu.org/software/freefont/;
- license = "GPLv3+";
+ license = stdenv.lib.licenses.gpl3Plus;
platforms = stdenv.lib.platforms.all;
maintainers = [ ];
diff --git a/pkgs/data/fonts/opensans-ttf/default.nix b/pkgs/data/fonts/opensans-ttf/default.nix
new file mode 100644
index 0000000000000000000000000000000000000000..2e0f3d5df2a70725321c0b8a382ce195d6bf68db
--- /dev/null
+++ b/pkgs/data/fonts/opensans-ttf/default.nix
@@ -0,0 +1,34 @@
+{stdenv, fetchurl}:
+
+# adapted from https://aur.archlinux.org/packages/tt/ttf-opensans/PKGBUILD
+
+stdenv.mkDerivation rec {
+ name = "opensans-ttf-20140617";
+
+ src = fetchurl {
+ url = "https://hexchain.org/pub/archlinux/ttf-opensans/opensans.tar.gz";
+ sha256 = "1ycn39dijhd3lffmafminrnfmymdig2jvc6i47bb42fx777q97q4";
+ };
+
+ sourceRoot = ".";
+
+ installPhase = ''
+ mkdir -p $out/share/fonts/truetype
+ cp *.ttf $out/share/fonts/truetype
+ '';
+
+ meta = {
+ description = "Open Sans fonts";
+
+ longDescription = ''
+ Open Sans is a humanist sans serif typeface designed by Steve Matteson,
+ Type Director of Ascender Corp.
+ '';
+
+ homepage = "http://en.wikipedia.org/wiki/Open_Sans";
+ license = "Apache";
+
+ platforms = stdenv.lib.platforms.all;
+ maintainers = [ ];
+ };
+}
diff --git a/pkgs/data/fonts/source-han-sans/base.nix b/pkgs/data/fonts/source-han-sans/base.nix
new file mode 100644
index 0000000000000000000000000000000000000000..d319f41f2e52a18403fb58f6e23351f8d254375c
--- /dev/null
+++ b/pkgs/data/fonts/source-han-sans/base.nix
@@ -0,0 +1,26 @@
+{version ? "1.000", prefix, url, sha256, description}:
+
+{stdenv, fetchurl, unzip}:
+
+stdenv.mkDerivation rec {
+ inherit version;
+ name = "${prefix}-${version}";
+
+ src = fetchurl {
+ inherit url sha256;
+ };
+
+ buildInputs = [ unzip ];
+
+ installPhase = ''
+ mkdir -p $out/share/fonts/truetype
+ cp $( find . -name '*.otf' ) $out/share/fonts/truetype
+ '';
+
+ meta = {
+ inherit description;
+
+ homepage = http://sourceforge.net/adobe/source-han-sans/;
+ license = stdenv.lib.licenses.asl20;
+ };
+}
diff --git a/pkgs/data/fonts/source-han-sans/japanese.nix b/pkgs/data/fonts/source-han-sans/japanese.nix
new file mode 100644
index 0000000000000000000000000000000000000000..4aacdbf62e246f948d482cdcbbaea0e45ac128ca
--- /dev/null
+++ b/pkgs/data/fonts/source-han-sans/japanese.nix
@@ -0,0 +1,6 @@
+import ./base.nix {
+ prefix = "source-han-sans-japanese";
+ url = "mirror://sourceforge/source-han-sans.adobe/SourceHanSansJP-1.000.zip";
+ sha256 = "c5930036660bea22ffceaa9e2df765776494800d330a59be7936ab3c763c4c82";
+ description = "Japanese subset of an open source Pan-CJK typeface";
+}
\ No newline at end of file
diff --git a/pkgs/data/fonts/source-han-sans/korean.nix b/pkgs/data/fonts/source-han-sans/korean.nix
new file mode 100644
index 0000000000000000000000000000000000000000..cf3ecd9e12e2067d714ae6418170aaaf65d5fa8f
--- /dev/null
+++ b/pkgs/data/fonts/source-han-sans/korean.nix
@@ -0,0 +1,6 @@
+import ./base.nix {
+ prefix = "source-han-sans-korean";
+ url = "mirror://sourceforge/source-han-sans.adobe/SourceHanSansKR-1.000.zip";
+ sha256 = "8eed4ad092fcf640e44f73ba510e0ed1c1cabf79776f68d02820734bbba21cf8";
+ description = "Korean subset of an open source Pan-CJK typeface";
+}
\ No newline at end of file
diff --git a/pkgs/data/fonts/source-han-sans/simplified-chinese.nix b/pkgs/data/fonts/source-han-sans/simplified-chinese.nix
new file mode 100644
index 0000000000000000000000000000000000000000..8e920455e4532b24a6168438f8354f3233dc5ff5
--- /dev/null
+++ b/pkgs/data/fonts/source-han-sans/simplified-chinese.nix
@@ -0,0 +1,6 @@
+import ./base.nix {
+ prefix = "source-han-sans-simplified-chinese";
+ url = "mirror://sourceforge/source-han-sans.adobe/SourceHanSansCN-1.000.zip";
+ sha256 = "88117aa8f8b4ab65d6f7a919a5e1b06d6c00f75b1abecccf120246536123754d";
+ description = "Simplified Chinese subset of an open source Pan-CJK typeface";
+}
\ No newline at end of file
diff --git a/pkgs/data/fonts/source-han-sans/traditional-chinese.nix b/pkgs/data/fonts/source-han-sans/traditional-chinese.nix
new file mode 100644
index 0000000000000000000000000000000000000000..b25db8a2515a89e9d1de1dd00c0b914e2e766d3b
--- /dev/null
+++ b/pkgs/data/fonts/source-han-sans/traditional-chinese.nix
@@ -0,0 +1,6 @@
+import ./base.nix {
+ prefix = "source-han-sans-traditional-chinese";
+ url = "mirror://sourceforge/source-han-sans.adobe/SourceHanSansTWHK-1.000.zip";
+ sha256 = "2371a726757a51322243b1ed7a9fde562621b0813b5e6d6443e06847ad7bbd20";
+ description = "Traditional Chinese subset of an open source Pan-CJK typeface";
+}
\ No newline at end of file
diff --git a/pkgs/data/misc/cacert/default.nix b/pkgs/data/misc/cacert/default.nix
index ac5beaeee818f390213e7d1bdb3d637394475e76..7bb1e1d21d5958f6cb307dba0892225f7f38bf44 100644
--- a/pkgs/data/misc/cacert/default.nix
+++ b/pkgs/data/misc/cacert/default.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
- name = "cacert-20131205";
+ name = "cacert-20140704";
src = fetchurl {
url = "http://tarballs.nixos.org/${name}.pem.bz2";
- sha256 = "049cm3nrhawkh9xpfjhgis6w58zji5ppi4d9yyjzrr7mpw0a34df";
+ sha256 = "05ymb7lrxavscbpx5xywlbya9q66r26fbngfif6zrvfpf3qskiza";
};
unpackPhase = "true";
diff --git a/pkgs/data/misc/miscfiles/default.nix b/pkgs/data/misc/miscfiles/default.nix
index e216f4b0278d558917eaae9a68dc101758a95755..db4d13b890fdb7e3179702ba09068dc9aab96088 100644
--- a/pkgs/data/misc/miscfiles/default.nix
+++ b/pkgs/data/misc/miscfiles/default.nix
@@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://www.gnu.org/software/miscfiles/;
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
description = "Collection of files not of crucial importance for sysadmins";
};
}
diff --git a/pkgs/desktops/e18/enlightenment.nix b/pkgs/desktops/e18/enlightenment.nix
index e51a61209e2160b2c03eab381debeddcee3c3191..52a5dd8f89f3cc57405e23b26a8f8440fc078399 100644
--- a/pkgs/desktops/e18/enlightenment.nix
+++ b/pkgs/desktops/e18/enlightenment.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, pkgconfig, e18, xlibs, libffi, pam, alsaLib, luajit, bzip2 }:
+{ stdenv, fetchurl, pkgconfig, e18, xlibs, libffi, pam, alsaLib, luajit, bzip2, set_freqset_setuid ? false }:
stdenv.mkDerivation rec {
name = "enlightenment-${version}";
version = "0.18.8";
@@ -10,6 +10,20 @@ stdenv.mkDerivation rec {
preConfigure = ''
export NIX_CFLAGS_COMPILE="-I${e18.efl}/include/eo-1 -I${e18.efl}/include/ecore-imf-1 -I${e18.efl}/include/ethumb-client-1 -I${e18.efl}/include/ethumb-1 $NIX_CFLAGS_COMPILE"
'';
+
+ # this is a hack and without this cpufreq module is not working:
+ # when set_freqset_setuid is true and "e18_freqset" is set in setuidPrograms (this is taken care of in e18 NixOS module),
+ # then this postInstall does the folowing:
+ # 1. moves the "freqset" binary to "e18_freqset",
+ # 2. linkes "e18_freqset" to enlightenment/bin so that,
+ # 3. setuidPrograms detects it and makes appropriate stuff to /var/setuid-wrappers/e18_freqset,
+ # 4. and finaly, linkes /var/setuid-wrappers/e18_freqset to original destination where enlightenment wants it
+ postInstall = if set_freqset_setuid then ''
+ export CPUFREQ_DIRPATH=`readlink -f $out/lib/enlightenment/modules/cpufreq/linux-gnu-*`;
+ mv $CPUFREQ_DIRPATH/freqset $CPUFREQ_DIRPATH/e18_freqset
+ ln -sv $CPUFREQ_DIRPATH/e18_freqset $out/bin/e18_freqset
+ ln -sv /var/setuid-wrappers/e18_freqset $CPUFREQ_DIRPATH/freqset
+ '' else "";
meta = {
description = "The Compositing Window Manager and Desktop Shell";
homepage = http://enlightenment.org/;
diff --git a/pkgs/desktops/gnome-2/desktop/vte/default.nix b/pkgs/desktops/gnome-2/desktop/vte/default.nix
index 30c8bf07d418a82910fc8c049d129272cdcc87ab..5932caf9e97d21b420b0470a7c83efd88cfb60ed 100644
--- a/pkgs/desktops/gnome-2/desktop/vte/default.nix
+++ b/pkgs/desktops/gnome-2/desktop/vte/default.nix
@@ -40,7 +40,7 @@ stdenv.mkDerivation rec {
character set conversion, as well as emulating any terminal known to
the system's terminfo database.
'';
- license = "LGPLv2";
+ license = stdenv.lib.licenses.lgpl2;
maintainers = with stdenv.lib.maintainers; [ astsmtl ];
platforms = with stdenv.lib.platforms; linux;
};
diff --git a/pkgs/desktops/gnome-2/platform/gconfmm/default.nix b/pkgs/desktops/gnome-2/platform/gconfmm/default.nix
index 371382b2607df06fd93da13f82d6716e2df0de5a..045f60e8b606052819994b28be753fbd9d36b91c 100644
--- a/pkgs/desktops/gnome-2/platform/gconfmm/default.nix
+++ b/pkgs/desktops/gnome-2/platform/gconfmm/default.nix
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
meta = {
description = "C++ wrappers for GConf";
- license = "LGPLv2+";
+ license = stdenv.lib.licenses.lgpl2Plus;
platforms = stdenv.lib.platforms.linux;
};
diff --git a/pkgs/desktops/gnome-2/platform/gtkglext/default.nix b/pkgs/desktops/gnome-2/platform/gtkglext/default.nix
index 55f0e0ae1a3b6becc0ee9d359624628458306e06..ee08975b9daa81ec5c23689f2e7c392076b4e9ec 100644
--- a/pkgs/desktops/gnome-2/platform/gtkglext/default.nix
+++ b/pkgs/desktops/gnome-2/platform/gtkglext/default.nix
@@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
OpenGL drawing for standard and custom GTK+ widgets.
'';
- license = "LGPLv2+";
+ license = stdenv.lib.licenses.lgpl2Plus;
maintainers = [ ];
};
diff --git a/pkgs/desktops/gnome-2/platform/gtkglextmm/default.nix b/pkgs/desktops/gnome-2/platform/gtkglextmm/default.nix
index 46218c8f601bdf96b6e21d6f9f92b7fb55a45669..4ce51844a51e7e24d638596872015fbbe978a422 100644
--- a/pkgs/desktops/gnome-2/platform/gtkglextmm/default.nix
+++ b/pkgs/desktops/gnome-2/platform/gtkglextmm/default.nix
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
meta = {
description = "C++ wrappers for GtkGLExt";
- license = "LGPLv2+";
+ license = stdenv.lib.licenses.lgpl2Plus;
platforms = stdenv.lib.platforms.linux;
};
diff --git a/pkgs/desktops/gnome-3/3.10/core/evince/default.nix b/pkgs/desktops/gnome-3/3.10/core/evince/default.nix
index 4b50840534cf5bbfc6dff11157084da98c364415..76cfacb0d776aa8b1184197ab465c6cdd91498d6 100644
--- a/pkgs/desktops/gnome-3/3.10/core/evince/default.nix
+++ b/pkgs/desktops/gnome-3/3.10/core/evince/default.nix
@@ -63,7 +63,7 @@ stdenv.mkDerivation rec {
on the GNOME Desktop with a single simple application.
'';
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
platforms = platforms.linux;
maintainers = [ maintainers.vcunat ];
};
diff --git a/pkgs/desktops/gnome-3/3.10/core/folks/default.nix b/pkgs/desktops/gnome-3/3.10/core/folks/default.nix
index 12518c634c4f0eb12f8650d37931849c0b6b3670..47b958002a39cdedf716de6c9d071ee438ce4413 100644
--- a/pkgs/desktops/gnome-3/3.10/core/folks/default.nix
+++ b/pkgs/desktops/gnome-3/3.10/core/folks/default.nix
@@ -32,7 +32,7 @@ stdenv.mkDerivation rec {
homepage = https://wiki.gnome.org/Projects/Folks;
- license = "LGPLv2+";
+ license = stdenv.lib.licenses.lgpl2Plus;
maintainers = with stdenv.lib.maintainers; [ lethalman ];
platforms = stdenv.lib.platforms.gnu; # arbitrary choice
diff --git a/pkgs/desktops/gnome-3/3.10/core/vte/default.nix b/pkgs/desktops/gnome-3/3.10/core/vte/default.nix
index c916be6c9a725324f032b016aeb6bd3ef3f97511..b9ffcffafbdcb8a13a491e54efed17fedc3bb5e6 100644
--- a/pkgs/desktops/gnome-3/3.10/core/vte/default.nix
+++ b/pkgs/desktops/gnome-3/3.10/core/vte/default.nix
@@ -5,7 +5,7 @@ stdenv.mkDerivation rec {
versionMajor = "0.35";
versionMinor = "90";
moduleName = "vte";
-
+
name = "${moduleName}-${versionMajor}.${versionMinor}";
src = fetchurl {
diff --git a/pkgs/desktops/gnome-3/3.10/misc/goffice/default.nix b/pkgs/desktops/gnome-3/3.10/misc/goffice/default.nix
index 0390fc133687d787e73413494b8844ea985f8ea5..fd16d2d4985fbe8d929d28b4608e4c9d810cb88a 100644
--- a/pkgs/desktops/gnome-3/3.10/misc/goffice/default.nix
+++ b/pkgs/desktops/gnome-3/3.10/misc/goffice/default.nix
@@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
documents, undo/redo.
'';
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
platforms = stdenv.lib.platforms.gnu;
};
diff --git a/pkgs/desktops/gnome-3/3.12/core/evince/default.nix b/pkgs/desktops/gnome-3/3.12/core/evince/default.nix
index ca983258d956013bbe30ca3c45d77977ebb6350b..2a585d78f4e5aa6e53dac4229d371b5d59e8780c 100644
--- a/pkgs/desktops/gnome-3/3.12/core/evince/default.nix
+++ b/pkgs/desktops/gnome-3/3.12/core/evince/default.nix
@@ -63,7 +63,7 @@ stdenv.mkDerivation rec {
on the GNOME Desktop with a single simple application.
'';
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
platforms = platforms.linux;
maintainers = [ maintainers.vcunat ];
};
diff --git a/pkgs/desktops/gnome-3/3.12/core/folks/default.nix b/pkgs/desktops/gnome-3/3.12/core/folks/default.nix
index 12518c634c4f0eb12f8650d37931849c0b6b3670..47b958002a39cdedf716de6c9d071ee438ce4413 100644
--- a/pkgs/desktops/gnome-3/3.12/core/folks/default.nix
+++ b/pkgs/desktops/gnome-3/3.12/core/folks/default.nix
@@ -32,7 +32,7 @@ stdenv.mkDerivation rec {
homepage = https://wiki.gnome.org/Projects/Folks;
- license = "LGPLv2+";
+ license = stdenv.lib.licenses.lgpl2Plus;
maintainers = with stdenv.lib.maintainers; [ lethalman ];
platforms = stdenv.lib.platforms.gnu; # arbitrary choice
diff --git a/pkgs/desktops/gnome-3/3.12/core/libzapojit/default.nix b/pkgs/desktops/gnome-3/3.12/core/libzapojit/default.nix
index 5e2559899b77dd9b2b0fe7170bbd53dc5295166a..5a8117528b68a762d1b0d63f3dca9c259c548b9f 100644
--- a/pkgs/desktops/gnome-3/3.12/core/libzapojit/default.nix
+++ b/pkgs/desktops/gnome-3/3.12/core/libzapojit/default.nix
@@ -4,7 +4,7 @@ stdenv.mkDerivation rec {
name = "libzapojit-0.0.3";
src = fetchurl {
- url = "mirror://gnome/sources//3.10/${name}.tar.xz";
+ url = "mirror://gnome/sources/libzapojit/0.0/${name}.tar.xz";
sha256 = "0zn3s7ryjc3k1abj4k55dr2na844l451nrg9s6cvnnhh569zj99x";
};
diff --git a/pkgs/desktops/gnome-3/3.12/core/vte/default.nix b/pkgs/desktops/gnome-3/3.12/core/vte/default.nix
index 70c860849e085d7eb073b50e73e479193078df94..41597e47fa54ed580899d368339f7a3238aea615 100644
--- a/pkgs/desktops/gnome-3/3.12/core/vte/default.nix
+++ b/pkgs/desktops/gnome-3/3.12/core/vte/default.nix
@@ -5,7 +5,7 @@ stdenv.mkDerivation rec {
versionMajor = "0.36";
versionMinor = "2";
moduleName = "vte";
-
+
name = "${moduleName}-${versionMajor}.${versionMinor}";
src = fetchurl {
diff --git a/pkgs/desktops/gnome-3/3.12/default.nix b/pkgs/desktops/gnome-3/3.12/default.nix
index 1bb197338ec2843c773498d9532ab1f98e3b5455..b1d06d75187103050047139ed65239bc0343b02d 100644
--- a/pkgs/desktops/gnome-3/3.12/default.nix
+++ b/pkgs/desktops/gnome-3/3.12/default.nix
@@ -215,6 +215,11 @@ rec {
seahorse = callPackage ./apps/seahorse { };
+#### Dev http://ftp.gnome.org/pub/GNOME/devtools/
+
+ anjuta = callPackage ./devtools/anjuta { };
+
+ gdl = callPackage ./devtools/gdl { };
#### Misc -- other packages on http://ftp.gnome.org/pub/GNOME/sources/
@@ -226,6 +231,8 @@ rec {
gitg = callPackage ./misc/gitg { };
+ libgda = callPackage ./misc/libgda { };
+
libgit2-glib = callPackage ./misc/libgit2-glib { };
libmediaart = callPackage ./misc/libmediaart { };
diff --git a/pkgs/desktops/gnome-3/3.12/devtools/anjuta/default.nix b/pkgs/desktops/gnome-3/3.12/devtools/anjuta/default.nix
new file mode 100644
index 0000000000000000000000000000000000000000..79bfd89525787b30576143944950d3dc5b374084
--- /dev/null
+++ b/pkgs/desktops/gnome-3/3.12/devtools/anjuta/default.nix
@@ -0,0 +1,28 @@
+{ stdenv, fetchurl, pkgconfig, gnome3, gtk3, flex, bison, libxml2, intltool,
+ itstool, python }:
+
+let
+ major = "3.13";
+ minor = "1";
+
+in stdenv.mkDerivation rec {
+ version = "${major}.${minor}";
+ name = "anjuta-${version}";
+
+ src = fetchurl {
+ url = "mirror://gnome/sources/anjuta/${major}/${name}.tar.xz";
+ sha256 = "71bdad9a0e427d9481858eec40b9c1facef4b551d732023cc18a50019df4b78b";
+ };
+
+ enableParallelBuilding = true;
+
+ buildInputs = [ pkgconfig flex bison gtk3 libxml2 gnome3.gjs gnome3.gdl
+ gnome3.libgda gnome3.gtksourceview intltool itstool python ];
+
+ meta = with stdenv.lib; {
+ description = "Software development studio";
+ homepage = http://anjuta.org/;
+ license = licenses.gpl2;
+ platforms = platforms.linux;
+ };
+}
diff --git a/pkgs/desktops/gnome-3/3.12/devtools/gdl/default.nix b/pkgs/desktops/gnome-3/3.12/devtools/gdl/default.nix
new file mode 100644
index 0000000000000000000000000000000000000000..1dae33cd4e910a6aba6c925408948b968e5ea2d2
--- /dev/null
+++ b/pkgs/desktops/gnome-3/3.12/devtools/gdl/default.nix
@@ -0,0 +1,24 @@
+{ stdenv, fetchurl, pkgconfig, libxml2, gtk3, intltool }:
+
+let
+ major = "3.12";
+ minor = "0";
+
+in stdenv.mkDerivation rec {
+ version = "${major}.${minor}";
+ name = "gdl-${version}";
+
+ src = fetchurl {
+ url = "https://download.gnome.org/sources/gdl/${major}/${name}.tar.xz";
+ sha256 = "4770f959f31ed5e616fe623c284e8dd6136e49902d19b6e37938d34be4f6b88d";
+ };
+
+ buildInputs = [ pkgconfig libxml2 gtk3 intltool ];
+
+ meta = with stdenv.lib; {
+ description = "Gnome docking library";
+ homepage = https://developer.gnome.org/gdl/;
+ license = [ licenses.gpl2 ];
+ platforms = platforms.linux;
+ };
+}
diff --git a/pkgs/desktops/gnome-3/3.12/misc/goffice/default.nix b/pkgs/desktops/gnome-3/3.12/misc/goffice/default.nix
index 0390fc133687d787e73413494b8844ea985f8ea5..fd16d2d4985fbe8d929d28b4608e4c9d810cb88a 100644
--- a/pkgs/desktops/gnome-3/3.12/misc/goffice/default.nix
+++ b/pkgs/desktops/gnome-3/3.12/misc/goffice/default.nix
@@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
documents, undo/redo.
'';
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
platforms = stdenv.lib.platforms.gnu;
};
diff --git a/pkgs/desktops/gnome-3/3.12/misc/libgda/default.nix b/pkgs/desktops/gnome-3/3.12/misc/libgda/default.nix
new file mode 100644
index 0000000000000000000000000000000000000000..3944644a453683c460104245c1ede0b08054ea99
--- /dev/null
+++ b/pkgs/desktops/gnome-3/3.12/misc/libgda/default.nix
@@ -0,0 +1,30 @@
+{ stdenv, fetchurl, pkgconfig, intltool, itstool, libxml2, gtk3 }:
+
+let
+ major = "5.2";
+ minor = "2";
+
+in stdenv.mkDerivation rec {
+ version = "${major}.${minor}";
+ name = "libgda-${version}";
+
+ src = fetchurl {
+ url = "mirror://gnome/sources/libgda/${major}/${name}.tar.xz";
+ sha256 = "c9b8b1c32f1011e47b73c5dcf36649aaef2f1edaa5f5d75be20d9caadc2bc3e4";
+ };
+
+ configureFlags = [
+ "--enable-gi-system-install=no"
+ ];
+
+ enableParallelBuilding = true;
+
+ buildInputs = [ pkgconfig intltool itstool libxml2 gtk3 ];
+
+ meta = with stdenv.lib; {
+ description = "Database access library";
+ homepage = http://www.gnome-db.org/;
+ license = [ licenses.lgpl2 licenses.gpl2 ];
+ platforms = platforms.linux;
+ };
+}
diff --git a/pkgs/desktops/kde-4.12/applications/kate.nix b/pkgs/desktops/kde-4.12/applications/kate.nix
index 63bfa12c4bb4357e15b956b4bbc6152f0d6b6a9a..e7a6476dd6df1a3fce3c4a83b22826e30676e1ca 100644
--- a/pkgs/desktops/kde-4.12/applications/kate.nix
+++ b/pkgs/desktops/kde-4.12/applications/kate.nix
@@ -1,4 +1,4 @@
-{ kde, kdelibs, kactivities, qjson, pyqt4, sip, python, pykde4}:
+{ stdenv, kde, kdelibs, kactivities, qjson, pyqt4, sip, python, pykde4}:
kde {
@@ -6,6 +6,6 @@ kde {
meta = {
description = "Kate, the KDE Advanced Text Editor, as well as KWrite";
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
};
}
diff --git a/pkgs/desktops/kde-4.12/applications/konsole.nix b/pkgs/desktops/kde-4.12/applications/konsole.nix
index 0db47fb2d7c4761501f2577c0a23d40165541cfc..bd4e9e58cd05c783eb8c8f9c1a22c80e938ded56 100644
--- a/pkgs/desktops/kde-4.12/applications/konsole.nix
+++ b/pkgs/desktops/kde-4.12/applications/konsole.nix
@@ -1,4 +1,4 @@
-{ kde, kdelibs, kde_baseapps }:
+{ stdenv, kde, kdelibs, kde_baseapps }:
kde {
@@ -6,6 +6,6 @@ kde {
meta = {
description = "Konsole, the KDE terminal emulator";
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
};
}
diff --git a/pkgs/desktops/kde-4.12/kde-baseapps/kde-baseapps.nix b/pkgs/desktops/kde-4.12/kde-baseapps/kde-baseapps.nix
index c2a256646786c872ea79b894559c7c176a95a837..a65f33e13de1dce4a35f88fdfe13c03b8bf1a038 100644
--- a/pkgs/desktops/kde-4.12/kde-baseapps/kde-baseapps.nix
+++ b/pkgs/desktops/kde-4.12/kde-baseapps/kde-baseapps.nix
@@ -1,4 +1,4 @@
-{ kde, kdelibs, htmlTidy, kactivities
+{ stdenv, kde, kdelibs, htmlTidy, kactivities
, nepomuk_core, nepomuk_widgets, libXt }:
kde {
@@ -6,6 +6,6 @@ kde {
meta = {
description = "Base KDE applications, including the Dolphin file manager and Konqueror web browser";
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
};
}
diff --git a/pkgs/desktops/kde-4.12/kde-workspace.nix b/pkgs/desktops/kde-4.12/kde-workspace.nix
index 39e9c10a0fbe0ab442c5f48671931ffd77d1b82f..537beaac6ae65e51efcbe08e53f3729680c7a20b 100644
--- a/pkgs/desktops/kde-4.12/kde-workspace.nix
+++ b/pkgs/desktops/kde-4.12/kde-workspace.nix
@@ -1,4 +1,4 @@
-{ kde, kdelibs, qimageblitz, libdbusmenu_qt, xorg, lm_sensors
+{ stdenv, kde, kdelibs, qimageblitz, libdbusmenu_qt, xorg, lm_sensors
, pciutils, libraw1394, libusb1, python, libqalculate, akonadi
, xkeyboard_config, kdepimlibs, pam, boost, gpsd, prison
, libjpeg, pkgconfig, kactivities, qjson, udev, fetchurl
@@ -15,7 +15,7 @@ kde {
#todo: wayland, xmms, libusb isn't found
buildInputs =
- [ kdelibs qimageblitz libdbusmenu_qt xorg.libxcb xorg.xcbutilimage libjpeg
+ [ kdelibs qimageblitz libdbusmenu_qt xorg.libxcb xorg.xcbutilimage libjpeg
xorg.xcbutilrenderutil xorg.xcbutilkeysyms xorg.libpthreadstubs xorg.libXdmcp
xorg.libxkbfile xorg.libXcomposite xorg.libXtst
xorg.libXdamage
@@ -41,6 +41,6 @@ kde {
meta = {
description = "KDE workspace components such as Plasma, Kwin and System Settings";
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
};
}
diff --git a/pkgs/desktops/kde-4.12/kdebindings/smokegen.nix b/pkgs/desktops/kde-4.12/kdebindings/smokegen.nix
index a80574ff67abe3114794ed1bae30d063bbc54c63..5708d0f96eb24a45a3bc544d1ab6363f70f17fbf 100644
--- a/pkgs/desktops/kde-4.12/kdebindings/smokegen.nix
+++ b/pkgs/desktops/kde-4.12/kdebindings/smokegen.nix
@@ -1,4 +1,4 @@
-{ kde, qt4, cmake }:
+{ stdenv, kde, qt4, cmake }:
kde {
buildInputs = [ qt4 ];
@@ -8,6 +8,6 @@ kde {
meta = {
description = "C++ parser used to generate language bindings for Qt/KDE";
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
};
}
diff --git a/pkgs/desktops/kde-4.12/kdebindings/smokeqt.nix b/pkgs/desktops/kde-4.12/kdebindings/smokeqt.nix
index 72b267e43c5ed145bc85459314fa59d29a509c3e..494bc85e646541d0c438563bbb9c974956780921 100644
--- a/pkgs/desktops/kde-4.12/kdebindings/smokeqt.nix
+++ b/pkgs/desktops/kde-4.12/kdebindings/smokeqt.nix
@@ -1,4 +1,4 @@
-{ kde, qt4, cmake, phonon, qimageblitz, smokegen }:
+{ stdenv, kde, qt4, cmake, phonon, qimageblitz, smokegen }:
kde {
@@ -10,6 +10,6 @@ kde {
meta = {
description = "C++ parser used to generate language bindings for Qt/KDE";
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
};
}
diff --git a/pkgs/desktops/kde-4.12/kdegraphics/gwenview.nix b/pkgs/desktops/kde-4.12/kdegraphics/gwenview.nix
index b6fd701ac1297bb947c4bfce5e628799093d4ebc..3ce9b3dcc78a92117cb8c32c7143f13fa222a73f 100644
--- a/pkgs/desktops/kde-4.12/kdegraphics/gwenview.nix
+++ b/pkgs/desktops/kde-4.12/kdegraphics/gwenview.nix
@@ -1,4 +1,4 @@
-{ kde, kdelibs, exiv2, kde_baseapps, libkipi, nepomuk_core
+{ stdenv, kde, kdelibs, exiv2, kde_baseapps, libkipi, nepomuk_core
, libjpeg, pkgconfig, kactivities, lcms2 }:
kde {
@@ -10,6 +10,6 @@ kde {
meta = {
description = "Gwenview, the KDE image viewer";
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
};
}
diff --git a/pkgs/desktops/kde-4.12/kdegraphics/kamera.nix b/pkgs/desktops/kde-4.12/kdegraphics/kamera.nix
index 70904b17c232bde4eb5785a63d7a5095a5ad05d8..d9aa11c54afa4b879704e7d3cbbdc8118cd2005f 100644
--- a/pkgs/desktops/kde-4.12/kdegraphics/kamera.nix
+++ b/pkgs/desktops/kde-4.12/kdegraphics/kamera.nix
@@ -1,10 +1,10 @@
-{ kde, kdelibs, libgphoto2 }:
+{ stdenv, kde, kdelibs, libgphoto2 }:
kde {
buildInputs = [ kdelibs libgphoto2 ];
meta = {
description = "KDE camera interface library";
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
};
}
diff --git a/pkgs/desktops/kde-4.12/kdegraphics/kcolorchooser.nix b/pkgs/desktops/kde-4.12/kdegraphics/kcolorchooser.nix
index 58528cb186bb2fe9fce4fc340ac06163b0ace657..e06c1b5d307c524a4c6b12749df5284da55e28c0 100644
--- a/pkgs/desktops/kde-4.12/kdegraphics/kcolorchooser.nix
+++ b/pkgs/desktops/kde-4.12/kdegraphics/kcolorchooser.nix
@@ -1,10 +1,10 @@
-{ kde, kdelibs }:
+{ stdenv, kde, kdelibs }:
kde {
buildInputs = [ kdelibs ];
meta = {
description = "A small utility to select a color";
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
};
}
diff --git a/pkgs/desktops/kde-4.12/kdegraphics/kdegraphics-mobipocket.nix b/pkgs/desktops/kde-4.12/kdegraphics/kdegraphics-mobipocket.nix
index 2c2ba3796a2c357a7afe5e949e9eae1162c11a4b..e834762feb52d311fd6458c280d1e78e2f05f379 100644
--- a/pkgs/desktops/kde-4.12/kdegraphics/kdegraphics-mobipocket.nix
+++ b/pkgs/desktops/kde-4.12/kdegraphics/kdegraphics-mobipocket.nix
@@ -1,10 +1,10 @@
-{ kde, kdelibs, okular }:
+{ stdenv, kde, kdelibs, okular }:
kde {
buildInputs = [ kdelibs okular ];
meta = {
description = "A collection of plugins to handle mobipocket files";
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
};
}
diff --git a/pkgs/desktops/kde-4.12/kdegraphics/kdegraphics-strigi-analyzer.nix b/pkgs/desktops/kde-4.12/kdegraphics/kdegraphics-strigi-analyzer.nix
index 35af39aa611da98e7c4caa01333a088ce3f6284d..d9d35808ac50fa6170f2056bfa8ecc09658ac489 100644
--- a/pkgs/desktops/kde-4.12/kdegraphics/kdegraphics-strigi-analyzer.nix
+++ b/pkgs/desktops/kde-4.12/kdegraphics/kdegraphics-strigi-analyzer.nix
@@ -1,10 +1,10 @@
-{ kde, kdelibs, libtiff }:
+{ stdenv, kde, kdelibs, libtiff }:
kde {
buildInputs = [ kdelibs libtiff ];
meta = {
description = "Strigi analyzers for various graphics file formats";
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
};
}
diff --git a/pkgs/desktops/kde-4.12/kdegraphics/kdegraphics-thumbnailers.nix b/pkgs/desktops/kde-4.12/kdegraphics/kdegraphics-thumbnailers.nix
index 18c6534eb5c9a537ad797813ddd578a595bad021..d6207689512f9df13a18038d652cd94829fdb69c 100644
--- a/pkgs/desktops/kde-4.12/kdegraphics/kdegraphics-thumbnailers.nix
+++ b/pkgs/desktops/kde-4.12/kdegraphics/kdegraphics-thumbnailers.nix
@@ -1,4 +1,4 @@
-{ kde, kdelibs, libkexiv2, libkdcraw, pkgconfig }:
+{ stdenv, kde, kdelibs, libkexiv2, libkdcraw, pkgconfig }:
kde {
@@ -8,6 +8,6 @@ kde {
meta = {
description = "Thumbnailers for various graphics file formats";
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
};
}
diff --git a/pkgs/desktops/kde-4.12/kdegraphics/kgamma.nix b/pkgs/desktops/kde-4.12/kdegraphics/kgamma.nix
index 28d9252187e0ebf046a8333ad36501b2d0edc5f5..016312c199e530474a981bfb976b2c75e273016c 100644
--- a/pkgs/desktops/kde-4.12/kdegraphics/kgamma.nix
+++ b/pkgs/desktops/kde-4.12/kdegraphics/kgamma.nix
@@ -1,10 +1,10 @@
-{ kde, kdelibs, libXxf86vm }:
+{ stdenv, kde, kdelibs, libXxf86vm }:
kde {
buildInputs = [ kdelibs libXxf86vm ];
meta = {
description = "KDE monitor calibration tool";
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
};
}
diff --git a/pkgs/desktops/kde-4.12/kdegraphics/kolourpaint.nix b/pkgs/desktops/kde-4.12/kdegraphics/kolourpaint.nix
index 5276ec09f462f464103f702b5caf17495522862f..ecf34e5ae9e545edcaaacb909dbca91a4f4a9bdf 100644
--- a/pkgs/desktops/kde-4.12/kdegraphics/kolourpaint.nix
+++ b/pkgs/desktops/kde-4.12/kdegraphics/kolourpaint.nix
@@ -1,10 +1,10 @@
-{ kde, kdelibs, qimageblitz }:
+{ stdenv, kde, kdelibs, qimageblitz }:
kde {
buildInputs = [ kdelibs qimageblitz ];
meta = {
description = "KDE paint program";
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
};
}
diff --git a/pkgs/desktops/kde-4.12/kdegraphics/kruler.nix b/pkgs/desktops/kde-4.12/kdegraphics/kruler.nix
index c5c2c6e05d7c519fdceb654d351659de94c6cbbb..209331d9e83d646beab249d6a75934c895db448c 100644
--- a/pkgs/desktops/kde-4.12/kdegraphics/kruler.nix
+++ b/pkgs/desktops/kde-4.12/kdegraphics/kruler.nix
@@ -1,10 +1,10 @@
-{ kde, kdelibs }:
+{ stdenv, kde, kdelibs }:
kde {
buildInputs = [ kdelibs ];
meta = {
description = "KDE screen ruler";
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
};
}
diff --git a/pkgs/desktops/kde-4.12/kdegraphics/ksaneplugin.nix b/pkgs/desktops/kde-4.12/kdegraphics/ksaneplugin.nix
index 1381ed7dd266577441c62aac4043da0c52cc7a7f..f541c4bdb4dfc40ad91b96039dd927e0880f4a5f 100644
--- a/pkgs/desktops/kde-4.12/kdegraphics/ksaneplugin.nix
+++ b/pkgs/desktops/kde-4.12/kdegraphics/ksaneplugin.nix
@@ -1,10 +1,10 @@
-{ kde, kdelibs, libksane }:
+{ stdenv, kde, kdelibs, libksane }:
kde {
buildInputs = [ kdelibs libksane ];
meta = {
description = "A KScan plugin that implements the scanning through libksane";
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
};
}
diff --git a/pkgs/desktops/kde-4.12/kdegraphics/ksnapshot.nix b/pkgs/desktops/kde-4.12/kdegraphics/ksnapshot.nix
index f01a609e20de9d0af66f675a79cb1684cdd9bed1..a9897d270bb62a54bdb3dc1b3a755039f48f3473 100644
--- a/pkgs/desktops/kde-4.12/kdegraphics/ksnapshot.nix
+++ b/pkgs/desktops/kde-4.12/kdegraphics/ksnapshot.nix
@@ -1,10 +1,10 @@
-{ kde, kdelibs, libkipi }:
+{ stdenv, kde, kdelibs, libkipi }:
kde {
buildInputs = [ kdelibs libkipi ];
meta = {
description = "KDE screenshot utility";
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
};
}
diff --git a/pkgs/desktops/kde-4.12/kdegraphics/libkdcraw.nix b/pkgs/desktops/kde-4.12/kdegraphics/libkdcraw.nix
index e7c01f98a8c80238f73d371eb7f55a3c8b5be16b..1d5c6e2fcb4af4b28521b8fb958de562e314a55c 100644
--- a/pkgs/desktops/kde-4.12/kdegraphics/libkdcraw.nix
+++ b/pkgs/desktops/kde-4.12/kdegraphics/libkdcraw.nix
@@ -1,4 +1,4 @@
-{ kde, kdelibs, pkgconfig, libraw, lcms2 }:
+{ stdenv, kde, kdelibs, pkgconfig, libraw, lcms2 }:
kde {
@@ -8,6 +8,6 @@ kde {
meta = {
description = "Library for decoding RAW images";
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
};
}
diff --git a/pkgs/desktops/kde-4.12/kdegraphics/libkexiv2.nix b/pkgs/desktops/kde-4.12/kdegraphics/libkexiv2.nix
index 096b0a6e957bf4273b5e105476e2f4dae4e32903..46ec45fad01a7b00283e9bb21d967b4403473721 100644
--- a/pkgs/desktops/kde-4.12/kdegraphics/libkexiv2.nix
+++ b/pkgs/desktops/kde-4.12/kdegraphics/libkexiv2.nix
@@ -1,10 +1,10 @@
-{ kde, kdelibs, exiv2 }:
+{ stdenv, kde, kdelibs, exiv2 }:
kde {
buildInputs = [ kdelibs exiv2 ];
meta = {
description = "Exiv2 support library";
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
};
}
diff --git a/pkgs/desktops/kde-4.12/kdegraphics/libkipi.nix b/pkgs/desktops/kde-4.12/kdegraphics/libkipi.nix
index 6b16265e7a3e8fc45c1a34fdf9b4cde9e1968c26..65e6c52bd44f93527bb963a2dca3dbfa0368d06b 100644
--- a/pkgs/desktops/kde-4.12/kdegraphics/libkipi.nix
+++ b/pkgs/desktops/kde-4.12/kdegraphics/libkipi.nix
@@ -1,10 +1,10 @@
-{ kde, kdelibs }:
+{ stdenv, kde, kdelibs }:
kde {
buildInputs = [ kdelibs ];
meta = {
description = "Interface library to kipi-plugins";
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
};
}
diff --git a/pkgs/desktops/kde-4.12/kdegraphics/libksane.nix b/pkgs/desktops/kde-4.12/kdegraphics/libksane.nix
index b539eab38992f806af2b6a6838f4b519c2809ecc..6c3543eef3704044da70a57c1ab684bb9bd81cc6 100644
--- a/pkgs/desktops/kde-4.12/kdegraphics/libksane.nix
+++ b/pkgs/desktops/kde-4.12/kdegraphics/libksane.nix
@@ -1,10 +1,10 @@
-{ kde, kdelibs, saneBackends }:
+{ stdenv, kde, kdelibs, saneBackends }:
kde {
buildInputs = [ kdelibs saneBackends ];
meta = {
description = "An image scanning library that provides a QWidget that contains all the logic needed to interface a sacanner";
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
};
}
diff --git a/pkgs/desktops/kde-4.12/kdegraphics/okular.nix b/pkgs/desktops/kde-4.12/kdegraphics/okular.nix
index aca1691eace6ed93a35f70fb3d269136728fc1fa..092833388a78cbac50b80a74ad1c30d6d0f79d0a 100644
--- a/pkgs/desktops/kde-4.12/kdegraphics/okular.nix
+++ b/pkgs/desktops/kde-4.12/kdegraphics/okular.nix
@@ -1,4 +1,4 @@
-{ chmlib, djvulibre, ebook_tools, kde, kdelibs, libspectre, popplerQt4, qca2
+{ stdenv, chmlib, djvulibre, ebook_tools, kde, kdelibs, libspectre, popplerQt4, qca2
, qimageblitz, libtiff, kactivities, pkgconfig, libkexiv2 }:
kde {
@@ -12,6 +12,6 @@ kde {
meta = {
description = "Okular, the KDE document viewer";
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
};
}
diff --git a/pkgs/desktops/kde-4.12/kdegraphics/svgpart.nix b/pkgs/desktops/kde-4.12/kdegraphics/svgpart.nix
index a344cc4b4b46395ee7978b81048b94f4bf2f9e5e..2fc0e373dbdfb674b972d3f022789f2579fb80f6 100644
--- a/pkgs/desktops/kde-4.12/kdegraphics/svgpart.nix
+++ b/pkgs/desktops/kde-4.12/kdegraphics/svgpart.nix
@@ -1,10 +1,10 @@
-{ kde, kdelibs }:
+{ stdenv, kde, kdelibs }:
kde {
buildInputs = [ kdelibs ];
meta = {
description = "SVG KPart";
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
};
}
diff --git a/pkgs/desktops/kde-4.12/kdelibs/nepomuk-core.nix b/pkgs/desktops/kde-4.12/kdelibs/nepomuk-core.nix
index 7e29eebf3b792170a7b6f2c97af1c0622a043a0b..d90e1455ce99762455236c0f8fd3ce9ad67009e7 100644
--- a/pkgs/desktops/kde-4.12/kdelibs/nepomuk-core.nix
+++ b/pkgs/desktops/kde-4.12/kdelibs/nepomuk-core.nix
@@ -1,4 +1,4 @@
-{ kde, kdelibs, soprano, shared_desktop_ontologies, exiv2, ffmpeg, taglib, popplerQt4
+{ stdenv, kde, kdelibs, soprano, shared_desktop_ontologies, exiv2, ffmpeg, taglib, popplerQt4
, pkgconfig, doxygen, ebook_tools
}:
@@ -15,6 +15,6 @@ kde {
meta = {
description = "NEPOMUK core";
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
};
}
diff --git a/pkgs/desktops/kde-4.12/kdelibs/nepomuk-widgets.nix b/pkgs/desktops/kde-4.12/kdelibs/nepomuk-widgets.nix
index 0d29a4f97de5713881c8756e944d5ca8b2b63da9..b0fc5ad8900d1a95701739c9229cdc71f7f0d95e 100644
--- a/pkgs/desktops/kde-4.12/kdelibs/nepomuk-widgets.nix
+++ b/pkgs/desktops/kde-4.12/kdelibs/nepomuk-widgets.nix
@@ -1,4 +1,4 @@
-{ kde, kdelibs, nepomuk_core }:
+{ stdenv, kde, kdelibs, nepomuk_core }:
kde {
@@ -6,6 +6,6 @@ kde {
meta = {
description = "NEPOMUK Widgets";
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
};
}
diff --git a/pkgs/desktops/xfce/applications/mousepad.nix b/pkgs/desktops/xfce/applications/mousepad.nix
index 5248d6567d24b16bdd2b87ad6f2c0ce2db88c5b5..1e1ef0cf8468bc9619d48854fdac255d46469c09 100644
--- a/pkgs/desktops/xfce/applications/mousepad.nix
+++ b/pkgs/desktops/xfce/applications/mousepad.nix
@@ -24,6 +24,6 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://www.xfce.org/;
description = "A simple text editor for Xfce";
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
};
}
diff --git a/pkgs/desktops/xfce/applications/ristretto.nix b/pkgs/desktops/xfce/applications/ristretto.nix
index a42e882710a74865f7357719e707fbe5e3325e54..64e3c34453ee8cc24eb3b137da3508bfbc240606 100644
--- a/pkgs/desktops/xfce/applications/ristretto.nix
+++ b/pkgs/desktops/xfce/applications/ristretto.nix
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = "http://goodies.xfce.org/projects/applications/${p_name}";
description = "A fast and lightweight picture-viewer for the Xfce desktop environment";
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
platforms = stdenv.lib.platforms.linux;
maintainers = [ stdenv.lib.maintainers.eelco ];
};
diff --git a/pkgs/desktops/xfce/applications/terminal.nix b/pkgs/desktops/xfce/applications/terminal.nix
index d891ad98fdc5253b72ea54b1cbbead9a52dd698c..15d90be31314fb88b6c1e1f8297eae0bfead2940 100644
--- a/pkgs/desktops/xfce/applications/terminal.nix
+++ b/pkgs/desktops/xfce/applications/terminal.nix
@@ -18,6 +18,6 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://www.xfce.org/projects/terminal;
description = "A modern terminal emulator primarily for the Xfce desktop environment";
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
};
}
diff --git a/pkgs/desktops/xfce/applications/xfce4-mixer.nix b/pkgs/desktops/xfce/applications/xfce4-mixer.nix
index 972442dc56bb7fd88430943ed8476e12352c33c2..2b0f729c0a35266c727a838dbe4dd75ae7173dfe 100644
--- a/pkgs/desktops/xfce/applications/xfce4-mixer.nix
+++ b/pkgs/desktops/xfce/applications/xfce4-mixer.nix
@@ -35,7 +35,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://www.xfce.org/projects/xfce4-mixer; # referenced but inactive
description = "A volume control application for the Xfce desktop environment";
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
platforms = stdenv.lib.platforms.linux;
maintainers = [ stdenv.lib.maintainers.eelco ];
};
diff --git a/pkgs/desktops/xfce/applications/xfce4-notifyd.nix b/pkgs/desktops/xfce/applications/xfce4-notifyd.nix
index d39778c9371732a80d7189b0ce0ffa5d36c638d3..a447812f9a785c14d9500cc3a5f8f81f10c5845c 100644
--- a/pkgs/desktops/xfce/applications/xfce4-notifyd.nix
+++ b/pkgs/desktops/xfce/applications/xfce4-notifyd.nix
@@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = "http://goodies.xfce.org/projects/applications/${p_name}";
description = "Notification daemon for Xfce";
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
platforms = stdenv.lib.platforms.linux;
maintainers = [ stdenv.lib.maintainers.eelco ];
};
diff --git a/pkgs/desktops/xfce/applications/xfce4-screenshooter.nix b/pkgs/desktops/xfce/applications/xfce4-screenshooter.nix
index 6e0d9d3e7e714ab7fe83b866d64b447edaffc85d..8181b809c83fa1dc77058c0916c105974c7b8586 100644
--- a/pkgs/desktops/xfce/applications/xfce4-screenshooter.nix
+++ b/pkgs/desktops/xfce/applications/xfce4-screenshooter.nix
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://goodies.xfce.org/projects/applications/xfce4-screenshooter;
description = "Xfce screenshooter";
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
platforms = stdenv.lib.platforms.linux;
};
}
diff --git a/pkgs/desktops/xfce/core/exo.nix b/pkgs/desktops/xfce/core/exo.nix
index 3131ea679b01c397f5d4de5650d1949ec879b587..694db49f589eaa0660aa2e3e79dfc735d08a8639 100644
--- a/pkgs/desktops/xfce/core/exo.nix
+++ b/pkgs/desktops/xfce/core/exo.nix
@@ -18,6 +18,6 @@ stdenv.mkDerivation rec {
meta = {
homepage = "http://www.xfce.org/projects/${p_name}";
description = "Application library for the Xfce desktop environment";
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
};
}
diff --git a/pkgs/desktops/xfce/core/garcon.nix b/pkgs/desktops/xfce/core/garcon.nix
index 33b64cd878ed647376132b4e6a862b6fcf27868c..44f5a95224e49ad5754286b8a0946b4fa9e4a04e 100644
--- a/pkgs/desktops/xfce/core/garcon.nix
+++ b/pkgs/desktops/xfce/core/garcon.nix
@@ -16,6 +16,6 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://www.xfce.org/;
description = "Xfce menu support library";
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
};
}
diff --git a/pkgs/desktops/xfce/core/gtk-xfce-engine.nix b/pkgs/desktops/xfce/core/gtk-xfce-engine.nix
index 5004f2aaf4784fddca8d870ea6aebe6cc830c249..360e4a0a25036386b608fe4c59426a26523c5316 100644
--- a/pkgs/desktops/xfce/core/gtk-xfce-engine.nix
+++ b/pkgs/desktops/xfce/core/gtk-xfce-engine.nix
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://www.xfce.org/;
description = "GTK+ theme engine for Xfce";
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
platforms = stdenv.lib.platforms.linux;
maintainers = [ stdenv.lib.maintainers.eelco ];
};
diff --git a/pkgs/desktops/xfce/core/libxfce4ui.nix b/pkgs/desktops/xfce/core/libxfce4ui.nix
index 5675c09fed81da4a9b1769d60a3a55aba0ef7b75..cb2975d8214f512a831a726c3f5245cd9c973702 100644
--- a/pkgs/desktops/xfce/core/libxfce4ui.nix
+++ b/pkgs/desktops/xfce/core/libxfce4ui.nix
@@ -31,6 +31,6 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://www.xfce.org/;
description = "Basic GUI library for Xfce";
- license = "LGPLv2+";
+ license = stdenv.lib.licenses.lgpl2Plus;
};
}
diff --git a/pkgs/desktops/xfce/core/libxfcegui4.nix b/pkgs/desktops/xfce/core/libxfcegui4.nix
index e30fcf223571b134b916f1686121cdb2be8370eb..32a320c779bf5fc4ceab1b8b0bcbabfd9609e949 100644
--- a/pkgs/desktops/xfce/core/libxfcegui4.nix
+++ b/pkgs/desktops/xfce/core/libxfcegui4.nix
@@ -30,6 +30,6 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://www.xfce.org/;
description = "Basic GUI library for Xfce";
- license = "LGPLv2+";
+ license = stdenv.lib.licenses.lgpl2Plus;
};
}
diff --git a/pkgs/desktops/xfce/core/thunar-archive-plugin.nix b/pkgs/desktops/xfce/core/thunar-archive-plugin.nix
index 4776af3be3241b6a94cbe13c0e6adf5f5d2f0f6d..62a90578bd304470d7cc97eeeb2b19623035c5f7 100644
--- a/pkgs/desktops/xfce/core/thunar-archive-plugin.nix
+++ b/pkgs/desktops/xfce/core/thunar-archive-plugin.nix
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://foo-projects.org/~benny/projects/thunar-archive-plugin/;
description = "The Thunar Archive Plugin allows you to create and extract archive files using the file context menus in the Thunar file manager";
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
platforms = stdenv.lib.platforms.linux;
maintainers = [ stdenv.lib.maintainers.iElectric ];
};
diff --git a/pkgs/desktops/xfce/core/thunar-volman.nix b/pkgs/desktops/xfce/core/thunar-volman.nix
index 94fc0e369e5cf2a65bd766a381f67750358576b8..5ce88921fa83eedfaa7784361e3a4fb4979a56ef 100644
--- a/pkgs/desktops/xfce/core/thunar-volman.nix
+++ b/pkgs/desktops/xfce/core/thunar-volman.nix
@@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://goodies.xfce.org/projects/thunar-plugins/thunar-volman;
description = "Thunar extension for automatic management of removable drives and media";
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
platforms = stdenv.lib.platforms.linux;
maintainers = [ stdenv.lib.maintainers.eelco ];
};
diff --git a/pkgs/desktops/xfce/core/thunar.nix b/pkgs/desktops/xfce/core/thunar.nix
index 919d19a230259b361810a22127e9010b0ef3c371..fdf4211f099a46887fa071db09f1a7cd5b33b775 100644
--- a/pkgs/desktops/xfce/core/thunar.nix
+++ b/pkgs/desktops/xfce/core/thunar.nix
@@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://thunar.xfce.org/;
description = "Xfce file manager";
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
platforms = stdenv.lib.platforms.linux;
maintainers = [ stdenv.lib.maintainers.eelco ];
};
diff --git a/pkgs/desktops/xfce/core/tumbler.nix b/pkgs/desktops/xfce/core/tumbler.nix
index 8988d072e2c8ace4c84d691b9a566ca213882888..fab6152c99a4fe51df8bb5d3024153aef89edcbc 100644
--- a/pkgs/desktops/xfce/core/tumbler.nix
+++ b/pkgs/desktops/xfce/core/tumbler.nix
@@ -30,6 +30,6 @@ stdenv.mkDerivation rec {
homepage = http://git.xfce.org/xfce/tumbler/;
description = "A D-Bus thumbnailer service";
platforms = stdenv.lib.platforms.linux;
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
};
}
diff --git a/pkgs/desktops/xfce/core/xfce4-appfinder.nix b/pkgs/desktops/xfce/core/xfce4-appfinder.nix
index 94a3686bced512ea3743794828c0a9c5f638ac22..01848d66696a175922343dfae836818cdc55622f 100644
--- a/pkgs/desktops/xfce/core/xfce4-appfinder.nix
+++ b/pkgs/desktops/xfce/core/xfce4-appfinder.nix
@@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://docs.xfce.org/xfce/xfce4-appfinder/;
description = "Xfce application finder, a tool to locate and launch programs on your system";
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
platforms = stdenv.lib.platforms.linux;
maintainers = [ stdenv.lib.maintainers.eelco ];
};
diff --git a/pkgs/desktops/xfce/core/xfce4-dev-tools.nix b/pkgs/desktops/xfce/core/xfce4-dev-tools.nix
index e56eb3f0a7137ad8fb713597170a696261f00dd8..671f57faeb35c3e554abd6c98ea9ac43508dfd6b 100644
--- a/pkgs/desktops/xfce/core/xfce4-dev-tools.nix
+++ b/pkgs/desktops/xfce/core/xfce4-dev-tools.nix
@@ -19,6 +19,6 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://foo-projects.org/~benny/projects/xfce4-dev-tools/;
description = "Tools and M4 macros for Xfce4 developers";
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
};
}
diff --git a/pkgs/desktops/xfce/core/xfce4-panel.nix b/pkgs/desktops/xfce/core/xfce4-panel.nix
index a5edb8dd560f6d453f27185e73d3b92ef0b65104..e654b2f7dfbe97f65eb2ba919027d92a40b87db7 100644
--- a/pkgs/desktops/xfce/core/xfce4-panel.nix
+++ b/pkgs/desktops/xfce/core/xfce4-panel.nix
@@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://www.xfce.org/projects/xfce4-panel;
description = "Xfce panel";
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
platforms = stdenv.lib.platforms.linux;
maintainers = [ stdenv.lib.maintainers.eelco ];
};
diff --git a/pkgs/desktops/xfce/core/xfce4-power-manager.nix b/pkgs/desktops/xfce/core/xfce4-power-manager.nix
index 3f9be6bc8787441754f91d3eebaa5e550ebab20f..81a0aebb75cebccbb39f66c6123aaef25fdf44db 100644
--- a/pkgs/desktops/xfce/core/xfce4-power-manager.nix
+++ b/pkgs/desktops/xfce/core/xfce4-power-manager.nix
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://goodies.xfce.org/projects/applications/xfce4-power-manager;
description = "A power manager for the Xfce Desktop Environment";
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
platforms = stdenv.lib.platforms.linux;
maintainers = [ stdenv.lib.maintainers.eelco ];
};
diff --git a/pkgs/desktops/xfce/core/xfce4-session.nix b/pkgs/desktops/xfce/core/xfce4-session.nix
index a419f076b6e0968dd81681de97ab03b7378d83ea..d965c296490e0f7deff8f5bb951a25db598c07db 100644
--- a/pkgs/desktops/xfce/core/xfce4-session.nix
+++ b/pkgs/desktops/xfce/core/xfce4-session.nix
@@ -33,7 +33,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://www.xfce.org/projects/xfce4-session;
description = "Session manager for Xfce";
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
platforms = stdenv.lib.platforms.linux;
maintainers = [ stdenv.lib.maintainers.eelco ];
};
diff --git a/pkgs/desktops/xfce/core/xfce4-settings.nix b/pkgs/desktops/xfce/core/xfce4-settings.nix
index 2e76b22510f929417ffe2b755f3a8b9394be41c8..ee5ae15fca1aa5be248f481ad3848f8add347b70 100644
--- a/pkgs/desktops/xfce/core/xfce4-settings.nix
+++ b/pkgs/desktops/xfce/core/xfce4-settings.nix
@@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://www.xfce.org/projects/xfce4-settings;
description = "Settings manager for Xfce";
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
platforms = stdenv.lib.platforms.linux;
maintainers = [ stdenv.lib.maintainers.eelco ];
};
diff --git a/pkgs/desktops/xfce/core/xfconf.nix b/pkgs/desktops/xfce/core/xfconf.nix
index e608d45910693d9b088c14ba11815e3b5b4a32d6..9ed2be4a740256edf85ce256d903a22bc967c410 100644
--- a/pkgs/desktops/xfce/core/xfconf.nix
+++ b/pkgs/desktops/xfce/core/xfconf.nix
@@ -18,6 +18,6 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://docs.xfce.org/xfce/xfconf/start;
description = "Simple client-server configuration storage and query system for Xfce";
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
};
}
diff --git a/pkgs/desktops/xfce/core/xfdesktop.nix b/pkgs/desktops/xfce/core/xfdesktop.nix
index 8067e1841caae1be15c7bd2ae886ad3a5dfa22ba..697ff2bfb8aee3a444c7d68d54ec05c8b06759b4 100644
--- a/pkgs/desktops/xfce/core/xfdesktop.nix
+++ b/pkgs/desktops/xfce/core/xfdesktop.nix
@@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://www.xfce.org/projects/xfdesktop;
description = "Xfce desktop manager";
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
platforms = stdenv.lib.platforms.linux;
maintainers = [ stdenv.lib.maintainers.eelco ];
};
diff --git a/pkgs/desktops/xfce/core/xfwm4.nix b/pkgs/desktops/xfce/core/xfwm4.nix
index bb235911ba4ac68b8b9a0e2a0acd1c0699edddd9..4b190889c850f7155ed3355c3395089aeaa34c89 100644
--- a/pkgs/desktops/xfce/core/xfwm4.nix
+++ b/pkgs/desktops/xfce/core/xfwm4.nix
@@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://www.xfce.org/projects/xfwm4;
description = "Window manager for Xfce";
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
platforms = stdenv.lib.platforms.linux;
maintainers = [ stdenv.lib.maintainers.eelco ];
};
diff --git a/pkgs/development/compilers/adobe-flex-sdk/default.nix b/pkgs/development/compilers/adobe-flex-sdk/default.nix
index fc4511d896e27807538e82a639960fc05bc6bf9e..69557019f15df2dffbc1307922214fd3dc615a1a 100644
--- a/pkgs/development/compilers/adobe-flex-sdk/default.nix
+++ b/pkgs/development/compilers/adobe-flex-sdk/default.nix
@@ -35,6 +35,6 @@ stdenv.mkDerivation rec {
meta = {
description = "Flex SDK for Adobe Flash / ActionScript";
homepage = "http://www.adobe.com/support/documentation/en/flex/3/releasenotes_flex3_sdk.html#installation";
- license = "MPLv1.1"; # Mozilla Public License Version 1.1
+ license = stdenv.lib.licenses.mpl11;
};
}
diff --git a/pkgs/development/compilers/agda/2.4.0.1.nix b/pkgs/development/compilers/agda/2.4.0.2.nix
similarity index 85%
rename from pkgs/development/compilers/agda/2.4.0.1.nix
rename to pkgs/development/compilers/agda/2.4.0.2.nix
index e472eb1c276b128dc4209ac555b3b309f6b92969..6705419add9b3ffa0fc817772623e96c50ee36a6 100644
--- a/pkgs/development/compilers/agda/2.4.0.1.nix
+++ b/pkgs/development/compilers/agda/2.4.0.2.nix
@@ -1,3 +1,5 @@
+# This file was auto-generated by cabal2nix. Please do NOT edit manually!
+
{ cabal, alex, binary, boxes, dataHash, deepseq, emacs, equivalence
, filepath, geniplate, happy, hashable, hashtables, haskeline
, haskellSrcExts, mtl, parallel, QuickCheck, STMonadTrans, strict
@@ -6,8 +8,8 @@
cabal.mkDerivation (self: {
pname = "Agda";
- version = "2.4.0.1";
- sha256 = "11my5k606zvra3w3m1wllc4dy5mfv4lr32fqd579vqcks6wpirjq";
+ version = "2.4.0.2";
+ sha256 = "13c4ipscnlnbv94k93yajrp32mwzikqa8rhc95h8pmqzhjgwyh8b";
isLibrary = true;
isExecutable = true;
buildDepends = [
diff --git a/pkgs/development/compilers/ats2/default.nix b/pkgs/development/compilers/ats2/default.nix
index 1f6a8b6c6e08221f73458b5fd1d564f378b7f471..8c71138ab78e1a5c6ccf7e87cab33adba12e2708 100644
--- a/pkgs/development/compilers/ats2/default.nix
+++ b/pkgs/development/compilers/ats2/default.nix
@@ -2,11 +2,11 @@
stdenv.mkDerivation rec {
name = "ats2-${version}";
- version = "0.0.7";
+ version = "0.1.0";
src = fetchurl {
url = "mirror://sourceforge/ats2-lang/ATS2-Postiats-${version}.tgz";
- sha256 = "1cv7caaf9fj6z3kln02ikkbmcy42324v39lzx3cf6qcsywwpm8fx";
+ sha256 = "0i7b9v7xki9j2jjjpydz0gl33af94b4jjmk75b9w20bs003v8vd4";
};
buildInputs = [ gmp ];
diff --git a/pkgs/development/compilers/bigloo/default.nix b/pkgs/development/compilers/bigloo/default.nix
index b7dcb806b0175fbea340430057cc20df9d79a841..16dfa580a1937dc43baab7c6771933ee6642be04 100644
--- a/pkgs/development/compilers/bigloo/default.nix
+++ b/pkgs/development/compilers/bigloo/default.nix
@@ -46,7 +46,7 @@ stdenv.mkDerivation rec {
'';
homepage = http://www-sop.inria.fr/indes/fp/Bigloo/;
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
maintainers = [ stdenv.lib.maintainers.ludo ];
platforms = stdenv.lib.platforms.gnu; # arbitrary choice
diff --git a/pkgs/development/compilers/gcc/4.2/builder.sh b/pkgs/development/compilers/gcc/4.2/builder.sh
deleted file mode 100644
index d749fc08d2a0649500824ab68dfbe3424053ecdd..0000000000000000000000000000000000000000
--- a/pkgs/development/compilers/gcc/4.2/builder.sh
+++ /dev/null
@@ -1,96 +0,0 @@
-source $stdenv/setup
-
-
-export NIX_FIXINC_DUMMY=$NIX_BUILD_TOP/dummy
-mkdir $NIX_FIXINC_DUMMY
-
-
-# libstdc++ needs this; otherwise it will use /lib/cpp, which is a Bad
-# Thing.
-export CPP="gcc -E"
-
-
-if test "$noSysDirs" = "1"; then
-
- if test -e $NIX_GCC/nix-support/orig-libc; then
-
- # Figure out what extra flags to pass to the gcc compilers
- # being generated to make sure that they use our glibc.
- extraCFlags="$(cat $NIX_GCC/nix-support/libc-cflags)"
- extraLDFlags="$(cat $NIX_GCC/nix-support/libc-ldflags) $(cat $NIX_GCC/nix-support/libc-ldflags-before)"
-
- # Use *real* header files, otherwise a limits.h is generated
- # that does not include Glibc's limits.h (notably missing
- # SSIZE_MAX, which breaks the build).
- export NIX_FIXINC_DUMMY=$(cat $NIX_GCC/nix-support/orig-libc)/include
-
- else
- # Hack: support impure environments.
- extraCFlags="-isystem /usr/include"
- extraLDFlags="-L/usr/lib64 -L/usr/lib"
- export NIX_FIXINC_DUMMY=/usr/include
- fi
-
- extraCFlags="-g0 $extraCFlags"
- extraLDFlags="--strip-debug $extraLDFlags"
-
- export NIX_EXTRA_CFLAGS=$extraCFlags
- for i in $extraLDFlags; do
- export NIX_EXTRA_LDFLAGS="$NIX_EXTRA_LDFLAGS -Wl,$i"
- done
-
- makeFlagsArray=( \
- "${makeFlagsArray[@]}" \
- NATIVE_SYSTEM_HEADER_DIR="$NIX_FIXINC_DUMMY" \
- SYSTEM_HEADER_DIR="$NIX_FIXINC_DUMMY" \
- LIMITS_H_TEST=true \
- X_CFLAGS="$NIX_EXTRA_CFLAGS $NIX_EXTRA_LDFLAGS" \
- LDFLAGS="$NIX_EXTRA_CFLAGS $NIX_EXTRA_LDFLAGS" \
- LDFLAGS_FOR_TARGET="$NIX_EXTRA_CFLAGS $NIX_EXTRA_LDFLAGS" \
- )
-fi
-
-
-preConfigure() {
- # Perform the build in a different directory.
- mkdir ../build
- cd ../build
- configureScript=../$sourceRoot/configure
-}
-
-
-postInstall() {
- # Remove precompiled headers for now. They are very big and
- # probably not very useful yet.
- find $out/include -name "*.gch" -exec rm -rf {} \; -prune
-
- # Remove `fixincl' to prevent a retained dependency on the
- # previous gcc.
- rm -rf $out/libexec/gcc/*/*/install-tools
- rm -rf $out/lib/gcc/*/*/install-tools
-
- # Get rid of some "fixed" header files
- rm -rf $out/lib/gcc/*/*/include/root
-
- # Replace hard links for i686-pc-linux-gnu-gcc etc. with symlinks.
- for i in $out/bin/*-gcc*; do
- if cmp -s $out/bin/gcc $i; then
- ln -sfn gcc $i
- fi
- done
-
- for i in $out/bin/*-c++* $out/bin/*-g++*; do
- if cmp -s $out/bin/g++ $i; then
- ln -sfn g++ $i
- fi
- done
-}
-
-
-if test -z "$profiledCompiler"; then
- buildFlags="bootstrap $buildFlags"
-else
- buildFlags="profiledbootstrap $buildFlags"
-fi
-
-genericBuild
diff --git a/pkgs/development/compilers/gcc/4.2/default.nix b/pkgs/development/compilers/gcc/4.2/default.nix
deleted file mode 100644
index 69cac159d4a5b5a06afba238a2456e24f98d7ed1..0000000000000000000000000000000000000000
--- a/pkgs/development/compilers/gcc/4.2/default.nix
+++ /dev/null
@@ -1,66 +0,0 @@
-{ stdenv, fetchurl, noSysDirs
-, langC ? true, langCC ? true, langFortran ? false
-, profiledCompiler ? false
-, staticCompiler ? false
-, gmp ? null
-, mpfr ? null
-, texinfo ? null
-, name ? "gcc"
-}:
-
-with stdenv.lib;
-
-let version = "4.2.4"; in
-
-stdenv.mkDerivation {
- name = "${name}-${version}";
-
- builder = ./builder.sh;
-
- src =
- optional /*langC*/ true (fetchurl {
- url = "mirror://gnu/gcc/gcc-${version}/gcc-core-${version}.tar.bz2";
- sha256 = "0cm5yzhqhgdfk03aayakmdj793sya42xkkqhslj7s2b697hygjfg";
- }) ++
- optional langCC (fetchurl {
- url = "mirror://gnu/gcc/gcc-${version}/gcc-g++-${version}.tar.bz2";
- sha256 = "0gq8ikci0qqgck71qqlhfld6zkwn9179x6z15vdd9blkdig55nxg";
- }) ++
- optional langFortran (fetchurl {
- url = "mirror://gnu/gcc/gcc-${version}/gcc-fortran-${version}.tar.bz2";
- sha256 = "013yqiqhdavgxzjryvylgf3lcnknmw89fx41jf2v4899srn0bhkg";
- });
-
- patches =
- [./pass-cxxcpp.patch ./siginfo_t.patch]
- ++ optional noSysDirs [./no-sys-dirs.patch];
-
- inherit noSysDirs profiledCompiler staticCompiler;
-
- buildInputs = [gmp mpfr texinfo];
-
- configureFlags = "
- --disable-multilib
- --disable-libstdcxx-pch
- --with-system-zlib
- --enable-languages=${
- concatStrings (intersperse ","
- ( optional langC "c"
- ++ optional langCC "c++"
- ++ optional langFortran "fortran"
- )
- )
- }
- ${if stdenv.isi686 then "--with-arch=i686" else ""}
- ";
-
- NIX_EXTRA_LDFLAGS = if staticCompiler then "-static" else "";
-
- passthru = { inherit langC langCC langFortran; };
-
- meta = {
- homepage = "http://gcc.gnu.org/";
- license = "GPL/LGPL";
- description = "GNU Compiler Collection, 4.2.x";
- };
-}
diff --git a/pkgs/development/compilers/gcc/4.2/no-sys-dirs.patch b/pkgs/development/compilers/gcc/4.2/no-sys-dirs.patch
deleted file mode 100644
index f1d429e274a0b37276cda046752477364c9b2c02..0000000000000000000000000000000000000000
--- a/pkgs/development/compilers/gcc/4.2/no-sys-dirs.patch
+++ /dev/null
@@ -1,139 +0,0 @@
-diff -rc gcc-4.2.0-orig/Makefile.in gcc-4.2.0/Makefile.in
-*** gcc-4.2.0-orig/Makefile.in 2006-12-29 18:47:06.000000000 +0100
---- gcc-4.2.0/Makefile.in 2007-05-20 21:06:42.000000000 +0200
-***************
-*** 364,369 ****
---- 364,377 ----
- @host_makefile_frag@
- ###
-
-+ CFLAGS += $(NIX_EXTRA_CFLAGS)
-+ CPPFLAGS_FOR_TARGET += $(NIX_EXTRA_CFLAGS)
-+ CXXFLAGS += $(NIX_EXTRA_CFLAGS)
-+ LDFLAGS += $(NIX_EXTRA_LDFLAGS)
-+ LDFLAGS_FOR_TARGET += $(NIX_EXTRA_LDFLAGS)
-+ BOOT_CFLAGS += $(NIX_EXTRA_CFLAGS)
-+ BOOT_LDFLAGS += $(NIX_EXTRA_LDFLAGS)
-+
- # This is the list of directories that may be needed in RPATH_ENVVAR
- # so that prorgams built for the target machine work.
- TARGET_LIB_PATH = $(TARGET_LIB_PATH_libstdc++-v3)$(TARGET_LIB_PATH_libmudflap)$(TARGET_LIB_PATH_libssp)$(TARGET_LIB_PATH_libgomp)$(HOST_LIB_PATH_gcc)
-diff -rc gcc-4.2.0-orig/gcc/Makefile.in gcc-4.2.0/gcc/Makefile.in
-*** gcc-4.2.0-orig/gcc/Makefile.in 2007-03-12 05:40:09.000000000 +0100
---- gcc-4.2.0/gcc/Makefile.in 2007-05-20 19:35:13.000000000 +0200
-***************
-*** 396,402 ****
- MD5_H = $(srcdir)/../include/md5.h
-
- # Default native SYSTEM_HEADER_DIR, to be overridden by targets.
-! NATIVE_SYSTEM_HEADER_DIR = /usr/include
- # Default cross SYSTEM_HEADER_DIR, to be overridden by targets.
- CROSS_SYSTEM_HEADER_DIR = @CROSS_SYSTEM_HEADER_DIR@
-
---- 396,406 ----
- MD5_H = $(srcdir)/../include/md5.h
-
- # Default native SYSTEM_HEADER_DIR, to be overridden by targets.
-! # Nix: we override NATIVE_SYSTEM_HEADER_DIR in order to prevent
-! # `fixinc' from fixing header files in /usr/include. However,
-! # NATIVE_SYSTEM_HEADER_DIR must point to an existing directory, so set
-! # it to some dummy directory.
-! NATIVE_SYSTEM_HEADER_DIR = $(NIX_FIXINC_DUMMY)
- # Default cross SYSTEM_HEADER_DIR, to be overridden by targets.
- CROSS_SYSTEM_HEADER_DIR = @CROSS_SYSTEM_HEADER_DIR@
-
-***************
-*** 3066,3072 ****
- -DGPLUSPLUS_INCLUDE_DIR=\"$(gcc_gxx_include_dir)\" \
- -DGPLUSPLUS_TOOL_INCLUDE_DIR=\"$(gcc_gxx_include_dir)/$(target_noncanonical)\" \
- -DGPLUSPLUS_BACKWARD_INCLUDE_DIR=\"$(gcc_gxx_include_dir)/backward\" \
-! -DLOCAL_INCLUDE_DIR=\"$(local_includedir)\" \
- -DCROSS_INCLUDE_DIR=\"$(CROSS_SYSTEM_HEADER_DIR)\" \
- -DTOOL_INCLUDE_DIR=\"$(gcc_tooldir)/include\" \
- @TARGET_SYSTEM_ROOT_DEFINE@
---- 3070,3076 ----
- -DGPLUSPLUS_INCLUDE_DIR=\"$(gcc_gxx_include_dir)\" \
- -DGPLUSPLUS_TOOL_INCLUDE_DIR=\"$(gcc_gxx_include_dir)/$(target_noncanonical)\" \
- -DGPLUSPLUS_BACKWARD_INCLUDE_DIR=\"$(gcc_gxx_include_dir)/backward\" \
-! -DLOCAL_INCLUDE_DIR=\"/no-such-dir\" \
- -DCROSS_INCLUDE_DIR=\"$(CROSS_SYSTEM_HEADER_DIR)\" \
- -DTOOL_INCLUDE_DIR=\"$(gcc_tooldir)/include\" \
- @TARGET_SYSTEM_ROOT_DEFINE@
-diff -rc gcc-4.2.0-orig/gcc/cppdefault.c gcc-4.2.0/gcc/cppdefault.c
-*** gcc-4.2.0-orig/gcc/cppdefault.c 2006-01-20 22:00:03.000000000 +0100
---- gcc-4.2.0/gcc/cppdefault.c 2007-05-20 17:16:44.000000000 +0200
-***************
-*** 41,46 ****
---- 41,50 ----
- # undef CROSS_INCLUDE_DIR
- #endif
-
-+ #undef LOCAL_INCLUDE_DIR
-+ #undef SYSTEM_INCLUDE_DIR
-+ #undef STANDARD_INCLUDE_DIR
-+
- const struct default_include cpp_include_defaults[]
- #ifdef INCLUDE_DEFAULTS
- = INCLUDE_DEFAULTS;
-diff -rc gcc-4.2.0-orig/gcc/gcc.c gcc-4.2.0/gcc/gcc.c
-*** gcc-4.2.0-orig/gcc/gcc.c 2007-03-05 21:37:05.000000000 +0100
---- gcc-4.2.0/gcc/gcc.c 2007-05-20 17:49:48.000000000 +0200
-***************
-*** 1449,1458 ****
- /* Default prefixes to attach to command names. */
-
- #ifndef STANDARD_STARTFILE_PREFIX_1
-! #define STANDARD_STARTFILE_PREFIX_1 "/lib/"
- #endif
- #ifndef STANDARD_STARTFILE_PREFIX_2
-! #define STANDARD_STARTFILE_PREFIX_2 "/usr/lib/"
- #endif
-
- #ifdef CROSS_COMPILE /* Don't use these prefixes for a cross compiler. */
---- 1449,1458 ----
- /* Default prefixes to attach to command names. */
-
- #ifndef STANDARD_STARTFILE_PREFIX_1
-! #define STANDARD_STARTFILE_PREFIX_1 ""
- #endif
- #ifndef STANDARD_STARTFILE_PREFIX_2
-! #define STANDARD_STARTFILE_PREFIX_2 ""
- #endif
-
- #ifdef CROSS_COMPILE /* Don't use these prefixes for a cross compiler. */
-***************
-*** 1473,1480 ****
- #endif
-
- static const char *const standard_exec_prefix = STANDARD_EXEC_PREFIX;
-! static const char *const standard_exec_prefix_1 = "/usr/libexec/gcc/";
-! static const char *const standard_exec_prefix_2 = "/usr/lib/gcc/";
- static const char *md_exec_prefix = MD_EXEC_PREFIX;
-
- static const char *md_startfile_prefix = MD_STARTFILE_PREFIX;
---- 1473,1480 ----
- #endif
-
- static const char *const standard_exec_prefix = STANDARD_EXEC_PREFIX;
-! static const char *const standard_exec_prefix_1 = "/no-such-path/";
-! static const char *const standard_exec_prefix_2 = "/no-such-path/";
- static const char *md_exec_prefix = MD_EXEC_PREFIX;
-
- static const char *md_startfile_prefix = MD_STARTFILE_PREFIX;
-diff -rc gcc-4.2.0-orig/ltconfig gcc-4.2.0/ltconfig
-*** gcc-4.2.0-orig/ltconfig 2007-02-14 18:08:35.000000000 +0100
---- gcc-4.2.0/ltconfig 2007-05-20 22:16:24.000000000 +0200
-***************
-*** 2322,2327 ****
---- 2322,2332 ----
- # A language-specific compiler.
- CC=$CC
-
-+ # Ugly hack to get libmudflap (and possibly other libraries) to build.
-+ # Libtool filters out \`-B' flags when linking (why?), so the \`-B' flag
-+ # to Glibc gets lost. Here we forcibly add it to any invocation.
-+ CC="\$CC $NIX_EXTRA_CFLAGS $NIX_EXTRA_LDFLAGS"
-+
- # Is the compiler the GNU C compiler?
- with_gcc=$with_gcc
-
diff --git a/pkgs/development/compilers/gcc/4.2/pass-cxxcpp.patch b/pkgs/development/compilers/gcc/4.2/pass-cxxcpp.patch
deleted file mode 100644
index 9b0676d4fdc95d710122ad3193f5aaf06938cb34..0000000000000000000000000000000000000000
--- a/pkgs/development/compilers/gcc/4.2/pass-cxxcpp.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-diff -rc gcc-orig/Makefile.in gcc-4.1.1/Makefile.in
-*** gcc-orig/Makefile.in Wed Jun 21 13:40:23 2006
---- gcc-4.1.1/Makefile.in Wed Jun 21 14:19:44 2006
-***************
-*** 213,219 ****
- RAW_CXX_TARGET_EXPORTS = \
- $(BASE_TARGET_EXPORTS) \
- CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \
-! CXX="$(RAW_CXX_FOR_TARGET)"; export CXX;
-
- NORMAL_TARGET_EXPORTS = \
- $(BASE_TARGET_EXPORTS) \
---- 213,220 ----
- RAW_CXX_TARGET_EXPORTS = \
- $(BASE_TARGET_EXPORTS) \
- CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \
-! CXX="$(RAW_CXX_FOR_TARGET) $(CFLAGS_FOR_BUILD)"; export CXX; \
-! CXXCPP="$(RAW_CXX_FOR_TARGET) $(CFLAGS_FOR_BUILD) -E"; export CXXCPP;
-
- NORMAL_TARGET_EXPORTS = \
- $(BASE_TARGET_EXPORTS) \
diff --git a/pkgs/development/compilers/gcc/4.2/siginfo_t.patch b/pkgs/development/compilers/gcc/4.2/siginfo_t.patch
deleted file mode 100644
index bfb9f975372833959b1d27a5b204814880766a6d..0000000000000000000000000000000000000000
--- a/pkgs/development/compilers/gcc/4.2/siginfo_t.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-https://bbs.archlinux.org/viewtopic.php?id=144949
---- a/gcc/config/i386/linux-unwind.h 2011-01-03 20:52:22.000000000 +0000
-+++ b/gcc/config/i386/linux-unwind.h 2012-07-06 12:23:51.562859470 +0100
-@@ -133,9 +133,9 @@
- {
- struct rt_sigframe {
- int sig;
-- struct siginfo *pinfo;
-+ siginfo_t *pinfo;
- void *puc;
-- struct siginfo info;
-+ siginfo_t info;
- struct ucontext uc;
- } *rt_ = context->cfa;
- /* The void * cast is necessary to avoid an aliasing warning.
diff --git a/pkgs/development/compilers/gcc/4.3/default.nix b/pkgs/development/compilers/gcc/4.3/default.nix
index 4446876ab1f84611b5434b96090f4d996caee832..45040c2f3753189c3fcca76d3156b319bfd3477c 100644
--- a/pkgs/development/compilers/gcc/4.3/default.nix
+++ b/pkgs/development/compilers/gcc/4.3/default.nix
@@ -173,7 +173,7 @@ stdenv.mkDerivation ({
meta = {
homepage = "http://ghdl.free.fr/";
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
description = "Complete VHDL simulator, using the GCC technology";
maintainers = with stdenv.lib.maintainers; [viric];
platforms = with stdenv.lib.platforms; linux;
diff --git a/pkgs/development/compilers/gcc/4.4/default.nix b/pkgs/development/compilers/gcc/4.4/default.nix
index 99c342da780f706a29ff567d5ae31ee019967daa..be2f323fde1c94ce309950e8486b79aeccf8b6f3 100644
--- a/pkgs/development/compilers/gcc/4.4/default.nix
+++ b/pkgs/development/compilers/gcc/4.4/default.nix
@@ -251,7 +251,7 @@ stdenv.mkDerivation ({
meta = {
homepage = http://gcc.gnu.org/;
- license = "GPLv3+"; # runtime support libraries are typically LGPLv3+
+ license = stdenv.lib.licenses.gpl3Plus; # runtime support libraries are typically LGPLv3+
description = "GNU Compiler Collection, version ${version}";
longDescription = ''
@@ -302,7 +302,7 @@ stdenv.mkDerivation ({
meta = {
homepage = "http://ghdl.free.fr/";
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
description = "Complete VHDL simulator, using the GCC technology (gcc ${version})";
maintainers = with stdenv.lib.maintainers; [viric];
platforms = with stdenv.lib.platforms; linux;
diff --git a/pkgs/development/compilers/gcc/4.5/default.nix b/pkgs/development/compilers/gcc/4.5/default.nix
index 9713164711f16a3d1cf92ce6bd9bc19f952f0e6b..fbeea0768ad3b2f58462804c48cdc38b70d1278d 100644
--- a/pkgs/development/compilers/gcc/4.5/default.nix
+++ b/pkgs/development/compilers/gcc/4.5/default.nix
@@ -364,7 +364,7 @@ stdenv.mkDerivation ({
meta = {
homepage = http://gcc.gnu.org/;
- license = "GPLv3+"; # runtime support libraries are typically LGPLv3+
+ license = stdenv.lib.licenses.gpl3Plus; # runtime support libraries are typically LGPLv3+
description = "GNU Compiler Collection, version ${version}"
+ (if stripped then "" else " (with debugging info)");
@@ -432,7 +432,7 @@ stdenv.mkDerivation ({
meta = {
homepage = "http://ghdl.free.fr/";
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
description = "Complete VHDL simulator, using the GCC technology (gcc ${version})";
maintainers = with stdenv.lib.maintainers; [viric];
platforms = with stdenv.lib.platforms; linux;
diff --git a/pkgs/development/compilers/gcc/4.6/default.nix b/pkgs/development/compilers/gcc/4.6/default.nix
index ef75cf71f581f3653a5fb2ce384d0326dc314185..8528be07729535a47942cc36152a148f108eed91 100644
--- a/pkgs/development/compilers/gcc/4.6/default.nix
+++ b/pkgs/development/compilers/gcc/4.6/default.nix
@@ -438,7 +438,7 @@ stdenv.mkDerivation ({
meta = {
homepage = http://gcc.gnu.org/;
- license = "GPLv3+"; # runtime support libraries are typically LGPLv3+
+ license = stdenv.lib.licenses.gpl3Plus; # runtime support libraries are typically LGPLv3+
description = "GNU Compiler Collection, version ${version}"
+ (if stripped then "" else " (with debugging info)");
@@ -501,7 +501,7 @@ stdenv.mkDerivation ({
meta = {
homepage = "http://ghdl.free.fr/";
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
description = "Complete VHDL simulator, using the GCC technology (gcc ${version})";
maintainers = with stdenv.lib.maintainers; [viric];
platforms = with stdenv.lib.platforms; linux;
diff --git a/pkgs/development/compilers/gcc/4.8/default.nix b/pkgs/development/compilers/gcc/4.8/default.nix
index 58732f1a0be22519483aa2d7a5dc9aef17bc4cc3..62dbad747584a077db674330c77cfc21022e1b4d 100644
--- a/pkgs/development/compilers/gcc/4.8/default.nix
+++ b/pkgs/development/compilers/gcc/4.8/default.nix
@@ -500,7 +500,7 @@ stdenv.mkDerivation ({
meta = {
homepage = http://gcc.gnu.org/;
- license = "GPLv3+"; # runtime support libraries are typically LGPLv3+
+ license = stdenv.lib.licenses.gpl3Plus; # runtime support libraries are typically LGPLv3+
description = "GNU Compiler Collection, version ${version}"
+ (if stripped then "" else " (with debugging info)");
diff --git a/pkgs/development/compilers/gcc/4.9/default.nix b/pkgs/development/compilers/gcc/4.9/default.nix
index f00c42e421adeb06e5c932133c68f541aada8390..8b185d00bcc07a9679c9585f7a2c366b94afeccb 100644
--- a/pkgs/development/compilers/gcc/4.9/default.nix
+++ b/pkgs/development/compilers/gcc/4.9/default.nix
@@ -52,7 +52,7 @@ assert langGo -> langCC;
with stdenv.lib;
with builtins;
-let version = "4.9.0";
+let version = "4.9.1";
# Whether building a cross-compiler for GNU/Hurd.
crossGNU = cross != null && cross.config == "i586-pc-gnu";
@@ -209,7 +209,7 @@ stdenv.mkDerivation ({
src = fetchurl {
url = "mirror://gnu/gcc/gcc-${version}/gcc-${version}.tar.bz2";
- sha256 = "0mqjxpw2klskls00lwx1k24pnyzm3whqxg3hk74c3sddgfllgc5r";
+ sha256 = "0zki3ngi0gsidnmsp88mjl2868cc7cm5wm1vwqw6znja28d7hd6k";
};
inherit patches;
@@ -495,7 +495,7 @@ stdenv.mkDerivation ({
meta = {
homepage = http://gcc.gnu.org/;
- license = "GPLv3+"; # runtime support libraries are typically LGPLv3+
+ license = stdenv.lib.licenses.gpl3Plus; # runtime support libraries are typically LGPLv3+
description = "GNU Compiler Collection, version ${version}"
+ (if stripped then "" else " (with debugging info)");
diff --git a/pkgs/development/compilers/ghdl/default.nix b/pkgs/development/compilers/ghdl/default.nix
index cd33d3d79a705b49912517e1be1f2296bbf7ee6d..8b14dbc5cbfa9dbda4a8612136e61f9e120acee0 100644
--- a/pkgs/development/compilers/ghdl/default.nix
+++ b/pkgs/development/compilers/ghdl/default.nix
@@ -59,6 +59,6 @@ stdenv.mkDerivation rec {
description = "Free VHDL simulator, mcode flavour";
maintainers = with stdenv.lib.maintainers; [viric];
platforms = with stdenv.lib.platforms; linux;
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
};
}
diff --git a/pkgs/development/compilers/gnatboot/default.nix b/pkgs/development/compilers/gnatboot/default.nix
index 1de0c88a6bc7a9620ae7db9503ed28e543f027ed..3cab8379720e4726dba9a1b068ded5dd4ee23579 100644
--- a/pkgs/development/compilers/gnatboot/default.nix
+++ b/pkgs/development/compilers/gnatboot/default.nix
@@ -38,7 +38,7 @@ stdenv.mkDerivation {
meta = {
homepage = http://gentoo.org;
- license = "GPLv3+"; # runtime support libraries are typically LGPLv3+
+ license = stdenv.lib.licenses.gpl3Plus; # runtime support libraries are typically LGPLv3+
maintainers = [
stdenv.lib.maintainers.viric
];
diff --git a/pkgs/development/compilers/idris/default.nix b/pkgs/development/compilers/idris/default.nix
index c2b6b0ac5acc70e930d41beb214eb7f3602ad3ab..f0b07f9d0fa3410aee713e7eb59eed519ad2e658 100644
--- a/pkgs/development/compilers/idris/default.nix
+++ b/pkgs/development/compilers/idris/default.nix
@@ -11,8 +11,8 @@
cabal.mkDerivation (self: {
pname = "idris";
- version = "0.9.14";
- sha256 = "0kfzp89sass93p9zsxq616zfix7ipi1rmjqmcjixihi01k7c0b8b";
+ version = "0.9.14.1";
+ sha256 = "11x4f0hvd51m9rlf9r0i5xsjmc73kjsayny4xyv0wgb88v9v737b";
isLibrary = true;
isExecutable = true;
buildDepends = [
@@ -26,6 +26,7 @@ cabal.mkDerivation (self: {
buildTools = [ happy ];
extraLibraries = [ boehmgc gmp ];
configureFlags = "-fllvm -fgmp -fffi";
+ jailbreak = true;
meta = {
homepage = "http://www.idris-lang.org/";
description = "Functional Programming Language with Dependent Types";
diff --git a/pkgs/development/compilers/ikarus/default.nix b/pkgs/development/compilers/ikarus/default.nix
index 4c3845f9ee5620e703c7384118a1d6f86d444889..070f29e16f64fc81a7dd2de4bd34e14f6a5641f8 100644
--- a/pkgs/development/compilers/ikarus/default.nix
+++ b/pkgs/development/compilers/ikarus/default.nix
@@ -14,6 +14,6 @@ stdenv.mkDerivation rec {
meta = {
description = "Ikarus - a Scheme compiler, aiming at R6RS";
homepage = http://ikarus-scheme.org/;
- license = "GPLv3";
+ license = stdenv.lib.licenses.gpl3;
};
}
diff --git a/pkgs/development/compilers/llvm/3.1/clang-include-paths.patch b/pkgs/development/compilers/llvm/3.1/clang-include-paths.patch
deleted file mode 100644
index 5e7370718ab49068df7e57e5ade4cdbc72732066..0000000000000000000000000000000000000000
--- a/pkgs/development/compilers/llvm/3.1/clang-include-paths.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-diff -Naur clang-3.1.src-orig/lib/Driver/ToolChains.cpp clang-3.1.src/lib/Driver/ToolChains.cpp
---- clang-3.1.src-orig/lib/Driver/ToolChains.cpp 2012-05-11 20:16:02.000000000 -0400
-+++ clang-3.1.src/lib/Driver/ToolChains.cpp 2012-10-08 01:13:01.044083509 -0400
-@@ -2146,9 +2146,6 @@
- if (DriverArgs.hasArg(options::OPT_nostdinc))
- return;
-
-- if (!DriverArgs.hasArg(options::OPT_nostdlibinc))
-- addSystemInclude(DriverArgs, CC1Args, D.SysRoot + "/usr/local/include");
--
- if (!DriverArgs.hasArg(options::OPT_nobuiltininc)) {
- llvm::sys::Path P(D.ResourceDir);
- P.appendComponent("include");
-@@ -2264,6 +2261,7 @@
- return;
-
- // Check if libc++ has been enabled and provide its include paths if so.
-+ // !!! Will need to modify this if/when nixpkgs uses libc++
- if (GetCXXStdlibType(DriverArgs) == ToolChain::CST_Libcxx) {
- // libc++ is always installed at a fixed path on Linux currently.
- addSystemInclude(DriverArgs, CC1Args,
diff --git a/pkgs/development/compilers/llvm/3.1/clang-ld-flags.patch b/pkgs/development/compilers/llvm/3.1/clang-ld-flags.patch
deleted file mode 100644
index ffa67b464eca7a95cb6114fad2711c924356c585..0000000000000000000000000000000000000000
--- a/pkgs/development/compilers/llvm/3.1/clang-ld-flags.patch
+++ /dev/null
@@ -1,57 +0,0 @@
-diff -Naur clang-3.1.src-orig/lib/Driver/ToolChains.cpp clang-3.1.src/lib/Driver/ToolChains.cpp
---- clang-3.1.src-orig/lib/Driver/ToolChains.cpp 2012-05-11 20:16:02.000000000 -0400
-+++ clang-3.1.src/lib/Driver/ToolChains.cpp 2012-10-08 01:22:53.458850737 -0400
-@@ -2077,16 +2077,6 @@
- addPathIfExists(LibPath + "/../" + Multilib, Paths);
- }
- }
-- addPathIfExists(SysRoot + "/lib/" + MultiarchTriple, Paths);
-- addPathIfExists(SysRoot + "/lib/../" + Multilib, Paths);
-- addPathIfExists(SysRoot + "/usr/lib/" + MultiarchTriple, Paths);
-- addPathIfExists(SysRoot + "/usr/lib/../" + Multilib, Paths);
--
-- // Try walking via the GCC triple path in case of multiarch GCC
-- // installations with strange symlinks.
-- if (GCCInstallation.isValid())
-- addPathIfExists(SysRoot + "/usr/lib/" + GCCInstallation.getTriple().str() +
-- "/../../" + Multilib, Paths);
-
- // Add the non-multilib suffixed paths (if potentially different).
- if (GCCInstallation.isValid()) {
-@@ -2100,8 +2090,6 @@
- addPathIfExists(LibPath, Paths);
- }
- }
-- addPathIfExists(SysRoot + "/lib", Paths);
-- addPathIfExists(SysRoot + "/usr/lib", Paths);
- }
-
- bool Linux::HasNativeLLVMSupport() const {
-diff -Naur clang-3.1.src-orig/lib/Driver/Tools.cpp clang-3.1.src/lib/Driver/Tools.cpp
---- clang-3.1.src-orig/lib/Driver/Tools.cpp 2012-04-18 17:32:25.000000000 -0400
-+++ clang-3.1.src/lib/Driver/Tools.cpp 2012-10-08 01:25:23.913501995 -0400
-@@ -5210,24 +5210,6 @@
- ToolChain.getArch() == llvm::Triple::thumb ||
- (!Args.hasArg(options::OPT_static) &&
- !Args.hasArg(options::OPT_shared))) {
-- CmdArgs.push_back("-dynamic-linker");
-- if (ToolChain.getArch() == llvm::Triple::x86)
-- CmdArgs.push_back("/lib/ld-linux.so.2");
-- else if (ToolChain.getArch() == llvm::Triple::arm ||
-- ToolChain.getArch() == llvm::Triple::thumb)
-- CmdArgs.push_back("/lib/ld-linux.so.3");
-- else if (ToolChain.getArch() == llvm::Triple::mips ||
-- ToolChain.getArch() == llvm::Triple::mipsel)
-- CmdArgs.push_back("/lib/ld.so.1");
-- else if (ToolChain.getArch() == llvm::Triple::mips64 ||
-- ToolChain.getArch() == llvm::Triple::mips64el)
-- CmdArgs.push_back("/lib64/ld.so.1");
-- else if (ToolChain.getArch() == llvm::Triple::ppc)
-- CmdArgs.push_back("/lib/ld.so.1");
-- else if (ToolChain.getArch() == llvm::Triple::ppc64)
-- CmdArgs.push_back("/lib64/ld64.so.1");
-- else
-- CmdArgs.push_back("/lib64/ld-linux-x86-64.so.2");
- }
-
- CmdArgs.push_back("-o");
diff --git a/pkgs/development/compilers/llvm/3.1/clang.nix b/pkgs/development/compilers/llvm/3.1/clang.nix
deleted file mode 100644
index c152d2215d800368106b4181bb77179d613f2240..0000000000000000000000000000000000000000
--- a/pkgs/development/compilers/llvm/3.1/clang.nix
+++ /dev/null
@@ -1,42 +0,0 @@
-{ stdenv, fetchurl, perl, groff, llvm, cmake }:
-
-let
- version = "3.1";
- gccReal = if (stdenv.gcc.gcc or null) == null then stdenv.gcc else stdenv.gcc.gcc;
-in
-
-stdenv.mkDerivation {
- name = "clang-${version}";
-
- buildInputs = [ perl llvm groff cmake ];
-
- patches = stdenv.lib.optionals (stdenv.gcc.libc != null)
- [ ./clang-include-paths.patch ./clang-ld-flags.patch ];
-
- cmakeFlags = [
- "-DCLANG_PATH_TO_LLVM_BUILD=${llvm}"
- "-DCMAKE_BUILD_TYPE=Release"
- "-DLLVM_TARGETS_TO_BUILD=all"
- "-DGCC_INSTALL_PREFIX=${gccReal}"
- ] ++ stdenv.lib.optionals (stdenv.gcc.libc != null) [
- "-DC_INCLUDE_DIRS=${stdenv.gcc.libc}/include/"
- ];
-
- enableParallelBuilding = true;
-
- src = fetchurl {
- url = "http://llvm.org/releases/${version}/clang-${version}.src.tar.gz";
- sha256 = "11m7sm9f8qcrayckfg3z91zb3fimilpm0f7azn7q7qnkvhay4qzz";
- };
-
- passthru = { gcc = stdenv.gcc.gcc; };
-
- meta = {
- homepage = http://clang.llvm.org/;
- description = "A C language family frontend for LLVM";
- license = "BSD";
- maintainers = with stdenv.lib.maintainers; [viric vlstill];
- platforms = with stdenv.lib.platforms; all;
- };
-}
-
diff --git a/pkgs/development/compilers/llvm/3.1/default.nix b/pkgs/development/compilers/llvm/3.1/default.nix
deleted file mode 100644
index 60837d58b2958b0e753c47b28878113d7daf1189..0000000000000000000000000000000000000000
--- a/pkgs/development/compilers/llvm/3.1/default.nix
+++ /dev/null
@@ -1,30 +0,0 @@
-{ stdenv, fetchurl, perl, groff, cmake, python, binutils }:
-
-let version = "3.1"; in
-
-stdenv.mkDerivation {
- name = "llvm-${version}";
-
- src = fetchurl {
- url = "http://llvm.org/releases/${version}/llvm-${version}.src.tar.gz";
- sha256 = "1ea05135197b5400c1f88d00ff280d775ce778f8f9ea042e25a1e1e734a4b9ab";
- };
-
- buildInputs = [ perl groff cmake python ];
-
- cmakeFlags = [
- "-DCMAKE_BUILD_TYPE=Release"
- "-DLLVM_BINUTILS_INCDIR=${binutils}/include"
- ];
-
- enableParallelBuilding = true;
-
- meta = {
- homepage = http://llvm.org/;
- description = "Collection of modular and reusable compiler and toolchain technologies";
- license = "BSD";
- maintainers = with stdenv.lib.maintainers; [viric raskin vlstill];
- platforms = with stdenv.lib.platforms; all;
- };
-}
-
diff --git a/pkgs/development/compilers/llvm/3.2/clang-purity.patch b/pkgs/development/compilers/llvm/3.2/clang-purity.patch
deleted file mode 100644
index 18c70b56c540bdc8e9fe8a8f75ddbbd913810a9c..0000000000000000000000000000000000000000
--- a/pkgs/development/compilers/llvm/3.2/clang-purity.patch
+++ /dev/null
@@ -1,137 +0,0 @@
-diff -Naur clang-3.2.src-orig/lib/Driver/ToolChains.cpp clang-3.2.src/lib/Driver/ToolChains.cpp
---- clang-3.2.src-orig/lib/Driver/ToolChains.cpp 2012-12-16 10:59:27.000000000 -0500
-+++ clang-3.2.src/lib/Driver/ToolChains.cpp 2013-01-22 14:16:55.787547681 -0500
-@@ -2153,16 +2153,6 @@
- addPathIfExists(LibPath + "/../" + GCCTriple.str() + "/lib", Paths);
- }
- }
-- addPathIfExists(SysRoot + "/lib/" + MultiarchTriple, Paths);
-- addPathIfExists(SysRoot + "/lib/../" + Multilib, Paths);
-- addPathIfExists(SysRoot + "/usr/lib/" + MultiarchTriple, Paths);
-- addPathIfExists(SysRoot + "/usr/lib/../" + Multilib, Paths);
--
-- // Try walking via the GCC triple path in case of multiarch GCC
-- // installations with strange symlinks.
-- if (GCCInstallation.isValid())
-- addPathIfExists(SysRoot + "/usr/lib/" + GCCInstallation.getTriple().str() +
-- "/../../" + Multilib, Paths);
-
- // Add the non-multilib suffixed paths (if potentially different).
- if (GCCInstallation.isValid()) {
-@@ -2176,8 +2166,6 @@
- addPathIfExists(LibPath, Paths);
- }
- }
-- addPathIfExists(SysRoot + "/lib", Paths);
-- addPathIfExists(SysRoot + "/usr/lib", Paths);
- }
-
- bool Linux::HasNativeLLVMSupport() const {
-@@ -2228,9 +2216,6 @@
- if (DriverArgs.hasArg(options::OPT_nostdinc))
- return;
-
-- if (!DriverArgs.hasArg(options::OPT_nostdlibinc))
-- addSystemInclude(DriverArgs, CC1Args, D.SysRoot + "/usr/local/include");
--
- if (!DriverArgs.hasArg(options::OPT_nobuiltininc)) {
- llvm::sys::Path P(D.ResourceDir);
- P.appendComponent("include");
-@@ -2295,24 +2280,6 @@
- "/usr/include/powerpc64-linux-gnu"
- };
- ArrayRef MultiarchIncludeDirs;
-- if (getTriple().getArch() == llvm::Triple::x86_64) {
-- MultiarchIncludeDirs = X86_64MultiarchIncludeDirs;
-- } else if (getTriple().getArch() == llvm::Triple::x86) {
-- MultiarchIncludeDirs = X86MultiarchIncludeDirs;
-- } else if (getTriple().getArch() == llvm::Triple::arm) {
-- if (getTriple().getEnvironment() == llvm::Triple::GNUEABIHF)
-- MultiarchIncludeDirs = ARMHFMultiarchIncludeDirs;
-- else
-- MultiarchIncludeDirs = ARMMultiarchIncludeDirs;
-- } else if (getTriple().getArch() == llvm::Triple::mips) {
-- MultiarchIncludeDirs = MIPSMultiarchIncludeDirs;
-- } else if (getTriple().getArch() == llvm::Triple::mipsel) {
-- MultiarchIncludeDirs = MIPSELMultiarchIncludeDirs;
-- } else if (getTriple().getArch() == llvm::Triple::ppc) {
-- MultiarchIncludeDirs = PPCMultiarchIncludeDirs;
-- } else if (getTriple().getArch() == llvm::Triple::ppc64) {
-- MultiarchIncludeDirs = PPC64MultiarchIncludeDirs;
-- }
- for (ArrayRef::iterator I = MultiarchIncludeDirs.begin(),
- E = MultiarchIncludeDirs.end();
- I != E; ++I) {
-@@ -2324,13 +2291,6 @@
-
- if (getTriple().getOS() == llvm::Triple::RTEMS)
- return;
--
-- // Add an include of '/include' directly. This isn't provided by default by
-- // system GCCs, but is often used with cross-compiling GCCs, and harmless to
-- // add even when Clang is acting as-if it were a system compiler.
-- addExternCSystemInclude(DriverArgs, CC1Args, D.SysRoot + "/include");
--
-- addExternCSystemInclude(DriverArgs, CC1Args, D.SysRoot + "/usr/include");
- }
-
- /// \brief Helper to add the thre variant paths for a libstdc++ installation.
-diff -Naur clang-3.2.src-orig/lib/Driver/Tools.cpp clang-3.2.src/lib/Driver/Tools.cpp
---- clang-3.2.src-orig/lib/Driver/Tools.cpp 2012-11-21 02:56:23.000000000 -0500
-+++ clang-3.2.src/lib/Driver/Tools.cpp 2013-01-22 14:24:37.167212186 -0500
-@@ -5972,34 +5972,6 @@
- ToolChain.getArch() == llvm::Triple::thumb ||
- (!Args.hasArg(options::OPT_static) &&
- !Args.hasArg(options::OPT_shared))) {
-- CmdArgs.push_back("-dynamic-linker");
-- if (isAndroid)
-- CmdArgs.push_back("/system/bin/linker");
-- else if (ToolChain.getArch() == llvm::Triple::x86)
-- CmdArgs.push_back("/lib/ld-linux.so.2");
-- else if (ToolChain.getArch() == llvm::Triple::arm ||
-- ToolChain.getArch() == llvm::Triple::thumb) {
-- if (ToolChain.getTriple().getEnvironment() == llvm::Triple::GNUEABIHF)
-- CmdArgs.push_back("/lib/ld-linux-armhf.so.3");
-- else
-- CmdArgs.push_back("/lib/ld-linux.so.3");
-- }
-- else if (ToolChain.getArch() == llvm::Triple::mips ||
-- ToolChain.getArch() == llvm::Triple::mipsel)
-- CmdArgs.push_back("/lib/ld.so.1");
-- else if (ToolChain.getArch() == llvm::Triple::mips64 ||
-- ToolChain.getArch() == llvm::Triple::mips64el) {
-- if (hasMipsN32ABIArg(Args))
-- CmdArgs.push_back("/lib32/ld.so.1");
-- else
-- CmdArgs.push_back("/lib64/ld.so.1");
-- }
-- else if (ToolChain.getArch() == llvm::Triple::ppc)
-- CmdArgs.push_back("/lib/ld.so.1");
-- else if (ToolChain.getArch() == llvm::Triple::ppc64)
-- CmdArgs.push_back("/lib64/ld64.so.1");
-- else
-- CmdArgs.push_back("/lib64/ld-linux-x86-64.so.2");
- }
-
- CmdArgs.push_back("-o");
-diff -Naur clang-3.2.src-orig/lib/Frontend/InitHeaderSearch.cpp clang-3.2.src/lib/Frontend/InitHeaderSearch.cpp
---- clang-3.2.src-orig/lib/Frontend/InitHeaderSearch.cpp 2012-10-24 12:19:39.000000000 -0400
-+++ clang-3.2.src/lib/Frontend/InitHeaderSearch.cpp 2013-01-22 14:20:32.803925775 -0500
-@@ -221,8 +221,6 @@
- case llvm::Triple::Bitrig:
- break;
- default:
-- // FIXME: temporary hack: hard-coded paths.
-- AddPath("/usr/local/include", System, true, false, false);
- break;
- }
- }
-@@ -330,8 +328,6 @@
- break;
- }
-
-- if ( os != llvm::Triple::RTEMS )
-- AddPath("/usr/include", System, false, false, false);
- }
-
- void InitHeaderSearch::
diff --git a/pkgs/development/compilers/llvm/3.2/clang.nix b/pkgs/development/compilers/llvm/3.2/clang.nix
deleted file mode 100644
index b8e9f946773da3bdb996d13f71f5dd322d9f5d7d..0000000000000000000000000000000000000000
--- a/pkgs/development/compilers/llvm/3.2/clang.nix
+++ /dev/null
@@ -1,40 +0,0 @@
-{ stdenv, fetchurl, perl, groff, llvm, cmake, libxml2 }:
-
-let
- version = "3.2";
- gccReal = if (stdenv.gcc.gcc or null) == null then stdenv.gcc else stdenv.gcc.gcc;
-in
-
-stdenv.mkDerivation {
- name = "clang-${version}";
-
- buildInputs = [ perl llvm groff cmake libxml2 ];
-
- patches = stdenv.lib.optional (stdenv.gcc.libc != null) ./clang-purity.patch;
-
- cmakeFlags = [
- "-DCLANG_PATH_TO_LLVM_BUILD=${llvm}"
- "-DCMAKE_BUILD_TYPE=Release"
- "-DLLVM_TARGETS_TO_BUILD=all"
- "-DGCC_INSTALL_PREFIX=${gccReal}"
- ] ++ stdenv.lib.optionals (stdenv.gcc.libc != null) [
- "-DC_INCLUDE_DIRS=${stdenv.gcc.libc}/include/"
- ];
-
- enableParallelBuilding = true;
-
- src = fetchurl {
- url = "http://llvm.org/releases/${version}/clang-${version}.src.tar.gz";
- sha256 = "0n2nzw3pw2v7fk67f2k2qyzd9wibvi3i5j7cjzz1csqgghzz1aia";
- };
-
- passthru = { gcc = stdenv.gcc.gcc; };
-
- meta = {
- homepage = http://clang.llvm.org/;
- description = "A C language family frontend for LLVM";
- license = "BSD";
- maintainers = with stdenv.lib.maintainers; [viric];
- platforms = with stdenv.lib.platforms; all;
- };
-}
diff --git a/pkgs/development/compilers/llvm/3.2/default.nix b/pkgs/development/compilers/llvm/3.2/default.nix
deleted file mode 100644
index c373f1c1a4a27c516cb30c64a2b427605b0f6955..0000000000000000000000000000000000000000
--- a/pkgs/development/compilers/llvm/3.2/default.nix
+++ /dev/null
@@ -1,40 +0,0 @@
-{ stdenv, fetchurl, perl, groff, cmake, python, libffi, binutils }:
-
-let version = "3.2"; in
-
-stdenv.mkDerivation {
- name = "llvm-${version}";
-
- src = fetchurl {
- url = "http://llvm.org/releases/${version}/llvm-${version}.src.tar.gz";
- sha256 = "0hv30v5l4fkgyijs56sr1pbrlzgd674pg143x7az2h37sb290l0j";
- };
-
- patches = [ ./set_soname.patch ]; # http://llvm.org/bugs/show_bug.cgi?id=12334
- patchFlags = "-p0";
-
- preConfigure = "patchShebangs .";
-
- propagatedBuildInputs = [ libffi ];
- buildInputs = [ perl groff cmake python ]; # ToDo: polly, libc++; enable cxx11?
-
- # created binaries need to be run before installation... I coudn't find a better way
- preBuild = ''export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:"`pwd`/lib'';
-
- cmakeFlags = [
- "-DCMAKE_BUILD_TYPE=Release"
- "-DBUILD_SHARED_LIBS=ON"
- "-DLLVM_BINUTILS_INCDIR=${binutils}/include"
- ];
-
- enableParallelBuilding = true;
- #doCheck = true; # tests are broken, don't know why
-
- meta = {
- homepage = http://llvm.org/;
- description = "Collection of modular and reusable compiler and toolchain technologies";
- license = "BSD";
- maintainers = with stdenv.lib.maintainers; [viric raskin vlstill];
- platforms = with stdenv.lib.platforms; all;
- };
-}
diff --git a/pkgs/development/compilers/llvm/3.2/set_soname.patch b/pkgs/development/compilers/llvm/3.2/set_soname.patch
deleted file mode 100644
index 69ba74dddad893a747ba06b9f623acaad763883a..0000000000000000000000000000000000000000
--- a/pkgs/development/compilers/llvm/3.2/set_soname.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-https://bugs.gentoo.org/show_bug.cgi?id=409267
-http://llvm.org/bugs/show_bug.cgi?id=12334
---- tools/llvm-shlib/Makefile.orig 2012-03-26 18:14:13.071797115 +0200
-+++ tools/llvm-shlib/Makefile 2012-03-26 17:31:12.491196254 +0200
-@@ -67,6 +67,7 @@
- # Include everything from the .a's into the shared library.
- LLVMLibsOptions := -Wl,--whole-archive $(LLVMLibsOptions) \
- -Wl,--no-whole-archive
-+ LLVMLibsOptions += -Wl,--soname,lib$(LIBRARYNAME)$(SHLIBEXT)
- endif
-
- ifeq ($(HOST_OS),Linux)
diff --git a/pkgs/development/compilers/llvm/3.4/dragonegg.nix b/pkgs/development/compilers/llvm/3.4/dragonegg.nix
index 577533c2e528ee8003b9e5bfb8344d4bbfe69a2e..a34fa965f066b125cb37aa9d4834c6fe109d74d2 100644
--- a/pkgs/development/compilers/llvm/3.4/dragonegg.nix
+++ b/pkgs/development/compilers/llvm/3.4/dragonegg.nix
@@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://dragonegg.llvm.org/;
description = "gcc plugin that replaces gcc's optimizers and code generators by those in LLVM";
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
maintainers = with stdenv.lib.maintainers; [viric shlevy];
platforms = with stdenv.lib.platforms; linux;
};
diff --git a/pkgs/development/compilers/mit-scheme/default.nix b/pkgs/development/compilers/mit-scheme/default.nix
index 29950aa9e3dde4f001da9e666d702e3cab0b9c13..f6a52b52e1d5a61f1cb02c144b66b5da413c962f 100644
--- a/pkgs/development/compilers/mit-scheme/default.nix
+++ b/pkgs/development/compilers/mit-scheme/default.nix
@@ -78,7 +78,7 @@ stdenv.mkDerivation {
homepage = http://www.gnu.org/software/mit-scheme/;
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
maintainers = [ stdenv.lib.maintainers.ludo ];
diff --git a/pkgs/development/compilers/opencxx/default.nix b/pkgs/development/compilers/opencxx/default.nix
deleted file mode 100644
index 54eda51353f920da111b2dbd8a54b48357345071..0000000000000000000000000000000000000000
--- a/pkgs/development/compilers/opencxx/default.nix
+++ /dev/null
@@ -1,14 +0,0 @@
-{ stdenv, fetchurl, libtool, gcc, patches ? []}:
-
-stdenv.mkDerivation {
- name = "opencxx-2.8";
- src = fetchurl {
- url = mirror://sourceforge/opencxx/opencxx-2.8.tar.gz;
- md5 = "0f71df82751fe8aba5122d6e0541c98a";
- };
-
- buildInputs = [libtool];
- NIX_GCC = gcc;
-
- inherit patches;
-}
diff --git a/pkgs/development/compilers/opendylan/bin.nix b/pkgs/development/compilers/opendylan/bin.nix
index bab8e66799b7a6566e7cf53f71458c8f4be7aced..19f8eab482cb00b164ef1db7e0dbb62116146004 100644
--- a/pkgs/development/compilers/opendylan/bin.nix
+++ b/pkgs/development/compilers/opendylan/bin.nix
@@ -36,6 +36,6 @@ stdenv.mkDerivation {
meta = {
homepage = http://opendylan.org;
description = "Dylan is a multi-paradigm functional and object-oriented programming language.";
- license = "MIT";
+ license = stdenv.lib.licenses.mit;
};
}
diff --git a/pkgs/development/compilers/opendylan/default.nix b/pkgs/development/compilers/opendylan/default.nix
index b1ee1d000c4ccff22024a8be8dc416c4980ae7e4..e4bdcf7889bb755b5d18387ad8a948bb5c2e9869 100644
--- a/pkgs/development/compilers/opendylan/default.nix
+++ b/pkgs/development/compilers/opendylan/default.nix
@@ -32,6 +32,6 @@ stdenv.mkDerivation {
meta = {
homepage = http://opendylan.org;
description = "Dylan is a multi-paradigm functional and object-oriented programming language.";
- license = "MIT";
+ license = stdenv.lib.licenses.mit;
};
}
diff --git a/pkgs/development/compilers/openjdk/default.nix b/pkgs/development/compilers/openjdk/default.nix
index 6fd7ad9d65b1502864ab1e2adfad3cc2a237ffa8..6a07c7af69e2f2d29e935769a5c3a6257686224a 100644
--- a/pkgs/development/compilers/openjdk/default.nix
+++ b/pkgs/development/compilers/openjdk/default.nix
@@ -165,7 +165,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://openjdk.java.net/;
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
description = "The open-source Java Development Kit";
maintainers = [ stdenv.lib.maintainers.eelco stdenv.lib.maintainers.shlevy ];
platforms = stdenv.lib.platforms.linux;
diff --git a/pkgs/development/compilers/oraclejdk/jdk-linux-base.nix b/pkgs/development/compilers/oraclejdk/jdk-linux-base.nix
index 90a64ecd5217b0b840e3c897ee0916c21f0d6ddd..657d18070e966adf7662238a711c4824e04a2efb 100644
--- a/pkgs/development/compilers/oraclejdk/jdk-linux-base.nix
+++ b/pkgs/development/compilers/oraclejdk/jdk-linux-base.nix
@@ -180,6 +180,6 @@ let result = stdenv.mkDerivation rec {
passthru.jre = result; # FIXME: use multiple outputs or return actual JRE package
- meta.license = "unfree";
+ meta.license = stdenv.lib.licenses.unfree;
}; in result
diff --git a/pkgs/development/compilers/oraclejdk/jdk6-linux.nix b/pkgs/development/compilers/oraclejdk/jdk6-linux.nix
index 97ec6b56305c7442adc5644500fd7c3b68248cd3..9b384c5ae4608390160d9d0a589900b291ad9530 100644
--- a/pkgs/development/compilers/oraclejdk/jdk6-linux.nix
+++ b/pkgs/development/compilers/oraclejdk/jdk6-linux.nix
@@ -80,5 +80,5 @@ stdenv.mkDerivation {
mozillaPlugin = if installjdk then "/jre/lib/${architecture}/plugins" else "/lib/${architecture}/plugins";
- meta.license = "unfree";
+ meta.license = stdenv.lib.licenses.unfree;
}
diff --git a/pkgs/development/compilers/rust/default.nix b/pkgs/development/compilers/rustc/0.11.nix
similarity index 65%
rename from pkgs/development/compilers/rust/default.nix
rename to pkgs/development/compilers/rustc/0.11.nix
index 2c27cf778a14116e8b6c0888db310a4a10289b37..1c3b09b0985a00902f0018350536e974d78873a2 100644
--- a/pkgs/development/compilers/rust/default.nix
+++ b/pkgs/development/compilers/rustc/0.11.nix
@@ -14,23 +14,25 @@
*/
-with if stdenv.system == "i686-linux" then {
- platform = "linux-i386";
- snapshot = "84339ea0f796ae468ef86797ef4587274bec19ea";
- target = "i686-unknown-linux-gnu";
-} else if stdenv.system == "x86_64-linux" then {
- platform = "linux-x86_64";
- snapshot = "bd8a6bc1f28845b7f4b768f6bfa06e7fbdcfcaae";
- target = "x86_64-unknown-linux-gnu";
-} else if stdenv.system == "x86_64-darwin" then {
- platform = "macos-x86_64";
- snapshot = "4a8c2e1b7634d73406bac32a1a97893ec3ed818d";
-} else {};
-let snapshotDate = "2014-06-21";
+with ((import ./common.nix) {inherit stdenv; version = "0.11.0"; });
+
+let snapshot = if stdenv.system == "i686-linux"
+ then "84339ea0f796ae468ef86797ef4587274bec19ea"
+ else if stdenv.system == "x86_64-linux"
+ then "bd8a6bc1f28845b7f4b768f6bfa06e7fbdcfcaae"
+ else if stdenv.system == "i686-darwin"
+ then "3f25b2680efbab16ad074477a19d49dcce475977"
+ else if stdenv.system == "x86_64-darwin"
+ then "4a8c2e1b7634d73406bac32a1a97893ec3ed818d"
+ else abort "no-snapshot for platform ${stdenv.system}";
+ snapshotDate = "2014-06-21";
snapshotRev = "db9af1d";
- snapshotName = "rust-stage0-${snapshotDate}-${snapshotRev}-${platform}-${snapshot}.tar.bz2"; in
-stdenv.mkDerivation {
- name = "rust-0.11.0";
+ snapshotName = "rust-stage0-${snapshotDate}-${snapshotRev}-${platform}-${snapshot}.tar.bz2";
+
+in stdenv.mkDerivation {
+ inherit name;
+ inherit version;
+ inherit meta;
src = fetchurl {
url = http://static.rust-lang.org/dist/rust-0.11.0.tar.gz;
@@ -67,14 +69,4 @@ stdenv.mkDerivation {
buildInputs = [ which file perl curl python27 makeWrapper ];
enableParallelBuilding = true;
-
- meta = with stdenv.lib; {
- homepage = http://www.rust-lang.org/;
- description = "A safe, concurrent, practical language";
- maintainers = with maintainers; [ madjar cstrahan ];
- license = map (builtins.getAttr "shortName") [ licenses.mit licenses.asl20 ];
- # platforms as per http://static.rust-lang.org/doc/master/tutorial.html#getting-started
- platforms = [ "i686-linux" "x86_64-linux" "x86_64-darwin" ];
- };
}
-
diff --git a/pkgs/development/compilers/rustc/common.nix b/pkgs/development/compilers/rustc/common.nix
new file mode 100644
index 0000000000000000000000000000000000000000..7af19a40c79032d9dc2e9a6c2d12923b883bedd5
--- /dev/null
+++ b/pkgs/development/compilers/rustc/common.nix
@@ -0,0 +1,36 @@
+{stdenv, version}:
+
+{
+ inherit version;
+
+ platform = if stdenv.system == "i686-linux"
+ then "linux-i386"
+ else if stdenv.system == "x86_64-linux"
+ then "linux-x86_64"
+ else if stdenv.system == "i686-darwin"
+ then "macos-i386"
+ else if stdenv.system == "x86_64-darwin"
+ then "macos-x86_64"
+ else abort "no snapshot to boostrap for this platform (missing platform url suffix)";
+
+ target = if stdenv.system == "i686-linux"
+ then "i686-unknown-linux-gnu"
+ else if stdenv.system == "x86_64-linux"
+ then "x86_64-unknown-linux-gnu"
+ else if stdenv.system == "i686-darwin"
+ then "i686-apple-darwin"
+ else if stdenv.system == "x86_64-darwin"
+ then "x86_64-apple-darwin"
+ else abort "no snapshot to boostrap for this platform (missing target triple";
+
+ meta = with stdenv.lib; {
+ homepage = http://www.rust-lang.org/;
+ description = "A safe, concurrent, practical language";
+ maintainers = with maintainers; [ madjar cstrahan ];
+ license = map (builtins.getAttr "shortName") [ licenses.mit licenses.asl20 ];
+ # platforms as per http://static.rust-lang.org/doc/master/tutorial.html#getting-started
+ platforms = [ "i686-linux" "x86_64-linux" "x86_64-darwin" ];
+ };
+
+ name = "rustc-${version}";
+}
diff --git a/pkgs/development/compilers/rust/hardcode_paths.patch b/pkgs/development/compilers/rustc/hardcode_paths.patch
similarity index 100%
rename from pkgs/development/compilers/rust/hardcode_paths.patch
rename to pkgs/development/compilers/rustc/hardcode_paths.patch
diff --git a/pkgs/development/compilers/rustc/head.nix b/pkgs/development/compilers/rustc/head.nix
new file mode 100644
index 0000000000000000000000000000000000000000..ad33906ae6e9ecb0bbc87d39abde4f791933eb15
--- /dev/null
+++ b/pkgs/development/compilers/rustc/head.nix
@@ -0,0 +1,73 @@
+{stdenv, fetchurl, fetchgit, which, file, perl, curl, python27, makeWrapper}:
+
+/* Rust's build process has a few quirks :
+
+- It requires some patched in llvm that haven't landed upstream, so it
+ compiles its own llvm. This might change in the future, so at some
+ point we may be able to switch to nix's llvm.
+
+- The Rust compiler is written is Rust, so it requires a bootstrap
+ compiler, which is downloaded during the build. To make the build
+ pure, we download it ourself before and put it where it is
+ expected. Once the language is stable (1.0) , we might want to
+ switch it to use nix's packaged rust compiler.
+
+*/
+
+with ((import ./common.nix) {inherit stdenv; version = "0.12.0-pre-7a25cf3f3"; });
+
+let snapshot = if stdenv.system == "i686-linux"
+ then "a5e1bb723020ac35173d49600e76b0935e257a6a"
+ else if stdenv.system == "x86_64-linux"
+ then "1a2407df17442d93d1c34c916269a345658045d7"
+ else if stdenv.system == "i686-darwin"
+ then "6648fa88e41ad7c0991a085366e36d56005873ca"
+ else if stdenv.system == "x86_64-darwin"
+ then "71b2d1dfd0abe1052908dc091e098ed22cf272c6"
+ else abort "no-snapshot for platform ${stdenv.system}";
+ snapshotDate = "2014-07-17";
+ snapshotRev = "9fc8394";
+ snapshotName = "rust-stage0-${snapshotDate}-${snapshotRev}-${platform}-${snapshot}.tar.bz2";
+
+in stdenv.mkDerivation {
+ inherit name;
+ inherit version;
+ inherit meta;
+
+ src = fetchgit {
+ url = https://github.com/rust-lang/rust;
+ rev = "7a25cf3f30fa5fae2e868fa910ecc850f5e9ee65";
+ sha256 = "1hx8vd4gn5plbdvr0zvdvqyw9x9r2vbmh112h2f5d2xxsf9p7rf1";
+ };
+
+ # We need rust to build rust. If we don't provide it, configure will try to download it.
+ snapshot = stdenv.mkDerivation {
+ name = "rust-stage0";
+ src = fetchurl {
+ url = "http://static.rust-lang.org/stage0-snapshots/${snapshotName}";
+ sha1 = snapshot;
+ };
+ dontStrip = true;
+ installPhase = ''
+ mkdir -p "$out"
+ cp -r bin "$out/bin"
+ '' + (if stdenv.isLinux then ''
+ patchelf --interpreter "${stdenv.glibc}/lib/${stdenv.gcc.dynamicLinker}" \
+ --set-rpath "${stdenv.gcc.gcc}/lib/:${stdenv.gcc.gcc}/lib64/" \
+ "$out/bin/rustc"
+ '' else "");
+ };
+
+ configureFlags = [ "--enable-local-rust" "--local-rust-root=$snapshot" ];
+
+ # The compiler requires cc, so we patch the source to tell it where to find it
+ patches = [ ./hardcode_paths.patch ./local_stage0.patch ];
+ postPatch = ''
+ substituteInPlace src/librustc/back/link.rs \
+ --subst-var-by "ccPath" "${stdenv.gcc}/bin/cc" \
+ --subst-var-by "arPath" "${stdenv.gcc.binutils}/bin/ar"
+ '';
+
+ buildInputs = [ which file perl curl python27 makeWrapper ];
+ enableParallelBuilding = true;
+}
diff --git a/pkgs/development/compilers/rust/local_stage0.patch b/pkgs/development/compilers/rustc/local_stage0.patch
similarity index 100%
rename from pkgs/development/compilers/rust/local_stage0.patch
rename to pkgs/development/compilers/rustc/local_stage0.patch
diff --git a/pkgs/development/compilers/stalin/default.nix b/pkgs/development/compilers/stalin/default.nix
index b488308f5c4ea2a64d25df3f53014be375ffe24f..faa281efc7a6b184a2c5f5c842b4905ddf18326e 100644
--- a/pkgs/development/compilers/stalin/default.nix
+++ b/pkgs/development/compilers/stalin/default.nix
@@ -36,7 +36,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://www.ece.purdue.edu/~qobi/software.html;
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
description = "Stalin, an optimizing Scheme compiler";
maintainers = [ ];
diff --git a/pkgs/development/compilers/tinycc/default.nix b/pkgs/development/compilers/tinycc/default.nix
index 7ad7348925b5e1f6776bc510ddc377265da8501f..1e82e03f16c00582a191cd1c0c1304fd36414bca 100644
--- a/pkgs/development/compilers/tinycc/default.nix
+++ b/pkgs/development/compilers/tinycc/default.nix
@@ -55,7 +55,7 @@ stdenv.mkDerivation rec {
'';
homepage = http://www.tinycc.org/;
- license = "LGPLv2+";
+ license = stdenv.lib.licenses.lgpl2Plus;
platforms = stdenv.lib.platforms.unix;
maintainers = [ ];
diff --git a/pkgs/development/guile-modules/guile-cairo/default.nix b/pkgs/development/guile-modules/guile-cairo/default.nix
index 6663e00c36ee769172e04603b205b8ee9a47470b..7617e5fb1cd95686eaf8a04e0bab8ca9e1a1a042 100644
--- a/pkgs/development/guile-modules/guile-cairo/default.nix
+++ b/pkgs/development/guile-modules/guile-cairo/default.nix
@@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
programming environment.
'';
- license = "LGPLv3+";
+ license = stdenv.lib.licenses.lgpl3Plus;
homepage = http://home.gna.org/guile-cairo/;
diff --git a/pkgs/development/guile-modules/guile-gnome/default.nix b/pkgs/development/guile-modules/guile-gnome/default.nix
index 30480844a41464819116645aec28e89ba4920f2d..90012bb3ddd43b004ca1388a508545f123563f0c 100644
--- a/pkgs/development/guile-modules/guile-gnome/default.nix
+++ b/pkgs/development/guile-modules/guile-gnome/default.nix
@@ -33,7 +33,7 @@ stdenv.mkDerivation rec {
homepage = http://www.gnu.org/software/guile-gnome/;
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
maintainers = [ stdenv.lib.maintainers.ludo ];
};
diff --git a/pkgs/development/guile-modules/guile-lib/default.nix b/pkgs/development/guile-modules/guile-lib/default.nix
index 310c0e923805dd78d58a4664c2f1d85d273e3be9..2f77c273af7d619b3845f2fea2b68962801f420e 100644
--- a/pkgs/development/guile-modules/guile-lib/default.nix
+++ b/pkgs/development/guile-modules/guile-lib/default.nix
@@ -30,7 +30,7 @@ stdenv.mkDerivation rec {
'';
homepage = http://www.nongnu.org/guile-lib/;
- license = "GPLv3+";
+ license = stdenv.lib.licenses.gpl3Plus;
maintainers = [ stdenv.lib.maintainers.ludo ];
platforms = stdenv.lib.platforms.gnu; # arbitrary choice
diff --git a/pkgs/development/guile-modules/guile-ncurses/default.nix b/pkgs/development/guile-modules/guile-ncurses/default.nix
index 1eca6b3a30256fe1f95169dd83e04b300e8bd610..175c656859e5a0a2bc0125e2ef7f5fb97d3c1035 100644
--- a/pkgs/development/guile-modules/guile-ncurses/default.nix
+++ b/pkgs/development/guile-modules/guile-ncurses/default.nix
@@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
form, panel, and menu.
'';
- license = "LGPLv3+";
+ license = stdenv.lib.licenses.lgpl3Plus;
maintainers = [ stdenv.lib.maintainers.ludo ];
platforms = stdenv.lib.platforms.gnu; # arbitrary choice
diff --git a/pkgs/development/interpreters/erlang/R14.nix b/pkgs/development/interpreters/erlang/R14.nix
index 4dd32cd806c39edf9238a216ce76566e26041a16..1fd101564a3b7c5208f81808781d85f69b897297 100644
--- a/pkgs/development/interpreters/erlang/R14.nix
+++ b/pkgs/development/interpreters/erlang/R14.nix
@@ -22,6 +22,20 @@ stdenv.mkDerivation {
configureFlags = "--with-ssl=${openssl}";
+ postInstall = let
+ manpages = fetchurl {
+ url = "http://www.erlang.org/download/otp_doc_man_R${version}.tar.gz";
+ sha256 = "1nh7l7wilyyaxvlwkjxgm3cq7wpd90sk6vxhgpvg7hwai8g52545";
+ };
+ in ''
+ tar xf "${manpages}" -C "$out/lib/erlang"
+ for i in "$out"/lib/erlang/man/man[0-9]/*.[0-9]; do
+ prefix="''${i%/*}"
+ ensureDir "$out/share/man/''${prefix##*/}"
+ ln -s "$i" "$out/share/man/''${prefix##*/}/''${i##*/}erl"
+ done
+ '';
+
# Some erlang bin/ scripts run sed and awk
postFixup = ''
wrapProgram $out/lib/erlang/bin/erl --prefix PATH ":" "${gnused}/bin/"
diff --git a/pkgs/development/interpreters/erlang/R15.nix b/pkgs/development/interpreters/erlang/R15.nix
index e0760db9f58b30571fd37cd730fa86046cab3110..e9c8380c35aec72b4357bf76e90cff66c284a2d5 100644
--- a/pkgs/development/interpreters/erlang/R15.nix
+++ b/pkgs/development/interpreters/erlang/R15.nix
@@ -28,6 +28,20 @@ stdenv.mkDerivation {
configureFlags = "--with-ssl=${openssl}";
+ postInstall = let
+ manpages = fetchurl {
+ url = "http://www.erlang.org/download/otp_doc_man_R${version}.tar.gz";
+ sha256 = "0sqamzbd7qyz3klgl9vm1qvl0rhsfd1dx485pb0m2185qvw02nha";
+ };
+ in ''
+ tar xf "${manpages}" -C "$out/lib/erlang"
+ for i in "$out"/lib/erlang/man/man[0-9]/*.[0-9]; do
+ prefix="''${i%/*}"
+ ensureDir "$out/share/man/''${prefix##*/}"
+ ln -s "$i" "$out/share/man/''${prefix##*/}/''${i##*/}erl"
+ done
+ '';
+
# Some erlang bin/ scripts run sed and awk
postFixup = ''
wrapProgram $out/lib/erlang/bin/erl --prefix PATH ":" "${gnused}/bin/"
diff --git a/pkgs/development/interpreters/erlang/R16.nix b/pkgs/development/interpreters/erlang/R16.nix
index eaf991ff5637fd637ad7524725ab352037f7bb7d..5945cdd8299dfcf06d3b52cc33c0f30423d2b610 100644
--- a/pkgs/development/interpreters/erlang/R16.nix
+++ b/pkgs/development/interpreters/erlang/R16.nix
@@ -8,10 +8,10 @@ with stdenv.lib;
stdenv.mkDerivation rec {
name = "erlang-" + version;
- version = "R16B03-1";
+ version = "16B03-1";
src = fetchurl {
- url = "http://www.erlang.org/download/otp_src_${version}.tar.gz";
+ url = "http://www.erlang.org/download/otp_src_R${version}.tar.gz";
sha256 = "1rvyfh22g1fir1i4xn7v2md868wcmhajwhfsq97v7kn5kd2m7khp";
};
@@ -28,8 +28,19 @@ stdenv.mkDerivation rec {
configureFlags= "--with-ssl=${openssl} ${optionalString stdenv.isDarwin "--enable-darwin-64bit"}";
- postInstall = ''
+ postInstall = let
+ manpages = fetchurl {
+ url = "http://www.erlang.org/download/otp_doc_man_R${version}.tar.gz";
+ sha256 = "17f3k5j17rdsah18gywjngip6cbfgp6nb9di6il4pahmf9yvqc8g";
+ };
+ in ''
ln -s $out/lib/erlang/lib/erl_interface*/bin/erl_call $out/bin/erl_call
+ tar xf "${manpages}" -C "$out/lib/erlang"
+ for i in "$out"/lib/erlang/man/man[0-9]/*.[0-9]; do
+ prefix="''${i%/*}"
+ ensureDir "$out/share/man/''${prefix##*/}"
+ ln -s "$i" "$out/share/man/''${prefix##*/}/''${i##*/}erl"
+ done
'';
# Some erlang bin/ scripts run sed and awk
diff --git a/pkgs/development/interpreters/erlang/R17.nix b/pkgs/development/interpreters/erlang/R17.nix
index 5c59fddc1efc284312b07036fdcb5fa40e987ece..b7cbfc486f5adef85db6662b8aeb1a6f155f1277 100644
--- a/pkgs/development/interpreters/erlang/R17.nix
+++ b/pkgs/development/interpreters/erlang/R17.nix
@@ -28,8 +28,19 @@ stdenv.mkDerivation rec {
configureFlags= "--with-ssl=${openssl} ${optionalString stdenv.isDarwin "--enable-darwin-64bit"}";
- postInstall = ''
+ postInstall = let
+ manpages = fetchurl {
+ url = "http://www.erlang.org/download/otp_doc_man_${version}.tar.gz";
+ sha256 = "16dkz3w1q4ahy37c8a8r2h8zjcr7cxz7pd9z38chbxf6frc2pxxc";
+ };
+ in ''
ln -s $out/lib/erlang/lib/erl_interface*/bin/erl_call $out/bin/erl_call
+ tar xf "${manpages}" -C "$out/lib/erlang"
+ for i in "$out"/lib/erlang/man/man[0-9]/*.[0-9]; do
+ prefix="''${i%/*}"
+ ensureDir "$out/share/man/''${prefix##*/}"
+ ln -s "$i" "$out/share/man/''${prefix##*/}/''${i##*/}erl"
+ done
'';
# Some erlang bin/ scripts run sed and awk
diff --git a/pkgs/development/interpreters/guile/1.8.nix b/pkgs/development/interpreters/guile/1.8.nix
index f44f71020b4c7ba12eb8138b035282504f6880e1..55f1b1840fa0aef4fd723130edfc0383c7db2b7a 100644
--- a/pkgs/development/interpreters/guile/1.8.nix
+++ b/pkgs/development/interpreters/guile/1.8.nix
@@ -51,7 +51,7 @@ stdenv.mkDerivation rec {
'';
homepage = http://www.gnu.org/software/guile/;
- license = "LGPLv2+";
+ license = stdenv.lib.licenses.lgpl2Plus;
maintainers = [ stdenv.lib.maintainers.ludo ];
};
diff --git a/pkgs/development/interpreters/love/0.9.nix b/pkgs/development/interpreters/love/0.9.nix
index 38fdcd2a0a6c78f008b607b03bb0e09d3a205653..f08d1d2ec7e087385c8b10a06538929e89d42886 100644
--- a/pkgs/development/interpreters/love/0.9.nix
+++ b/pkgs/development/interpreters/love/0.9.nix
@@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = "http://love2d.org";
description = "A Lua-based 2D game engine/scripting language";
- license = "zlib";
+ license = stdenv.lib.licenses.zlib;
platforms = stdenv.lib.platforms.linux;
maintainers = [ stdenv.lib.maintainers.raskin ];
diff --git a/pkgs/development/interpreters/love/default.nix b/pkgs/development/interpreters/love/default.nix
index 8e7914afb6169e8777b5d04486cc299ec5adf3e0..fc1f01cb3730c65a7cf62d151a9f04ccf3346786 100644
--- a/pkgs/development/interpreters/love/default.nix
+++ b/pkgs/development/interpreters/love/default.nix
@@ -43,7 +43,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = "http://love2d.org";
description = "A Lua-based 2D game engine/scripting language";
- license = "zlib";
+ license = stdenv.lib.licenses.zlib;
platforms = stdenv.lib.platforms.linux;
maintainers = [ stdenv.lib.maintainers.raskin ];
diff --git a/pkgs/development/interpreters/lua-4/default.nix b/pkgs/development/interpreters/lua-4/default.nix
index 13f7964769cae254fcf1912c99cc4937cb7597a6..51ddcd8f2906de829861675854b3f047f46b93f9 100644
--- a/pkgs/development/interpreters/lua-4/default.nix
+++ b/pkgs/development/interpreters/lua-4/default.nix
@@ -23,7 +23,7 @@ stdenv.mkDerivation {
management with incremental garbage collection, making it ideal
for configuration, scripting, and rapid prototyping.
'';
- license = "MIT";
+ license = stdenv.lib.licenses.mit;
platforms = stdenv.lib.platforms.unix;
maintainers = [ ];
};
diff --git a/pkgs/development/interpreters/lua-5/5.0.3.nix b/pkgs/development/interpreters/lua-5/5.0.3.nix
index eae2d82d5d0ab646de7f5c703feaa684c6fe66da..5ae5b4156a87785ddb9ddc4152de44de10070160 100644
--- a/pkgs/development/interpreters/lua-5/5.0.3.nix
+++ b/pkgs/development/interpreters/lua-5/5.0.3.nix
@@ -24,7 +24,7 @@ stdenv.mkDerivation {
management with incremental garbage collection, making it ideal
for configuration, scripting, and rapid prototyping.
'';
- license = "MIT";
+ license = stdenv.lib.licenses.mit;
platforms = stdenv.lib.platforms.unix;
maintainers = [ ];
};
diff --git a/pkgs/development/interpreters/lua-5/5.1.nix b/pkgs/development/interpreters/lua-5/5.1.nix
index 303ea1d74711267daab52da0099a83567ff1e726..74f80b911a0cbf48648d88e4ee0bb50b9c0e5e3a 100644
--- a/pkgs/development/interpreters/lua-5/5.1.nix
+++ b/pkgs/development/interpreters/lua-5/5.1.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, readline, makeWrapper }:
+{ stdenv, fetchurl, readline }:
let
dsoPatch = fetchurl {
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
sha256 = "2640fc56a795f29d28ef15e13c34a47e223960b0240e8cb0a82d9b0738695333";
};
- buildInputs = [ readline makeWrapper ];
+ buildInputs = [ readline ];
patches = if stdenv.isDarwin then [ ./5.1.darwin.patch ] else [ dsoPatch ];
@@ -35,9 +35,6 @@ stdenv.mkDerivation rec {
sed <"etc/lua.pc" >"$out/lib/pkgconfig/lua.pc" -e "s|^prefix=.*|prefix=$out|"
mv "doc/"*.{gif,png,css,html} "$out/share/doc/lua/"
rmdir $out/{share,lib}/lua/5.1 $out/{share,lib}/lua
- wrapProgram $out/bin/lua \
- --set LUA_PATH '"$HOME/.nix-profile/lib/lua/5.1/?.lua;$HOME/.nix-profile/share/lua/5.1/?.lua"' \
- --set LUA_CPATH '"$HOME/.nix-profile/lib/lua/5.1/?.so;$HOME/.nix-profile/share/lua/5.1/?.so"'
'';
meta = {
@@ -51,7 +48,7 @@ stdenv.mkDerivation rec {
management with incremental garbage collection, making it ideal
for configuration, scripting, and rapid prototyping.
'';
- license = "MIT";
+ license = stdenv.lib.licenses.mit;
platforms = stdenv.lib.platforms.unix;
maintainers = [ stdenv.lib.maintainers.simons ];
};
diff --git a/pkgs/development/interpreters/lua-5/5.2.nix b/pkgs/development/interpreters/lua-5/5.2.nix
index 3bcc85fb43427fae00faca2c76a6000ed0fb5509..eeb447e0e619e629c14ea9ef5be17594523a0bfe 100644
--- a/pkgs/development/interpreters/lua-5/5.2.nix
+++ b/pkgs/development/interpreters/lua-5/5.2.nix
@@ -96,7 +96,7 @@ stdenv.mkDerivation rec {
management with incremental garbage collection, making it ideal
for configuration, scripting, and rapid prototyping.
'';
- license = "MIT";
+ license = stdenv.lib.licenses.mit;
platforms = stdenv.lib.platforms.unix;
maintainers = [ stdenv.lib.maintainers.simons ];
};
diff --git a/pkgs/development/interpreters/maude/default.nix b/pkgs/development/interpreters/maude/default.nix
index 65badeae1dde59f604abfc8aa2d4d0d7ea44d6e8..e112a5ae43d4d69ee588cdcaf81bdc7f71c0f360 100644
--- a/pkgs/development/interpreters/maude/default.nix
+++ b/pkgs/development/interpreters/maude/default.nix
@@ -34,7 +34,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = "http://maude.cs.uiuc.edu/";
description = "Maude -- a high-level specification language";
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
longDescription = ''
Maude is a high-performance reflective language and system
diff --git a/pkgs/development/interpreters/octave/default.nix b/pkgs/development/interpreters/octave/default.nix
index eb7e925561c8cc902f5dc4f4ed59d40c942358e4..1addccb4bf887e0be5bd45544ce8dde60ae35617 100644
--- a/pkgs/development/interpreters/octave/default.nix
+++ b/pkgs/development/interpreters/octave/default.nix
@@ -6,13 +6,13 @@ fftw, fftwSinglePrec, zlib, curl, qrupdate
}:
let
- version = "3.8.0";
+ version = "3.8.1";
in
stdenv.mkDerivation rec {
name = "octave-${version}";
src = fetchurl {
url = "mirror://gnu/octave/${name}.tar.bz2";
- sha256 = "1yclb8p4mcx9xcjajyynxfnc5spw90lp44d84v56ksrlvp3314si";
+ sha256 = "1gcvzbgyz98mxzy3gjkdbdiirafkl73l9ywml11j412amp92wxnn";
};
buildInputs = [ gfortran readline ncurses perl flex texinfo qhull libX11
@@ -51,7 +51,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://octave.org/;
- license = "GPLv3+";
+ license = stdenv.lib.licenses.gpl3Plus;
maintainers = with stdenv.lib.maintainers; [viric raskin];
platforms = with stdenv.lib.platforms; linux;
};
diff --git a/pkgs/development/interpreters/octave/hg.nix b/pkgs/development/interpreters/octave/hg.nix
index f44efb943587642bcbd933e1224cbc7b9b05e92f..797fff584f6a40d9e120fd6905b5b9b6186052d7 100644
--- a/pkgs/development/interpreters/octave/hg.nix
+++ b/pkgs/development/interpreters/octave/hg.nix
@@ -9,7 +9,7 @@ stdenv.mkDerivation ({
meta = {
description = "High-level interactive language for numerical computations";
homepage = http://www.octave.org;
- license = "GPL-3";
+ license = stdenv.lib.licenses.gpl3;
};
} // (
if config.octave.devVersion or false then {
diff --git a/pkgs/development/interpreters/renpy/default.nix b/pkgs/development/interpreters/renpy/default.nix
index ccaa45c6c338b2dfcbb0cba19dd59248d9be1a96..4b5f3bd8b3bd732d3a49756f09820896300f19f7 100644
--- a/pkgs/development/interpreters/renpy/default.nix
+++ b/pkgs/development/interpreters/renpy/default.nix
@@ -8,7 +8,7 @@ stdenv.mkDerivation {
meta = {
description = "Ren'Py Visual Novel Engine";
homepage = "http://renpy.org/";
- license = "MIT";
+ license = stdenv.lib.licenses.mit;
platforms = stdenv.lib.platforms.linux;
maintainers = with stdenv.lib.maintainers; [ iyzsong ];
};
diff --git a/pkgs/development/interpreters/supercollider/default.nix b/pkgs/development/interpreters/supercollider/default.nix
index 97808f6faf131d57b05db9fdf2797cc17ed19688..a8c967b596786301b01a452f7f70d36789f08e16 100644
--- a/pkgs/development/interpreters/supercollider/default.nix
+++ b/pkgs/development/interpreters/supercollider/default.nix
@@ -1,5 +1,5 @@
{ stdenv, fetchurl, cmake, pkgconfig
-, jackaudio, libsndfile, fftw, curl
+, jack2, libsndfile, fftw, curl
, libXt, qt, readline
, useSCEL ? false, emacs
}:
@@ -35,6 +35,6 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake pkgconfig ];
buildInputs = [
- jackaudio libsndfile fftw curl libXt qt readline ]
+ jack2 libsndfile fftw curl libXt qt readline ]
++ optional useSCEL emacs;
}
diff --git a/pkgs/development/interpreters/xulrunner/default.nix b/pkgs/development/interpreters/xulrunner/default.nix
new file mode 100644
index 0000000000000000000000000000000000000000..47dea40eba22c3e491a35037c1bd04e5bc18baf2
--- /dev/null
+++ b/pkgs/development/interpreters/xulrunner/default.nix
@@ -0,0 +1,82 @@
+{ lib, stdenv, fetchurl, pkgconfig, gtk, pango, perl, python, zip, libIDL
+, libjpeg, zlib, dbus, dbus_glib, bzip2, xlibs
+, freetype, fontconfig, file, alsaLib, nspr, nss, libnotify
+, yasm, mesa, sqlite, unzip, makeWrapper, pysqlite
+, hunspell, libevent, libstartup_notification, libvpx
+, cairo, gstreamer, gst_plugins_base, icu
+, debugBuild ? false
+}:
+
+assert stdenv.gcc ? libc && stdenv.gcc.libc != null;
+
+let version = "31.0"; in
+
+stdenv.mkDerivation rec {
+ name = "xulrunner-${version}";
+
+ src = fetchurl {
+ url = "http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/${version}/source/firefox-${version}.source.tar.bz2";
+ sha1 = "a6c3e25ee3aeb7da42db2aaeb50a385d63532beb";
+ };
+
+ buildInputs =
+ [ pkgconfig gtk perl zip libIDL libjpeg zlib bzip2
+ python dbus dbus_glib pango freetype fontconfig xlibs.libXi
+ xlibs.libX11 xlibs.libXrender xlibs.libXft xlibs.libXt file
+ alsaLib nspr nss libnotify xlibs.pixman yasm mesa
+ xlibs.libXScrnSaver xlibs.scrnsaverproto pysqlite
+ xlibs.libXext xlibs.xextproto sqlite unzip makeWrapper
+ hunspell libevent libstartup_notification libvpx cairo
+ gstreamer gst_plugins_base icu
+ ];
+
+ configureFlags =
+ [ "--enable-application=xulrunner"
+ "--disable-javaxpcom"
+ "--with-system-jpeg"
+ "--with-system-zlib"
+ "--with-system-bz2"
+ "--with-system-nspr"
+ "--with-system-nss"
+ "--with-system-libevent"
+ "--with-system-libvpx"
+ # "--with-system-png" # needs APNG support
+ # "--with-system-icu" # causes ‘ar: invalid option -- 'L'’ in Firefox 28.0
+ "--enable-system-ffi"
+ "--enable-system-hunspell"
+ "--enable-system-pixman"
+ "--enable-system-sqlite"
+ "--enable-system-cairo"
+ "--enable-gstreamer"
+ "--enable-startup-notification"
+ # "--enable-content-sandbox" # available since 26.0, but not much info available
+ # "--enable-content-sandbox-reporter" # keeping disabled for now
+ "--disable-crashreporter"
+ "--disable-tests"
+ "--disable-necko-wifi" # maybe we want to enable this at some point
+ "--disable-installer"
+ "--disable-updater"
+ "--disable-pulseaudio"
+ ]
+ ++ (if debugBuild then [ "--enable-debug" "--enable-profiling"]
+ else [ "--disable-debug" "--enable-release"
+ "--enable-optimize" "--enable-strip" ]);
+
+ enableParallelBuilding = true;
+
+ preConfigure =
+ ''
+ mkdir ../objdir
+ cd ../objdir
+ configureScript=../mozilla-release/configure
+ '';
+
+ meta = {
+ description = "Mozilla Firefox XUL runner";
+ homepage = http://www.mozilla.com/en-US/firefox/;
+ maintainers = [ lib.maintainers.eelco ];
+ platforms = lib.platforms.linux;
+ };
+
+ passthru = { inherit gtk version; };
+}
diff --git a/pkgs/development/libraries/SDL2_gfx/default.nix b/pkgs/development/libraries/SDL2_gfx/default.nix
index 693b7bf8fe19893c2fd13fde7bc066ac54b691cf..bc4b1a778fc24bb3fac607975d34a278f5def73e 100644
--- a/pkgs/development/libraries/SDL2_gfx/default.nix
+++ b/pkgs/development/libraries/SDL2_gfx/default.nix
@@ -46,7 +46,7 @@ stdenv.mkDerivation rec {
'';
homepage = https://sourceforge.net/projects/sdlgfx/;
- license = "LGPLv2+";
+ license = stdenv.lib.licenses.lgpl2Plus;
maintainers = [ stdenv.lib.maintainers.bjg ];
platforms = stdenv.lib.platforms.linux;
diff --git a/pkgs/development/libraries/SDL_gfx/default.nix b/pkgs/development/libraries/SDL_gfx/default.nix
index 49f5fec1da3f73738069c557f1b26d6de642f1d1..3a7fa7072849ed09eb7cdf423705aa8c16d5d22e 100644
--- a/pkgs/development/libraries/SDL_gfx/default.nix
+++ b/pkgs/development/libraries/SDL_gfx/default.nix
@@ -41,7 +41,7 @@ stdenv.mkDerivation rec {
'';
homepage = https://sourceforge.net/projects/sdlgfx/;
- license = "LGPLv2+";
+ license = stdenv.lib.licenses.lgpl2Plus;
maintainers = [ stdenv.lib.maintainers.bjg ];
platforms = stdenv.lib.platforms.linux;
diff --git a/pkgs/development/libraries/adns/default.nix b/pkgs/development/libraries/adns/default.nix
index cbc4e0b8c89b636eecf9363a85e3c8e87d910f80..8c9c6a5b9ef90ac915f24b4c228cf896e9576f20 100644
--- a/pkgs/development/libraries/adns/default.nix
+++ b/pkgs/development/libraries/adns/default.nix
@@ -24,7 +24,7 @@ stdenv.mkDerivation {
meta = {
homepage = "http://www.chiark.greenend.org.uk/~ian/adns/";
description = "Asynchronous DNS Resolver Library";
- license = "LGPL-v2";
+ license = stdenv.lib.licenses.lgpl2;
platforms = stdenv.lib.platforms.unix;
maintainers = [ stdenv.lib.maintainers.simons ];
diff --git a/pkgs/development/libraries/agg/default.nix b/pkgs/development/libraries/agg/default.nix
index 59124f011dd4e4c42066f3a7aa6f267ee720ff0c..48e96aeea26cc6ef4025666be7111f095304f14c 100644
--- a/pkgs/development/libraries/agg/default.nix
+++ b/pkgs/development/libraries/agg/default.nix
@@ -30,7 +30,7 @@ stdenv.mkDerivation rec {
of course, AGG can do much more than that.
'';
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
homepage = http://www.antigrain.com/;
};
}
diff --git a/pkgs/development/libraries/amrnb/default.nix b/pkgs/development/libraries/amrnb/default.nix
index 7790f8e124b29f53619ab3dce6f65945db68df47..c5514acd1d439eeee7f677d774eb920fdc6ce0a1 100644
--- a/pkgs/development/libraries/amrnb/default.nix
+++ b/pkgs/development/libraries/amrnb/default.nix
@@ -26,6 +26,6 @@ stdenv.mkDerivation {
# The wrapper code is free, but not the libraries from 3gpp.
# It's a source code reference implementation with patents and licenses on
# some countries, not redistributable.
- license = "unfree";
+ license = stdenv.lib.licenses.unfree;
};
}
diff --git a/pkgs/development/libraries/amrwb/default.nix b/pkgs/development/libraries/amrwb/default.nix
index fc8d0415c36b1062bcd47f6b11e2a9fec139c2dd..2b5da8de423ddb50a536651445f4d5375eefcc35 100644
--- a/pkgs/development/libraries/amrwb/default.nix
+++ b/pkgs/development/libraries/amrwb/default.nix
@@ -36,6 +36,6 @@ stdenv.mkDerivation {
# The wrapper code is free, but not the libraries from 3gpp.
# It's a source code reference implementation with patents and licenses on
# some countries, not redistributable.
- license = "unfree";
+ license = stdenv.lib.licenses.unfree;
};
}
diff --git a/pkgs/development/libraries/aspell/default.nix b/pkgs/development/libraries/aspell/default.nix
index 6b054aaf44b1c8001e4b5174d83a921d1e3aab6c..734bcc0797ccb817dd2a2c6897cc27a7018c900e 100644
--- a/pkgs/development/libraries/aspell/default.nix
+++ b/pkgs/development/libraries/aspell/default.nix
@@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
meta = {
description = "Spell checker for many languages";
homepage = http://aspell.net/;
- license = "LGPLv2+";
+ license = stdenv.lib.licenses.lgpl2Plus;
maintainers = [ ];
};
}
diff --git a/pkgs/development/libraries/atk/default.nix b/pkgs/development/libraries/atk/default.nix
index 2dca2a8e1ec54251a59605391d173971b82c96e1..ce7f92a203543d7cb6d58e41de84ae3d88d23ef9 100644
--- a/pkgs/development/libraries/atk/default.nix
+++ b/pkgs/development/libraries/atk/default.nix
@@ -35,7 +35,7 @@ stdenv.mkDerivation rec {
homepage = http://library.gnome.org/devel/atk/;
- license = "LGPLv2+";
+ license = stdenv.lib.licenses.lgpl2Plus;
maintainers = with stdenv.lib.maintainers; [ raskin urkud ];
platforms = stdenv.lib.platforms.linux ++ stdenv.lib.platforms.darwin;
diff --git a/pkgs/development/libraries/aubio/default.nix b/pkgs/development/libraries/aubio/default.nix
index 53ff657205298dc1a0b8548a80b980138ea4e4be..7a5351da10e0ef112946e4253e80080a3e3394a8 100644
--- a/pkgs/development/libraries/aubio/default.nix
+++ b/pkgs/development/libraries/aubio/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, alsaLib, fftw, jackaudio, libsamplerate
+{ stdenv, fetchurl, alsaLib, fftw, jack2, libsamplerate
, libsndfile, pkgconfig, python
}:
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
};
buildInputs = [
- alsaLib fftw jackaudio libsamplerate libsndfile pkgconfig python
+ alsaLib fftw jack2 libsamplerate libsndfile pkgconfig python
];
configurePhase = "python waf configure --prefix=$out";
diff --git a/pkgs/development/libraries/babl/0_0_22.nix b/pkgs/development/libraries/babl/0_0_22.nix
index 2464a09f51aa1c453101e2bed049d02d0c84a007..3983816a8b4484a865edc95137e811332961c4a6 100644
--- a/pkgs/development/libraries/babl/0_0_22.nix
+++ b/pkgs/development/libraries/babl/0_0_22.nix
@@ -11,6 +11,6 @@ stdenv.mkDerivation {
meta = {
description = "Image pixel format conversion library";
homepage = http://gegl.org/babl/;
- license = "GPL3";
+ license = stdenv.lib.licenses.gpl3;
};
}
diff --git a/pkgs/development/libraries/babl/default.nix b/pkgs/development/libraries/babl/default.nix
index 41280e87253d49095c4140d160cdd276a91c226c..473df8819c0a073fa55ae9fba7191ce37df92d94 100644
--- a/pkgs/development/libraries/babl/default.nix
+++ b/pkgs/development/libraries/babl/default.nix
@@ -11,6 +11,6 @@ stdenv.mkDerivation rec {
meta = {
description = "Image pixel format conversion library";
homepage = http://gegl.org/babl/;
- license = "GPL3";
+ license = stdenv.lib.licenses.gpl3;
};
}
diff --git a/pkgs/development/libraries/caelum/default.nix b/pkgs/development/libraries/caelum/default.nix
index 808310e326f032a3d8f9dad2dae959f32c10c74f..823eac14548561c36852777c7b1c4df916b30012 100644
--- a/pkgs/development/libraries/caelum/default.nix
+++ b/pkgs/development/libraries/caelum/default.nix
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
meta = {
description = "Add-on for the OGRE, aimed to render atmospheric effects";
homepage = http://code.google.com/p/caelum/;
- license = "LGPLv2.1+";
+ license = stdenv.lib.licenses.lgpl21Plus;
broken = true;
};
}
diff --git a/pkgs/development/libraries/ccrtp/1.8.nix b/pkgs/development/libraries/ccrtp/1.8.nix
index 78bf7a678ac77ea7a29c2c52fb7ff9244bf7c606..5105bd2987626aa062172bf22077f32ac17896ab 100644
--- a/pkgs/development/libraries/ccrtp/1.8.nix
+++ b/pkgs/development/libraries/ccrtp/1.8.nix
@@ -15,7 +15,7 @@ stdenv.mkDerivation {
meta = {
description = "GNU ccRTP is an implementation of RTP, the real-time transport protocol from the IETF";
homepage = "http://www.gnu.org/software/ccrtp/";
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
maintainers = [ stdenv.lib.maintainers.marcweber ];
platforms = stdenv.lib.platforms.linux;
};
diff --git a/pkgs/development/libraries/ccrtp/default.nix b/pkgs/development/libraries/ccrtp/default.nix
index daf36e28919b060ec1d87e992d85bcbcfa5493f4..2111e1b4a55a61e2878a730976c1955c35a2eeb5 100644
--- a/pkgs/development/libraries/ccrtp/default.nix
+++ b/pkgs/development/libraries/ccrtp/default.nix
@@ -16,7 +16,7 @@ stdenv.mkDerivation {
meta = {
description = "GNU ccRTP, an implementation of the IETF real-time transport protocol (RTP)";
homepage = http://www.gnu.org/software/ccrtp/;
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
maintainers = with stdenv.lib.maintainers; [ marcweber ];
platforms = stdenv.lib.platforms.linux;
};
diff --git a/pkgs/development/libraries/check/default.nix b/pkgs/development/libraries/check/default.nix
index a0e1bcfa6121eef7bb3121a7b47d4b56296f7d1f..4e75cda0c2398238bcdd3cc2df6b4ff5f1be8cc5 100644
--- a/pkgs/development/libraries/check/default.nix
+++ b/pkgs/development/libraries/check/default.nix
@@ -26,6 +26,6 @@ stdenv.mkDerivation {
homepage = http://check.sourceforge.net/;
- license = "LGPLv2+";
+ license = stdenv.lib.licenses.lgpl2Plus;
};
}
diff --git a/pkgs/development/libraries/classads/default.nix b/pkgs/development/libraries/classads/default.nix
index 909e8ba7bf26cbe359701d88f2fd1fc01a87cf55..6c673a7dc0287992b7900b47d873587423694dc2 100644
--- a/pkgs/development/libraries/classads/default.nix
+++ b/pkgs/development/libraries/classads/default.nix
@@ -19,6 +19,6 @@ stdenv.mkDerivation {
meta = {
homepage = http://www.cs.wisc.edu/condor/classad/;
description = "The Classified Advertisements library provides a generic means for matching resources";
- license = "Apache-2.0";
+ license = stdenv.lib.licenses.asl20;
};
}
diff --git a/pkgs/development/libraries/cloog-ppl/default.nix b/pkgs/development/libraries/cloog-ppl/default.nix
index a6ebbf8dfdc0977204d960a3cdaa11add0105d2b..d84baedf96e006f804cad29d97cdd33d4a0f6abd 100644
--- a/pkgs/development/libraries/cloog-ppl/default.nix
+++ b/pkgs/development/libraries/cloog-ppl/default.nix
@@ -51,7 +51,7 @@ stdenv.mkDerivation rec {
# CLooG-PPL is actually a port of GLooG from PolyLib to PPL.
homepage = http://www.cloog.org/;
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
maintainers = [ ];
diff --git a/pkgs/development/libraries/cloog/default.nix b/pkgs/development/libraries/cloog/default.nix
index c3878ef4b78961aefc371414377fd484e94d3a10..205f4d83693a400ffa7a7342eac8c35e34a5cadc 100644
--- a/pkgs/development/libraries/cloog/default.nix
+++ b/pkgs/development/libraries/cloog/default.nix
@@ -35,7 +35,7 @@ stdenv.mkDerivation rec {
homepage = http://www.cloog.org/;
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
maintainers = [ stdenv.lib.maintainers.shlevy ];
diff --git a/pkgs/development/libraries/clutter-gst/default.nix b/pkgs/development/libraries/clutter-gst/default.nix
index 8297dc9d5da385bfe8eb338c4e687b72821bacf5..59c64b0de9f7629de49b91a2001be61fbfa09b0c 100644
--- a/pkgs/development/libraries/clutter-gst/default.nix
+++ b/pkgs/development/libraries/clutter-gst/default.nix
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
homepage = http://www.clutter-project.org/;
- license = "LGPLv2+";
+ license = stdenv.lib.licenses.lgpl2Plus;
maintainers = with stdenv.lib.maintainers; [ lethalman ];
platforms = stdenv.lib.platforms.gnu; # arbitrary choice
diff --git a/pkgs/development/libraries/clutter-gtk/0.10.8.nix b/pkgs/development/libraries/clutter-gtk/0.10.8.nix
index 00a4edd2a9884e7b6c043ef259f6a4f80fd726d5..e5f5a455c899ff08b809dcd3e89f56ce41124712 100644
--- a/pkgs/development/libraries/clutter-gtk/0.10.8.nix
+++ b/pkgs/development/libraries/clutter-gtk/0.10.8.nix
@@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
homepage = http://www.clutter-project.org/;
- license = "LGPLv2+";
+ license = stdenv.lib.licenses.lgpl2Plus;
maintainers = [ ];
platforms = stdenv.lib.platforms.gnu; # arbitrary choice
diff --git a/pkgs/development/libraries/clutter-gtk/default.nix b/pkgs/development/libraries/clutter-gtk/default.nix
index 3614d149489d9a8751d64f650a510ddc1e065c2f..1d085222341a1bb24670b26dba1360ac4561995d 100644
--- a/pkgs/development/libraries/clutter-gtk/default.nix
+++ b/pkgs/development/libraries/clutter-gtk/default.nix
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
homepage = http://www.clutter-project.org/;
- license = "LGPLv2+";
+ license = stdenv.lib.licenses.lgpl2Plus;
maintainers = with stdenv.lib.maintainers; [ urkud ];
platforms = stdenv.lib.platforms.gnu; # arbitrary choice
diff --git a/pkgs/development/libraries/clutter/1.18.nix b/pkgs/development/libraries/clutter/1.18.nix
index 898c931f354aaa8d1246d5ffd9a9cbfc45d3907f..7a9d114ce8e3252ba5635a7908e7498f295589d2 100644
--- a/pkgs/development/libraries/clutter/1.18.nix
+++ b/pkgs/development/libraries/clutter/1.18.nix
@@ -43,7 +43,7 @@ stdenv.mkDerivation rec {
specific needs.
'';
- license = "LGPLv2+";
+ license = stdenv.lib.licenses.lgpl2Plus;
homepage = http://www.clutter-project.org/;
maintainers = with stdenv.lib.maintainers; [ urkud ];
diff --git a/pkgs/development/libraries/clutter/default.nix b/pkgs/development/libraries/clutter/default.nix
index 808e67cd852b2df94c63f1e52c3a347709f18ec7..027b90d8e11c796f8ccf7e7d615959646e22e2b5 100644
--- a/pkgs/development/libraries/clutter/default.nix
+++ b/pkgs/development/libraries/clutter/default.nix
@@ -43,7 +43,7 @@ stdenv.mkDerivation rec {
specific needs.
'';
- license = "LGPLv2+";
+ license = stdenv.lib.licenses.lgpl2Plus;
homepage = http://www.clutter-project.org/;
maintainers = with stdenv.lib.maintainers; [ urkud ];
diff --git a/pkgs/development/libraries/coin3d/default.nix b/pkgs/development/libraries/coin3d/default.nix
index f866b2299c1f364077d842ca1f6d85a03a03a9bd..034d7d658e17adb19c6ea1100f19edbdec66b1e8 100644
--- a/pkgs/development/libraries/coin3d/default.nix
+++ b/pkgs/development/libraries/coin3d/default.nix
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://www.coin3d.org/;
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
description = "High-level, retained-mode toolkit for effective 3D graphics development";
maintainers = [ stdenv.lib.maintainers.viric ];
platforms = stdenv.lib.platforms.linux;
diff --git a/pkgs/development/libraries/commoncpp2/default.nix b/pkgs/development/libraries/commoncpp2/default.nix
index 0b834a5ddb3263878a157f1cef25404b0e9cdda1..348f7bdfb66ff08b6e1934de857354a8d175b044 100644
--- a/pkgs/development/libraries/commoncpp2/default.nix
+++ b/pkgs/development/libraries/commoncpp2/default.nix
@@ -31,7 +31,7 @@ stdenv.mkDerivation rec {
'';
homepage = http://www.gnu.org/software/commoncpp/;
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
maintainers = [ stdenv.lib.maintainers.marcweber
stdenv.lib.maintainers.ludo
];
diff --git a/pkgs/development/libraries/dotconf/default.nix b/pkgs/development/libraries/dotconf/default.nix
index 9a71393badde1172f3f7eac7a09c8e3862df486a..2c22af1684d365f6840de94f653e6e1e9af72f97 100644
--- a/pkgs/development/libraries/dotconf/default.nix
+++ b/pkgs/development/libraries/dotconf/default.nix
@@ -13,6 +13,6 @@ stdenv.mkDerivation rec {
description = "A configuration parser library";
homepage = http://www.azzit.de/dotconf/;
- license = "LGPLv21+";
+ license = stdenv.lib.licenses.lgpl21Plus;
};
}
diff --git a/pkgs/development/libraries/dssi/default.nix b/pkgs/development/libraries/dssi/default.nix
index 951278b4433f6ecba9eece56c96eea3cf148c578..ae276c6aa0aae8302bd3205c818d3ff48a3cf893 100644
--- a/pkgs/development/libraries/dssi/default.nix
+++ b/pkgs/development/libraries/dssi/default.nix
@@ -1,5 +1,5 @@
x@{builderDefsPackage
- , ladspaH, jackaudio, liblo, alsaLib, qt4, libX11, libsndfile, libSM
+ , ladspaH, jack2, liblo, alsaLib, qt4, libX11, libsndfile, libSM
, libsamplerate, libtool, autoconf, automake, xproto, libICE, pkgconfig
, ...}:
builderDefsPackage
diff --git a/pkgs/development/libraries/epoxy/default.nix b/pkgs/development/libraries/epoxy/default.nix
new file mode 100644
index 0000000000000000000000000000000000000000..a1b0d87cdfdc49928e330f72b20bc5c7c4bd9813
--- /dev/null
+++ b/pkgs/development/libraries/epoxy/default.nix
@@ -0,0 +1,30 @@
+{ stdenv, fetchurl, autoconf, autogen, automake, gettext, libX11
+, mesa, pkgconfig, python, utilmacros
+}:
+
+stdenv.mkDerivation rec {
+ name = "epoxy-${version}";
+ version = "1.2";
+
+ src = fetchurl {
+ url = "https://github.com/anholt/libepoxy/archive/v${version}.tar.gz";
+ sha256 = "1xp8g6b7xlbym2rj4vkbl6xpb7ijq7glpv656mc7k9b01x22ihs2";
+ };
+
+ buildInputs = [
+ autoconf autogen automake gettext libX11 mesa pkgconfig python
+ utilmacros
+ ];
+
+ configureScript = ''
+ ./autogen.sh --prefix="$out"
+ '';
+
+ meta = with stdenv.lib; {
+ description = "A library for handling OpenGL function pointer management";
+ homepage = https://github.com/anholt/libepoxy;
+ license = licenses.mit;
+ maintainers = [ maintainers.goibhniu ];
+ platforms = platforms.linux;
+ };
+}
diff --git a/pkgs/development/libraries/exosip/3.x.nix b/pkgs/development/libraries/exosip/3.x.nix
index 123b53783a680833a1875dacb7a409c58cb4139f..63afd22bcf88f7ac817a57e340e960fa043e5069 100644
--- a/pkgs/development/libraries/exosip/3.x.nix
+++ b/pkgs/development/libraries/exosip/3.x.nix
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
buildInputs = [ libosip openssl pkgconfig ];
meta = {
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
description = "Library that hides the complexity of using the SIP protocol";
};
}
diff --git a/pkgs/development/libraries/exosip/default.nix b/pkgs/development/libraries/exosip/default.nix
index fb13e0b8c6f5fe1ab86784d83979ebefb6b295dd..02349bc0267b4604c54a746c2c5e62333957f06a 100644
--- a/pkgs/development/libraries/exosip/default.nix
+++ b/pkgs/development/libraries/exosip/default.nix
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
buildInputs = [ libosip openssl pkgconfig ];
meta = {
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
description = "Library that hides the complexity of using the SIP protocol";
};
}
diff --git a/pkgs/development/libraries/faad2/default.nix b/pkgs/development/libraries/faad2/default.nix
index fc489f9eb665bf0735c0c47a867d1590a6e5cae9..99177578c779237ca78ef151541171a32501ce66 100644
--- a/pkgs/development/libraries/faad2/default.nix
+++ b/pkgs/development/libraries/faad2/default.nix
@@ -11,6 +11,6 @@ stdenv.mkDerivation {
meta = {
description = "An open source MPEG-4 and MPEG-2 AAC decoder";
homepage = http://www.audiocoding.com/faad2.html;
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
};
}
diff --git a/pkgs/development/libraries/ffms/default.nix b/pkgs/development/libraries/ffms/default.nix
index 92146c12e302db5c5661c298dae7675084c1634e..c394fd07028616027f30340c1103669be2ed0589 100644
--- a/pkgs/development/libraries/ffms/default.nix
+++ b/pkgs/development/libraries/ffms/default.nix
@@ -16,6 +16,6 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://code.google.com/p/ffmpegsource/;
description = "Libav/ffmpeg based source library for easy frame accurate access";
- license = "MIT";
+ license = stdenv.lib.licenses.mit;
};
}
diff --git a/pkgs/development/libraries/fox/default.nix b/pkgs/development/libraries/fox/default.nix
index 985322790a9a7fc7acad74f4ee26903b259c263e..63acc14521c6a2b91f8a8ce86881fcebbc537704 100644
--- a/pkgs/development/libraries/fox/default.nix
+++ b/pkgs/development/libraries/fox/default.nix
@@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
Current aims are to make FOX completely platform independent, and thus programs written against the FOX library will be only a compile away from running on a variety of platforms.
'';
homepage = "http://fox-toolkit.org";
- license = "LGPLv3";
+ license = stdenv.lib.licenses.lgpl3;
maintainers = [ stdenv.lib.maintainers.bbenoist ];
platforms = stdenv.lib.platforms.all;
};
diff --git a/pkgs/development/libraries/fox/fox-1.6.nix b/pkgs/development/libraries/fox/fox-1.6.nix
index 1d98627556306c730d3732c3b50bb0653b242678..2fe104e849fdfb5102bf8396058511150f8b8d8a 100644
--- a/pkgs/development/libraries/fox/fox-1.6.nix
+++ b/pkgs/development/libraries/fox/fox-1.6.nix
@@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
Current aims are to make FOX completely platform independent, and thus programs written against the FOX library will be only a compile away from running on a variety of platforms.
'';
homepage = "http://fox-toolkit.org";
- license = "LGPLv3";
+ license = stdenv.lib.licenses.lgpl3;
maintainers = [ stdenv.lib.maintainers.bbenoist ];
platforms = stdenv.lib.platforms.mesaPlatforms;
};
diff --git a/pkgs/development/libraries/freealut/default.nix b/pkgs/development/libraries/freealut/default.nix
index 72d19875dec8b7bc9d0a3df7fa944d5ff7ab7a99..25ba89994e5dc890ce1496f9aba834af444b4cd5 100644
--- a/pkgs/development/libraries/freealut/default.nix
+++ b/pkgs/development/libraries/freealut/default.nix
@@ -1,10 +1,18 @@
-{stdenv, fetchurl, openal}:
+{ stdenv, fetchurl, openal }:
-stdenv.mkDerivation {
+stdenv.mkDerivation rec {
name = "freealut-1.1.0";
+
src = fetchurl {
- url = http://www.openal.org/openal_webstf/downloads/freealut-1.1.0.tar.gz;
+ url = "http://www.openal.org/openal_webstf/downloads/${name}.tar.gz";
sha256 = "0kzlil6112x2429nw6mycmif8y6bxr2cwjcvp18vh6s7g63ymlb0";
};
- buildInputs = [openal];
+
+ buildInputs = [ openal ];
+
+ meta = {
+ homepage = "http://openal.org/";
+ description = "Free implementation of OpenAL's ALUT standard";
+ license = stdenv.lib.licenses.lgpl2;
+ };
}
diff --git a/pkgs/development/libraries/frei0r/default.nix b/pkgs/development/libraries/frei0r/default.nix
new file mode 100644
index 0000000000000000000000000000000000000000..2e3db4c2d73ac08bc3bebb0d426ecb49698095b2
--- /dev/null
+++ b/pkgs/development/libraries/frei0r/default.nix
@@ -0,0 +1,22 @@
+{ stdenv, fetchurl, autoconf, cairo, opencv, pkgconfig }:
+
+stdenv.mkDerivation rec {
+ name = "frei0r-plugins-${version}";
+ version = "1.4";
+
+ src = fetchurl {
+ url = "https://files.dyne.org/.xsend.php?file=frei0r/releases/${name}.tar.gz";
+ sha256 = "0mxyhdp1p1a3ga8170ijygb870zwbww1dgp3kdr1nd4zvsmzqw44";
+ };
+
+ buildInputs = [ autoconf cairo opencv pkgconfig ];
+
+ meta = with stdenv.lib; {
+ homepage = http://frei0r.dyne.org;
+ description = "Minimalist, cross-platform, shared video plugins";
+ license = licenses.gpl2;
+ maintainers = [ maintainers.goibhniu ];
+ platforms = platforms.linux;
+
+ };
+}
diff --git a/pkgs/development/libraries/gdal/default.nix b/pkgs/development/libraries/gdal/default.nix
index a641040187a8429718e32c4d1d4e38b6a661211f..7c78ca3ed6fb1ebac9f9a1b503dee746a39a2574 100644
--- a/pkgs/development/libraries/gdal/default.nix
+++ b/pkgs/development/libraries/gdal/default.nix
@@ -27,7 +27,7 @@ composableDerivation.composableDerivation {} (fixed: {
meta = {
description = "Translator library for raster geospatial data formats";
homepage = http://www.gdal.org/;
- license = "X/MIT";
+ license = stdenv.lib.licenses.mit;
maintainers = [ stdenv.lib.maintainers.marcweber ];
platforms = stdenv.lib.platforms.linux;
};
diff --git a/pkgs/development/libraries/gdbm/default.nix b/pkgs/development/libraries/gdbm/default.nix
index 2ba49162e2f0cacc6ebb948bdcab22c2ccc13e45..1fd6c429dc02466e9603bd08471f113b3baa9087 100644
--- a/pkgs/development/libraries/gdbm/default.nix
+++ b/pkgs/development/libraries/gdbm/default.nix
@@ -33,7 +33,7 @@ stdenv.mkDerivation rec {
'';
homepage = http://www.gnu.org/software/gdbm/;
- license = "GPLv3+";
+ license = stdenv.lib.licenses.gpl3Plus;
platforms = stdenv.lib.platforms.all;
maintainers = [ stdenv.lib.maintainers.ludo ];
};
diff --git a/pkgs/development/libraries/gdome2/default.nix b/pkgs/development/libraries/gdome2/default.nix
index 415a98029cc6ec5fd33043c80d890dd3e2ba2872..516fb9329833988b51693b212e91feb7e998f143 100644
--- a/pkgs/development/libraries/gdome2/default.nix
+++ b/pkgs/development/libraries/gdome2/default.nix
@@ -19,7 +19,7 @@ stdenv.mkDerivation {
meta = {
homepage = http://gdome2.cs.unibo.it/;
description = "DOM C library developped for the Gnome project";
- license = "LGPLv2.1+";
+ license = stdenv.lib.licenses.lgpl21Plus;
maintainers = [ stdenv.lib.maintainers.roconnor ];
};
}
diff --git a/pkgs/development/libraries/gegl/0_0_22.nix b/pkgs/development/libraries/gegl/0_0_22.nix
index b2f2e85a1ea8bc075ea2111c2368dfde0e2d3b23..3f9a619ff6a13964d0d67a70000f43d07632727c 100644
--- a/pkgs/development/libraries/gegl/0_0_22.nix
+++ b/pkgs/development/libraries/gegl/0_0_22.nix
@@ -16,6 +16,6 @@ stdenv.mkDerivation {
meta = {
description = "Graph-based image processing framework";
homepage = http://www.gegl.org;
- license = "GPL3";
+ license = stdenv.lib.licenses.gpl3;
};
}
diff --git a/pkgs/development/libraries/gegl/default.nix b/pkgs/development/libraries/gegl/default.nix
index 0649775ad216fa22b20ed5989cc19aaa9cee1d2d..a589d625273de6987c8cab51f7f72c0575937a1a 100644
--- a/pkgs/development/libraries/gegl/default.nix
+++ b/pkgs/development/libraries/gegl/default.nix
@@ -26,6 +26,6 @@ stdenv.mkDerivation rec {
meta = {
description = "Graph-based image processing framework";
homepage = http://www.gegl.org;
- license = "GPL3";
+ license = stdenv.lib.licenses.gpl3;
};
}
diff --git a/pkgs/development/libraries/glibc/2.19/common.nix b/pkgs/development/libraries/glibc/2.19/common.nix
index b153d91934b37db32a5cd7b35d18bb602f9d85ff..43ba2a9ca1136d47ad04f3f85bfff9f7dedc6a5a 100644
--- a/pkgs/development/libraries/glibc/2.19/common.nix
+++ b/pkgs/development/libraries/glibc/2.19/common.nix
@@ -179,7 +179,7 @@ stdenv.mkDerivation ({
most systems with the Linux kernel.
'';
- license = "LGPLv2+";
+ license = stdenv.lib.licenses.lgpl2Plus;
maintainers = [ stdenv.lib.maintainers.ludo ];
#platforms = stdenv.lib.platforms.linux;
diff --git a/pkgs/development/libraries/glibmm/default.nix b/pkgs/development/libraries/glibmm/default.nix
index 6801012e855386cd6cfb5cd6c5698954c36f3ec0..66fb0179489c19d97ee690eb2245572ebffa1876 100644
--- a/pkgs/development/libraries/glibmm/default.nix
+++ b/pkgs/development/libraries/glibmm/default.nix
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
homepage = http://gtkmm.org/;
- license = "LGPLv2+";
+ license = stdenv.lib.licenses.lgpl2Plus;
maintainers = with stdenv.lib.maintainers; [urkud raskin];
platforms = stdenv.lib.platforms.linux;
diff --git a/pkgs/development/libraries/glpk/default.nix b/pkgs/development/libraries/glpk/default.nix
index eb653591005e4a9006766598dc78c0accd1085ad..2b1a5b571ef07c041f117be4ac7cf2b403aed15f 100644
--- a/pkgs/development/libraries/glpk/default.nix
+++ b/pkgs/development/libraries/glpk/default.nix
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
'';
homepage = http://www.gnu.org/software/glpk/;
- license = "GPLv3+";
+ license = stdenv.lib.licenses.gpl3Plus;
maintainers = [ stdenv.lib.maintainers.bjg ];
platforms = stdenv.lib.platforms.all;
diff --git a/pkgs/development/libraries/gmm/default.nix b/pkgs/development/libraries/gmm/default.nix
index f87211195d52748d39121065c5ee802c19887d30..d79293eced14e4e33d49ee636c44a801f7a047f3 100644
--- a/pkgs/development/libraries/gmm/default.nix
+++ b/pkgs/development/libraries/gmm/default.nix
@@ -11,6 +11,6 @@ stdenv.mkDerivation {
meta = {
description = "Generic C++ template library for sparse, dense and skyline matrices";
homepage = http://home.gna.org/getfem/gmm_intro.html;
- license = "LGLP2.1"; # or later
+ license = stdenv.lib.licenses.lgpl21Plus;
};
}
diff --git a/pkgs/development/libraries/gmp/4.3.2.nix b/pkgs/development/libraries/gmp/4.3.2.nix
index f003979c701cf04575e5f65ca947223d62235004..d0559c46795b54dfde668b26dac75248583054b9 100644
--- a/pkgs/development/libraries/gmp/4.3.2.nix
+++ b/pkgs/development/libraries/gmp/4.3.2.nix
@@ -53,7 +53,7 @@ stdenv.mkDerivation rec {
'';
homepage = http://gmplib.org/;
- license = "LGPLv3+";
+ license = stdenv.lib.licenses.lgpl3Plus;
maintainers = [ stdenv.lib.maintainers.ludo ];
platforms = stdenv.lib.platforms.all;
diff --git a/pkgs/development/libraries/gmp/5.0.5.nix b/pkgs/development/libraries/gmp/5.0.5.nix
index 461187a509cd7a7cd8c9c587aa20f650df52ef3e..c96c830e2f7fa942df53f60af429268ece67b78a 100644
--- a/pkgs/development/libraries/gmp/5.0.5.nix
+++ b/pkgs/development/libraries/gmp/5.0.5.nix
@@ -56,7 +56,7 @@ stdenv.mkDerivation rec {
'';
homepage = http://gmplib.org/;
- license = "LGPLv3+";
+ license = stdenv.lib.licenses.lgpl3Plus;
maintainers = [ stdenv.lib.maintainers.ludo stdenv.lib.maintainers.simons ];
platforms = stdenv.lib.platforms.all;
diff --git a/pkgs/development/libraries/gnutls/3.1.nix b/pkgs/development/libraries/gnutls/3.1.nix
index 89306540694b8811ab165764acf166ff5a3f3a75..6aea78a3ac52315e0151f594d89e880d8b913683 100644
--- a/pkgs/development/libraries/gnutls/3.1.nix
+++ b/pkgs/development/libraries/gnutls/3.1.nix
@@ -61,8 +61,7 @@ stdenv.mkDerivation rec {
'';
homepage = http://www.gnu.org/software/gnutls/;
- license = "LGPLv2.1+";
+ license = stdenv.lib.licenses.lgpl21Plus;
maintainers = [ stdenv.lib.maintainers.eelco ];
};
}
-
diff --git a/pkgs/development/libraries/gnutls/3.2.nix b/pkgs/development/libraries/gnutls/3.2.nix
index ca9c003dfe74bb25402d18dace5b4fdca6edb53a..cd48e08a39c4e3e1cfd389c96b3d4a23382de68e 100644
--- a/pkgs/development/libraries/gnutls/3.2.nix
+++ b/pkgs/development/libraries/gnutls/3.2.nix
@@ -63,9 +63,8 @@ stdenv.mkDerivation rec {
'';
homepage = http://www.gnu.org/software/gnutls/;
- license = "LGPLv2.1+";
+ license = stdenv.lib.licenses.lgpl21Plus;
maintainers = [ stdenv.lib.maintainers.eelco ];
platforms = stdenv.lib.platforms.all;
};
}
-
diff --git a/pkgs/development/libraries/gsasl/default.nix b/pkgs/development/libraries/gsasl/default.nix
index 70b4ab8639d363d8595688c8a2993112152be300..383c1a7e223ae35a6b42aed2c7b57e8105a25f47 100644
--- a/pkgs/development/libraries/gsasl/default.nix
+++ b/pkgs/development/libraries/gsasl/default.nix
@@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
'';
homepage = http://www.gnu.org/software/gsasl/;
- license = "GPLv3+";
+ license = stdenv.lib.licenses.gpl3Plus;
maintainers = with stdenv.lib.maintainers; [ ];
platforms = stdenv.lib.platforms.all;
diff --git a/pkgs/development/libraries/gsl/default.nix b/pkgs/development/libraries/gsl/default.nix
index 9631746691f83062933da02e693812394bc169e1..da4796fba89640037d4f0c3a65482ba292cf32e6 100644
--- a/pkgs/development/libraries/gsl/default.nix
+++ b/pkgs/development/libraries/gsl/default.nix
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
meta = {
description = "The GNU Scientific Library, a large numerical library";
homepage = http://www.gnu.org/software/gsl/;
- license = "GPLv3+";
+ license = stdenv.lib.licenses.gpl3Plus;
longDescription = ''
The GNU Scientific Library (GSL) is a numerical library for C
diff --git a/pkgs/development/libraries/gss/default.nix b/pkgs/development/libraries/gss/default.nix
index 4959a70ca631e598f61f1479f5ebd1868c23cbb4..207b82486981068ba8cef34e8307e5d8e08472b3 100644
--- a/pkgs/development/libraries/gss/default.nix
+++ b/pkgs/development/libraries/gss/default.nix
@@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
'';
homepage = http://www.gnu.org/software/gss/;
- license = "GPLv3+";
+ license = stdenv.lib.licenses.gpl3Plus;
maintainers = [ stdenv.lib.maintainers.bjg ];
platforms = stdenv.lib.platforms.all;
diff --git a/pkgs/development/libraries/gssdp/default.nix b/pkgs/development/libraries/gssdp/default.nix
index 466406fbe793db1d9db14d636683b31733fd58c9..792b6d2e4dbc9ec5b5d98bb9ef87ea9a8c83a749 100644
--- a/pkgs/development/libraries/gssdp/default.nix
+++ b/pkgs/development/libraries/gssdp/default.nix
@@ -13,7 +13,7 @@ stdenv.mkDerivation {
meta = {
description = "GObject-based API for handling resource discovery and announcement over SSDP";
homepage = http://www.gupnp.org/;
- license = "LGPL v2";
+ license = stdenv.lib.licenses.lgpl2;
platforms = stdenv.lib.platforms.all;
};
}
diff --git a/pkgs/development/libraries/gstreamer/legacy/gnonlin/default.nix b/pkgs/development/libraries/gstreamer/legacy/gnonlin/default.nix
index 820e8eb07c9e77be44c2377ebba63fec84a28133..ff26e727e9f3fd2807d1f5f09dd9db98a8076e15 100644
--- a/pkgs/development/libraries/gstreamer/legacy/gnonlin/default.nix
+++ b/pkgs/development/libraries/gstreamer/legacy/gnonlin/default.nix
@@ -16,6 +16,6 @@ stdenv.mkDerivation rec {
meta = {
homepage = "http://gstreamer.freedesktop.org/modules/gnonlin.html";
description = "http://gstreamer.freedesktop.org/modules/gnonlin.html";
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
};
}
diff --git a/pkgs/development/libraries/gstreamer/legacy/gst-ffmpeg/default.nix b/pkgs/development/libraries/gstreamer/legacy/gst-ffmpeg/default.nix
index 49c612f59e743b45e5942b03b6700bd69216dc9b..89b6e73e6b6d5073d101038959d269ab7115f8e3 100644
--- a/pkgs/development/libraries/gstreamer/legacy/gst-ffmpeg/default.nix
+++ b/pkgs/development/libraries/gstreamer/legacy/gst-ffmpeg/default.nix
@@ -24,6 +24,6 @@ stdenv.mkDerivation rec {
meta = {
homepage = "http://gstreamer.freedesktop.org/releases/gst-ffmpeg";
description = "GStreamer's plug-in using FFmpeg";
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
};
}
diff --git a/pkgs/development/libraries/gstreamer/legacy/gst-plugins-bad/default.nix b/pkgs/development/libraries/gstreamer/legacy/gst-plugins-bad/default.nix
index a433d717039f2fe40aa98418ae0a20e3800d5250..988d1bba258af8d72213d9c384faab6f2c515683 100644
--- a/pkgs/development/libraries/gstreamer/legacy/gst-plugins-bad/default.nix
+++ b/pkgs/development/libraries/gstreamer/legacy/gst-plugins-bad/default.nix
@@ -25,6 +25,6 @@ stdenv.mkDerivation rec {
maintainers = [stdenv.lib.maintainers.raskin];
platforms = stdenv.lib.platforms.linux;
- license = "LGPLv2+";
+ license = stdenv.lib.licenses.lgpl2Plus;
};
}
diff --git a/pkgs/development/libraries/gstreamer/legacy/gst-plugins-good/default.nix b/pkgs/development/libraries/gstreamer/legacy/gst-plugins-good/default.nix
index a09f827976080ecda76c1baa4fc9317352debd03..a0cd0a4c646f8e3cfd5ff277e5b2a31d0b7c3075 100644
--- a/pkgs/development/libraries/gstreamer/legacy/gst-plugins-good/default.nix
+++ b/pkgs/development/libraries/gstreamer/legacy/gst-plugins-good/default.nix
@@ -35,6 +35,6 @@ stdenv.mkDerivation rec {
maintainers = [stdenv.lib.maintainers.raskin];
platforms = stdenv.lib.platforms.linux;
- license = "LGPLv2+";
+ license = stdenv.lib.licenses.lgpl2Plus;
};
}
diff --git a/pkgs/development/libraries/gstreamer/legacy/gst-plugins-ugly/default.nix b/pkgs/development/libraries/gstreamer/legacy/gst-plugins-ugly/default.nix
index 769de911fd6ab6bb01e1e156a34d1e04da1de1e4..e4411fcefbbd70bc341379cf44d267734590c806 100644
--- a/pkgs/development/libraries/gstreamer/legacy/gst-plugins-ugly/default.nix
+++ b/pkgs/development/libraries/gstreamer/legacy/gst-plugins-ugly/default.nix
@@ -25,6 +25,6 @@ stdenv.mkDerivation rec {
maintainers = [stdenv.lib.maintainers.raskin];
platforms = stdenv.lib.platforms.linux;
- license = "LGPLv2+";
+ license = stdenv.lib.licenses.lgpl2Plus;
};
}
diff --git a/pkgs/development/libraries/gstreamer/legacy/gst-python/default.nix b/pkgs/development/libraries/gstreamer/legacy/gst-python/default.nix
index e960aa90421bc5287d5e5a2483f71709098bb13c..d01961f5cdeb72d742bb0e3ac3eddcba0603ad8f 100644
--- a/pkgs/development/libraries/gstreamer/legacy/gst-python/default.nix
+++ b/pkgs/development/libraries/gstreamer/legacy/gst-python/default.nix
@@ -24,7 +24,6 @@ stdenv.mkDerivation rec {
description = "Python bindings for GStreamer";
- license = "LGPLv2+";
+ license = stdenv.lib.licenses.lgpl2Plus;
};
}
-
diff --git a/pkgs/development/libraries/gstreamer/legacy/gstreamer/default.nix b/pkgs/development/libraries/gstreamer/legacy/gstreamer/default.nix
index cadef680272835003a8703fb1da3a26f3bfa385f..f781c624cea1a0d81aade057846d819a7c6662f4 100644
--- a/pkgs/development/libraries/gstreamer/legacy/gstreamer/default.nix
+++ b/pkgs/development/libraries/gstreamer/legacy/gstreamer/default.nix
@@ -48,6 +48,6 @@ stdenv.mkDerivation rec {
interface.
'';
- license = "LGPLv2+";
+ license = stdenv.lib.licenses.lgpl2Plus;
};
}
diff --git a/pkgs/development/libraries/gstreamer/legacy/gstreamermm/default.nix b/pkgs/development/libraries/gstreamer/legacy/gstreamermm/default.nix
index 1427ec866a9c866516262617fa769a433b118e67..97a4638170f9534e8039432cbd482eb36335d777 100644
--- a/pkgs/development/libraries/gstreamer/legacy/gstreamermm/default.nix
+++ b/pkgs/development/libraries/gstreamer/legacy/gstreamermm/default.nix
@@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
meta = {
description = "C++ bindings for the GStreamer streaming multimedia library";
homepage = http://www.gtkmm.org/;
- license = "LGPLv2+";
+ license = stdenv.lib.licenses.lgpl2Plus;
maintainers = "Philip Lykke Carlsen ";
platforms = stdenv.lib.platforms.linux;
};
diff --git a/pkgs/development/libraries/gstreamer/python/default.nix b/pkgs/development/libraries/gstreamer/python/default.nix
index 9a526de05b1c4bc30fca0333fca5d10e1acac705..d20f06635da9cd11e02cf7aa400b8bcfe483e4b6 100644
--- a/pkgs/development/libraries/gstreamer/python/default.nix
+++ b/pkgs/development/libraries/gstreamer/python/default.nix
@@ -30,7 +30,6 @@ stdenv.mkDerivation rec {
description = "Python bindings for GStreamer";
- license = "LGPLv2+";
+ license = stdenv.lib.licenses.lgpl2Plus;
};
}
-
diff --git a/pkgs/development/libraries/gtest/default.nix b/pkgs/development/libraries/gtest/default.nix
index 1e030d4d7ce02d28a96bed841b524a0871d3c9d6..a59e3d07cb445895bf5472791f1a53adbfe5cf79 100644
--- a/pkgs/development/libraries/gtest/default.nix
+++ b/pkgs/development/libraries/gtest/default.nix
@@ -21,6 +21,7 @@ stdenv.mkDerivation rec {
mkdir -p $out/lib
cp -v libgtest.a libgtest_main.a $out/lib
cp -v -r ../include $out
+ cp -v -r ../src $out
'';
meta = {
diff --git a/pkgs/development/libraries/gtk+/3.x.nix b/pkgs/development/libraries/gtk+/3.x.nix
index ef8f3e398832b752de9fe5a1683f8a06279a537b..09221502e363ede9821b209aa7cfebecc742d120 100644
--- a/pkgs/development/libraries/gtk+/3.x.nix
+++ b/pkgs/development/libraries/gtk+/3.x.nix
@@ -54,7 +54,7 @@ stdenv.mkDerivation rec {
homepage = http://www.gtk.org/;
- license = "LGPLv2+";
+ license = stdenv.lib.licenses.lgpl2Plus;
maintainers = with stdenv.lib.maintainers; [ urkud raskin vcunat];
platforms = stdenv.lib.platforms.all;
diff --git a/pkgs/development/libraries/gtkdatabox/default.nix b/pkgs/development/libraries/gtkdatabox/default.nix
index 43d0db9755a318d43ae8c685e2daecc4561a29ab..69a0341a6953aa9f2a79c409575cae04fd6f018a 100644
--- a/pkgs/development/libraries/gtkdatabox/default.nix
+++ b/pkgs/development/libraries/gtkdatabox/default.nix
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
meta = {
description = "Gtk+ widget for displaying large amounts of numerical data";
- license = "LGPLv2";
+ license = stdenv.lib.licenses.lgpl2;
platforms = stdenv.lib.platforms.linux;
};
diff --git a/pkgs/development/libraries/gtkimageview/default.nix b/pkgs/development/libraries/gtkimageview/default.nix
index 17dc5469910fde8aa13e6159356d204a689b8fee..6905adcd71e3ab1cc136b38e1a8a7c7c2caa9c21 100644
--- a/pkgs/development/libraries/gtkimageview/default.nix
+++ b/pkgs/development/libraries/gtkimageview/default.nix
@@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
interpolation; GIF animation support.
'';
- license = "LGPLv2+";
+ license = stdenv.lib.licenses.lgpl2Plus;
maintainers = [ ];
};
diff --git a/pkgs/development/libraries/gtkmathview/default.nix b/pkgs/development/libraries/gtkmathview/default.nix
index eaccf2fb08bc3c1828a8896dab15bae623d14709..2620d9cc120c8931f4464d0c04c45044ca8b12fd 100644
--- a/pkgs/development/libraries/gtkmathview/default.nix
+++ b/pkgs/development/libraries/gtkmathview/default.nix
@@ -21,7 +21,7 @@ stdenv.mkDerivation {
meta = {
homepage = http://helm.cs.unibo.it/mml-widget/;
description = "GtkMathView is a C++ rendering engine for MathML documents";
- license = "LGPLv3+";
+ license = stdenv.lib.licenses.lgpl3Plus;
maintainers = [ stdenv.lib.maintainers.roconnor ];
};
}
diff --git a/pkgs/development/libraries/gtkmm/2.x.nix b/pkgs/development/libraries/gtkmm/2.x.nix
index 0b59cbfc4892f1a2ad965e824d0677bb01b25e17..727e4b2185c00178b58bfa9724e4d56a571e6812 100644
--- a/pkgs/development/libraries/gtkmm/2.x.nix
+++ b/pkgs/development/libraries/gtkmm/2.x.nix
@@ -30,7 +30,7 @@ stdenv.mkDerivation rec {
homepage = http://gtkmm.org/;
- license = "LGPLv2+";
+ license = stdenv.lib.licenses.lgpl2Plus;
maintainers = with stdenv.lib.maintainers; [ raskin vcunat ];
platforms = stdenv.lib.platforms.linux;
diff --git a/pkgs/development/libraries/gtkmm/3.x.nix b/pkgs/development/libraries/gtkmm/3.x.nix
index 600ea1a0278f285c588eba65aae40e66ef697d8c..47057b819e0bec4635ce828721661ceee7573269 100644
--- a/pkgs/development/libraries/gtkmm/3.x.nix
+++ b/pkgs/development/libraries/gtkmm/3.x.nix
@@ -33,7 +33,7 @@ stdenv.mkDerivation rec {
homepage = http://gtkmm.org/;
- license = "LGPLv2+";
+ license = stdenv.lib.licenses.lgpl2Plus;
maintainers = with stdenv.lib.maintainers; [ raskin urkud vcunat ];
platforms = stdenv.lib.platforms.linux;
diff --git a/pkgs/development/libraries/gts/default.nix b/pkgs/development/libraries/gts/default.nix
index 7724bc5cc3ab24f00e71dab3c625c12b0b44ce2d..17ab80ce5868d321ebd801c2a28ded6c15626da7 100644
--- a/pkgs/development/libraries/gts/default.nix
+++ b/pkgs/development/libraries/gts/default.nix
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://gts.sourceforge.net/;
- license = "LGPLv2+";
+ license = stdenv.lib.licenses.lgpl2Plus;
description = "GNU Triangulated Surface Library";
longDescription = ''
diff --git a/pkgs/development/libraries/haskell/Cabal/1.20.0.1.nix b/pkgs/development/libraries/haskell/Cabal/1.20.0.2.nix
similarity index 90%
rename from pkgs/development/libraries/haskell/Cabal/1.20.0.1.nix
rename to pkgs/development/libraries/haskell/Cabal/1.20.0.2.nix
index 67faefb7a67bb3d2abf45c329aa47773df71d015..35d0ddfd330c59fee7af31a9ba59297715efec47 100644
--- a/pkgs/development/libraries/haskell/Cabal/1.20.0.1.nix
+++ b/pkgs/development/libraries/haskell/Cabal/1.20.0.2.nix
@@ -7,8 +7,8 @@
cabal.mkDerivation (self: {
pname = "Cabal";
- version = "1.20.0.1";
- sha256 = "0vcpw4rskqlg2swsxk93p77svb007qvpwlpj2ia55avpi4c3xf8m";
+ version = "1.20.0.2";
+ sha256 = "00mz24fj3qpq6rl3n3i73x6k0jzqix24k9izrlkzg07mpjcj4k93";
buildDepends = [ deepseq filepath time ];
testDepends = [
extensibleExceptions filepath HUnit QuickCheck regexPosix
diff --git a/pkgs/development/libraries/haskell/ChasingBottoms/default.nix b/pkgs/development/libraries/haskell/ChasingBottoms/default.nix
index 34087a5836bb7461a7edb5b6e9da6a609cac9142..715793c7e9a70f5c72ac35a8eb30ba7af25a7171 100644
--- a/pkgs/development/libraries/haskell/ChasingBottoms/default.nix
+++ b/pkgs/development/libraries/haskell/ChasingBottoms/default.nix
@@ -4,8 +4,8 @@
cabal.mkDerivation (self: {
pname = "ChasingBottoms";
- version = "1.3.0.7";
- sha256 = "0g1bx6d2mi27qsb4bxvby50g39fm56gyi2658fyjiq1gamy50ypa";
+ version = "1.3.0.8";
+ sha256 = "1f6jg4j17s3y7hcz9gp7cffa77p57xgzv15ng5ypcxpq603721dv";
isLibrary = true;
isExecutable = true;
buildDepends = [ mtl QuickCheck random syb ];
diff --git a/pkgs/development/libraries/haskell/GLUtil/default.nix b/pkgs/development/libraries/haskell/GLUtil/default.nix
index 10ab2bf69e6cd0b6e6808955bcf3933ddf74aa66..ce4b41c93e0aa65e7a864c6e37d5aeeb5dcdc649 100644
--- a/pkgs/development/libraries/haskell/GLUtil/default.nix
+++ b/pkgs/development/libraries/haskell/GLUtil/default.nix
@@ -6,8 +6,8 @@
cabal.mkDerivation (self: {
pname = "GLUtil";
- version = "0.7.5";
- sha256 = "1rbnq1nrs2b06ph60lh0yvygk82vvnm8c4d0anhjrqw9i58nd3iz";
+ version = "0.8";
+ sha256 = "00r9gmwsb9gx6bcc012rhz0z0hj3my8k1i0yjnaw0jmlqswm45h8";
buildDepends = [
cpphs JuicyPixels linear OpenGL OpenGLRaw transformers vector
];
diff --git a/pkgs/development/libraries/haskell/HUnit-approx/default.nix b/pkgs/development/libraries/haskell/HUnit-approx/default.nix
new file mode 100644
index 0000000000000000000000000000000000000000..b507aa21cbb56c689bcee894e04b0dfac0c5be84
--- /dev/null
+++ b/pkgs/development/libraries/haskell/HUnit-approx/default.nix
@@ -0,0 +1,17 @@
+# This file was auto-generated by cabal2nix. Please do NOT edit manually!
+
+{ cabal, HUnit }:
+
+cabal.mkDerivation (self: {
+ pname = "HUnit-approx";
+ version = "1.0";
+ sha256 = "0svkjvcanjsi5bhn9b91jhig36np5imr3qyj6b1s5msm7wmlk3v1";
+ buildDepends = [ HUnit ];
+ testDepends = [ HUnit ];
+ meta = {
+ homepage = "https://github.com/goldfirere/HUnit-approx";
+ description = "Approximate equality for floating point numbers with HUnit";
+ license = self.stdenv.lib.licenses.bsd3;
+ platforms = self.ghc.meta.platforms;
+ };
+})
diff --git a/pkgs/development/libraries/haskell/MFlow/default.nix b/pkgs/development/libraries/haskell/MFlow/default.nix
index 4a8f7a91bbaba17ac4ae05951498918166559c58..bfefa0bead266f7df7ffaad12f7052743a8664ba 100644
--- a/pkgs/development/libraries/haskell/MFlow/default.nix
+++ b/pkgs/development/libraries/haskell/MFlow/default.nix
@@ -2,20 +2,20 @@
{ cabal, blazeHtml, blazeMarkup, caseInsensitive, clientsession
, conduit, conduitExtra, cpphs, extensibleExceptions, httpTypes
-, monadloc, mtl, parsec, random, RefSerialize, stm, TCache, text
-, time, transformers, utf8String, vector, wai, warp, warpTls
-, Workflow
+, monadloc, mtl, parsec, pwstoreFast, random, RefSerialize
+, resourcet, stm, TCache, text, time, transformers, utf8String
+, vector, wai, waiExtra, warp, warpTls, Workflow
}:
cabal.mkDerivation (self: {
pname = "MFlow";
- version = "0.4.5.4";
- sha256 = "1ih9ni14xmqvcfvayjkggmpmw3s9yzp17gf4xzygldmjcs35j4n3";
+ version = "0.4.5.6";
+ sha256 = "12rgp4x2in3r1hf4j1fr5ih0x0mb54x1rdr1mjllbh8c09ricrah";
buildDepends = [
blazeHtml blazeMarkup caseInsensitive clientsession conduit
conduitExtra extensibleExceptions httpTypes monadloc mtl parsec
- random RefSerialize stm TCache text time transformers utf8String
- vector wai warp warpTls Workflow
+ pwstoreFast random RefSerialize resourcet stm TCache text time
+ transformers utf8String vector wai waiExtra warp warpTls Workflow
];
buildTools = [ cpphs ];
meta = {
diff --git a/pkgs/development/libraries/haskell/adjunctions/default.nix b/pkgs/development/libraries/haskell/adjunctions/default.nix
index 5b9cb5703d623dd02383f961936b101fcfa9ba69..f02aa9df5dd0a6cc45957586caab467051fe6cee 100644
--- a/pkgs/development/libraries/haskell/adjunctions/default.nix
+++ b/pkgs/development/libraries/haskell/adjunctions/default.nix
@@ -7,8 +7,8 @@
cabal.mkDerivation (self: {
pname = "adjunctions";
- version = "4.1.0.1";
- sha256 = "18p2pabid7dx96qcpd2ywv5mhjp55srhm5g013pn697jcxyq2xiv";
+ version = "4.2";
+ sha256 = "07r56r6kyd6wlcxxnsnnyv59pyc8s1gsy54kzwmk9yknks5rij9i";
buildDepends = [
comonad contravariant distributive free mtl profunctors
semigroupoids semigroups tagged transformers void
diff --git a/pkgs/development/libraries/haskell/atomic-primops/default.nix b/pkgs/development/libraries/haskell/atomic-primops/default.nix
index 127ee2b326c2213b4910f7153dace289f7aed8ec..466a442909174642447241f0ddfd04ebbe771108 100644
--- a/pkgs/development/libraries/haskell/atomic-primops/default.nix
+++ b/pkgs/development/libraries/haskell/atomic-primops/default.nix
@@ -4,8 +4,8 @@
cabal.mkDerivation (self: {
pname = "atomic-primops";
- version = "0.6.0.5";
- sha256 = "0xyvadhmhk2b6y6p52cfbjx1hs3zfcwfa5wx6cypaq4yi3csyl5k";
+ version = "0.6.0.6";
+ sha256 = "10i9s6d9951z9bf88w1vxcfb9z9axm2q4kf8wy6zd5gcc8hm7wcb";
buildDepends = [ primitive ];
meta = {
homepage = "https://github.com/rrnewton/haskell-lockfree/wiki";
diff --git a/pkgs/development/libraries/haskell/base-prelude/default.nix b/pkgs/development/libraries/haskell/base-prelude/default.nix
new file mode 100644
index 0000000000000000000000000000000000000000..824576293f45d1dfddfc5327d1dcc1e1698e2770
--- /dev/null
+++ b/pkgs/development/libraries/haskell/base-prelude/default.nix
@@ -0,0 +1,15 @@
+# This file was auto-generated by cabal2nix. Please do NOT edit manually!
+
+{ cabal }:
+
+cabal.mkDerivation (self: {
+ pname = "base-prelude";
+ version = "0.1.3";
+ sha256 = "07s5j538zxd0hlazqqbz4nwa82rcrmv25v7jr6nxafmgn83mkqhx";
+ meta = {
+ homepage = "https://github.com/nikita-volkov/base-prelude";
+ description = "The most complete prelude formed from only the \"base\" package";
+ license = self.stdenv.lib.licenses.mit;
+ platforms = self.ghc.meta.platforms;
+ };
+})
diff --git a/pkgs/development/libraries/haskell/bencoding/default.nix b/pkgs/development/libraries/haskell/bencoding/default.nix
new file mode 100644
index 0000000000000000000000000000000000000000..c93def74655449e8adbbc1c54c09d1330914e6fb
--- /dev/null
+++ b/pkgs/development/libraries/haskell/bencoding/default.nix
@@ -0,0 +1,15 @@
+{ cabal, attoparsec, deepseq, hspec, mtl, QuickCheck, text }:
+
+cabal.mkDerivation (self: {
+ pname = "bencoding";
+ version = "0.4.3.0";
+ sha256 = "0f6d3g88y7i4s5wa53771n0fbkbs4na8vpy51wk21b563smdcpcc";
+ buildDepends = [ attoparsec deepseq mtl text ];
+ testDepends = [ attoparsec hspec QuickCheck ];
+ meta = {
+ homepage = "https://github.com/cobit/bencoding";
+ description = "A library for encoding and decoding of BEncode data";
+ license = self.stdenv.lib.licenses.bsd3;
+ platforms = self.ghc.meta.platforms;
+ };
+})
diff --git a/pkgs/development/libraries/haskell/bindings-GLFW/default.nix b/pkgs/development/libraries/haskell/bindings-GLFW/default.nix
index 0ed43d795379eb60acec5b01ec41f922e8b311cb..08e14a782bf1c77ec0d0f4212c019e81f24a54d8 100644
--- a/pkgs/development/libraries/haskell/bindings-GLFW/default.nix
+++ b/pkgs/development/libraries/haskell/bindings-GLFW/default.nix
@@ -6,8 +6,8 @@
cabal.mkDerivation (self: {
pname = "bindings-GLFW";
- version = "3.0.3.2";
- sha256 = "1w4y2ha5x678fiyan79jd59mjrkf4q25v8049sj20fbmabgdqla9";
+ version = "3.0.3.3";
+ sha256 = "0w6vqshlk0c4k4q81xw7kg4j62h3wpccpy8qbiq5ks69w7z13fy4";
buildDepends = [ bindingsDSL ];
testDepends = [ HUnit testFramework testFrameworkHunit ];
extraLibraries = [
diff --git a/pkgs/development/libraries/haskell/bloomfilter/default.nix b/pkgs/development/libraries/haskell/bloomfilter/default.nix
index 6eae9a30da68e49e541f213f75bab920a77f686d..2494f08eaac34680be1669a389b780501c9d9f99 100644
--- a/pkgs/development/libraries/haskell/bloomfilter/default.nix
+++ b/pkgs/development/libraries/haskell/bloomfilter/default.nix
@@ -9,6 +9,10 @@ cabal.mkDerivation (self: {
version = "2.0.0.0";
sha256 = "07fif8i5rinysli1mpi92k405kvw8va7w9v9w4wd5bylb87zy77f";
buildDepends = [ deepseq ];
+ # https://github.com/bos/bloomfilter/pull/8
+ preConfigure = ''
+ sed -i -e "s/0xffffffff/0x7fffffff/" Data/BloomFilter/Easy.hs
+ '';
testDepends = [
QuickCheck random testFramework testFrameworkQuickcheck2
];
diff --git a/pkgs/development/libraries/haskell/cgrep/default.nix b/pkgs/development/libraries/haskell/cgrep/default.nix
index 5fae8ab3dfdd37b1d64508dc5df6c07e39549345..3563abb0a856eb29c3fdc657bd1bcf2352cbae62 100644
--- a/pkgs/development/libraries/haskell/cgrep/default.nix
+++ b/pkgs/development/libraries/haskell/cgrep/default.nix
@@ -6,8 +6,8 @@
cabal.mkDerivation (self: {
pname = "cgrep";
- version = "6.4.3.1";
- sha256 = "0pqifapjgazz7wiydc775i4f6iixq8v87rzjgvvymdbdsn0sfa0r";
+ version = "6.4.5";
+ sha256 = "0pp3gfy8dvdbv40vfy3dhqymjp0knnbzv9hmbc18f3s8zpy4lis0";
isLibrary = false;
isExecutable = true;
buildDepends = [
diff --git a/pkgs/development/libraries/haskell/classy-prelude-conduit/default.nix b/pkgs/development/libraries/haskell/classy-prelude-conduit/default.nix
index d6f67674db489a483e2e382f5a5cfaa492bd2b15..28e940f348963d7010976930b989a6906c56183c 100644
--- a/pkgs/development/libraries/haskell/classy-prelude-conduit/default.nix
+++ b/pkgs/development/libraries/haskell/classy-prelude-conduit/default.nix
@@ -7,8 +7,8 @@
cabal.mkDerivation (self: {
pname = "classy-prelude-conduit";
- version = "0.9.2";
- sha256 = "07qdhha58yl1dq4mpbyrpjwzk2yhn8dbkg2qg2yaq1j780a6dwcv";
+ version = "0.9.3";
+ sha256 = "0wsl3mhczinxl6ij8dpv5001db740z4jq43l2gpzdylv6pmpldzr";
buildDepends = [
classyPrelude conduit conduitCombinators monadControl resourcet
systemFileio transformers void
diff --git a/pkgs/development/libraries/haskell/classy-prelude/default.nix b/pkgs/development/libraries/haskell/classy-prelude/default.nix
index 273147fcc62f8ab549f9ee3edaae9df2bb484c9a..e45a6f256b9c7ce35b54a95fd8bd6c0e19f133aa 100644
--- a/pkgs/development/libraries/haskell/classy-prelude/default.nix
+++ b/pkgs/development/libraries/haskell/classy-prelude/default.nix
@@ -8,8 +8,8 @@
cabal.mkDerivation (self: {
pname = "classy-prelude";
- version = "0.9.2";
- sha256 = "0n006ld2kifh2bmwgbzx282s7xxpcml9g433x132prcblw4axkgr";
+ version = "0.9.3";
+ sha256 = "06y6zx3mmqjnha5p7y7blzn77bij71kndw2bmi07wz4s4lj9xsiv";
buildDepends = [
basicPrelude chunkedData enclosedExceptions exceptions hashable
liftedBase monoTraversable semigroups stm systemFilepath text time
diff --git a/pkgs/development/libraries/haskell/cmdargs/default.nix b/pkgs/development/libraries/haskell/cmdargs/default.nix
index d58885f8226d879462a2c6a56c1ff3ececfc7248..aa9dcb781c0488f293058bfa69085db7c9242102 100644
--- a/pkgs/development/libraries/haskell/cmdargs/default.nix
+++ b/pkgs/development/libraries/haskell/cmdargs/default.nix
@@ -4,8 +4,8 @@
cabal.mkDerivation (self: {
pname = "cmdargs";
- version = "0.10.7";
- sha256 = "0mhsj27vynilpmwxgdpb3r383rksrqs9ix15zl2xbhc95a815pfl";
+ version = "0.10.9";
+ sha256 = "12phn22iri2v65gbxzl580mikkj05rwx4sjn5c31f871wp0538my";
isLibrary = true;
isExecutable = true;
buildDepends = [ filepath transformers ];
diff --git a/pkgs/development/libraries/haskell/comonad/default.nix b/pkgs/development/libraries/haskell/comonad/default.nix
index da9908175443292471e14a1eaccf5cf07e5b959c..36a0db0b9ccdb7ecdf5a8ff65e24923e1971f3bb 100644
--- a/pkgs/development/libraries/haskell/comonad/default.nix
+++ b/pkgs/development/libraries/haskell/comonad/default.nix
@@ -1,15 +1,16 @@
# This file was auto-generated by cabal2nix. Please do NOT edit manually!
{ cabal, contravariant, distributive, doctest, filepath, semigroups
-, tagged, transformers
+, tagged, transformers, transformersCompat
}:
cabal.mkDerivation (self: {
pname = "comonad";
- version = "4.2";
- sha256 = "161dgmjfff85sj6yijzgzyb4dvnn1zsm3q5q96qwypynj0am5sr7";
+ version = "4.2.2";
+ sha256 = "022fcy0ijwsdnjb1b1jrwy2ypzzbzvfgj9ns0c74hrsj08gjh8j8";
buildDepends = [
contravariant distributive semigroups tagged transformers
+ transformersCompat
];
testDepends = [ doctest filepath ];
meta = {
diff --git a/pkgs/development/libraries/haskell/conduit-combinators/default.nix b/pkgs/development/libraries/haskell/conduit-combinators/default.nix
index c1396751f1086a4aef6beece077f2de53a286702..17598dda06bdb76ee8c03fb4f4aa3ceec670b8a1 100644
--- a/pkgs/development/libraries/haskell/conduit-combinators/default.nix
+++ b/pkgs/development/libraries/haskell/conduit-combinators/default.nix
@@ -8,8 +8,8 @@
cabal.mkDerivation (self: {
pname = "conduit-combinators";
- version = "0.2.6.1";
- sha256 = "01q585fwfl7qw5yr7ry1zfwm0lbmizyidifk9jzxdfxppbccfxfc";
+ version = "0.2.8.2";
+ sha256 = "1x2g333ygiv4jvwx4lw579kwx1z5m80cqfqgzv0pi5xdxcagy1ha";
buildDepends = [
base16Bytestring base64Bytestring chunkedData conduit conduitExtra
monadControl monoTraversable mwcRandom primitive resourcet
diff --git a/pkgs/development/libraries/haskell/conduit-extra/default.nix b/pkgs/development/libraries/haskell/conduit-extra/default.nix
index 5dc139d058f9515405f123988b4e312c85a064ba..87fc9f18e761bdffc6a15fb44ebda57f2781b110 100644
--- a/pkgs/development/libraries/haskell/conduit-extra/default.nix
+++ b/pkgs/development/libraries/haskell/conduit-extra/default.nix
@@ -7,8 +7,8 @@
cabal.mkDerivation (self: {
pname = "conduit-extra";
- version = "1.1.2";
- sha256 = "1hglg491vgy6hjggi7067rjly3dlnr3byf6xlc20narzr25sxfxi";
+ version = "1.1.3";
+ sha256 = "1gzvplaxplqia23g6l8z42w0z10y33yz594lxdk82g4i7swaagix";
buildDepends = [
attoparsec blazeBuilder conduit filepath monadControl network
primitive resourcet stm streamingCommons text transformers
diff --git a/pkgs/development/libraries/haskell/contravariant/default.nix b/pkgs/development/libraries/haskell/contravariant/default.nix
index b3c549ecef868a98b6077b42be0cfeb5e0dd0d7a..91a586e56b22f25674174f76f26475ed275c7911 100644
--- a/pkgs/development/libraries/haskell/contravariant/default.nix
+++ b/pkgs/development/libraries/haskell/contravariant/default.nix
@@ -1,12 +1,14 @@
# This file was auto-generated by cabal2nix. Please do NOT edit manually!
-{ cabal, tagged, transformers, transformersCompat }:
+{ cabal, semigroups, tagged, transformers, transformersCompat }:
cabal.mkDerivation (self: {
pname = "contravariant";
- version = "0.6";
- sha256 = "031kwn2hpw25p2q0bhfgby0ihxjbcyv6w0v0nsj2zygif9jkfrrh";
- buildDepends = [ tagged transformers transformersCompat ];
+ version = "1.1";
+ sha256 = "0j2q6gl9f8jgknjqr2qzzxkb4fl7m9n5zjavnzan2arlv4viznhh";
+ buildDepends = [
+ semigroups tagged transformers transformersCompat
+ ];
meta = {
homepage = "http://github.com/ekmett/contravariant/";
description = "Contravariant functors";
diff --git a/pkgs/development/libraries/haskell/dns/default.nix b/pkgs/development/libraries/haskell/dns/default.nix
index 8da6475cfb6c1c6667cd5c0fdd0b85e6db22465d..60a32ea092fd25b88ed6f80516946382bdea24e3 100644
--- a/pkgs/development/libraries/haskell/dns/default.nix
+++ b/pkgs/development/libraries/haskell/dns/default.nix
@@ -6,8 +6,8 @@
cabal.mkDerivation (self: {
pname = "dns";
- version = "1.4.0";
- sha256 = "1r004wpq0z98f6n3rqqlkqmb799sdldj5087icksi6rxxr3plrs9";
+ version = "1.4.1";
+ sha256 = "0q5ib797p0ay8lrlywaqyg736qh67mfdqwc53c1qhr5xrbcyvdir";
buildDepends = [
attoparsec binary blazeBuilder conduit conduitExtra iproute mtl
network random resourcet
diff --git a/pkgs/development/libraries/haskell/easy-file/default.nix b/pkgs/development/libraries/haskell/easy-file/default.nix
new file mode 100644
index 0000000000000000000000000000000000000000..8ba73d74efee2f1b9135b0846d64fd8dde3744a3
--- /dev/null
+++ b/pkgs/development/libraries/haskell/easy-file/default.nix
@@ -0,0 +1,16 @@
+# This file was auto-generated by cabal2nix. Please do NOT edit manually!
+
+{ cabal, filepath, time }:
+
+cabal.mkDerivation (self: {
+ pname = "easy-file";
+ version = "0.2.0";
+ sha256 = "0v8skixq15rvyiyky1dcrfl9jrzkbi75vai8np11xy2kg7a8ym2a";
+ buildDepends = [ filepath time ];
+ meta = {
+ homepage = "http://github.com/kazu-yamamoto/easy-file";
+ description = "Cross-platform File handling";
+ license = self.stdenv.lib.licenses.bsd3;
+ platforms = self.ghc.meta.platforms;
+ };
+})
diff --git a/pkgs/development/libraries/haskell/ekg-carbon/default.nix b/pkgs/development/libraries/haskell/ekg-carbon/default.nix
index 12c29f0d56e5858c6af90de1956e6082bfc95b8e..e69e6a5ae4a60585e04a1b9b32496f7929372b53 100644
--- a/pkgs/development/libraries/haskell/ekg-carbon/default.nix
+++ b/pkgs/development/libraries/haskell/ekg-carbon/default.nix
@@ -6,8 +6,8 @@
cabal.mkDerivation (self: {
pname = "ekg-carbon";
- version = "1.0.0";
- sha256 = "0zcnh74z0n0xxxr6r0j3kgpbfwli58y714k0mwwc2wxjgcv6xiyc";
+ version = "1.0.1";
+ sha256 = "1slaykn1a6f09dzn78v2aqw8snmidycvaw5cfyr4f0ndd88vi77d";
buildDepends = [
ekgCore network networkCarbon text time unorderedContainers vector
];
diff --git a/pkgs/development/libraries/haskell/engine-io-snap/default.nix b/pkgs/development/libraries/haskell/engine-io-snap/default.nix
index 07ccb6c71520955086650a838269be749403309d..996b8ace9829f410e1d07f89fe0738b85d0eb3c9 100644
--- a/pkgs/development/libraries/haskell/engine-io-snap/default.nix
+++ b/pkgs/development/libraries/haskell/engine-io-snap/default.nix
@@ -6,8 +6,8 @@
cabal.mkDerivation (self: {
pname = "engine-io-snap";
- version = "1.0.0";
- sha256 = "152hz2b9zbmjpp517g6kp7fs7kbvyil28dp6djqjlmp9fqkgckap";
+ version = "1.0.1";
+ sha256 = "1hw3gmi23fdcgvz817b95bf23wa7qyg10axsnvan5qxr73pwp5iv";
buildDepends = [
attoparsecEnumerator engineIo snapCore unorderedContainers
websockets websocketsSnap
diff --git a/pkgs/development/libraries/haskell/engine-io/default.nix b/pkgs/development/libraries/haskell/engine-io/default.nix
index d9a48cd80dd058a9a8d2757a8d7398f474633751..fd21d94cdf72287ffc9aadae3c4e8a84ea308ab1 100644
--- a/pkgs/development/libraries/haskell/engine-io/default.nix
+++ b/pkgs/development/libraries/haskell/engine-io/default.nix
@@ -7,8 +7,8 @@
cabal.mkDerivation (self: {
pname = "engine-io";
- version = "1.0.1";
- sha256 = "1wwh9p08dnjhixlli2wibqvwprz8cc5m0c4m17a4klcawr7kb3r6";
+ version = "1.1.0";
+ sha256 = "0l2jwgzi22ky13k9kmqhn15zyxyg5gr167rkywb458n1si4jr3jh";
buildDepends = [
aeson async attoparsec base64Bytestring either monadLoops mwcRandom
stm text transformers unorderedContainers vector websockets
diff --git a/pkgs/development/libraries/haskell/equivalence/default.nix b/pkgs/development/libraries/haskell/equivalence/0.2.3.nix
similarity index 100%
rename from pkgs/development/libraries/haskell/equivalence/default.nix
rename to pkgs/development/libraries/haskell/equivalence/0.2.3.nix
diff --git a/pkgs/development/libraries/haskell/equivalence/0.2.5.nix b/pkgs/development/libraries/haskell/equivalence/0.2.5.nix
new file mode 100644
index 0000000000000000000000000000000000000000..38de239b821b605887c365fcd4409a677e27cb3b
--- /dev/null
+++ b/pkgs/development/libraries/haskell/equivalence/0.2.5.nix
@@ -0,0 +1,22 @@
+# This file was auto-generated by cabal2nix. Please do NOT edit manually!
+
+{ cabal, mtl, QuickCheck, STMonadTrans, testFramework
+, testFrameworkQuickcheck2
+}:
+
+cabal.mkDerivation (self: {
+ pname = "equivalence";
+ version = "0.2.5";
+ sha256 = "014r9v81r7nj5pynfk3wa4lm4hk04123fgxkhb9a945wi6d9m5h3";
+ buildDepends = [ mtl STMonadTrans ];
+ testDepends = [
+ mtl QuickCheck STMonadTrans testFramework testFrameworkQuickcheck2
+ ];
+ doCheck = false;
+ meta = {
+ homepage = "https://bitbucket.org/paba/equivalence/";
+ description = "Maintaining an equivalence relation implemented as union-find using STT";
+ license = self.stdenv.lib.licenses.bsd3;
+ platforms = self.ghc.meta.platforms;
+ };
+})
diff --git a/pkgs/development/libraries/haskell/fay-base/default.nix b/pkgs/development/libraries/haskell/fay-base/default.nix
index 9dd38ecda4bef3a03c7b56b336774ed7ad747b15..78d099e3100a27dced8571cea9e80a461c35d968 100644
--- a/pkgs/development/libraries/haskell/fay-base/default.nix
+++ b/pkgs/development/libraries/haskell/fay-base/default.nix
@@ -4,8 +4,8 @@
cabal.mkDerivation (self: {
pname = "fay-base";
- version = "0.19.1.2";
- sha256 = "0y2gpyh0gama6mz0rfvqdgpf7wfwx7r8k0cdfh60kjcxr029dx5i";
+ version = "0.19.2";
+ sha256 = "08iv3097h877hxbmpmar1p526famm5pb1djq3qwla3bkqrzxgmf4";
buildDepends = [ fay ];
meta = {
homepage = "https://github.com/faylang/fay-base";
diff --git a/pkgs/development/libraries/haskell/filestore/default.nix b/pkgs/development/libraries/haskell/filestore/default.nix
index fd33af07ee374fafe6b93154acd0c4969afe40b8..9fa673fd2860ecfd79503dc5ca4155c108207c98 100644
--- a/pkgs/development/libraries/haskell/filestore/default.nix
+++ b/pkgs/development/libraries/haskell/filestore/default.nix
@@ -6,8 +6,8 @@
cabal.mkDerivation (self: {
pname = "filestore";
- version = "0.6.0.2";
- sha256 = "0dbn358gxg13lxlpqyczcn5g5kvzrz7lv17qsmr53hvmxz8mricr";
+ version = "0.6.0.3";
+ sha256 = "03qmv3cqp1fv7b7pdjdx12cb27bfjbwwjdhkcvkfq89qwk9wh1h0";
buildDepends = [ Diff filepath parsec split time utf8String xml ];
testDepends = [ Diff filepath HUnit mtl time ];
jailbreak = true;
diff --git a/pkgs/development/libraries/haskell/focus/default.nix b/pkgs/development/libraries/haskell/focus/default.nix
index a2575734b4daba09d4969f9ee32abe89abd3d7a4..480d974e2b886d9aa8c4c1e8fb4b903176e37607 100644
--- a/pkgs/development/libraries/haskell/focus/default.nix
+++ b/pkgs/development/libraries/haskell/focus/default.nix
@@ -4,8 +4,8 @@
cabal.mkDerivation (self: {
pname = "focus";
- version = "0.1.1";
- sha256 = "0x158zqxgm8ys4mxs94zl811qfdcb06jqy5h99qc63r7snwnixmd";
+ version = "0.1.2";
+ sha256 = "0j157nv668621i94iqg923bfg7594bpfn0q9scb62cik2yikc1p0";
buildDepends = [ lochTh placeholders ];
meta = {
homepage = "https://github.com/nikita-volkov/focus";
diff --git a/pkgs/development/libraries/haskell/folds/default.nix b/pkgs/development/libraries/haskell/folds/default.nix
index 41a834dbd8454317cd132c0f935dccc4ee964b48..7e3fb5a2dc602832d660f8465d950cafbb00ab26 100644
--- a/pkgs/development/libraries/haskell/folds/default.nix
+++ b/pkgs/development/libraries/haskell/folds/default.nix
@@ -7,8 +7,8 @@
cabal.mkDerivation (self: {
pname = "folds";
- version = "0.6.1";
- sha256 = "13p4kyr48g917ib87n14qpqaka6isp73cwy7mvvsqgprj1fghyj1";
+ version = "0.6.2";
+ sha256 = "13zdmf7szdy9ka5dw0vgzbfmndm7w8fz7ryz5h2z5hsqg9am2qqa";
buildDepends = [
comonad contravariant lens pointed profunctors reflection
semigroupoids tagged transformers vector
diff --git a/pkgs/development/libraries/haskell/free-game/1.0.5.nix b/pkgs/development/libraries/haskell/free-game/1.0.5.nix
deleted file mode 100644
index 16ee51d139fc7e0ab153187eda9d9f9346e8cf0a..0000000000000000000000000000000000000000
--- a/pkgs/development/libraries/haskell/free-game/1.0.5.nix
+++ /dev/null
@@ -1,25 +0,0 @@
-# This file was auto-generated by cabal2nix. Please do NOT edit manually!
-
-{ cabal, boundingboxes, colors, controlBool, filepath, free
-, freetype2, GLFWB, hashable, JuicyPixels, JuicyPixelsUtil, lens
-, linear, mtl, OpenGL, OpenGLRaw, random, reflection, transformers
-, vector, void
-}:
-
-cabal.mkDerivation (self: {
- pname = "free-game";
- version = "1.0.5";
- sha256 = "048hmb4zbn67ycdwy7alhfakdyv405ck79bzrxv2ra6w1v5b3yvf";
- buildDepends = [
- boundingboxes colors controlBool filepath free freetype2 GLFWB
- hashable JuicyPixels JuicyPixelsUtil lens linear mtl OpenGL
- OpenGLRaw random reflection transformers vector void
- ];
- jailbreak = true;
- meta = {
- homepage = "https://github.com/fumieval/free-game";
- description = "Create games for free";
- license = self.stdenv.lib.licenses.bsd3;
- platforms = self.ghc.meta.platforms;
- };
-})
diff --git a/pkgs/development/libraries/haskell/free-game/1.1.nix b/pkgs/development/libraries/haskell/free-game/default.nix
similarity index 90%
rename from pkgs/development/libraries/haskell/free-game/1.1.nix
rename to pkgs/development/libraries/haskell/free-game/default.nix
index 76139aa7e5d4ccd317049ce8be7bd1cfb2ebc955..d2a0f33892fdc2d80f34619d2da9689b59f019c2 100644
--- a/pkgs/development/libraries/haskell/free-game/1.1.nix
+++ b/pkgs/development/libraries/haskell/free-game/default.nix
@@ -8,8 +8,8 @@
cabal.mkDerivation (self: {
pname = "free-game";
- version = "1.1";
- sha256 = "0id3vn2j44gd8krl5icacwxgx00h6r89yncjg10nyyb90rymvxzz";
+ version = "1.1.78";
+ sha256 = "11f3ib4nx0madbx58gscaqwc1k5mxw70klrq7z7lac9w61phkws6";
buildDepends = [
boundingboxes colors controlBool filepath free freetype2 GLFWB
hashable JuicyPixels JuicyPixelsUtil lens linear mtl OpenGL
diff --git a/pkgs/development/libraries/haskell/gdiff/default.nix b/pkgs/development/libraries/haskell/gdiff/default.nix
index 3d34f388fb31442e6db414864f5fef6b6536feaf..1b94961e4eed734424782badaae318fce40b74cf 100644
--- a/pkgs/development/libraries/haskell/gdiff/default.nix
+++ b/pkgs/development/libraries/haskell/gdiff/default.nix
@@ -4,9 +4,10 @@
cabal.mkDerivation (self: {
pname = "gdiff";
- version = "1.0";
- sha256 = "35257b1090cf78f95d24c7a89920863c1d824652311fa5793693d7d06d96517b";
+ version = "1.1";
+ sha256 = "1d0d8f8bfw7ld6a1d5y6syzdha5qsm909mqzd5gfqcbi2wnh8aqc";
meta = {
+ homepage = "https://github.com/eelco/gdiff";
description = "Generic diff and patch";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
diff --git a/pkgs/development/libraries/haskell/generic-aeson/default.nix b/pkgs/development/libraries/haskell/generic-aeson/default.nix
index 209cbb7a52e34317d39a0e7d657737259f45c24c..9c18b511efc027afb7bb37da66d48230748af1de 100644
--- a/pkgs/development/libraries/haskell/generic-aeson/default.nix
+++ b/pkgs/development/libraries/haskell/generic-aeson/default.nix
@@ -1,17 +1,16 @@
# This file was auto-generated by cabal2nix. Please do NOT edit manually!
-{ cabal, aeson, attoparsec, genericDeriving, HUnit, mtl, tagged
-, text, vector
+{ cabal, aeson, attoparsec, genericDeriving, mtl, tagged, text
+, vector
}:
cabal.mkDerivation (self: {
pname = "generic-aeson";
- version = "0.1.0.3";
- sha256 = "1svbjgd8g1ljximqb4pph9lvsswgvkj46jkqq8lzmh9ql385g2vp";
+ version = "0.1.1.1";
+ sha256 = "14jpma2p4dxmzpwd557igbg7xhgdzp9w9fm6dxa06sgfqxvb7ln1";
buildDepends = [
aeson attoparsec genericDeriving mtl tagged text vector
];
- testDepends = [ aeson attoparsec HUnit ];
meta = {
description = "Derivation of Aeson instances using GHC generics";
license = self.stdenv.lib.licenses.bsd3;
diff --git a/pkgs/development/libraries/haskell/ghc-mod/default.nix b/pkgs/development/libraries/haskell/ghc-mod/default.nix
index b5ed78d7212fb68a695201151dfd96ff0a6d0858..3fd12bcfc5599894a45fc03a0aefc790b3638cd9 100644
--- a/pkgs/development/libraries/haskell/ghc-mod/default.nix
+++ b/pkgs/development/libraries/haskell/ghc-mod/default.nix
@@ -23,6 +23,7 @@ cabal.mkDerivation (self: {
configureFlags = "--datasubdir=${self.pname}-${self.version}";
postInstall = ''
cd $out/share/$pname-$version
+ sed -i -e 's/"-b" "\\n" "-l"/"-l" "-b" "\\"\\\\n\\""/' ghc-process.el
make
rm Makefile
cd ..
diff --git a/pkgs/development/libraries/haskell/hackage-db/default.nix b/pkgs/development/libraries/haskell/hackage-db/default.nix
index 3164d2138705367ad55264ba2a9e6f56ac45bbe0..e09e455d560cdd1fb4a9d44ee12dd17c9c396fd1 100644
--- a/pkgs/development/libraries/haskell/hackage-db/default.nix
+++ b/pkgs/development/libraries/haskell/hackage-db/default.nix
@@ -4,8 +4,8 @@
cabal.mkDerivation (self: {
pname = "hackage-db";
- version = "1.7";
- sha256 = "0mf22xxbcbjb7l4jahknp6s7lsfn43ib7z9m2jsg9py92vkacfp1";
+ version = "1.8";
+ sha256 = "0iav085xq4d6k9z0x7jlnw3r3wwnzbr7ygbaqnblj6mcpnps9r3q";
buildDepends = [ Cabal filepath tar utf8String ];
meta = {
homepage = "http://github.com/peti/hackage-db";
diff --git a/pkgs/development/libraries/haskell/haskell-token-utils/default.nix b/pkgs/development/libraries/haskell/haskell-token-utils/default.nix
index 27e9eae783f335357aff071063e750b8493defc2..2abbc8f324d52d28a6e9b5a3d7efbfb4cdf0695c 100644
--- a/pkgs/development/libraries/haskell/haskell-token-utils/default.nix
+++ b/pkgs/development/libraries/haskell/haskell-token-utils/default.nix
@@ -2,20 +2,21 @@
{ cabal, Diff, dualTree, ghcMod, ghcPaths, ghcSybUtils
, haskellSrcExts, hspec, HUnit, monoidExtras, mtl, QuickCheck
-, rosezipper, semigroups, syb
+, rosezipper, semigroups, syb, uniplate
}:
cabal.mkDerivation (self: {
pname = "haskell-token-utils";
- version = "0.0.0.3";
- sha256 = "1qfb0gzi8mvraflk7l8wckkaa2gfdq5wqk7ax3v4i4f1mrd7zr4f";
+ version = "0.0.0.5";
+ sha256 = "01kyghzbs8w8ds0aczcdg2ib5b919r5vxgwg8iifbf220vlhd8mn";
buildDepends = [
- dualTree ghcSybUtils haskellSrcExts monoidExtras mtl rosezipper
- semigroups syb
+ dualTree ghcPaths ghcSybUtils haskellSrcExts monoidExtras mtl
+ rosezipper semigroups syb
];
testDepends = [
Diff dualTree ghcMod ghcPaths ghcSybUtils haskellSrcExts hspec
HUnit monoidExtras mtl QuickCheck rosezipper semigroups syb
+ uniplate
];
meta = {
homepage = "https://github.com/alanz/haskell-token-utils";
diff --git a/pkgs/development/libraries/haskell/haste-perch/default.nix b/pkgs/development/libraries/haskell/haste-perch/default.nix
deleted file mode 100644
index e9135d9432080cf87a5364ab6043fac334ae8fd9..0000000000000000000000000000000000000000
--- a/pkgs/development/libraries/haskell/haste-perch/default.nix
+++ /dev/null
@@ -1,17 +0,0 @@
-# This file was auto-generated by cabal2nix. Please do NOT edit manually!
-
-{ cabal, hasteCompiler, mtl }:
-
-cabal.mkDerivation (self: {
- pname = "haste-perch";
- version = "0.1.0.0";
- sha256 = "0g2ijb0mzqs2iq4i47biaxbsg4v15w9ky6yyz6wmngwf06rg4iwj";
- buildDepends = [ hasteCompiler mtl ];
- jailbreak = true;
- meta = {
- homepage = "https://github.com/agocorona/haste-perch";
- description = "Create dynamic HTML in the browser using blaze-html-style notation with Haste";
- license = self.stdenv.lib.licenses.bsd3;
- platforms = self.ghc.meta.platforms;
- };
-})
diff --git a/pkgs/development/libraries/haskell/hcltest/default.nix b/pkgs/development/libraries/haskell/hcltest/default.nix
index 62db765ac1638754c2713224005066ddbb96f564..bc2c01268bbe960b15e66611a4a6a63d5600d19c 100644
--- a/pkgs/development/libraries/haskell/hcltest/default.nix
+++ b/pkgs/development/libraries/haskell/hcltest/default.nix
@@ -7,8 +7,8 @@
cabal.mkDerivation (self: {
pname = "hcltest";
- version = "0.3.2";
- sha256 = "0q5b0v2gh0b3a15hg25bqj7scbckrkka2ckk49g2mrdz2gpr28bq";
+ version = "0.3.3";
+ sha256 = "191fpvcr5hg902akcvq9wcsy801drqwrl7xqk0bqy003ffrv4228";
buildDepends = [
dlist either filepath free lens mmorph monadControl mtl
optparseApplicative randomShuffle split stm tagged tasty temporary
diff --git a/pkgs/development/libraries/haskell/hflags/default.nix b/pkgs/development/libraries/haskell/hflags/default.nix
index c48130c555cdf253bb84b1523282d0ca02447004..019815fd57c189f7a99323d6c6a2b7f080f3d6e6 100644
--- a/pkgs/development/libraries/haskell/hflags/default.nix
+++ b/pkgs/development/libraries/haskell/hflags/default.nix
@@ -10,7 +10,7 @@ cabal.mkDerivation (self: {
meta = {
homepage = "http://github.com/errge/hflags";
description = "Command line flag parser, very similar to Google's gflags";
- license = "Apache-2.0";
+ license = "unknown";
platforms = self.ghc.meta.platforms;
};
})
diff --git a/pkgs/development/libraries/haskell/highlighting-kate/default.nix b/pkgs/development/libraries/haskell/highlighting-kate/default.nix
index 531273e5a135773266cf806f9a32a5926a5fb2c6..5eeedef33cc26135463567dac839d248fe159023 100644
--- a/pkgs/development/libraries/haskell/highlighting-kate/default.nix
+++ b/pkgs/development/libraries/haskell/highlighting-kate/default.nix
@@ -4,8 +4,8 @@
cabal.mkDerivation (self: {
pname = "highlighting-kate";
- version = "0.5.8.4";
- sha256 = "018j5z4cl9iv5m9wzjykh2gcn5d4fi7vahj76jv0ah101g6fqvrh";
+ version = "0.5.8.5";
+ sha256 = "0xynbxffjp44189zzqx30wabbrj83mvjl3mj1i5lag1h945yp1nk";
isLibrary = true;
isExecutable = true;
buildDepends = [
diff --git a/pkgs/development/libraries/haskell/hp2any-graph/default.nix b/pkgs/development/libraries/haskell/hp2any-graph/default.nix
index e6607c4e0afd57e79090118a2b205ecb9edfe3d0..6d0d61a01fea0835b54ece4f23e058fa704daba5 100644
--- a/pkgs/development/libraries/haskell/hp2any-graph/default.nix
+++ b/pkgs/development/libraries/haskell/hp2any-graph/default.nix
@@ -6,8 +6,8 @@
cabal.mkDerivation (self: {
pname = "hp2any-graph";
- version = "0.5.4.1";
- sha256 = "0cvli36lbipi29fw45mfpv35dn7ndbkxhpd3wjy9xn9gy8g0r9xx";
+ version = "0.5.4.2";
+ sha256 = "1yj1miqn265pxq2dfhx87s20vjnnxmsl3d9xdy88cbzglpx2v9il";
isLibrary = true;
isExecutable = true;
buildDepends = [
diff --git a/pkgs/development/libraries/haskell/hslua/default.nix b/pkgs/development/libraries/haskell/hslua/default.nix
index 980de57605d6dcd18ba8f2b3efaba79e0a8c3645..e76ff36aab5d634e7fc49a5a3dd19ee7a4a38d4f 100644
--- a/pkgs/development/libraries/haskell/hslua/default.nix
+++ b/pkgs/development/libraries/haskell/hslua/default.nix
@@ -4,8 +4,8 @@
cabal.mkDerivation (self: {
pname = "hslua";
- version = "0.3.12";
- sha256 = "1cn6qxhvh8bxr9fisr4m4mqk6qwj69as63fkpf77a1xhmk31qlrf";
+ version = "0.3.13";
+ sha256 = "02j3hrzq3dgcv4bvf4xz14qxvzlb0vlxrf7lk9wqwdy43b978mz9";
buildDepends = [ mtl ];
pkgconfigDepends = [ lua ];
configureFlags = "-fsystem-lua";
diff --git a/pkgs/development/libraries/haskell/hspec-expectations/default.nix b/pkgs/development/libraries/haskell/hspec-expectations/default.nix
index 313d1a01f022a23ecb7211edb81e3d6c98a610fb..7706fbca50ff26562a1fbe7ba3e8776bebd206c3 100644
--- a/pkgs/development/libraries/haskell/hspec-expectations/default.nix
+++ b/pkgs/development/libraries/haskell/hspec-expectations/default.nix
@@ -4,8 +4,8 @@
cabal.mkDerivation (self: {
pname = "hspec-expectations";
- version = "0.6.0";
- sha256 = "01l9mnny5pgaqqswv1hyq1v77yd4vx9bfyz6662iypc0fz78519i";
+ version = "0.6.0.1";
+ sha256 = "16013x7v6zly4h1spzarrlzskbjb19bljsj98fn8k21mzb82f7wl";
buildDepends = [ HUnit ];
testDepends = [ hspec HUnit markdownUnlit silently ];
doCheck = false;
diff --git a/pkgs/development/libraries/haskell/hspec-meta/default.nix b/pkgs/development/libraries/haskell/hspec-meta/default.nix
index e8f65395fa3c01d00f744da2eb2d41a21c1b2a93..f361d2cf8659bb395db2df6723ba7538e18bd0cc 100644
--- a/pkgs/development/libraries/haskell/hspec-meta/default.nix
+++ b/pkgs/development/libraries/haskell/hspec-meta/default.nix
@@ -7,8 +7,8 @@
cabal.mkDerivation (self: {
pname = "hspec-meta";
- version = "1.10.0";
- sha256 = "1x32wgrd1i6rs6790dbr51j9g6abjpcf951cx3nmm4zdcwblyi6a";
+ version = "1.11.0";
+ sha256 = "1gsczyzxavd3abrq5p0qdxb92z6v3jhicqa40ihgfy89x3pp6bw8";
isLibrary = true;
isExecutable = true;
buildDepends = [
diff --git a/pkgs/development/libraries/haskell/hspec/default.nix b/pkgs/development/libraries/haskell/hspec/default.nix
index c665bf2f2728c57f985417f7d31f5b7925d5cb1c..e332e5279ef5bcf3e0e058a1086587df4d053fd0 100644
--- a/pkgs/development/libraries/haskell/hspec/default.nix
+++ b/pkgs/development/libraries/haskell/hspec/default.nix
@@ -7,8 +7,8 @@
cabal.mkDerivation (self: {
pname = "hspec";
- version = "1.10.0.1";
- sha256 = "1i0pl67jplvqh370x6mzdb86a653k1a1l8bjac60izr8d22n35rl";
+ version = "1.11.0";
+ sha256 = "1hkflasm7w9z0b1c1mq3rl5pq05np27sz3p2s61bick371qi9zsf";
isLibrary = true;
isExecutable = true;
buildDepends = [
diff --git a/pkgs/development/libraries/haskell/hspec2/default.nix b/pkgs/development/libraries/haskell/hspec2/default.nix
index cc59a0b35752095aca7aa2c13eead08eab28feff..9fa76dc9b4f01eaad571c818312aa2ea0cb696b1 100644
--- a/pkgs/development/libraries/haskell/hspec2/default.nix
+++ b/pkgs/development/libraries/haskell/hspec2/default.nix
@@ -7,8 +7,8 @@
cabal.mkDerivation (self: {
pname = "hspec2";
- version = "0.3.4";
- sha256 = "0vs5y1cqprixmmjdk3sdrig9gr1k63nvn4c91b3z66jj39rdxl21";
+ version = "0.4.0";
+ sha256 = "0x5y77qa33gx1shqhzdkdp0732lpkihvp5wh4826scg229haj5v5";
isLibrary = true;
isExecutable = true;
buildDepends = [
diff --git a/pkgs/development/libraries/haskell/http-client/default.nix b/pkgs/development/libraries/haskell/http-client/default.nix
index d5201761583671a60e0ed303bd3547a1e6f6cd2d..acd93b29e18cbbe4de00321ca30c345bf4d54d0e 100644
--- a/pkgs/development/libraries/haskell/http-client/default.nix
+++ b/pkgs/development/libraries/haskell/http-client/default.nix
@@ -8,8 +8,8 @@
cabal.mkDerivation (self: {
pname = "http-client";
- version = "0.3.5";
- sha256 = "0ffr4xccm2yp5ikiz5dzzjm82vz7gab56l80ra9criry9qirmwqh";
+ version = "0.3.6";
+ sha256 = "0zav8arj6swhrzfyxf6py2yfpphjd0bllz7rm1540vb5lrhg4znm";
buildDepends = [
base64Bytestring blazeBuilder caseInsensitive cookie
dataDefaultClass deepseq exceptions filepath httpTypes mimeTypes
diff --git a/pkgs/development/libraries/haskell/http-conduit/default.nix b/pkgs/development/libraries/haskell/http-conduit/default.nix
index 8d8c3af809324a301f24f151cd4c77ed51f4c898..bd8be746b04a3ca6745f00ea2186514f63db94ae 100644
--- a/pkgs/development/libraries/haskell/http-conduit/default.nix
+++ b/pkgs/development/libraries/haskell/http-conduit/default.nix
@@ -9,8 +9,8 @@
cabal.mkDerivation (self: {
pname = "http-conduit";
- version = "2.1.3";
- sha256 = "1z9i0b9kl1kqh3nvbhh5vmqyg19pkdpj4cbkfhj0r47rbcynhwlb";
+ version = "2.1.4";
+ sha256 = "14xfd25y7r2lhg7dx9hfniihgyzhkz4c6642k5pr27fqjjlr6ijb";
buildDepends = [
conduit httpClient httpClientTls httpTypes liftedBase monadControl
mtl resourcet transformers
diff --git a/pkgs/development/libraries/haskell/jack/default.nix b/pkgs/development/libraries/haskell/jack/default.nix
index acb4b0b7e570feac5950b1b939dad510de706b83..2e6b6ee1aa3a66d17ca84e34f008d7284a044580 100644
--- a/pkgs/development/libraries/haskell/jack/default.nix
+++ b/pkgs/development/libraries/haskell/jack/default.nix
@@ -1,6 +1,6 @@
# This file was auto-generated by cabal2nix. Please do NOT edit manually!
-{ cabal, enumset, eventList, explicitException, jackaudio, midi
+{ cabal, enumset, eventList, explicitException, jack2, midi
, nonNegative, transformers
}:
@@ -13,7 +13,7 @@ cabal.mkDerivation (self: {
buildDepends = [
enumset eventList explicitException midi nonNegative transformers
];
- pkgconfigDepends = [ jackaudio ];
+ pkgconfigDepends = [ jack2 ];
meta = {
homepage = "http://www.haskell.org/haskellwiki/JACK";
description = "Bindings for the JACK Audio Connection Kit";
diff --git a/pkgs/development/libraries/haskell/json-schema/default.nix b/pkgs/development/libraries/haskell/json-schema/default.nix
index 52789acf41ca0c262c93811052807af51c595e2b..4eb4076467300691924c7d0d2693622aa9c15322 100644
--- a/pkgs/development/libraries/haskell/json-schema/default.nix
+++ b/pkgs/development/libraries/haskell/json-schema/default.nix
@@ -7,8 +7,8 @@
cabal.mkDerivation (self: {
pname = "json-schema";
- version = "0.6";
- sha256 = "1rlx6r4ybbgz8q159mxh0hp3l0cc8q4nc1g7yd1ii1z4p9wjmnny";
+ version = "0.6.1.1";
+ sha256 = "0hn1v2idra9sx1x5mr511h4qcvnhy7b80fgn58w9856w9cl7d34b";
buildDepends = [
aeson genericAeson genericDeriving tagged text time
unorderedContainers vector
diff --git a/pkgs/development/libraries/haskell/kan-extensions/default.nix b/pkgs/development/libraries/haskell/kan-extensions/default.nix
index 5f9aadd696979b9e14590ce289a9cdd1b5f691d5..c0ffaed799d3ff3749e7090d15997048ce542687 100644
--- a/pkgs/development/libraries/haskell/kan-extensions/default.nix
+++ b/pkgs/development/libraries/haskell/kan-extensions/default.nix
@@ -1,16 +1,16 @@
# This file was auto-generated by cabal2nix. Please do NOT edit manually!
{ cabal, adjunctions, comonad, contravariant, distributive, free
-, mtl, pointed, semigroupoids, speculation, transformers
+, mtl, pointed, semigroupoids, transformers
}:
cabal.mkDerivation (self: {
pname = "kan-extensions";
- version = "4.0.3";
- sha256 = "05zqlxm6i66d996jcpjhnmij28a4zwc0l0nc9cyxamfwmyd9754b";
+ version = "4.1";
+ sha256 = "1dg9q6rahgvsnsnd76r6a3harrllq3pzz9250cakgqip4n02dji1";
buildDepends = [
adjunctions comonad contravariant distributive free mtl pointed
- semigroupoids speculation transformers
+ semigroupoids transformers
];
meta = {
homepage = "http://github.com/ekmett/kan-extensions/";
diff --git a/pkgs/development/libraries/haskell/lens/default.nix b/pkgs/development/libraries/haskell/lens/default.nix
index 9b769d41ab524fccd4b97b9ad414409069da94f1..655525e4d598d43967893ebe9eadc4b2309125ba 100644
--- a/pkgs/development/libraries/haskell/lens/default.nix
+++ b/pkgs/development/libraries/haskell/lens/default.nix
@@ -12,8 +12,8 @@
cabal.mkDerivation (self: {
pname = "lens";
- version = "4.3";
- sha256 = "0wvsf0vkqjmmgl3p5lxbypn4p126l927ip7l2iisqzwyk87zfqqy";
+ version = "4.3.3";
+ sha256 = "0k7qslnh15xnrj86wwsp0mvz6g363ma4g0dxkmvvg4sa1bxljr1f";
buildDepends = [
aeson attoparsec bifunctors comonad contravariant distributive
exceptions filepath free hashable mtl parallel primitive
diff --git a/pkgs/development/libraries/haskell/liblastfm/default.nix b/pkgs/development/libraries/haskell/liblastfm/default.nix
index ea4febaf1d1afaaf657326e42ce16eeaf99c32fc..8ea830d0c392be10149ff4c7b7a814a6cc9acb02 100644
--- a/pkgs/development/libraries/haskell/liblastfm/default.nix
+++ b/pkgs/development/libraries/haskell/liblastfm/default.nix
@@ -1,16 +1,23 @@
# This file was auto-generated by cabal2nix. Please do NOT edit manually!
-{ cabal, aeson, cereal, contravariant, cryptoApi, httpConduit
-, httpTypes, network, pureMD5, semigroups, tagged, text, void
+{ cabal, aeson, cereal, contravariant, cryptoApi, hspec
+, hspecExpectationsLens, httpClient, httpClientTls, HUnit, lens
+, network, profunctors, pureMD5, semigroups, text, void, xmlConduit
+, xmlHtmlConduitLens
}:
cabal.mkDerivation (self: {
pname = "liblastfm";
- version = "0.3.2.0";
- sha256 = "09xsjkwknfvdd3zb7a1qbch45ri6knkn33wl6xbi48sw5i79lxnv";
+ version = "0.4.0.0";
+ sha256 = "0dr1nvb7sxlp1fihvnwz9lyfmaynbj39npah2ndvlgnzz670j0z9";
buildDepends = [
- aeson cereal contravariant cryptoApi httpConduit httpTypes network
- pureMD5 semigroups tagged text void
+ aeson cereal contravariant cryptoApi httpClient httpClientTls
+ network profunctors pureMD5 semigroups text void xmlConduit
+ ];
+ testDepends = [
+ aeson cereal contravariant cryptoApi hspec hspecExpectationsLens
+ httpClient httpClientTls HUnit lens network profunctors pureMD5
+ text void xmlConduit xmlHtmlConduitLens
];
meta = {
description = "Lastfm API interface";
diff --git a/pkgs/development/libraries/haskell/lifted-async/default.nix b/pkgs/development/libraries/haskell/lifted-async/default.nix
index f5b6f711ab837ea696d670c2b23b1994e2f676db..04c589b547925826ca3574fd8167c2febd3c4640 100644
--- a/pkgs/development/libraries/haskell/lifted-async/default.nix
+++ b/pkgs/development/libraries/haskell/lifted-async/default.nix
@@ -6,8 +6,8 @@
cabal.mkDerivation (self: {
pname = "lifted-async";
- version = "0.2.0";
- sha256 = "1s8gz630v9xag0d5pjjwvfff87wvyy1w86ah7mvnylkarbdsac6l";
+ version = "0.2.0.1";
+ sha256 = "1x3qdgy0jkqx71xndjh769lw3wrwq63k2kc33pxn6x11yyklcf1j";
buildDepends = [ async liftedBase monadControl transformersBase ];
testDepends = [
async HUnit liftedBase monadControl mtl tasty tastyHunit tastyTh
diff --git a/pkgs/development/libraries/haskell/mongoDB/default.nix b/pkgs/development/libraries/haskell/mongoDB/default.nix
index 73d8f5ccf94c83bbca301de18fcfb88cc8115670..9fd2a441e3655d05e2172f6a7bcb682e5ee8c285 100644
--- a/pkgs/development/libraries/haskell/mongoDB/default.nix
+++ b/pkgs/development/libraries/haskell/mongoDB/default.nix
@@ -7,14 +7,14 @@
cabal.mkDerivation (self: {
pname = "mongoDB";
- version = "2.0";
- sha256 = "1dspx1x20903i44i825ziwmvaax75m8g08kz97cv34077bdir80h";
+ version = "2.0.3";
+ sha256 = "1blqd30mw9fl861f07zn7az4psl9byjjbd986884p6rx07m28abk";
buildDepends = [
binary bson cryptohash hashtables liftedBase monadControl mtl
network parsec random randomShuffle text transformersBase
];
meta = {
- homepage = "http://github.com/selectel/mongodb-haskell";
+ homepage = "https://github.com/mongodb-haskell/mongodb";
description = "Driver (client) for MongoDB, a free, scalable, fast, document DBMS";
license = "unknown";
platforms = self.ghc.meta.platforms;
diff --git a/pkgs/development/libraries/haskell/mono-traversable/default.nix b/pkgs/development/libraries/haskell/mono-traversable/default.nix
index 73685698f5e62e359d7e9c4b1ac37c3379f88338..dfc34cc2a6a6dcfc33d88f8f9c2f9526a19a9a10 100644
--- a/pkgs/development/libraries/haskell/mono-traversable/default.nix
+++ b/pkgs/development/libraries/haskell/mono-traversable/default.nix
@@ -7,8 +7,8 @@
cabal.mkDerivation (self: {
pname = "mono-traversable";
- version = "0.6.0.4";
- sha256 = "1svqxc96n2andxcgrv8s29hkq6nw1qigv5p0dw9vx2ynk68pfhww";
+ version = "0.6.1";
+ sha256 = "066yfffjkd0r6hg3y3zrs13jmyfgpl8ba9yvsbyawimvff7mfk5f";
buildDepends = [
comonad dlist dlistInstances hashable semigroupoids semigroups text
transformers unorderedContainers vector vectorAlgorithms
diff --git a/pkgs/development/libraries/haskell/network-carbon/default.nix b/pkgs/development/libraries/haskell/network-carbon/default.nix
index d5a4c64cff8aed662993221a3b957386f9ac0f08..c9bbe2b0daf8b4a15b8aeff81c814c6d16e5b1c8 100644
--- a/pkgs/development/libraries/haskell/network-carbon/default.nix
+++ b/pkgs/development/libraries/haskell/network-carbon/default.nix
@@ -4,8 +4,8 @@
cabal.mkDerivation (self: {
pname = "network-carbon";
- version = "1.0.0";
- sha256 = "13mbwbcas7g8dyvlcbbl20ryzjvz0grmlbhb5kf1gs957kmn1z52";
+ version = "1.0.1";
+ sha256 = "1q3b7vw80yw6fkmpwgazy8ikhbwjmmqmm4fry8c9f8ckkpzahj2b";
buildDepends = [ network text time vector ];
meta = {
homepage = "http://github.com/ocharles/network-carbon";
diff --git a/pkgs/development/libraries/haskell/network-simple/default.nix b/pkgs/development/libraries/haskell/network-simple/default.nix
index 6795da96450beef4f4b22e5996b9128249d337d6..b838e93f7a319daf7242ff24ccd9f7885eea3c70 100644
--- a/pkgs/development/libraries/haskell/network-simple/default.nix
+++ b/pkgs/development/libraries/haskell/network-simple/default.nix
@@ -4,8 +4,8 @@
cabal.mkDerivation (self: {
pname = "network-simple";
- version = "0.4";
- sha256 = "1jw0xd53c0mydh6jm6627c0d8w014r1s46fycdhavnimh7bb77cp";
+ version = "0.4.0.1";
+ sha256 = "113vaxgsfny9iv6hnbywk97qr1y6qkap49p803anakamss4bdmyj";
buildDepends = [ exceptions network transformers ];
jailbreak = true;
meta = {
diff --git a/pkgs/development/libraries/haskell/optparse-applicative/default.nix b/pkgs/development/libraries/haskell/optparse-applicative/default.nix
index 191efd723f79e928eaaff66b00350aa4b66a3e65..82bc0fa8a9ee02b3232a65851daed96abc3ed48b 100644
--- a/pkgs/development/libraries/haskell/optparse-applicative/default.nix
+++ b/pkgs/development/libraries/haskell/optparse-applicative/default.nix
@@ -7,8 +7,8 @@
cabal.mkDerivation (self: {
pname = "optparse-applicative";
- version = "0.9.0";
- sha256 = "1nmwrg74wz8k3zwgw5aaf7padkawi0dlrclq6nsr17xz5yx524ay";
+ version = "0.9.1.1";
+ sha256 = "1fy8839y9dg2a5pj7abjiqkm3qcz8faip32q3x1zi5mrz4v3q2g6";
buildDepends = [ ansiWlPprint transformers transformersCompat ];
testDepends = [
HUnit QuickCheck testFramework testFrameworkHunit
diff --git a/pkgs/development/libraries/haskell/pandoc-types/default.nix b/pkgs/development/libraries/haskell/pandoc-types/default.nix
index 7ca48e390bacf778819e12aad1bbc2973d05a1c7..ee44d908c49809d9c7bff4c1bd1847e37be650d9 100644
--- a/pkgs/development/libraries/haskell/pandoc-types/default.nix
+++ b/pkgs/development/libraries/haskell/pandoc-types/default.nix
@@ -1,12 +1,12 @@
# This file was auto-generated by cabal2nix. Please do NOT edit manually!
-{ cabal, aeson, syb }:
+{ cabal, aeson, deepseqGenerics, syb }:
cabal.mkDerivation (self: {
pname = "pandoc-types";
- version = "1.12.3.3";
- sha256 = "1rw641w8xdisnbni5glxqxgfjps6p8vpnvprd4zgsjqn71397pdk";
- buildDepends = [ aeson syb ];
+ version = "1.12.4";
+ sha256 = "10vlw8iabaay0xqlshagl45ksawlanlg6fyqwv9d448qm32ngvdn";
+ buildDepends = [ aeson deepseqGenerics syb ];
meta = {
homepage = "http://johnmacfarlane.net/pandoc";
description = "Types for representing a structured document";
diff --git a/pkgs/development/libraries/haskell/parsers/0.11.0.3.nix b/pkgs/development/libraries/haskell/parsers/0.11.0.3.nix
deleted file mode 100644
index 42f51f00659cc8b03a5aeeda5dd490006aadd70c..0000000000000000000000000000000000000000
--- a/pkgs/development/libraries/haskell/parsers/0.11.0.3.nix
+++ /dev/null
@@ -1,21 +0,0 @@
-# This file was auto-generated by cabal2nix. Please do NOT edit manually!
-
-{ cabal, attoparsec, charset, doctest, filepath, parsec, text
-, transformers, unorderedContainers
-}:
-
-cabal.mkDerivation (self: {
- pname = "parsers";
- version = "0.11.0.3";
- sha256 = "0cwjzk76i7isg7h1xl9iv6x87vfw3x2x5jaacx85g8v45lv7g88s";
- buildDepends = [
- attoparsec charset parsec text transformers unorderedContainers
- ];
- testDepends = [ doctest filepath ];
- meta = {
- homepage = "http://github.com/ekmett/parsers/";
- description = "Parsing combinators";
- license = self.stdenv.lib.licenses.bsd3;
- platforms = self.ghc.meta.platforms;
- };
-})
diff --git a/pkgs/development/libraries/haskell/parsers/0.12.nix b/pkgs/development/libraries/haskell/parsers/0.12.1.nix
similarity index 88%
rename from pkgs/development/libraries/haskell/parsers/0.12.nix
rename to pkgs/development/libraries/haskell/parsers/0.12.1.nix
index bb383b078aa71f829829d9c6215cdb8ffd42ca54..5c49d144a10ebb2e794eb6ce18592e6468bbcebb 100644
--- a/pkgs/development/libraries/haskell/parsers/0.12.nix
+++ b/pkgs/development/libraries/haskell/parsers/0.12.1.nix
@@ -6,8 +6,8 @@
cabal.mkDerivation (self: {
pname = "parsers";
- version = "0.12";
- sha256 = "0lb1djb2mmlkfqpbz7683i27d3ivv0r99l6w79951wgsqb62xph3";
+ version = "0.12.1";
+ sha256 = "0g9grf713zhn23vgmb6mdrm8r5snq1xa8jqnj6pghydj6m4rh97v";
buildDepends = [
attoparsec charset parsec text transformers unorderedContainers
];
diff --git a/pkgs/development/libraries/haskell/pipes-network/default.nix b/pkgs/development/libraries/haskell/pipes-network/default.nix
index fcd1940264846455fb70ff25651b78e31f92c534..95345e0513e9a7576e8594d9b94d2411f65e5221 100644
--- a/pkgs/development/libraries/haskell/pipes-network/default.nix
+++ b/pkgs/development/libraries/haskell/pipes-network/default.nix
@@ -4,8 +4,8 @@
cabal.mkDerivation (self: {
pname = "pipes-network";
- version = "0.6.3";
- sha256 = "09gihca0hinq3sqsx9753gmas6g22pg792ag6ckdw5z3607razrg";
+ version = "0.6.4";
+ sha256 = "1wabyv5j4q0wxiz8ry7dq3amlvfh4r0721pd2lksx7hj3a5qzm2p";
buildDepends = [
network networkSimple pipes pipesSafe transformers
];
diff --git a/pkgs/development/libraries/haskell/plugins/default.nix b/pkgs/development/libraries/haskell/plugins/default.nix
new file mode 100644
index 0000000000000000000000000000000000000000..face90f5b1d87c6223d2798e4d324c172f712b37
--- /dev/null
+++ b/pkgs/development/libraries/haskell/plugins/default.nix
@@ -0,0 +1,16 @@
+# This file was auto-generated by cabal2nix. Please do NOT edit manually!
+
+{ cabal, Cabal, filepath, ghcPaths, haskellSrc, random }:
+
+cabal.mkDerivation (self: {
+ pname = "plugins";
+ version = "1.5.4.0";
+ sha256 = "126lp2bbz9aa3pfi5dmbbzgsancdj1m26k7man96avixb21mzbi8";
+ buildDepends = [ Cabal filepath ghcPaths haskellSrc random ];
+ meta = {
+ homepage = "http://hub.darcs.net/stepcut/plugins";
+ description = "Dynamic linking for Haskell and C objects";
+ license = self.stdenv.lib.licenses.bsd3;
+ platforms = self.ghc.meta.platforms;
+ };
+})
diff --git a/pkgs/development/libraries/haskell/profunctors/default.nix b/pkgs/development/libraries/haskell/profunctors/default.nix
index f9aa0481d43cc734774f8dac0558d9633ed77bd9..00d339fa44e8c6840ff3ffcfbc13725e292374d5 100644
--- a/pkgs/development/libraries/haskell/profunctors/default.nix
+++ b/pkgs/development/libraries/haskell/profunctors/default.nix
@@ -1,12 +1,15 @@
# This file was auto-generated by cabal2nix. Please do NOT edit manually!
-{ cabal, comonad, semigroupoids, tagged, transformers }:
+{ cabal, comonad, distributive, semigroupoids, tagged, transformers
+}:
cabal.mkDerivation (self: {
pname = "profunctors";
- version = "4.0.4";
- sha256 = "1hs6cs6y6zwf0c4jb92wnhp23qaxzw3xy7k07m9z98h8ziyqbqhx";
- buildDepends = [ comonad semigroupoids tagged transformers ];
+ version = "4.2.0.1";
+ sha256 = "00cfria3zjijx9nm533a25x240c7q0sn9vna6m4y4rz1f7l2gnqc";
+ buildDepends = [
+ comonad distributive semigroupoids tagged transformers
+ ];
meta = {
homepage = "http://github.com/ekmett/profunctors/";
description = "Profunctors";
diff --git a/pkgs/development/libraries/haskell/quickcheck-property-monad/default.nix b/pkgs/development/libraries/haskell/quickcheck-property-monad/default.nix
index d8b8d47197973f3bca1f84986ba7e894efeea3f6..3ef3b02851e95c7c2eac9f01779ec36c725087df 100644
--- a/pkgs/development/libraries/haskell/quickcheck-property-monad/default.nix
+++ b/pkgs/development/libraries/haskell/quickcheck-property-monad/default.nix
@@ -4,8 +4,8 @@
cabal.mkDerivation (self: {
pname = "quickcheck-property-monad";
- version = "0.2.2";
- sha256 = "1liixl4xxpx9f3877sss16m67y5bkwhxdmr8h40rpqdi7dz9s0mj";
+ version = "0.2.3";
+ sha256 = "12vg14xwhhsqwygrs5lylsg514am5sslqc15nbl8mwzzxix1w8xb";
buildDepends = [ either QuickCheck transformers ];
testDepends = [ doctest filepath QuickCheck ];
meta = {
diff --git a/pkgs/development/libraries/haskell/repa-algorithms/default.nix b/pkgs/development/libraries/haskell/repa-algorithms/default.nix
index 8e9d668e389f63283cde3d07ffe146d7744f7073..977ea58fac6e5b987b086e9ac74dddd92de40dbd 100644
--- a/pkgs/development/libraries/haskell/repa-algorithms/default.nix
+++ b/pkgs/development/libraries/haskell/repa-algorithms/default.nix
@@ -4,8 +4,8 @@
cabal.mkDerivation (self: {
pname = "repa-algorithms";
- version = "3.2.5.1";
- sha256 = "1pk2w7qx1jfxqra66fflb71v6hmq6g05dss27kwhz0cdidpvcc7l";
+ version = "3.3.1.2";
+ sha256 = "12fizvma877ws3xiz3k34jg5xh5yhnl0n5aq2za005l9i5angkk9";
buildDepends = [ repa vector ];
extraLibraries = [ llvm ];
jailbreak = true;
diff --git a/pkgs/development/libraries/haskell/repa-examples/default.nix b/pkgs/development/libraries/haskell/repa-examples/default.nix
index 48678480a355ab8d51ec0145b903345c3e08f5c6..54d8fe8329c3731f9f2669285f15d226ffce5724 100644
--- a/pkgs/development/libraries/haskell/repa-examples/default.nix
+++ b/pkgs/development/libraries/haskell/repa-examples/default.nix
@@ -6,8 +6,8 @@
cabal.mkDerivation (self: {
pname = "repa-examples";
- version = "3.2.5.1";
- sha256 = "0xrjfmwbq8mhcim261da7i68mp5jxkqiwjy2mhd1lgkr63m6x18j";
+ version = "3.3.1.1";
+ sha256 = "0gdkwmdnmvq82zglryxx2ic1nm4g2r4a0bwndiwbj670w03p712p";
isLibrary = false;
isExecutable = true;
buildDepends = [
diff --git a/pkgs/development/libraries/haskell/repa-io/default.nix b/pkgs/development/libraries/haskell/repa-io/default.nix
index b42d165c512938bc2c1dc81fc5ca36843bc55cc1..b679d59d5dc95b902a557a203004e55e9d72571c 100644
--- a/pkgs/development/libraries/haskell/repa-io/default.nix
+++ b/pkgs/development/libraries/haskell/repa-io/default.nix
@@ -4,8 +4,8 @@
cabal.mkDerivation (self: {
pname = "repa-io";
- version = "3.2.5.1";
- sha256 = "0aizsr6r1ybydpwqiamcdr4jhvqh0fiq9gbd7n17lrmnagyla5n8";
+ version = "3.3.1.2";
+ sha256 = "1i58ysk44y7s6z1jmns2fi83flqma4k5nsjh1pblqb2rgl7x0z5p";
buildDepends = [ binary bmp repa vector ];
jailbreak = true;
meta = {
diff --git a/pkgs/development/libraries/haskell/repa/default.nix b/pkgs/development/libraries/haskell/repa/default.nix
index 627b0572d9813115ac4f18ba95edc606249b1bdf..b2c296a59239f81efff4c78e96ee943aa2337b39 100644
--- a/pkgs/development/libraries/haskell/repa/default.nix
+++ b/pkgs/development/libraries/haskell/repa/default.nix
@@ -4,8 +4,8 @@
cabal.mkDerivation (self: {
pname = "repa";
- version = "3.2.5.1";
- sha256 = "0yrmia3ciagzrmrsmxh56qym4wc0malph7zhiw71gl9c9sp8hzvq";
+ version = "3.3.1.2";
+ sha256 = "0rsahd6c1mxd8hq9zfx4jqgmcfs4di4askky87y71xy5v4k1x4ai";
buildDepends = [ QuickCheck vector ];
meta = {
homepage = "http://repa.ouroborus.net";
diff --git a/pkgs/development/libraries/haskell/resourcet/default.nix b/pkgs/development/libraries/haskell/resourcet/default.nix
index 39ea2050cca171082d78ac81c17b527279fbb94f..fec45e6fcd9146b3d53a97e58b748800d90526c0 100644
--- a/pkgs/development/libraries/haskell/resourcet/default.nix
+++ b/pkgs/development/libraries/haskell/resourcet/default.nix
@@ -6,8 +6,8 @@
cabal.mkDerivation (self: {
pname = "resourcet";
- version = "1.1.2.2";
- sha256 = "1j468zkjd7j2xpgzx1i36h3lpamnqpk0rj3miwfr9a0ibm7bz1as";
+ version = "1.1.2.3";
+ sha256 = "1n1z1q3k8lg3wqdkrmcfl9mvlx1p81gkh5j911w1006rnm8r87im";
buildDepends = [
exceptions liftedBase mmorph monadControl mtl transformers
transformersBase
diff --git a/pkgs/development/libraries/haskell/scotty/default.nix b/pkgs/development/libraries/haskell/scotty/default.nix
index 4555f5af9d5b5fac069f1fa7b613fcecf731ee3a..91876f7e318764135ab08bc182e9c54eeb159599 100644
--- a/pkgs/development/libraries/haskell/scotty/default.nix
+++ b/pkgs/development/libraries/haskell/scotty/default.nix
@@ -7,8 +7,8 @@
cabal.mkDerivation (self: {
pname = "scotty";
- version = "0.8.1";
- sha256 = "182iwsz5h7p08sqwfzb332gwj1wjx7fhhazm6gfdc0incab769m0";
+ version = "0.8.2";
+ sha256 = "07vjdj26380inlyi350mdifm7v1dpbc56041vi2czf5zzhx97qb0";
buildDepends = [
aeson blazeBuilder caseInsensitive conduit dataDefault httpTypes
monadControl mtl regexCompat text transformers transformersBase wai
diff --git a/pkgs/development/libraries/haskell/semigroupoids/default.nix b/pkgs/development/libraries/haskell/semigroupoids/default.nix
index 97389362682b0b30097362d7815254c8a8397809..ca625f5eb754541eac57c953479347bbeed62152 100644
--- a/pkgs/development/libraries/haskell/semigroupoids/default.nix
+++ b/pkgs/development/libraries/haskell/semigroupoids/default.nix
@@ -6,8 +6,8 @@
cabal.mkDerivation (self: {
pname = "semigroupoids";
- version = "4.0.2.1";
- sha256 = "00ga4spbnvwnk7j4h7zjw3bkd98glaganhcwq947ffadc0nansb1";
+ version = "4.2";
+ sha256 = "18zip518f2l2ccmg3hjzy5mq2b8r98crzm10kr77yc4m64w5vac8";
buildDepends = [
comonad contravariant distributive semigroups transformers
];
diff --git a/pkgs/development/libraries/haskell/semigroups/default.nix b/pkgs/development/libraries/haskell/semigroups/default.nix
index 4d39b97bbae7c6cfa31ef426dec8d9b703286b1c..963a83ac52783cfcfbf1521baa039b9bed4557ce 100644
--- a/pkgs/development/libraries/haskell/semigroups/default.nix
+++ b/pkgs/development/libraries/haskell/semigroups/default.nix
@@ -4,8 +4,8 @@
cabal.mkDerivation (self: {
pname = "semigroups";
- version = "0.15.1";
- sha256 = "1vacnw598pl9acbcjjblrpdmjhmj3wz1ifrn9ki4q7yrsh4ml7mc";
+ version = "0.15.2";
+ sha256 = "1lh06d0mwivzbfjg635r3m39qcpyjvnwni7mspz96qb3zcm0c5kp";
buildDepends = [ hashable nats text unorderedContainers ];
meta = {
homepage = "http://github.com/ekmett/semigroups/";
diff --git a/pkgs/development/libraries/haskell/shakespeare/default.nix b/pkgs/development/libraries/haskell/shakespeare/default.nix
index de6855ee19edc02a1392df49406a8e4f9635a3a6..12dc8124ada8ad9e9b4e07410703617b0cf905d4 100644
--- a/pkgs/development/libraries/haskell/shakespeare/default.nix
+++ b/pkgs/development/libraries/haskell/shakespeare/default.nix
@@ -6,8 +6,8 @@
cabal.mkDerivation (self: {
pname = "shakespeare";
- version = "2.0.1";
- sha256 = "1h1b7p4czdzrxb77515vqnck3rj3yw35h2ds6gzxzp7pdxprds27";
+ version = "2.0.1.1";
+ sha256 = "0xddm8xby19323d9bcd196b1ninlvfkv5b93w1da23m7w0hy509p";
buildDepends = [
aeson blazeHtml blazeMarkup exceptions parsec systemFileio
systemFilepath text time transformers
diff --git a/pkgs/development/libraries/haskell/snaplet-redis/default.nix b/pkgs/development/libraries/haskell/snaplet-redis/default.nix
index e0cb67e120a12e986bbb6ddb7f84bc7b5bdc2bdc..d6bfcd260ca3047360b51704e9d3b433059c1932 100644
--- a/pkgs/development/libraries/haskell/snaplet-redis/default.nix
+++ b/pkgs/development/libraries/haskell/snaplet-redis/default.nix
@@ -6,8 +6,8 @@
cabal.mkDerivation (self: {
pname = "snaplet-redis";
- version = "0.1.3.2";
- sha256 = "0554farc76ncbynzks4ryi7a2nbahsgnjvazmw5n9b79cp207bjf";
+ version = "0.1.3.3";
+ sha256 = "17w2b9cnri45m535hyszb1fickhhglid3zy5a4bbljmnwvi4y08l";
buildDepends = [
configurator hedis lens mtl network snap transformers
];
diff --git a/pkgs/development/libraries/haskell/socket-io/default.nix b/pkgs/development/libraries/haskell/socket-io/default.nix
index 324a2b046162e94e45028b8ae541ad85f4b04b8f..a91832a0ad0ca81404265b487c92c6efc1b27d8f 100644
--- a/pkgs/development/libraries/haskell/socket-io/default.nix
+++ b/pkgs/development/libraries/haskell/socket-io/default.nix
@@ -6,8 +6,8 @@
cabal.mkDerivation (self: {
pname = "socket-io";
- version = "1.0.0";
- sha256 = "1xvj2x6nr14wna0plivzbzkca2y4xw6bxhvc5mqjh664197r9jsx";
+ version = "1.0.1";
+ sha256 = "0257c5wf6b9rmprqq5q5d7fih4s2szwv98w16ggl61p8khf5d2qs";
buildDepends = [
aeson attoparsec engineIo mtl stm text transformers
unorderedContainers vector
diff --git a/pkgs/development/libraries/haskell/sparse/default.nix b/pkgs/development/libraries/haskell/sparse/default.nix
index c2fbf368f535937ab597a2ec6b54e1409c0bbf73..28389a860c86514f17ad291eb57b3371cc700844 100644
--- a/pkgs/development/libraries/haskell/sparse/default.nix
+++ b/pkgs/development/libraries/haskell/sparse/default.nix
@@ -9,8 +9,8 @@
cabal.mkDerivation (self: {
pname = "sparse";
- version = "0.9";
- sha256 = "0v0z7kjgmcdx9ajlhr9pc1i3qqghd60s02xnlmj4hcxby8k0r8mc";
+ version = "0.9.1";
+ sha256 = "1pa1h21ca710fdjz60b79jg0v2lr0l11avpiynp9n1cw5bz137fk";
buildDepends = [
contravariant deepseq hybridVectors lens primitive transformers
vector vectorAlgorithms
@@ -20,9 +20,6 @@ cabal.mkDerivation (self: {
QuickCheck semigroups simpleReflect testFramework
testFrameworkQuickcheck2 testFrameworkTh transformers vector
];
- patchPhase = ''
- sed -i -e 's|vector-algorithms >=.*|vector-algorithms|' -e 's|QuickCheck.*,|QuickCheck,|' sparse.cabal
- '';
doCheck = false;
meta = {
homepage = "http://github.com/ekmett/sparse";
diff --git a/pkgs/development/libraries/haskell/statistics/default.nix b/pkgs/development/libraries/haskell/statistics/default.nix
index 3d879f12b9d414df1fadfe718378ac9b1c760bcf..4bb356a4443427c00f731ecd38935a33f5bf13cf 100644
--- a/pkgs/development/libraries/haskell/statistics/default.nix
+++ b/pkgs/development/libraries/haskell/statistics/default.nix
@@ -8,8 +8,8 @@
cabal.mkDerivation (self: {
pname = "statistics";
- version = "0.13.1.0";
- sha256 = "0y46fna0kqs8bsqbf3v1k9ppq3njd5kxf1qlvvmphydpi3x038nd";
+ version = "0.13.1.1";
+ sha256 = "1ghb2snbacbfzxqcrvdiihvw2iip1m8rq9y62x1ayg6k13agm7r5";
buildDepends = [
aeson binary deepseq erf mathFunctions monadPar mwcRandom primitive
vector vectorAlgorithms vectorBinaryInstances
diff --git a/pkgs/development/libraries/haskell/stm-conduit/default.nix b/pkgs/development/libraries/haskell/stm-conduit/default.nix
index 77d2771ed88d8acac7943ded91ae9e184f8100d7..cebb79c3344fab47c8504b289ec6f2572b13ce49 100644
--- a/pkgs/development/libraries/haskell/stm-conduit/default.nix
+++ b/pkgs/development/libraries/haskell/stm-conduit/default.nix
@@ -8,8 +8,8 @@
cabal.mkDerivation (self: {
pname = "stm-conduit";
- version = "2.5.0";
- sha256 = "1pxs1ggyyjm4x06cirdcjaqzvz3964spv34fcf0q9ddhxm5kb30q";
+ version = "2.5.1";
+ sha256 = "08cnr92c442b1in46xcklni35597hbsggw97arq2f9w5sfir341q";
buildDepends = [
async cereal cerealConduit conduit conduitExtra liftedAsync
liftedBase monadControl monadLoops resourcet stm stmChans
diff --git a/pkgs/development/libraries/haskell/stm-containers/default.nix b/pkgs/development/libraries/haskell/stm-containers/default.nix
index d93bd1a03a8acc21e464ac083718ec2190d0ff4b..91105712a6a4a4697be3a9a3086ff69668534d9b 100644
--- a/pkgs/development/libraries/haskell/stm-containers/default.nix
+++ b/pkgs/development/libraries/haskell/stm-containers/default.nix
@@ -1,17 +1,19 @@
# This file was auto-generated by cabal2nix. Please do NOT edit manually!
-{ cabal, focus, free, hashable, HTF, lochTh, mtl, placeholders
-, primitive, QuickCheck, unorderedContainers
+{ cabal, basePrelude, focus, free, hashable, HTF, lochTh, mtl
+, placeholders, primitive, QuickCheck, unorderedContainers
}:
cabal.mkDerivation (self: {
pname = "stm-containers";
- version = "0.1.2";
- sha256 = "1rzxjspf0lzmviixnxv9f2wjxqhwv65fb1nws915ghs1sj774gab";
- buildDepends = [ focus hashable lochTh placeholders primitive ];
+ version = "0.1.3";
+ sha256 = "0ir2b6y1sqr0i68j0fqmwyysk7x9z18n84dbjppyjzzidcsrkar0";
+ buildDepends = [
+ basePrelude focus hashable lochTh placeholders primitive
+ ];
testDepends = [
- focus free hashable HTF lochTh mtl placeholders primitive
- QuickCheck unorderedContainers
+ basePrelude focus free hashable HTF lochTh mtl placeholders
+ primitive QuickCheck unorderedContainers
];
doCheck = false;
meta = {
diff --git a/pkgs/development/libraries/haskell/streaming-commons/default.nix b/pkgs/development/libraries/haskell/streaming-commons/default.nix
index 6e8aeb10ff7e048413dad45f4ae49dcbb7286834..4e6811593916cc5a001b079bacacac4c0a8ab916 100644
--- a/pkgs/development/libraries/haskell/streaming-commons/default.nix
+++ b/pkgs/development/libraries/haskell/streaming-commons/default.nix
@@ -6,8 +6,8 @@
cabal.mkDerivation (self: {
pname = "streaming-commons";
- version = "0.1.4";
- sha256 = "0p18sha2xa583rn9jyhylcykgrvydrwnl47c2wxf1c1yswn45iz6";
+ version = "0.1.4.1";
+ sha256 = "0n5xm2j5hz0hbify0yanhcrkc3pni9s2c53h22alc7pcaimdmalc";
buildDepends = [
blazeBuilder network random stm text transformers zlib
];
diff --git a/pkgs/development/libraries/haskell/stylish-haskell/default.nix b/pkgs/development/libraries/haskell/stylish-haskell/default.nix
index 8fc02625bb86e7639fbc1a4fcc9b459f21247ae2..afa664a68f90dceb2db42fce9fd217aa00f5c06c 100644
--- a/pkgs/development/libraries/haskell/stylish-haskell/default.nix
+++ b/pkgs/development/libraries/haskell/stylish-haskell/default.nix
@@ -6,8 +6,8 @@
cabal.mkDerivation (self: {
pname = "stylish-haskell";
- version = "0.5.10.0";
- sha256 = "12sba4bbc1qzicvavlbf4wqj7xs2pk0z3ha70xsvldszhyav9zj9";
+ version = "0.5.10.1";
+ sha256 = "1jd2dbi844cjs012gwr5idk1jmn860ff8hy1r1s6jndsm69awbba";
isLibrary = true;
isExecutable = true;
buildDepends = [
diff --git a/pkgs/development/libraries/haskell/taggy/default.nix b/pkgs/development/libraries/haskell/taggy/default.nix
index 81bc5a2981aae0f3fcf009f7e17c45acba95a6c2..d94a3b27f2c3ce0701fd964e948d03d623434cfb 100644
--- a/pkgs/development/libraries/haskell/taggy/default.nix
+++ b/pkgs/development/libraries/haskell/taggy/default.nix
@@ -6,8 +6,8 @@
cabal.mkDerivation (self: {
pname = "taggy";
- version = "0.1";
- sha256 = "0qqz5h706k96i7gl8vvn4c044cd5wj1zjlr6cnlxxpii0pyiiwh1";
+ version = "0.1.2";
+ sha256 = "0sj7da4yawfajyrd2gg2dxzgj5n99mdm5cz3bdhfipas4bb4216y";
isLibrary = true;
isExecutable = true;
buildDepends = [
diff --git a/pkgs/development/libraries/haskell/th-desugar/default.nix b/pkgs/development/libraries/haskell/th-desugar/default.nix
index c6493736001d2bfc46e1cb37bd588b0eeaf3f90a..50bea860af368259f0fb54c0fdae7f801b6f7859 100644
--- a/pkgs/development/libraries/haskell/th-desugar/default.nix
+++ b/pkgs/development/libraries/haskell/th-desugar/default.nix
@@ -8,6 +8,7 @@ cabal.mkDerivation (self: {
sha256 = "16l0khjx2wppnm9spp6mg659m95hxjkzfv3pjw5ays3z6clhx8b9";
buildDepends = [ mtl syb ];
testDepends = [ hspec HUnit mtl syb ];
+ doCheck = false;
meta = {
homepage = "http://www.cis.upenn.edu/~eir/packages/th-desugar";
description = "Functions to desugar Template Haskell";
diff --git a/pkgs/development/libraries/haskell/thyme/default.nix b/pkgs/development/libraries/haskell/thyme/default.nix
index b646fe4d1559f659f8edeaea5d4f88a8fac656f3..187637011264ea96fff7ea956f0bf657d7b6bbe2 100644
--- a/pkgs/development/libraries/haskell/thyme/default.nix
+++ b/pkgs/development/libraries/haskell/thyme/default.nix
@@ -1,6 +1,6 @@
# This file was auto-generated by cabal2nix. Please do NOT edit manually!
-{ cabal, aeson, attoparsec, Cabal, deepseq, filepath, mtl
+{ cabal, aeson, attoparsec, Cabal, cpphs, deepseq, filepath, mtl
, profunctors, QuickCheck, random, systemPosixRedirect, text, time
, vector, vectorSpace, vectorThUnbox
}:
@@ -17,6 +17,7 @@ cabal.mkDerivation (self: {
attoparsec Cabal filepath mtl profunctors QuickCheck random
systemPosixRedirect text time vectorSpace
];
+ buildTools = [ cpphs ];
doCheck = false;
meta = {
homepage = "https://github.com/liyang/thyme";
diff --git a/pkgs/development/libraries/haskell/trifecta/default.nix b/pkgs/development/libraries/haskell/trifecta/default.nix
index 192164c3189e35d58b5011c9ed2d94650f543c0a..a73f47afb1c2d9c44b386bea10ac1e13190dde5e 100644
--- a/pkgs/development/libraries/haskell/trifecta/default.nix
+++ b/pkgs/development/libraries/haskell/trifecta/default.nix
@@ -2,20 +2,20 @@
{ cabal, ansiTerminal, ansiWlPprint, blazeBuilder, blazeHtml
, blazeMarkup, charset, comonad, deepseq, doctest, filepath
-, fingertree, hashable, lens, mtl, parsers, reducers, semigroups
-, transformers, unorderedContainers, utf8String
+, fingertree, hashable, lens, mtl, parsers, QuickCheck, reducers
+, semigroups, transformers, unorderedContainers, utf8String
}:
cabal.mkDerivation (self: {
pname = "trifecta";
- version = "1.4.2";
- sha256 = "13kj1xz2bxixsqsrywdx3snl1hjkyv437ifwfrys1m4hnkv4aqai";
+ version = "1.5.1";
+ sha256 = "1fayr6sd9m84rqpcygacafn9vr9zva7rmkpvyzz0bf1p1z7i6b2n";
buildDepends = [
ansiTerminal ansiWlPprint blazeBuilder blazeHtml blazeMarkup
charset comonad deepseq fingertree hashable lens mtl parsers
reducers semigroups transformers unorderedContainers utf8String
];
- testDepends = [ doctest filepath ];
+ testDepends = [ doctest filepath parsers QuickCheck ];
meta = {
homepage = "http://github.com/ekmett/trifecta/";
description = "A modern parser combinator library with convenient diagnostics";
diff --git a/pkgs/development/libraries/haskell/tz/default.nix b/pkgs/development/libraries/haskell/tz/default.nix
index 3de1fafd5821504c24c166607fa094d23bfaec26..3f964f2ce3d1579e18e8333bf2063984ffad8733 100644
--- a/pkgs/development/libraries/haskell/tz/default.nix
+++ b/pkgs/development/libraries/haskell/tz/default.nix
@@ -7,12 +7,12 @@
cabal.mkDerivation (self: {
pname = "tz";
- version = "0.0.0.6";
- sha256 = "0yn2c016fzqwbgdrqp5hjn95gzp4w3gqjgax1w6wkg97bksdlq27";
+ version = "0.0.0.8";
+ sha256 = "0rabdqwdj8hx17817zsfsih01agx7n3kja8s0axmm0drq22vlflv";
buildDepends = [ binary deepseq time tzdata vector ];
testDepends = [
bindingsPosix HUnit QuickCheck testFramework testFrameworkHunit
- testFrameworkQuickcheck2 testFrameworkTh time tzdata
+ testFrameworkQuickcheck2 testFrameworkTh time tzdata vector
];
preConfigure = "export TZDIR=${pkgs_tzdata}/share/zoneinfo";
meta = {
diff --git a/pkgs/development/libraries/haskell/tzdata/default.nix b/pkgs/development/libraries/haskell/tzdata/default.nix
index b149a59489ab22fdaa8e7f35b80d8ea95e5acdca..ceae467924752ebf1c5e953f70afda4f3b104e1a 100644
--- a/pkgs/development/libraries/haskell/tzdata/default.nix
+++ b/pkgs/development/libraries/haskell/tzdata/default.nix
@@ -6,8 +6,8 @@
cabal.mkDerivation (self: {
pname = "tzdata";
- version = "0.1.20140324.0";
- sha256 = "19cw8wag2d5jx9dxia3gr8qjr3bh77a2kp7ksyqp58xxmvmsqdn4";
+ version = "0.1.20140612.0";
+ sha256 = "03fd3jiw89c8zf2jdz0qps8sb8ipgmjqbbaq4y2aqczv36ha74gh";
buildDepends = [ vector ];
testDepends = [
filemanip filepath HUnit MissingH testFramework testFrameworkHunit
diff --git a/pkgs/development/libraries/haskell/units/default.nix b/pkgs/development/libraries/haskell/units/default.nix
index 6508cc7edb74b20172feb6257a8a081aae34d56c..c5d5262750dba0051812f2d82b04bf9e2e45fbd4 100644
--- a/pkgs/development/libraries/haskell/units/default.nix
+++ b/pkgs/development/libraries/haskell/units/default.nix
@@ -1,12 +1,20 @@
# This file was auto-generated by cabal2nix. Please do NOT edit manually!
-{ cabal, singletons }:
+{ cabal, HUnitApprox, mtl, multimap, parsec, singletons, syb, tasty
+, tastyHunit, thDesugar, vectorSpace
+}:
cabal.mkDerivation (self: {
pname = "units";
- version = "2.0";
- sha256 = "1iv0pirhyp7crbkb008k14z57jl8c91r1sl8kqmb778xawb1hx52";
- buildDepends = [ singletons ];
+ version = "2.1";
+ sha256 = "1qrjc57j15ras0v43cpd7qhh9nzh9dbnkaik6s4c8aj8nkhgd8vs";
+ buildDepends = [
+ mtl multimap parsec singletons syb thDesugar vectorSpace
+ ];
+ testDepends = [
+ HUnitApprox mtl multimap parsec singletons syb tasty tastyHunit
+ thDesugar vectorSpace
+ ];
meta = {
homepage = "http://www.cis.upenn.edu/~eir/packages/units";
description = "A domain-specific type system for dimensional analysis";
diff --git a/pkgs/development/libraries/haskell/vector-algorithms/default.nix b/pkgs/development/libraries/haskell/vector-algorithms/default.nix
index 00258e7f3f618fba8dd28469967fbb10063629f1..5c8dcc4c5ebf8fe7dcc4d4e5218d7acf5c9626df 100644
--- a/pkgs/development/libraries/haskell/vector-algorithms/default.nix
+++ b/pkgs/development/libraries/haskell/vector-algorithms/default.nix
@@ -4,8 +4,8 @@
cabal.mkDerivation (self: {
pname = "vector-algorithms";
- version = "0.6.0.2";
- sha256 = "1gn2pvgvm9g0dajx2wv305fxwhkpdj9pybrwrm3j2frl4dnj7dcq";
+ version = "0.6.0.3";
+ sha256 = "1kz4b41y7swad6mbx0g3adc8lqma8pl3rnzah71cfdvb87gssbn4";
isLibrary = true;
isExecutable = true;
buildDepends = [ mtl mwcRandom primitive vector ];
diff --git a/pkgs/development/libraries/haskell/vinyl/default.nix b/pkgs/development/libraries/haskell/vinyl/default.nix
index b0c57672e0d611cfc4eafdb2891a76ebaaf38a40..46ea723641ca9f1131ceb5e4bb2dfb8748b4a5c2 100644
--- a/pkgs/development/libraries/haskell/vinyl/default.nix
+++ b/pkgs/development/libraries/haskell/vinyl/default.nix
@@ -4,8 +4,8 @@
cabal.mkDerivation (self: {
pname = "vinyl";
- version = "0.4.2";
- sha256 = "17vh5yv9dzw6zq1xw22k7mljpha0rcngbk5k0kynh7hyh6xy4zxz";
+ version = "0.4.3";
+ sha256 = "1npcpvr94l2gpk9z4y527raf2p3d6099m231vw0myci37ljnjgdf";
testDepends = [ doctest lens singletons ];
meta = {
description = "Extensible Records";
diff --git a/pkgs/development/libraries/haskell/vty/5.1.1.nix b/pkgs/development/libraries/haskell/vty/5.1.4.nix
similarity index 93%
rename from pkgs/development/libraries/haskell/vty/5.1.1.nix
rename to pkgs/development/libraries/haskell/vty/5.1.4.nix
index 708eb9581c613a3a8a4f56b76443b22c372fbced..326eaf08d3d823564ed52f3f0e4f1c377d8992fa 100644
--- a/pkgs/development/libraries/haskell/vty/5.1.1.nix
+++ b/pkgs/development/libraries/haskell/vty/5.1.4.nix
@@ -9,8 +9,8 @@
cabal.mkDerivation (self: {
pname = "vty";
- version = "5.1.1";
- sha256 = "043vrazb8w6ljq14i390cwcmavgmbnjbs6sl6w0yx8cwb4f7djr5";
+ version = "5.1.4";
+ sha256 = "157saacy6lp2ngl0dz9ri4ji1vj191d1239x1xykna8y618r0vqf";
isLibrary = true;
isExecutable = true;
buildDepends = [
diff --git a/pkgs/development/libraries/haskell/wai-extra/default.nix b/pkgs/development/libraries/haskell/wai-extra/default.nix
index 76094cd0c0e93239dee6699e651e608a31695a01..4d63904a0926d222b00b637830cb6009f7bff6d8 100644
--- a/pkgs/development/libraries/haskell/wai-extra/default.nix
+++ b/pkgs/development/libraries/haskell/wai-extra/default.nix
@@ -9,8 +9,8 @@
cabal.mkDerivation (self: {
pname = "wai-extra";
- version = "3.0.1";
- sha256 = "1k6d9p93r7r95i5yi7mvhix94qigkzanqjq5qa6k7qfpnjj727id";
+ version = "3.0.1.1";
+ sha256 = "099pxahczai6ychsm04bwcvvd9m6lan5nqg159ny4jakpyk67zs8";
buildDepends = [
ansiTerminal base64Bytestring blazeBuilder caseInsensitive
dataDefaultClass deepseq fastLogger httpTypes liftedBase network
diff --git a/pkgs/development/libraries/haskell/wai-logger/default.nix b/pkgs/development/libraries/haskell/wai-logger/default.nix
index b7c62845cb974da4c981c1e8bffcc93123a700b8..a94742ea2e7c3c1201781c5b64052217826c0b48 100644
--- a/pkgs/development/libraries/haskell/wai-logger/default.nix
+++ b/pkgs/development/libraries/haskell/wai-logger/default.nix
@@ -1,16 +1,16 @@
# This file was auto-generated by cabal2nix. Please do NOT edit manually!
{ cabal, blazeBuilder, byteorder, caseInsensitive, doctest
-, fastLogger, httpTypes, network, unixTime, wai, waiTest
+, easyFile, fastLogger, httpTypes, network, unixTime, wai, waiTest
}:
cabal.mkDerivation (self: {
pname = "wai-logger";
- version = "2.1.1";
- sha256 = "1cdl5nglb8jghi0yndpabraihgh681m5q1j77wsxzckxisga73j8";
+ version = "2.1.2";
+ sha256 = "0rfgcq433k5jpdgwyzrzgiy5h66bb38xfqzb63gmqabysr8wa9kl";
buildDepends = [
- blazeBuilder byteorder caseInsensitive fastLogger httpTypes network
- unixTime wai
+ blazeBuilder byteorder caseInsensitive easyFile fastLogger
+ httpTypes network unixTime wai
];
testDepends = [ doctest waiTest ];
doCheck = false;
diff --git a/pkgs/development/libraries/haskell/wai/default.nix b/pkgs/development/libraries/haskell/wai/default.nix
index 4a67a800109612b83b80cb72856d840887553665..6c70fede1eca1c3fd44e500836937eb53427e396 100644
--- a/pkgs/development/libraries/haskell/wai/default.nix
+++ b/pkgs/development/libraries/haskell/wai/default.nix
@@ -4,8 +4,8 @@
cabal.mkDerivation (self: {
pname = "wai";
- version = "3.0.0.2";
- sha256 = "1zmpalgck8jns45wnlarw26kfw45ml0cp82kdqqpbckscxnr04r1";
+ version = "3.0.1";
+ sha256 = "1889l6fbgvxn13yaskcvjrq07vs62ayvq8q5rn9cpq0yqyc6llcw";
buildDepends = [ blazeBuilder httpTypes network text vault ];
testDepends = [ blazeBuilder hspec ];
meta = {
diff --git a/pkgs/development/libraries/haskell/xml-conduit/default.nix b/pkgs/development/libraries/haskell/xml-conduit/default.nix
index f46361a14514619383415fb312590d1f35df845e..7468bc96bd043062a257b2bddcbc35395f129271 100644
--- a/pkgs/development/libraries/haskell/xml-conduit/default.nix
+++ b/pkgs/development/libraries/haskell/xml-conduit/default.nix
@@ -8,8 +8,8 @@
cabal.mkDerivation (self: {
pname = "xml-conduit";
- version = "1.2.0.3";
- sha256 = "0bb4nc9nwq4z6vdsiqs0zk8k8yvmyxdrya5fz2h8z8ng66xaq4k1";
+ version = "1.2.1";
+ sha256 = "1bh0d2fqcdbx2dq5ybipf7ws59blrb8yd98z1rnbvv1fj9r0xw10";
buildDepends = [
attoparsec attoparsecConduit blazeBuilder blazeBuilderConduit
blazeHtml blazeMarkup conduit conduitExtra dataDefault deepseq
diff --git a/pkgs/development/libraries/haskell/xml-html-conduit-lens/default.nix b/pkgs/development/libraries/haskell/xml-html-conduit-lens/default.nix
new file mode 100644
index 0000000000000000000000000000000000000000..b6fd82d622cce2c2d91cf92e244c476aac723f35
--- /dev/null
+++ b/pkgs/development/libraries/haskell/xml-html-conduit-lens/default.nix
@@ -0,0 +1,21 @@
+# This file was auto-generated by cabal2nix. Please do NOT edit manually!
+
+{ cabal, doctest, hspec, hspecExpectationsLens, htmlConduit, lens
+, text, xmlConduit
+}:
+
+cabal.mkDerivation (self: {
+ pname = "xml-html-conduit-lens";
+ version = "0.3.2.0";
+ sha256 = "150b772wkl2k8xcrcbqj3qhndjkl35qzwqdjbgs9mxp867aihiv0";
+ buildDepends = [ htmlConduit lens text xmlConduit ];
+ testDepends = [
+ doctest hspec hspecExpectationsLens lens xmlConduit
+ ];
+ meta = {
+ homepage = "https://github.com/supki/xml-html-conduit-lens#readme";
+ description = "Optics for xml-conduit and html-conduit";
+ license = self.stdenv.lib.licenses.bsd3;
+ platforms = self.ghc.meta.platforms;
+ };
+})
diff --git a/pkgs/development/libraries/haskell/yesod-auth/default.nix b/pkgs/development/libraries/haskell/yesod-auth/default.nix
index b439d24afe6c769d89c0785e716dc3b575522369..3dcda24668802861ea70212ba3445d6b98ab5421 100644
--- a/pkgs/development/libraries/haskell/yesod-auth/default.nix
+++ b/pkgs/development/libraries/haskell/yesod-auth/default.nix
@@ -12,8 +12,8 @@
cabal.mkDerivation (self: {
pname = "yesod-auth";
- version = "1.3.1.1";
- sha256 = "0mw04v8gnhv9gnv7kv2v1x5df63zjdmi52r5bv1fzqay1s5b83ir";
+ version = "1.3.3";
+ sha256 = "05kzsrb49r11yhsrn9j7vx90831qd1jni1h8wdj26qn85anxr10z";
buildDepends = [
aeson attoparsecConduit authenticate base16Bytestring
base64Bytestring binary blazeBuilder blazeHtml blazeMarkup byteable
diff --git a/pkgs/development/libraries/haskell/yesod-bin/default.nix b/pkgs/development/libraries/haskell/yesod-bin/default.nix
index 4e02a157e342c6cd57d0912380e9ff38b15f3ff5..864602a3a53f6f603b2df357016f029aff292a85 100644
--- a/pkgs/development/libraries/haskell/yesod-bin/default.nix
+++ b/pkgs/development/libraries/haskell/yesod-bin/default.nix
@@ -12,8 +12,8 @@
cabal.mkDerivation (self: {
pname = "yesod-bin";
- version = "1.2.11";
- sha256 = "15bxl52ky0ihm7ak71g6cvb9bac4zvmb8sh74fbjkckmpgh8r3m2";
+ version = "1.2.12";
+ sha256 = "0ksl78k27sshp9l6x7blv5csswv6vb8k632ggj9whnp8akzn37x1";
isLibrary = false;
isExecutable = true;
buildDepends = [
diff --git a/pkgs/development/libraries/haskell/yesod-core/default.nix b/pkgs/development/libraries/haskell/yesod-core/default.nix
index 96995f24d31d992142686b7e3c553ca2318bb2e2..944a60fe29f60311a11bbc645d2c67a0d3146acf 100644
--- a/pkgs/development/libraries/haskell/yesod-core/default.nix
+++ b/pkgs/development/libraries/haskell/yesod-core/default.nix
@@ -13,8 +13,8 @@
cabal.mkDerivation (self: {
pname = "yesod-core";
- version = "1.2.17";
- sha256 = "199zj9yz5nmk4h2dwz4zlix3wf1z5fl9a8jg8cr4z6ldgskcfis1";
+ version = "1.2.19";
+ sha256 = "0dlvg8zpr1qyav3svqybsqsrmrl9n8s1kdzxf6zxa3pn582d48il";
buildDepends = [
aeson attoparsecConduit blazeBuilder blazeHtml blazeMarkup
caseInsensitive cereal clientsession conduit conduitExtra cookie
diff --git a/pkgs/development/libraries/haskell/yesod-form/default.nix b/pkgs/development/libraries/haskell/yesod-form/default.nix
index 26f0735f723d0f7a75535ef99a597885fd36f397..3ac24f8746263bf2780d4ef0c12048765b888b7b 100644
--- a/pkgs/development/libraries/haskell/yesod-form/default.nix
+++ b/pkgs/development/libraries/haskell/yesod-form/default.nix
@@ -9,8 +9,8 @@
cabal.mkDerivation (self: {
pname = "yesod-form";
- version = "1.3.11";
- sha256 = "15c4qyvz1mn56pl9add865lm351wjhdhrbzm87py2jliglm905n0";
+ version = "1.3.14";
+ sha256 = "0a2xlar67f0y48zqml8kqjna33i474j3j04gmgglsfmk1wikr7sh";
buildDepends = [
aeson attoparsec blazeBuilder blazeHtml blazeMarkup byteable
dataDefault emailValidate hamlet network persistent resourcet
diff --git a/pkgs/development/libraries/haskell/yesod-routes/default.nix b/pkgs/development/libraries/haskell/yesod-routes/default.nix
index f537a119a455a5b97f28e207d3ac66a46d601b9f..1c7eba504cbc86a145ff450a5509c4cf80d79f93 100644
--- a/pkgs/development/libraries/haskell/yesod-routes/default.nix
+++ b/pkgs/development/libraries/haskell/yesod-routes/default.nix
@@ -4,8 +4,8 @@
cabal.mkDerivation (self: {
pname = "yesod-routes";
- version = "1.2.0.6";
- sha256 = "0hd2f2w9pb865fn9qijh3j73sc1x7gzd4c0q5mgjy9lh9hd4kzix";
+ version = "1.2.0.7";
+ sha256 = "00i2nysbhmxnq0dvfdjx6nhxy680ya38nx8gcgm13fv2xwdd2p6j";
buildDepends = [ pathPieces text vector ];
testDepends = [ hspec HUnit pathPieces text ];
meta = {
diff --git a/pkgs/development/libraries/hawknl/default.nix b/pkgs/development/libraries/hawknl/default.nix
index 78206de9f1417ad89c107e0db94ceb8e8005bc40..290f411cbf4924ff455d0247a571cbd41a06d44b 100644
--- a/pkgs/development/libraries/hawknl/default.nix
+++ b/pkgs/development/libraries/hawknl/default.nix
@@ -23,6 +23,6 @@ stdenv.mkDerivation {
meta = {
homepage = http://hawksoft.com/hawknl/;
description = "Free, open source, game oriented network API";
- license = "LGPLv2+";
+ license = stdenv.lib.licenses.lgpl2Plus;
};
}
diff --git a/pkgs/development/libraries/icu/default.nix b/pkgs/development/libraries/icu/default.nix
index 12628e4c53db785b1a2e0996ba32590ad6a31a2c..a029eab6f1218d0f651c1ed1cbe097deb7a41948 100644
--- a/pkgs/development/libraries/icu/default.nix
+++ b/pkgs/development/libraries/icu/default.nix
@@ -30,7 +30,8 @@ stdenv.mkDerivation {
sed -i -e "s|/bin/sh|${stdenv.shell}|" configure
'';
- configureFlags = "--disable-debug";
+ configureFlags = "--disable-debug" +
+ stdenv.lib.optionalString stdenv.isDarwin " --enable-rpath";
enableParallelBuilding = true;
diff --git a/pkgs/development/libraries/iniparser/default.nix b/pkgs/development/libraries/iniparser/default.nix
index 55c4dbff296050a272e9bbed99bfc97540690db9..99a256e48adfc61333cfc7745fffb9b3473971fc 100644
--- a/pkgs/development/libraries/iniparser/default.nix
+++ b/pkgs/development/libraries/iniparser/default.nix
@@ -30,6 +30,6 @@ stdenv.mkDerivation rec{
meta = {
homepage = http://ndevilla.free.fr/iniparser;
description = "Free standalone ini file parsing library";
- license = "MIT";
+ license = stdenv.lib.licenses.mit;
};
}
diff --git a/pkgs/development/libraries/irrlicht/default.nix b/pkgs/development/libraries/irrlicht/default.nix
index 760ad096fd0b653ecb7494f80855b4fd726159b6..ac67c17218f08712bca806547f1b2b99088715c8 100644
--- a/pkgs/development/libraries/irrlicht/default.nix
+++ b/pkgs/development/libraries/irrlicht/default.nix
@@ -37,7 +37,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://irrlicht.sourceforge.net/;
- license = "zlib";
+ license = stdenv.lib.licenses.zlib;
description = "Open source high performance realtime 3D engine written in C++";
};
}
diff --git a/pkgs/development/libraries/isl/0.12.2.nix b/pkgs/development/libraries/isl/0.12.2.nix
index 995cd0510b4c352f9f088d0b463c19be6c8abab9..f1da2c064092bcabf835ef92e9e74d0fa362bc69 100644
--- a/pkgs/development/libraries/isl/0.12.2.nix
+++ b/pkgs/development/libraries/isl/0.12.2.nix
@@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://www.kotnet.org/~skimo/isl/;
- license = "LGPLv2.1";
+ license = stdenv.lib.licenses.lgpl21;
description = "A library for manipulating sets and relations of integer points bounded by linear constraints";
maintainers = [ stdenv.lib.maintainers.shlevy ];
platforms = stdenv.lib.platforms.all;
diff --git a/pkgs/development/libraries/isl/default.nix b/pkgs/development/libraries/isl/default.nix
index 7711d4f170f95c51a9db47cd8ab0536d134cdc3a..7e08c8afe6f62cf93a9f1de8f5cfd10371ab5716 100644
--- a/pkgs/development/libraries/isl/default.nix
+++ b/pkgs/development/libraries/isl/default.nix
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://www.kotnet.org/~skimo/isl/;
- license = "LGPLv2.1";
+ license = stdenv.lib.licenses.lgpl21;
description = "A library for manipulating sets and relations of integer points bounded by linear constraints";
maintainers = [ stdenv.lib.maintainers.shlevy ];
platforms = stdenv.lib.platforms.all;
diff --git a/pkgs/development/libraries/jansson/default.nix b/pkgs/development/libraries/jansson/default.nix
index 3d4e5f260dce64374c2380b17b15ab9c3b8511a5..0f0fa3f775a19bfba2549dcce3f0fcb75dc37987 100644
--- a/pkgs/development/libraries/jansson/default.nix
+++ b/pkgs/development/libraries/jansson/default.nix
@@ -11,6 +11,6 @@ stdenv.mkDerivation rec {
meta = {
homepage = "http://www.digip.org/jansson/";
description = "C library for encoding, decoding and manipulating JSON data";
- license = "MIT";
+ license = stdenv.lib.licenses.mit;
};
}
diff --git a/pkgs/development/libraries/java/geoipjava/default.nix b/pkgs/development/libraries/java/geoipjava/default.nix
index a924e2adfa6391e5ca587a3906499652cced2a25..5c83a0ba35798e82ef197607b9e8d8b0e10c21bd 100644
--- a/pkgs/development/libraries/java/geoipjava/default.nix
+++ b/pkgs/development/libraries/java/geoipjava/default.nix
@@ -20,7 +20,7 @@ stdenv.mkDerivation {
'';
meta = {
description = "GeoIP Java API";
- license = "LGPL2.1+";
+ license = stdenv.lib.licenses.lgpl21Plus;
maintainers = [ stdenv.lib.maintainers.sander ];
};
}
diff --git a/pkgs/development/libraries/java/libmatthew-java/default.nix b/pkgs/development/libraries/java/libmatthew-java/default.nix
index 0b77de56987b65a039a42263005784aae5f6f052..3924b0cdc22486186bec32c7ff88a08c904aabf8 100644
--- a/pkgs/development/libraries/java/libmatthew-java/default.nix
+++ b/pkgs/development/libraries/java/libmatthew-java/default.nix
@@ -3,7 +3,7 @@
stdenv.mkDerivation {
name = "libmatthew-java-0.8";
src = fetchurl {
- url = http://www.matthew.ath.cx/projects/java/libmatthew-java-0.8.tar.gz;
+ url = http://pkgs.fedoraproject.org/repo/pkgs/libmatthew-java/libmatthew-java-0.8.tar.gz/8455b8751083ce25c99c2840609271f5/libmatthew-java-0.8.tar.gz;
sha256 = "1yldkhsdzm0a41a0i881bin2jklhp85y3ah245jd6fz3npcx7l85";
};
JAVA_HOME=jdk;
diff --git a/pkgs/development/libraries/java/swt/default.nix b/pkgs/development/libraries/java/swt/default.nix
index 59f31ac3139ae96451e7b31f43106cc29c9bac0a..f64edce7b4c1fd71624fb64fdaddeafcb525595a 100644
--- a/pkgs/development/libraries/java/swt/default.nix
+++ b/pkgs/development/libraries/java/swt/default.nix
@@ -14,7 +14,7 @@ stdenv.mkDerivation {
# releases of SWT. So we just grab a binary release and extract
# "src.zip" from that.
src = fetchurl {
- url = "http://eclipse.ialto.com/eclipse/downloads/drops/R-3.7.2-201202080800/swt-3.7.2-gtk-linux-x86.zip";
+ url = "http://archive.eclipse.org/eclipse/downloads/drops/R-3.7.2-201202080800/swt-3.7.2-gtk-linux-x86.zip";
sha256 = "10si8kmc7c9qmbpzs76609wkfb784pln3qpmra73gb3fbk7z8caf";
};
diff --git a/pkgs/development/libraries/jbig2dec/default.nix b/pkgs/development/libraries/jbig2dec/default.nix
index e15c5c8d179fd6e85c38cd8fd148716d129c6615..83d3149a50fd8d6df3c9ccc14417b776be41607d 100644
--- a/pkgs/development/libraries/jbig2dec/default.nix
+++ b/pkgs/development/libraries/jbig2dec/default.nix
@@ -11,6 +11,6 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://jbig2dec.sourceforge.net/;
description = "Decoder implementation of the JBIG2 image compression format";
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
};
}
diff --git a/pkgs/development/libraries/judy/default.nix b/pkgs/development/libraries/judy/default.nix
index 8c45adf4b570db81a9dee70b30396d11895f66c5..4199becb06d9cd0118cc5ece7173d992027fb9b8 100644
--- a/pkgs/development/libraries/judy/default.nix
+++ b/pkgs/development/libraries/judy/default.nix
@@ -10,7 +10,7 @@ stdenv.mkDerivation {
meta = {
homepage = http://judy.sourceforge.net/;
- license = "LGPLv2.1+";
+ license = stdenv.lib.licenses.lgpl21Plus;
description = "State-of-the-art C library that implements a sparse dynamic array";
};
}
diff --git a/pkgs/development/libraries/lcms/default.nix b/pkgs/development/libraries/lcms/default.nix
index 115da78de97963ecee020c8149ba69067e066dc3..c98a01f6f70f1c8413984415f62dc1ecde4d5ca3 100644
--- a/pkgs/development/libraries/lcms/default.nix
+++ b/pkgs/development/libraries/lcms/default.nix
@@ -11,6 +11,6 @@ stdenv.mkDerivation {
meta = {
description = "Color management engine";
homepage = http://www.littlecms.com/;
- license = "MIT";
+ license = stdenv.lib.licenses.mit;
};
}
diff --git a/pkgs/development/libraries/lcms2/default.nix b/pkgs/development/libraries/lcms2/default.nix
index 774cc7047e8ccbde923b58da3fbc493bf4cf831c..521118f31757b2ac6fb1fe38ebc7473f52559b31 100644
--- a/pkgs/development/libraries/lcms2/default.nix
+++ b/pkgs/development/libraries/lcms2/default.nix
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
meta = {
description = "Color management engine";
homepage = http://www.littlecms.com/;
- license = "MIT";
+ license = stdenv.lib.licenses.mit;
platforms = stdenv.lib.platforms.all;
maintainers = [ stdenv.lib.maintainers.urkud ];
};
diff --git a/pkgs/development/libraries/lensfun/default.nix b/pkgs/development/libraries/lensfun/default.nix
index f1f1c7dd909254fa203bb2f00291d7c2fede6b12..94dfe871240384a0c83e350c47dcb6234f1d56b2 100644
--- a/pkgs/development/libraries/lensfun/default.nix
+++ b/pkgs/development/libraries/lensfun/default.nix
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
meta = with stdenv.lib; {
platforms = platforms.all;
maintainers = [ maintainers.urkud ];
- license = "LGPL3";
+ license = stdenv.lib.licenses.lgpl3;
description = "An opensource database of photographic lenses and their characteristics";
homepage = http://lensfun.sourceforge.net/;
};
diff --git a/pkgs/development/libraries/levmar/default.nix b/pkgs/development/libraries/levmar/default.nix
index 3028ba7367cb413b057ab0706b598421dbaeff30..4e6dd6d5b0287332a0767b8afaf50f97f9641911 100644
--- a/pkgs/development/libraries/levmar/default.nix
+++ b/pkgs/development/libraries/levmar/default.nix
@@ -22,7 +22,6 @@ stdenv.mkDerivation rec {
meta = {
description = "ANSI C implementations of Levenberg-Marquardt, usable also from C++";
homepage = http://www.ics.forth.gr/~lourakis/levmar/;
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
};
}
-
diff --git a/pkgs/development/libraries/libao/default.nix b/pkgs/development/libraries/libao/default.nix
index 2fc03e0d67cc680fa0b876b4d9a7c035654a5dd5..f1cc25de39f1758a8fc113609746c3a2a98af350 100644
--- a/pkgs/development/libraries/libao/default.nix
+++ b/pkgs/development/libraries/libao/default.nix
@@ -18,6 +18,6 @@ stdenv.mkDerivation {
platforms.
'';
homepage = http://xiph.org/ao/;
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
};
}
diff --git a/pkgs/development/libraries/libassuan/default.nix b/pkgs/development/libraries/libassuan/default.nix
index d9775c256104153c124f89d495e8c231034e324a..f5a3d92d3db1eb0f1fe39f5802ac6b37d632ef74 100644
--- a/pkgs/development/libraries/libassuan/default.nix
+++ b/pkgs/development/libraries/libassuan/default.nix
@@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
'';
homepage = http://gnupg.org;
- license = "LGPLv2+";
+ license = stdenv.lib.licenses.lgpl2Plus;
platforms = stdenv.lib.platforms.all;
};
}
diff --git a/pkgs/development/libraries/libassuan/git.nix b/pkgs/development/libraries/libassuan/git.nix
index 743528d926516f29d904ffaf68e98d06ed965c8e..7f77183c8432b26a0d32f06bafd59480d52483d7 100644
--- a/pkgs/development/libraries/libassuan/git.nix
+++ b/pkgs/development/libraries/libassuan/git.nix
@@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
'';
homepage = http://gnupg.org;
- license = "LGPLv2+";
+ license = stdenv.lib.licenses.lgpl2Plus;
platforms = stdenv.lib.platforms.all;
};
}
diff --git a/pkgs/development/libraries/libassuan1/default.nix b/pkgs/development/libraries/libassuan1/default.nix
index 9a161ec170f4b9d97ad91f3e3d86c06ea3dbabbd..2532cec0390031a024ee0a7c73019bc4cd4ee98a 100644
--- a/pkgs/development/libraries/libassuan1/default.nix
+++ b/pkgs/development/libraries/libassuan1/default.nix
@@ -23,6 +23,6 @@ stdenv.mkDerivation rec {
'';
homepage = http://gnupg.org;
- license = "LGPLv2+";
+ license = stdenv.lib.licenses.lgpl2Plus;
};
}
diff --git a/pkgs/development/libraries/libbsd/default.nix b/pkgs/development/libraries/libbsd/default.nix
index 3c28b95c06672f51489ff0bb8acb8db85e767728..758f86e5f9a59183d886442da712fc30f394bec4 100644
--- a/pkgs/development/libraries/libbsd/default.nix
+++ b/pkgs/development/libraries/libbsd/default.nix
@@ -18,7 +18,6 @@ in stdenv.mkDerivation {
meta = {
description = "Common functions found on BSD systems";
homepage = http://libbsd.freedesktop.org/;
- license = "BSD3";
+ license = stdenv.lib.licenses.bsd3;
};
}
-
diff --git a/pkgs/development/libraries/libcanberra/default.nix b/pkgs/development/libraries/libcanberra/default.nix
index c05528450543062b26de5eabb83591dd054dc865..e69cd4ed2acc4da30f77b9c51392dde38cf98b8f 100644
--- a/pkgs/development/libraries/libcanberra/default.nix
+++ b/pkgs/development/libraries/libcanberra/default.nix
@@ -31,7 +31,7 @@ stdenv.mkDerivation rec {
homepage = http://0pointer.de/lennart/projects/libcanberra/;
- license = "LGPLv2+";
+ license = stdenv.lib.licenses.lgpl2Plus;
maintainers = [ ];
platforms = stdenv.lib.platforms.gnu; # arbitrary choice
diff --git a/pkgs/development/libraries/libcangjie/default.nix b/pkgs/development/libraries/libcangjie/default.nix
index 34441d8fa7f803e6963c58661a0d78551b00f59c..d22ce9ae2bf1a2886c08fda664b435bc5419283b 100644
--- a/pkgs/development/libraries/libcangjie/default.nix
+++ b/pkgs/development/libraries/libcangjie/default.nix
@@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
libcangjie is a library implementing the Cangjie input method.
'';
homepage = http://cangjians.github.io/projects/libcangjie/;
- license = "LGPLv3+";
+ license = stdenv.lib.licenses.lgpl3Plus;
maintainers = [ stdenv.lib.maintainers.linquize ];
platforms = stdenv.lib.platforms.all;
diff --git a/pkgs/development/libraries/libcddb/default.nix b/pkgs/development/libraries/libcddb/default.nix
index 8e4f8a36547a905322ef53f1c095836bdb47ddee..b9823cefd2d9566331ef5246414125c10a42efa2 100644
--- a/pkgs/development/libraries/libcddb/default.nix
+++ b/pkgs/development/libraries/libcddb/default.nix
@@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
meta = {
description = "Libcddb is a C library to access data on a CDDB server (freedb.org)";
- license = "LGPLv2+";
+ license = stdenv.lib.licenses.lgpl2Plus;
homepage = http://libcddb.sourceforge.net/;
};
}
diff --git a/pkgs/development/libraries/libcdio/0.82.nix b/pkgs/development/libraries/libcdio/0.82.nix
index fc26fb9aca113994d6b958a27f0ac7c4274f3067..db4af40afbd4475f9891f590ebc0f90c41393174 100644
--- a/pkgs/development/libraries/libcdio/0.82.nix
+++ b/pkgs/development/libraries/libcdio/0.82.nix
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
ISO-9660 filesystems (libiso9660), as well as utility
programs such as an audio CD player and an extractor.
'';
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
homepage = http://www.gnu.org/software/libcdio/;
};
}
diff --git a/pkgs/development/libraries/libcdio/default.nix b/pkgs/development/libraries/libcdio/default.nix
index 856d5124a3ff3edbb79fa92d4ffeecac9e7de266..ac7b428bfb00fee4fa828e3aafc6a03398c0ca63 100644
--- a/pkgs/development/libraries/libcdio/default.nix
+++ b/pkgs/development/libraries/libcdio/default.nix
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
ISO-9660 filesystems (libiso9660), as well as utility
programs such as an audio CD player and an extractor.
'';
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
homepage = http://www.gnu.org/software/libcdio/;
};
}
diff --git a/pkgs/development/libraries/libchamplain/0.6.nix b/pkgs/development/libraries/libchamplain/0.6.nix
index 79c734dcad62f244e6cc0be376eb2efb8be0ca5c..a2b35a7265180d5069d3506b77eafb1c58dceed2 100644
--- a/pkgs/development/libraries/libchamplain/0.6.nix
+++ b/pkgs/development/libraries/libchamplain/0.6.nix
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://projects.gnome.org/libchamplain/;
- license = "LGPLv2+";
+ license = stdenv.lib.licenses.lgpl2Plus;
description = "libchamplain, a C library providing a ClutterActor to display maps";
diff --git a/pkgs/development/libraries/libchamplain/default.nix b/pkgs/development/libraries/libchamplain/default.nix
index 263b34701eedb374d221970caeb842622b1ea4b2..51b7f7e181d0027eb7632a023c964092e400fd77 100644
--- a/pkgs/development/libraries/libchamplain/default.nix
+++ b/pkgs/development/libraries/libchamplain/default.nix
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://projects.gnome.org/libchamplain/;
- license = "LGPLv2+";
+ license = stdenv.lib.licenses.lgpl2Plus;
description = "libchamplain, a C library providing a ClutterActor to display maps";
diff --git a/pkgs/development/libraries/libchop/default.nix b/pkgs/development/libraries/libchop/default.nix
index 1b16d361c6dc977a151452b72671882f8b79bea7..f0d7fbfbeb69cf876f64deeef9fd33b57ad07a27 100644
--- a/pkgs/development/libraries/libchop/default.nix
+++ b/pkgs/development/libraries/libchop/default.nix
@@ -42,7 +42,7 @@ stdenv.mkDerivation rec {
'';
homepage = http://nongnu.org/libchop/;
- license = "GPLv3+";
+ license = stdenv.lib.licenses.gpl3Plus;
maintainers = with stdenv.lib.maintainers; [ ludo viric ];
platforms = stdenv.lib.platforms.gnu;
diff --git a/pkgs/development/libraries/libcue/default.nix b/pkgs/development/libraries/libcue/default.nix
index b4cea379bbaef24b8047a28d1244dbf75d3e8e03..a5ff8d409b2f94b730db87526078f47a2a7180af 100644
--- a/pkgs/development/libraries/libcue/default.nix
+++ b/pkgs/development/libraries/libcue/default.nix
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
available.
'';
homepage = http://sourceforge.net/projects/libcue/;
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
maintainers = with stdenv.lib.maintainers; [ astsmtl ];
platforms = with stdenv.lib.platforms; linux;
};
diff --git a/pkgs/development/libraries/libdaemon/default.nix b/pkgs/development/libraries/libdaemon/default.nix
index 58c150a22d6e18c978b398cfe66afcf24821ae74..ba7e3e47ff7672dd459c29dd262e2fa98d15f89f 100644
--- a/pkgs/development/libraries/libdaemon/default.nix
+++ b/pkgs/development/libraries/libdaemon/default.nix
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
homepage = http://0pointer.de/lennart/projects/libdaemon/;
- license = "LGPLv2+";
+ license = stdenv.lib.licenses.lgpl2Plus;
hydraPlatforms = stdenv.lib.platforms.linux;
maintainers = [ ];
diff --git a/pkgs/development/libraries/libdc1394/default.nix b/pkgs/development/libraries/libdc1394/default.nix
index f92bc58552431e4a2ab5a17f3f032e76fca78320..bc5f6a1d7a03f37f9d73643611563a0b7c7c0c5c 100644
--- a/pkgs/development/libraries/libdc1394/default.nix
+++ b/pkgs/development/libraries/libdc1394/default.nix
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://sourceforge.net/projects/libdc1394/;
description = "Capture and control API for IIDC compliant cameras";
- license = "LGPLv2.1+";
+ license = stdenv.lib.licenses.lgpl21Plus;
maintainers = [ stdenv.lib.maintainers.viric ];
platforms = stdenv.lib.platforms.linux;
};
diff --git a/pkgs/development/libraries/libdc1394avt/default.nix b/pkgs/development/libraries/libdc1394avt/default.nix
index 69f66d7f5b7b103b3a01efe0a580578eee1a30f9..7565502cc1c163591fd302c1f170b30f00c92935 100644
--- a/pkgs/development/libraries/libdc1394avt/default.nix
+++ b/pkgs/development/libraries/libdc1394avt/default.nix
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://www.alliedvisiontec.com/us/products/software/linux/avt-fire4linux.html;
description = "Capture and control API for IIDC cameras with AVT extensions";
- license = "LGPLv2.1+";
+ license = stdenv.lib.licenses.lgpl21Plus;
maintainers = [ stdenv.lib.maintainers.viric ];
platforms = stdenv.lib.platforms.linux;
broken = true;
diff --git a/pkgs/development/libraries/libdiscid/default.nix b/pkgs/development/libraries/libdiscid/default.nix
index b8f79f2ae695cdea0008c760b4cc29a1bf472699..f9d1fc87870d089965cd803f771341653edd3a45 100644
--- a/pkgs/development/libraries/libdiscid/default.nix
+++ b/pkgs/development/libraries/libdiscid/default.nix
@@ -21,6 +21,6 @@ stdenv.mkDerivation rec {
meta = {
description = "A C library for creating MusicBrainz DiscIDs from audio CDs";
homepage = http://musicbrainz.org/doc/libdiscid;
- license = "LGPL-2.1";
+ license = stdenv.lib.licenses.lgpl21;
};
}
diff --git a/pkgs/development/libraries/libdivsufsort/default.nix b/pkgs/development/libraries/libdivsufsort/default.nix
index 21ee2351c58f9a29204665d77afe4b69d26500ae..62c7d4322527ca80cf5eef28c8e8cc587e50ccea 100644
--- a/pkgs/development/libraries/libdivsufsort/default.nix
+++ b/pkgs/development/libraries/libdivsufsort/default.nix
@@ -10,7 +10,7 @@ stdenv.mkDerivation {
meta = {
homepage = http://code.google.com/p/libdivsufsort/;
- license = "MIT";
+ license = stdenv.lib.licenses.mit;
description = "Library to construct the suffix array and the BW transformed string";
};
}
diff --git a/pkgs/development/libraries/libdvbpsi/default.nix b/pkgs/development/libraries/libdvbpsi/default.nix
index d3ce7082621d9523e6ac1cd2030353513daeeea4..6af8e7a415e2cf17c1f4f4a343c4a842c9775810 100644
--- a/pkgs/development/libraries/libdvbpsi/default.nix
+++ b/pkgs/development/libraries/libdvbpsi/default.nix
@@ -13,7 +13,7 @@ stdenv.mkDerivation {
description = "A simple library designed for decoding and generation of MPEG TS and DVB PSI tables according to standards ISO/IEC 13818 and ITU-T H.222.0";
homepage = http://www.videolan.org/developers/libdvbpsi.html ;
platforms = stdenv.lib.platforms.linux;
- license = "LGPLv2.1";
+ license = stdenv.lib.licenses.lgpl21;
};
}
diff --git a/pkgs/development/libraries/libdwg/default.nix b/pkgs/development/libraries/libdwg/default.nix
index a92a48bf75f9ad4fba10c254089261a96ce18056..a80c0677a3bdb12223cf84839c888968106c83e3 100644
--- a/pkgs/development/libraries/libdwg/default.nix
+++ b/pkgs/development/libraries/libdwg/default.nix
@@ -11,7 +11,7 @@ stdenv.mkDerivation {
meta = {
description = "library reading dwg files";
homepage = http://libdwg.sourceforge.net/en/;
- license = "GPLv3";
+ license = stdenv.lib.licenses.gpl3;
maintainers = [stdenv.lib.maintainers.marcweber];
platforms = stdenv.lib.platforms.linux;
};
diff --git a/pkgs/development/libraries/libeatmydata/default.nix b/pkgs/development/libraries/libeatmydata/default.nix
index 6b3a16d1c0922e4326855f829294fef0dd6e1880..8d2d820a2301b43fcfe1d6d6b6f8a28d0515c5b7 100644
--- a/pkgs/development/libraries/libeatmydata/default.nix
+++ b/pkgs/development/libraries/libeatmydata/default.nix
@@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://www.flamingspork.com/projects/libeatmydata/;
- license = "GPLv3+";
+ license = stdenv.lib.licenses.gpl3Plus;
description = "Small LD_PRELOAD library to disable fsync and friends";
};
}
diff --git a/pkgs/development/libraries/libelf/default.nix b/pkgs/development/libraries/libelf/default.nix
index ac52876f887ebefd8f7de59c101edd60799b0ec9..d9436456d0d4ee8d650a904575cd5a4eb8b73827 100644
--- a/pkgs/development/libraries/libelf/default.nix
+++ b/pkgs/development/libraries/libelf/default.nix
@@ -15,7 +15,7 @@ stdenv.mkDerivation (rec {
homepage = http://www.mr511.de/software/english.html;
- license = "LGPLv2+";
+ license = stdenv.lib.licenses.lgpl2Plus;
platforms = stdenv.lib.platforms.all;
maintainers = [ ];
diff --git a/pkgs/development/libraries/libevdev/default.nix b/pkgs/development/libraries/libevdev/default.nix
new file mode 100644
index 0000000000000000000000000000000000000000..2776a3c0614c519963a8c20daf51c38ca96e1c9e
--- /dev/null
+++ b/pkgs/development/libraries/libevdev/default.nix
@@ -0,0 +1,20 @@
+{ stdenv, fetchurl, python }:
+
+stdenv.mkDerivation rec {
+ name = "libevdev-1.2";
+
+ src = fetchurl {
+ url = "http://www.freedesktop.org/software/libevdev/${name}.tar.xz";
+ sha256 = "0h54ym5rsmicl4gx7gcdaifpyndakbl38c5dcxgr27f0cy0635a1";
+ };
+
+ buildInputs = [ python ];
+
+ meta = with stdenv.lib; {
+ description = "Wrapper library for evdev devices";
+ homepage = http://www.freedesktop.org/software/libevdev/doc/latest/index.html;
+ license = licenses.mit;
+ platforms = platforms.linux;
+ maintainers = [ maintainers.amorsillo ];
+ };
+}
diff --git a/pkgs/development/libraries/libexif/default.nix b/pkgs/development/libraries/libexif/default.nix
index 48c66cb6070618467aa949e002d992cbbe2d4bc2..4843b65c4d38ba0a9fef066a32cf6671a9a3925d 100644
--- a/pkgs/development/libraries/libexif/default.nix
+++ b/pkgs/development/libraries/libexif/default.nix
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://libexif.sourceforge.net/;
description = "A library to read and manipulate EXIF data in digital photographs";
- license = "LGPL 2.1";
+ license = stdenv.lib.licenses.lgpl21;
};
}
diff --git a/pkgs/development/libraries/libextractor/default.nix b/pkgs/development/libraries/libextractor/default.nix
index 309816b65e5e6db14ce2b7b669606e3017fa685a..6df5ca683f1f012e19edd096a6ee0964ba07da13 100644
--- a/pkgs/development/libraries/libextractor/default.nix
+++ b/pkgs/development/libraries/libextractor/default.nix
@@ -63,7 +63,7 @@ stdenv.mkDerivation rec {
additional MIME types are detected.
'';
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
maintainers = [ ];
};
diff --git a/pkgs/development/libraries/libftdi/default.nix b/pkgs/development/libraries/libftdi/default.nix
index ef7a67b7fcd427e9645a7d69a0f1244eaa9c7cda..6293632452ceaf74b725a83156fdba30aed3dfdb 100644
--- a/pkgs/development/libraries/libftdi/default.nix
+++ b/pkgs/development/libraries/libftdi/default.nix
@@ -15,6 +15,6 @@ stdenv.mkDerivation rec {
meta = {
description = "A library to talk to FTDI chips using libusb";
homepage = http://www.intra2net.com/en/developer/libftdi/;
- license = "LGPLv2.1";
+ license = stdenv.lib.licenses.lgpl21;
};
}
diff --git a/pkgs/development/libraries/libgadu/default.nix b/pkgs/development/libraries/libgadu/default.nix
index 430560107702eef9b9ff222808af64b7892aa673..b039c84b2fb1962b7244307ef206d117882c97f4 100644
--- a/pkgs/development/libraries/libgadu/default.nix
+++ b/pkgs/development/libraries/libgadu/default.nix
@@ -15,7 +15,7 @@ stdenv.mkDerivation {
description = "A library to deal with gadu-gadu protocol (most popular polish IM protocol)";
homepage = http://toxygen.net/libgadu/;
platforms = stdenv.lib.platforms.linux;
- license = "LGPLv2.1";
+ license = stdenv.lib.licenses.lgpl21;
};
}
diff --git a/pkgs/development/libraries/libgcrypt/1.6.nix b/pkgs/development/libraries/libgcrypt/1.6.nix
index 9dc8b8a23179761243a9c8cfc673607ff5c726ba..ced3b723b132c0eb51efec93c28bcd610e71c2a4 100644
--- a/pkgs/development/libraries/libgcrypt/1.6.nix
+++ b/pkgs/development/libraries/libgcrypt/1.6.nix
@@ -41,7 +41,7 @@ stdenv.mkDerivation rec {
functions, random numbers and a lot of supporting functions.
'';
- license = "LGPLv2+";
+ license = stdenv.lib.licenses.lgpl2Plus;
homepage = https://www.gnu.org/software/libgcrypt/;
repositories.git = git://git.gnupg.org/libgcrypt.git;
diff --git a/pkgs/development/libraries/libgcrypt/default.nix b/pkgs/development/libraries/libgcrypt/default.nix
index c53b5479b7b22349093fbd0643b95c5c39517759..ba3de49ede8af99d406abc0f9d17b0ee3d646337 100644
--- a/pkgs/development/libraries/libgcrypt/default.nix
+++ b/pkgs/development/libraries/libgcrypt/default.nix
@@ -29,7 +29,7 @@ stdenv.mkDerivation (rec {
functions, random numbers and a lot of supporting functions.
'';
- license = "LGPLv2+";
+ license = stdenv.lib.licenses.lgpl2Plus;
homepage = http://gnupg.org/;
platforms = stdenv.lib.platforms.all;
@@ -38,4 +38,3 @@ stdenv.mkDerivation (rec {
// stdenv.lib.optionalAttrs (stdenv.isFreeBSD && stdenv.isi686)
{ configureFlags = [ "--disable-aesni-support" ]; }
)
-
diff --git a/pkgs/development/libraries/libgeotiff/default.nix b/pkgs/development/libraries/libgeotiff/default.nix
index 07e8d2869ce233353dd3bcb6977ea37a904bd834..d07aae3ab8074ea050f5206635e62fbd1ebd603c 100644
--- a/pkgs/development/libraries/libgeotiff/default.nix
+++ b/pkgs/development/libraries/libgeotiff/default.nix
@@ -13,7 +13,7 @@ stdenv.mkDerivation {
meta = {
description = "Library implementing attempt to create a tiff based interchange format for georeferenced raster imagery";
homepage = http://www.remotesensing.org/geotiff/geotiff.html;
- license = "X11";
+ license = stdenv.lib.licenses.mit;
maintainers = [stdenv.lib.maintainers.marcweber];
platforms = stdenv.lib.platforms.linux;
};
diff --git a/pkgs/development/libraries/libgpg-error/default.nix b/pkgs/development/libraries/libgpg-error/default.nix
index 8ce9a10701ec534173b3348498486bfd4e977005..663bd944fb924fed6015f6d239c66f308ac79821 100644
--- a/pkgs/development/libraries/libgpg-error/default.nix
+++ b/pkgs/development/libraries/libgpg-error/default.nix
@@ -26,7 +26,7 @@ stdenv.mkDerivation (rec {
homepage = http://gnupg.org;
- license = "LGPLv2+";
+ license = stdenv.lib.licenses.lgpl2Plus;
platforms = stdenv.lib.platforms.all;
};
}
diff --git a/pkgs/development/libraries/libiconv/default.nix b/pkgs/development/libraries/libiconv/default.nix
index b286dcfcd1999c31c854e7bfc8a94827bbd75e19..7b669cd780aeb8c163a39db1fd128585d573bb40 100644
--- a/pkgs/development/libraries/libiconv/default.nix
+++ b/pkgs/development/libraries/libiconv/default.nix
@@ -34,7 +34,7 @@ stdenv.mkDerivation rec {
'';
homepage = http://www.gnu.org/software/libiconv/;
- license = "LGPLv2+";
+ license = stdenv.lib.licenses.lgpl2Plus;
maintainers = [ ];
diff --git a/pkgs/development/libraries/libid3tag/default.nix b/pkgs/development/libraries/libid3tag/default.nix
index cb54f17755cde02e9ea2b14c8f9c8b44f0087964..a173cee2f26409185e3c146f96f6e4ca720e4a6a 100644
--- a/pkgs/development/libraries/libid3tag/default.nix
+++ b/pkgs/development/libraries/libid3tag/default.nix
@@ -1,7 +1,10 @@
-{stdenv, fetchurl, zlib, gperf}:
+{stdenv, fetchurl, writeText, zlib, gperf}:
+
+stdenv.mkDerivation rec {
+ version = "0.15.1b";
+
+ name = "libid3tag-${version}";
-stdenv.mkDerivation {
- name = "libid3tag-0.15.1b";
src = fetchurl {
url = mirror://sourceforge/mad/libid3tag-0.15.1b.tar.gz;
sha256 = "63da4f6e7997278f8a3fef4c6a372d342f705051d1eeb6a46a86b03610e26151";
@@ -11,6 +14,26 @@ stdenv.mkDerivation {
patches = [ ./debian-patches.patch ];
+ postInstall = let pkgconfigFile = writeText "id3tag.pc" ''
+ prefix=@out@
+ exec_prefix=''${prefix}
+ libdir=''${exec_prefix}/lib
+ includedir=''${exec_prefix}/include
+
+ Name: libid3tag
+ Description: ID3 tag manipulation library
+ Version: ${version}
+
+ Libs: -L''${libdir} -lid3tag
+ Cflags: -I''${includedir}
+ '';
+ in ''
+ ensureDir $out/share/pkgconfig
+ cp ${pkgconfigFile} $out/share/pkgconfig/id3tag.pc
+ substituteInPlace $out/share/pkgconfig/id3tag.pc \
+ --subst-var-by out $out
+ '';
+
meta = with stdenv.lib; {
description = "ID3 tag manipulation library";
homepage = http://mad.sourceforge.net/;
diff --git a/pkgs/development/libraries/libidn/default.nix b/pkgs/development/libraries/libidn/default.nix
index da8a7d50b67ec9dcc9c17d188f04259bb77ee408..802ee9e3e88f679a58069f7aeabbaf7e940d91b6 100644
--- a/pkgs/development/libraries/libidn/default.nix
+++ b/pkgs/development/libraries/libidn/default.nix
@@ -30,7 +30,7 @@ stdenv.mkDerivation rec {
included.
'';
- license = "LGPLv2+";
+ license = stdenv.lib.licenses.lgpl2Plus;
platforms = stdenv.lib.platforms.all;
maintainers = [ ];
};
diff --git a/pkgs/development/libraries/libinfinity/default.nix b/pkgs/development/libraries/libinfinity/default.nix
index c7513b0a167fdd80e3c6330820698b5c24422c96..1a39e0941535ad893a3ba1cb530aff63a95a8389 100644
--- a/pkgs/development/libraries/libinfinity/default.nix
+++ b/pkgs/development/libraries/libinfinity/default.nix
@@ -37,9 +37,8 @@ in stdenv.mkDerivation rec {
meta = {
homepage = http://gobby.0x539.de/;
description = "An implementation of the Infinote protocol written in GObject-based C";
- license = "LGPLv2+";
+ license = stdenv.lib.licenses.lgpl2Plus;
maintainers = [ stdenv.lib.maintainers.phreedom ];
};
}
-
diff --git a/pkgs/development/libraries/libiptcdata/default.nix b/pkgs/development/libraries/libiptcdata/default.nix
index 1094a4e75919264211aeda893e286a729a3a9808..158962d3294059e5e5f4e942ed139b596f770bab 100644
--- a/pkgs/development/libraries/libiptcdata/default.nix
+++ b/pkgs/development/libraries/libiptcdata/default.nix
@@ -11,6 +11,6 @@ stdenv.mkDerivation rec {
meta = {
description = "Library for reading and writing the IPTC metadata in images and other files";
homepage = http://libiptcdata.sourceforge.net/;
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
};
}
diff --git a/pkgs/development/libraries/liblo/default.nix b/pkgs/development/libraries/liblo/default.nix
index a2235da408e31ec0cdefded728b7fa61a76e27aa..ab8c696a66c7ac37929d2966790f9e8cb97350f9 100644
--- a/pkgs/development/libraries/liblo/default.nix
+++ b/pkgs/development/libraries/liblo/default.nix
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
meta = {
description = "lightweight library to handle the sending and receiving of messages according to the Open Sound Control (OSC) protocol";
homepage = http://sourceforge.net/projects/liblo;
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
maintainers = [stdenv.lib.maintainers.marcweber];
platforms = stdenv.lib.platforms.linux;
};
diff --git a/pkgs/development/libraries/liblockfile/default.nix b/pkgs/development/libraries/liblockfile/default.nix
index f991fdc2f299c16cdbdf530d6cad82913f1cbb4b..e7e4cd6c75d9f74fc3b98685c0625f2c90864711 100644
--- a/pkgs/development/libraries/liblockfile/default.nix
+++ b/pkgs/development/libraries/liblockfile/default.nix
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
meta = {
description = "Shared library with NFS-safe locking functions";
homepage = http://packages.debian.org/unstable/libs/liblockfile1;
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
maintainers = [ stdenv.lib.maintainers.bluescreen303 ];
platforms = stdenv.lib.platforms.all;
diff --git a/pkgs/development/libraries/libmatchbox/default.nix b/pkgs/development/libraries/libmatchbox/default.nix
index b45b443f6dee8b9bdf45fffe9a7355bc925aede1..3870281773461c245c9b487e4d326a327554cd86 100644
--- a/pkgs/development/libraries/libmatchbox/default.nix
+++ b/pkgs/development/libraries/libmatchbox/default.nix
@@ -14,6 +14,6 @@ stdenv.mkDerivation rec {
meta = {
description = "Library of the matchbox X window manager";
homepage = http://matchbox-project.org/;
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
};
}
diff --git a/pkgs/development/libraries/libmicrohttpd/default.nix b/pkgs/development/libraries/libmicrohttpd/default.nix
index be1f3f2b4b9671ab2a37c420cdcb7c4a9d7c7084..959dca475732b8ae4a6788acea04f89ea72258f8 100644
--- a/pkgs/development/libraries/libmicrohttpd/default.nix
+++ b/pkgs/development/libraries/libmicrohttpd/default.nix
@@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
it easy to run an HTTP server as part of another application.
'';
- license = "LGPLv2+";
+ license = stdenv.lib.licenses.lgpl2Plus;
homepage = http://www.gnu.org/software/libmicrohttpd/;
diff --git a/pkgs/development/libraries/libmnl/default.nix b/pkgs/development/libraries/libmnl/default.nix
index fb6eacc366b051a8b5ee677f9e16bf2040d7fa17..94401c30a6ba8657770b508eb91dd6a22f6110fc 100644
--- a/pkgs/development/libraries/libmnl/default.nix
+++ b/pkgs/development/libraries/libmnl/default.nix
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
re-inventing the wheel.
'';
homepage = http://netfilter.org/projects/libmnl/index.html;
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
platforms = stdenv.lib.platforms.linux;
};
diff --git a/pkgs/development/libraries/libmrss/default.nix b/pkgs/development/libraries/libmrss/default.nix
index b1f7b0071c8568fa0c951cb9dc76570570fbf872..865330fdda7c2ecd9520bbf4e6fd174a00db0130 100644
--- a/pkgs/development/libraries/libmrss/default.nix
+++ b/pkgs/development/libraries/libmrss/default.nix
@@ -14,7 +14,7 @@ stdenv.mkDerivation {
meta = {
homepage = http://www.autistici.org/bakunin/libmrss/doc;
description = "C library for parsing, writing and creating RSS/ATOM files or streams";
- license = "LGPLv2";
+ license = stdenv.lib.licenses.lgpl2;
platforms = stdenv.lib.platforms.all;
maintainers = [ stdenv.lib.maintainers.viric ];
diff --git a/pkgs/development/libraries/libmspack/default.nix b/pkgs/development/libraries/libmspack/default.nix
index a49cd95822f67ed04ad08075ed3dd8bb9e4ed674..b78e583fa64093393bacd1b04f193f5520dee7f6 100644
--- a/pkgs/development/libraries/libmspack/default.nix
+++ b/pkgs/development/libraries/libmspack/default.nix
@@ -13,7 +13,7 @@ stdenv.mkDerivation {
meta = {
description = "A de/compression library for various Microsoft formats";
homepage = http://www.cabextract.org.uk/libmspack;
- license = "LGPL2";
+ license = stdenv.lib.licenses.lgpl2;
};
}
diff --git a/pkgs/development/libraries/libnetfilter_conntrack/default.nix b/pkgs/development/libraries/libnetfilter_conntrack/default.nix
index 14b50bb51182b6f6d30888a7f2af8ca4a0eda0dc..da32903c94e788a7d9ea16f5158e2943cb1024b0 100644
--- a/pkgs/development/libraries/libnetfilter_conntrack/default.nix
+++ b/pkgs/development/libraries/libnetfilter_conntrack/default.nix
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
by conntrack-tools among many other applications
'';
homepage = http://netfilter.org/projects/libnetfilter_conntrack/;
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
platforms = stdenv.lib.platforms.linux;
};
diff --git a/pkgs/development/libraries/libnfnetlink/default.nix b/pkgs/development/libraries/libnfnetlink/default.nix
index 3bb698e9bf631c9fcfd87a296f13a03b84e3cf15..c47076014c4386498504cc07b51fcba428cccc5f 100644
--- a/pkgs/development/libraries/libnfnetlink/default.nix
+++ b/pkgs/development/libraries/libnfnetlink/default.nix
@@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
It is only used by other netfilter.org projects, like the aforementioned ones.
'';
homepage = http://www.netfilter.org/projects/libnfnetlink/index.html;
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
platforms = stdenv.lib.platforms.linux;
};
diff --git a/pkgs/development/libraries/libnih/default.nix b/pkgs/development/libraries/libnih/default.nix
index aeb0792dacfa64c6eaa4d2deb1787611562b9187..ab6931c63ca3626eb89a5b4d59bd6e1ee73c1038 100644
--- a/pkgs/development/libraries/libnih/default.nix
+++ b/pkgs/development/libraries/libnih/default.nix
@@ -15,6 +15,6 @@ stdenv.mkDerivation rec {
meta = {
description = "A small library for C application development";
homepage = https://launchpad.net/libnih;
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
};
}
diff --git a/pkgs/development/libraries/libnm-qt/default.nix b/pkgs/development/libraries/libnm-qt/default.nix
index 31afcae8e01acd825d92cfa30d9cccd7197bf85e..44c8b406e45975a62cd0664b1c441c90a1ad773c 100644
--- a/pkgs/development/libraries/libnm-qt/default.nix
+++ b/pkgs/development/libraries/libnm-qt/default.nix
@@ -27,6 +27,6 @@ stdenv.mkDerivation {
description = "Qt wrapper for NetworkManager DBus API";
license = licenses.lgpl21;
platforms = platforms.linux;
- maintainer = [ maintainers.jgeerds ];
+ maintainers = [ maintainers.jgeerds ];
};
}
diff --git a/pkgs/development/libraries/libnxml/default.nix b/pkgs/development/libraries/libnxml/default.nix
index b492a16a2055755c486f496eb8071a37df0079ed..f34c421a120aa18823962bec26b6d5ef457223b0 100644
--- a/pkgs/development/libraries/libnxml/default.nix
+++ b/pkgs/development/libraries/libnxml/default.nix
@@ -13,7 +13,7 @@ stdenv.mkDerivation {
meta = {
homepage = http://www.autistici.org/bakunin/libnxml/;
description = "C library for parsing, writing and creating XML 1.0 and 1.1 files or streams";
- license = "LGPLv2";
+ license = stdenv.lib.licenses.lgpl2;
platforms = stdenv.lib.platforms.all;
maintainers = [ stdenv.lib.maintainers.viric ];
diff --git a/pkgs/development/libraries/libotr/default.nix b/pkgs/development/libraries/libotr/default.nix
index 0d5bdfcc9a75c1795253db33833440094576b2e6..3782dabc67bd0420f2df111ab0b4b3298f824e29 100644
--- a/pkgs/development/libraries/libotr/default.nix
+++ b/pkgs/development/libraries/libotr/default.nix
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = "http://www.cypherpunks.ca/otr/";
repositories.git = git://git.code.sf.net/p/otr/libotr;
- license = "LGPLv2.1";
+ license = stdenv.lib.licenses.lgpl21;
description = "Library for Off-The-Record Messaging";
};
}
diff --git a/pkgs/development/libraries/libpaper/default.nix b/pkgs/development/libraries/libpaper/default.nix
index 9505a6cf052fd2945d29a4c5b505eef92c77acce..ab8e03b89a07fc5435b5df4d3d1cfac160cf86fd 100644
--- a/pkgs/development/libraries/libpaper/default.nix
+++ b/pkgs/development/libraries/libpaper/default.nix
@@ -12,6 +12,6 @@ stdenv.mkDerivation rec {
meta = {
description = "Library for handling paper characteristics";
homepage = "http://packages.debian.org/unstable/source/libpaper";
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
};
}
diff --git a/pkgs/development/libraries/libpar2/default.nix b/pkgs/development/libraries/libpar2/default.nix
index 85e8bad8906624594e2ad609f701e5f359700d7e..a987768bbc538139570e0108a6c6e8f977e962e2 100644
--- a/pkgs/development/libraries/libpar2/default.nix
+++ b/pkgs/development/libraries/libpar2/default.nix
@@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://parchive.sourceforge.net/;
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
description = "A library for using Parchives (parity archive volume sets)";
};
}
diff --git a/pkgs/development/libraries/libqglviewer/default.nix b/pkgs/development/libraries/libqglviewer/default.nix
index c968fd352eb85358c5acdd8087dd99f9515a795e..b389176b3da8ca85c2ece50372ec8bd24e220ffc 100644
--- a/pkgs/development/libraries/libqglviewer/default.nix
+++ b/pkgs/development/libraries/libqglviewer/default.nix
@@ -20,6 +20,6 @@ stdenv.mkDerivation rec {
meta = {
description = "trackball-based 3D viewer qt widget including many useful features";
homepage = http://artis.imag.fr/Members/Gilles.Debunne/QGLViewer/installUnix.html;
- license = "GPL2";
+ license = stdenv.lib.licenses.gpl2;
};
}
diff --git a/pkgs/development/libraries/librdf/default.nix b/pkgs/development/libraries/librdf/default.nix
index 9b51f694ab3ec3be3300305476f21241826ebb90..58ff77480b63bbc08ed54eef526da6114d87ed7d 100644
--- a/pkgs/development/libraries/librdf/default.nix
+++ b/pkgs/development/libraries/librdf/default.nix
@@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
meta = {
description = "Lightweight RDF library with special support for LADSPA plugins";
homepage = http://sourceforge.net/projects/lrdf/;
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
maintainers = [ stdenv.lib.maintainers.marcweber ];
platforms = stdenv.lib.platforms.linux;
};
diff --git a/pkgs/development/libraries/librsync/default.nix b/pkgs/development/libraries/librsync/default.nix
index 41445b841435b705a22d38d145536d2b8fae2919..76daf7d748bf2112649ac0c46d39e266b73e9b31 100644
--- a/pkgs/development/libraries/librsync/default.nix
+++ b/pkgs/development/libraries/librsync/default.nix
@@ -16,7 +16,7 @@ stdenv.mkDerivation {
meta = {
homepage = http://librsync.sourceforge.net/;
- license = "LGPLv2+";
+ license = stdenv.lib.licenses.lgpl2Plus;
description = "Implementation of the rsync remote-delta algorithm";
};
}
diff --git a/pkgs/development/libraries/libsigsegv/default.nix b/pkgs/development/libraries/libsigsegv/default.nix
index b0a726ed7f35b5c5814cc9b4eb27c088e00fbb7a..ae6299286a1783d5146766d7ad08148a69b7229f 100644
--- a/pkgs/development/libraries/libsigsegv/default.nix
+++ b/pkgs/development/libraries/libsigsegv/default.nix
@@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
more.
'';
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
maintainers = [ stdenv.lib.maintainers.ludo ];
};
diff --git a/pkgs/development/libraries/libspatialindex/default.nix b/pkgs/development/libraries/libspatialindex/default.nix
index c48c5265fc48be4fec91aebe4b94c011e80a02b3..bd38c37a57b33e321cc2027da3b0ebd3727b92c8 100644
--- a/pkgs/development/libraries/libspatialindex/default.nix
+++ b/pkgs/development/libraries/libspatialindex/default.nix
@@ -15,6 +15,6 @@ stdenv.mkDerivation rec {
meta = {
description = "Extensible spatial index library in C++";
homepage = http://libspatialindex.github.io/;
- license = "MIT";
+ license = stdenv.lib.licenses.mit;
};
}
diff --git a/pkgs/development/libraries/libspectre/default.nix b/pkgs/development/libraries/libspectre/default.nix
index a819e0cef6f32b1fbfe30890fef11b063d0aaa20..7d46f9e32cef034022b5122fc31a4b9e0d3afc6f 100644
--- a/pkgs/development/libraries/libspectre/default.nix
+++ b/pkgs/development/libraries/libspectre/default.nix
@@ -25,6 +25,6 @@ stdenv.mkDerivation rec {
handling and rendering Postscript documents.
'';
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
};
}
diff --git a/pkgs/development/libraries/libtasn1/default.nix b/pkgs/development/libraries/libtasn1/default.nix
index 5e069655afc30417d20a79eb2473254e14c917f2..bae22ef220fc18d2d5c8b7fc0a8d6d3b12594f91 100644
--- a/pkgs/development/libraries/libtasn1/default.nix
+++ b/pkgs/development/libraries/libtasn1/default.nix
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
portable, and only require an ANSI C89 platform.
'';
- license = "LGPLv2+";
+ license = stdenv.lib.licenses.lgpl2Plus;
maintainers = [ ];
platforms = stdenv.lib.platforms.all;
diff --git a/pkgs/development/libraries/libtoxcore/default.nix b/pkgs/development/libraries/libtoxcore/default.nix
index 81336aed8aad8a913a9d6f27ac991318f8f60016..6741838d33b613daf81a871e076bd66fb630936c 100644
--- a/pkgs/development/libraries/libtoxcore/default.nix
+++ b/pkgs/development/libraries/libtoxcore/default.nix
@@ -1,35 +1,50 @@
-{ stdenv, fetchurl, autoconf, libtool, automake, libsodium, ncurses
-, libconfig, pkgconfig }:
+{ stdenv, fetchurl, autoconf, libtool, automake, libsodium, ncurses, libopus
+, libvpx, check, libconfig, pkgconfig }:
let
- version = "388b1229b";
- date = "20140220";
+ version = "e1158be5a6";
+ date = "20140728";
in
stdenv.mkDerivation rec {
name = "tox-core-${date}-${version}";
src = fetchurl {
- url = "https://github.com/irungentoo/ProjectTox-Core/tarball/${version}";
+ url = "https://github.com/irungentoo/toxcore/tarball/${version}";
name = "${name}.tar.gz";
- sha256 = "12vggiv0gyv8a2rd5qrv04b7yhfhxb7r0yh75gg5n4jdpcbhvgsd";
+ sha256 = "1rsh1pbwvngsx5slmd6608b1zqs3jvq70bjr9zyziap9vxka3z1v";
};
+ NIX_LDFLAGS = "-lgcc_s";
+
+ postPatch = ''
+ # within Nix chroot builds, localhost is unresolvable
+ sed -i -e '/DEFTESTCASE(addr_resolv_localhost)/d' \
+ auto_tests/network_test.c
+ # takes WAAAY too long (~10 minutes) and would timeout
+ sed -i -e '/DEFTESTCASE[^(]*(many_clients\>/d' \
+ auto_tests/tox_test.c
+ '';
+
preConfigure = ''
autoreconf -i
'';
- configureFlags = [ "--with-libsodium-headers=${libsodium}/include"
- "--with-libsodium-libs=${libsodium}/lib"
- "--enable-ntox" ];
+ configureFlags = [
+ "--with-libsodium-headers=${libsodium}/include"
+ "--with-libsodium-libs=${libsodium}/lib"
+ "--enable-ntox"
+ ];
- buildInputs = [ autoconf libtool automake libsodium ncurses libconfig
- pkgconfig ];
+ buildInputs = [
+ autoconf libtool automake libsodium ncurses libopus
+ libvpx check libconfig pkgconfig
+ ];
doCheck = true;
meta = {
description = "P2P FOSS instant messaging application aimed to replace Skype with crypto";
- license = "GPLv3+";
+ license = stdenv.lib.licenses.gpl3Plus;
maintainers = with stdenv.lib.maintainers; [ viric ];
platforms = stdenv.lib.platforms.all;
};
diff --git a/pkgs/development/libraries/libunique/default.nix b/pkgs/development/libraries/libunique/default.nix
index 125cb890008dda96871a819b503fae223421e747..f60043f18b17a7ce9c6d92e096db35ee7d1b189f 100644
--- a/pkgs/development/libraries/libunique/default.nix
+++ b/pkgs/development/libraries/libunique/default.nix
@@ -25,6 +25,6 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://live.gnome.org/LibUnique;
description = "A library for writing single instance applications";
- license = "LGPLv2.1";
+ license = stdenv.lib.licenses.lgpl21;
};
}
diff --git a/pkgs/development/libraries/libunistring/default.nix b/pkgs/development/libraries/libunistring/default.nix
index 9bc3cb7f90125167b2e2cd697abcad18c648aea1..b578d895c5f0da6133191a5e2b0c913092b63462 100644
--- a/pkgs/development/libraries/libunistring/default.nix
+++ b/pkgs/development/libraries/libunistring/default.nix
@@ -44,7 +44,7 @@ stdenv.mkDerivation (rec {
strings as internal in-memory representation.
'';
- license = "LGPLv3+";
+ license = stdenv.lib.licenses.lgpl3Plus;
maintainers = [ stdenv.lib.maintainers.ludo ];
platforms = stdenv.lib.platforms.all;
diff --git a/pkgs/development/libraries/libva/default.nix b/pkgs/development/libraries/libva/default.nix
index 5b35d2b24ad4688a306fa6e37fec7db342e15461..95299cb3fd7ba184fa70dfee9447b3eb80e09204 100644
--- a/pkgs/development/libraries/libva/default.nix
+++ b/pkgs/development/libraries/libva/default.nix
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://www.freedesktop.org/wiki/Software/vaapi;
- license = "MIT";
+ license = stdenv.lib.licenses.mit;
description = "VAAPI library: Video Acceleration API";
};
}
diff --git a/pkgs/development/libraries/libxmi/default.nix b/pkgs/development/libraries/libxmi/default.nix
index ececdabb56cea921a2205008df2bc465ff165845..85f0dbddb0b8e355d0c15aace91a4e15258eb2b9 100644
--- a/pkgs/development/libraries/libxmi/default.nix
+++ b/pkgs/development/libraries/libxmi/default.nix
@@ -14,7 +14,7 @@ stdenv.mkDerivation {
meta = {
description = "GNU libxmi, a library for rasterizing 2-D vector graphics";
homepage = http://www.gnu.org/software/libxmi/;
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
platforms = stdenv.lib.platforms.gnu; # arbitrary choice
maintainers = [ stdenv.lib.maintainers.ludo ];
};
diff --git a/pkgs/development/libraries/libxmlxx/default.nix b/pkgs/development/libraries/libxmlxx/default.nix
index aebb81020b3a97bedb5981a26bb2738bd21448fd..61f519dfe51a60d87f8fd6bb23be3583d7d04673 100644
--- a/pkgs/development/libraries/libxmlxx/default.nix
+++ b/pkgs/development/libraries/libxmlxx/default.nix
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://libxmlplusplus.sourceforge.net/;
description = "C++ wrapper for the libxml2 XML parser library";
- license = "LGPLv2+";
+ license = stdenv.lib.licenses.lgpl2Plus;
maintainers = [ stdenv.lib.maintainers.phreedom ];
};
}
\ No newline at end of file
diff --git a/pkgs/development/libraries/libyaml-cpp/0.3.x.nix b/pkgs/development/libraries/libyaml-cpp/0.3.x.nix
index 4b0acd83fc39a2719d7905b1d06ad315de9343ef..f94ca128228d2400f62c5378357a59c36b00700e 100644
--- a/pkgs/development/libraries/libyaml-cpp/0.3.x.nix
+++ b/pkgs/development/libraries/libyaml-cpp/0.3.x.nix
@@ -13,6 +13,6 @@ stdenv.mkDerivation {
meta = {
homepage = http://code.google.com/p/yaml-cpp/;
description = "A YAML parser and emitter for C++";
- license = "MIT";
+ license = stdenv.lib.licenses.mit;
};
}
diff --git a/pkgs/development/libraries/libyaml-cpp/default.nix b/pkgs/development/libraries/libyaml-cpp/default.nix
index 09860522ef4193fac57aef4c91d132769ca20873..fb81dc425f1f4e5dd567ac3339a22eba9b2127b4 100644
--- a/pkgs/development/libraries/libyaml-cpp/default.nix
+++ b/pkgs/development/libraries/libyaml-cpp/default.nix
@@ -13,6 +13,6 @@ stdenv.mkDerivation {
meta = {
homepage = http://code.google.com/p/yaml-cpp/;
description = "A YAML parser and emitter for C++";
- license = "MIT";
+ license = stdenv.lib.licenses.mit;
};
}
diff --git a/pkgs/development/libraries/libzrtpcpp/1.6.nix b/pkgs/development/libraries/libzrtpcpp/1.6.nix
index 767314cdcae9fa12bb9917fd857742d2f46978cc..8ca872864bd97a71c47e01c43b18cb810f3ba1b0 100644
--- a/pkgs/development/libraries/libzrtpcpp/1.6.nix
+++ b/pkgs/development/libraries/libzrtpcpp/1.6.nix
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
meta = {
description = "GNU RTP stack for the zrtp protocol developed by Phil Zimmermann";
homepage = "http://www.gnutelephony.org/index.php/GNU_ZRTP";
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
maintainers = [ stdenv.lib.maintainers.marcweber ];
platforms = stdenv.lib.platforms.linux;
};
diff --git a/pkgs/development/libraries/libzrtpcpp/default.nix b/pkgs/development/libraries/libzrtpcpp/default.nix
index b18aa6848bfef1fff4c9919604f03cab06c04a4b..9962efa7f1e6bd195b9e970b83be4fcda9f4cc7f 100644
--- a/pkgs/development/libraries/libzrtpcpp/default.nix
+++ b/pkgs/development/libraries/libzrtpcpp/default.nix
@@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
meta = {
description = "GNU RTP stack for the zrtp protocol developed by Phil Zimmermann";
homepage = "http://www.gnutelephony.org/index.php/GNU_ZRTP";
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
maintainers = [ stdenv.lib.maintainers.marcweber ];
platforms = stdenv.lib.platforms.linux;
};
diff --git a/pkgs/development/libraries/lightning/default.nix b/pkgs/development/libraries/lightning/default.nix
index 4ffbb9719cabf54199267ae563ba73c8801ead66..2a77c8e0623cf20e22ae26ad62d308663da14d5d 100644
--- a/pkgs/development/libraries/lightning/default.nix
+++ b/pkgs/development/libraries/lightning/default.nix
@@ -25,6 +25,6 @@ stdenv.mkDerivation rec {
the MIPS and SPARC chips.
'';
- license = "LGPLv3+";
+ license = stdenv.lib.licenses.lgpl3Plus;
};
}
diff --git a/pkgs/development/libraries/log4cpp/default.nix b/pkgs/development/libraries/log4cpp/default.nix
index 32424d546b44f8161d9be2ad9c55e61516d0e8e2..d4400d840c0b0a6c37fbc6f2184325f8a28d41a0 100644
--- a/pkgs/development/libraries/log4cpp/default.nix
+++ b/pkgs/development/libraries/log4cpp/default.nix
@@ -11,6 +11,6 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://log4cpp.sourceforge.net/;
description = "A logging framework for C++ patterned after Apache log4j";
- license = "LGPLv2.1+";
+ license = stdenv.lib.licenses.lgpl21Plus;
};
}
diff --git a/pkgs/development/libraries/lzo/default.nix b/pkgs/development/libraries/lzo/default.nix
index f153c684629a9cff1ccce0368d54f10cd5c87a1b..7fa6194cbca6f5d9624ccf1630fd6cf5f4853b11 100644
--- a/pkgs/development/libraries/lzo/default.nix
+++ b/pkgs/development/libraries/lzo/default.nix
@@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
'';
homepage = http://www.oberhumer.com/opensource/lzo;
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
platforms = stdenv.lib.platforms.all;
maintainers = [ ];
diff --git a/pkgs/development/libraries/ming/default.nix b/pkgs/development/libraries/ming/default.nix
index 9cfb8afa8ebaa897edfe6c0a10b6a958fff27cb9..f9632dca9d22cda5b1490956fc3b6fa474400c03 100644
--- a/pkgs/development/libraries/ming/default.nix
+++ b/pkgs/development/libraries/ming/default.nix
@@ -28,6 +28,6 @@ stdenv.mkDerivation rec {
homepage = http://www.libming.org/;
- license = "LGPLv2+";
+ license = stdenv.lib.licenses.lgpl2Plus;
};
}
diff --git a/pkgs/development/libraries/mlt/default.nix b/pkgs/development/libraries/mlt/default.nix
index 1d21e03efa6c2c754fc2c36a3f5cbc43d6d2afb4..00d586a9f04ccfa8b4e09cd9813d69ff0b6e0e70 100644
--- a/pkgs/development/libraries/mlt/default.nix
+++ b/pkgs/development/libraries/mlt/default.nix
@@ -1,29 +1,39 @@
-{ stdenv, fetchurl, SDL, ffmpeg, libdv, libsamplerate, libvorbis
-, libxml2 , pkgconfig, qt4, sox, gtk2 }:
+{ stdenv, fetchurl, SDL, frei0r, jack2, libav, libdv, libsamplerate
+, libvorbis, libxml2, makeWrapper, movit, pkgconfig, qt, sox
+}:
stdenv.mkDerivation rec {
name = "mlt-${version}";
- version = "0.9.0";
+ version = "0.9.2";
src = fetchurl {
- url = "mirror://sourceforge/mlt/${name}.tar.gz";
- sha256 = "1j8wbkwpa6k5anyf4nvf71l8251d7clzj6v09jl3vvfakaf6l37j";
+ url = "https://github.com/mltframework/mlt/archive/v${version}.tar.gz";
+ sha256 = "0vk1i2yrny6dbip4aha25ibgv4m2rdhpxmz6a74q9wz1cgzbb766";
};
- buildInputs =
- [ SDL ffmpeg libdv libsamplerate libvorbis libxml2 pkgconfig qt4
- sox # gtk2 /*optional*/
- ];
+ buildInputs = [
+ SDL frei0r jack2 libav libdv libsamplerate libvorbis libxml2
+ makeWrapper movit pkgconfig qt sox
+ ];
# Mostly taken from:
# http://www.kdenlive.org/user-manual/downloading-and-installing-kdenlive/installing-source/installing-mlt-rendering-engine
- configureFlags = [ "--enable-gpl" "--enable-gpl3" "--avformat-swscale" ];
+ configureFlags = [
+ "--avformat-swscale" "--enable-gpl" "--enable-gpl" "--enable-gpl3"
+ "--enable-opengl"
+ ];
enableParallelBuilding = true;
- meta = {
- homepage = http://www.mltframework.org/;
+ postInstall = ''
+ wrapProgram $out/bin/melt --prefix FREI0R_PATH : ${frei0r}/lib/frei0r-1
+ '';
+
+ meta = with stdenv.lib; {
description = "Open source multimedia framework, designed for television broadcasting";
- license = "GPLv3";
+ homepage = http://www.mltframework.org/;
+ license = licenses.gpl3;
+ maintainers = [ maintainers.goibhniu ];
+ platforms = platforms.linux;
};
}
diff --git a/pkgs/development/libraries/movit/default.nix b/pkgs/development/libraries/movit/default.nix
new file mode 100644
index 0000000000000000000000000000000000000000..bfd474c88e715f14c3fb3f180c4c91d42e33dd22
--- /dev/null
+++ b/pkgs/development/libraries/movit/default.nix
@@ -0,0 +1,25 @@
+{ stdenv, fetchurl, SDL, eigen, epoxy, fftw, gtest, pkgconfig }:
+
+stdenv.mkDerivation rec {
+ name = "movit-${version}";
+ version = "1.1.1";
+
+ src = fetchurl {
+ url = "http://movit.sesse.net/${name}.tar.gz";
+ sha256 = "1k3qbkxapcplpsx22xh4m4ccp9fhsjfcj3pjzbcnrc51103aklag";
+ };
+
+ GTEST_DIR = "${gtest}";
+
+ propagatedBuildInputs = [ eigen epoxy ];
+
+ buildInputs = [ SDL fftw gtest pkgconfig ];
+
+ meta = with stdenv.lib; {
+ description = "High-performance, high-quality video filters for the GPU";
+ homepage = http://movits.sesse.net;
+ license = licenses.gpl2Plus;
+ maintainers = [ maintainers.goibhniu ];
+ platforms = platforms.linux;
+ };
+}
diff --git a/pkgs/development/libraries/mpc/default.nix b/pkgs/development/libraries/mpc/default.nix
index e5d212dc2690004043228276be96597857105059..652227d47e8576e75c9a650431513021d372a6fb 100644
--- a/pkgs/development/libraries/mpc/default.nix
+++ b/pkgs/development/libraries/mpc/default.nix
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
'';
homepage = http://mpc.multiprecision.org/;
- license = "LGPLv2+";
+ license = stdenv.lib.licenses.lgpl2Plus;
platforms = stdenv.lib.platforms.all;
maintainers = [ stdenv.lib.maintainers.ludo ];
diff --git a/pkgs/development/libraries/mpfr/default.nix b/pkgs/development/libraries/mpfr/default.nix
index 8e3281c862ae803be3dbdd5d16ba641513bd8c7f..e3fbaececb9b5e6b68a3ae910baec973febaf0f7 100644
--- a/pkgs/development/libraries/mpfr/default.nix
+++ b/pkgs/development/libraries/mpfr/default.nix
@@ -39,10 +39,9 @@ stdenv.mkDerivation rec {
floating-point arithmetic (53-bit mantissa).
'';
- license = "LGPLv2+";
+ license = stdenv.lib.licenses.lgpl2Plus;
maintainers = [ stdenv.lib.maintainers.ludo ];
platforms = stdenv.lib.platforms.all;
};
}
-
diff --git a/pkgs/development/libraries/mtdev/default.nix b/pkgs/development/libraries/mtdev/default.nix
index f92fe373043540c85bc8019773a8b8dd7ca6834e..2363f33de0794788f18b59a355de3d058ae75f02 100644
--- a/pkgs/development/libraries/mtdev/default.nix
+++ b/pkgs/development/libraries/mtdev/default.nix
@@ -21,7 +21,6 @@ stdenv.mkDerivation rec {
See the kernel documentation for further details.
'';
- license = "MIT/X11";
+ license = stdenv.lib.licenses.mit;
};
}
-
diff --git a/pkgs/development/libraries/muparser/default.nix b/pkgs/development/libraries/muparser/default.nix
index 3cc1c6ce43c5d647498ef6222d68483ed4f2dafb..9d9a524e86d0220c3c34b496d9544222d568a468 100644
--- a/pkgs/development/libraries/muparser/default.nix
+++ b/pkgs/development/libraries/muparser/default.nix
@@ -12,6 +12,6 @@ stdenv.mkDerivation {
meta = {
homepage = http://muparser.sourceforge.net;
description = "An extensible high performance math expression parser library written in C++";
- license = "MIT";
+ license = stdenv.lib.licenses.mit;
};
}
diff --git a/pkgs/development/libraries/mygui/default.nix b/pkgs/development/libraries/mygui/default.nix
index 0a2df00038470b5c4dc52495a049d0903ff7a794..4aecfa4b01af69b5386709ca1f41a0c71a2829ee 100644
--- a/pkgs/development/libraries/mygui/default.nix
+++ b/pkgs/development/libraries/mygui/default.nix
@@ -15,6 +15,6 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://mygui.info/;
description = "Library for creating GUIs for games and 3D applications";
- license = "LGPLv3+";
+ license = stdenv.lib.licenses.lgpl3Plus;
};
}
diff --git a/pkgs/development/libraries/mygui/svn.nix b/pkgs/development/libraries/mygui/svn.nix
index cc20550802edac74a9d1087bddd8fd6cdf72d772..15da5054291e7fd98cda9384e1c452c440a548a1 100644
--- a/pkgs/development/libraries/mygui/svn.nix
+++ b/pkgs/development/libraries/mygui/svn.nix
@@ -22,6 +22,6 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://mygui.info/;
description = "Library for creating GUIs for games and 3D applications";
- license = "LGPLv3+";
+ license = stdenv.lib.licenses.lgpl3Plus;
};
}
diff --git a/pkgs/development/libraries/mysocketw/default.nix b/pkgs/development/libraries/mysocketw/default.nix
index c1cada63abeedbda1227482ea3ed121670ba5820..379848b0cb087180705a217d2cda668fba160e7b 100644
--- a/pkgs/development/libraries/mysocketw/default.nix
+++ b/pkgs/development/libraries/mysocketw/default.nix
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
meta = {
description = "Cross platform (Linux/FreeBSD/Unix/Win32) streaming socket C++";
- license = "LGPLv2.1+";
+ license = stdenv.lib.licenses.lgpl21Plus;
platforms = stdenv.lib.platforms.all;
};
}
diff --git a/pkgs/development/libraries/ncurses/default.nix b/pkgs/development/libraries/ncurses/default.nix
index 7b502822a180757cdc408a57071ebecd98ba9eee..7627fb79e99240cda20157e4b441ff3851e65b8f 100644
--- a/pkgs/development/libraries/ncurses/default.nix
+++ b/pkgs/development/libraries/ncurses/default.nix
@@ -90,7 +90,7 @@ stdenv.mkDerivation (rec {
homepage = http://www.gnu.org/software/ncurses/;
- license = "X11";
+ license = stdenv.lib.licenses.mit;
maintainers = [ stdenv.lib.maintainers.ludo ];
platforms = stdenv.lib.platforms.all;
diff --git a/pkgs/development/libraries/nettle/default.nix b/pkgs/development/libraries/nettle/default.nix
index 4208402ab993f4b454d38f091500739dd15193fa..57d3732fa6dc905ca3d4581e75b1bbbfc3a71b93 100644
--- a/pkgs/development/libraries/nettle/default.nix
+++ b/pkgs/development/libraries/nettle/default.nix
@@ -47,7 +47,7 @@ stdenv.mkDerivation (rec {
I/O.
'';
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
homepage = http://www.lysator.liu.se/~nisse/nettle/;
diff --git a/pkgs/development/libraries/newt/default.nix b/pkgs/development/libraries/newt/default.nix
index d9369d59c7be28d962291f8d653fa4139c985664..f5f72c006c73e0b9f4738d143f377dcd17b8fbeb 100644
--- a/pkgs/development/libraries/newt/default.nix
+++ b/pkgs/development/libraries/newt/default.nix
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
homepage = https://fedorahosted.org/newt/;
description = "Library for color text mode, widget based user interfaces";
- license = "LGPLv2";
+ license = stdenv.lib.licenses.lgpl2;
platforms = stdenv.lib.platforms.linux;
maintainers = [ stdenv.lib.maintainers.viric ];
};
diff --git a/pkgs/development/libraries/npth/default.nix b/pkgs/development/libraries/npth/default.nix
index c9b685aa05b94a0cf929e0a1aeca3e643a4bff5f..4f87f2bc230f09cfd8f238d5b1c39e75ab62eeea 100644
--- a/pkgs/development/libraries/npth/default.nix
+++ b/pkgs/development/libraries/npth/default.nix
@@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
that this is a solid way to provide a co-routine based framework.
'';
homepage = http://www.gnupg.org;
- license = "LGPLv3";
+ license = stdenv.lib.licenses.lgpl3;
platforms = stdenv.lib.platforms.all;
};
}
diff --git a/pkgs/development/libraries/ogre/default.nix b/pkgs/development/libraries/ogre/default.nix
index 6bb1916ed0fb682cc2fe77d1ee11964c6fb1e516..527bb25dce1885d162d6bc70ad15781c5535241d 100644
--- a/pkgs/development/libraries/ogre/default.nix
+++ b/pkgs/development/libraries/ogre/default.nix
@@ -37,6 +37,6 @@ stdenv.mkDerivation {
homepage = http://www.ogre3d.org/;
maintainers = [ stdenv.lib.maintainers.raskin ];
platforms = stdenv.lib.platforms.linux;
- license = "MIT";
+ license = stdenv.lib.licenses.mit;
};
}
diff --git a/pkgs/development/libraries/ogrepaged/default.nix b/pkgs/development/libraries/ogrepaged/default.nix
index f508637dfefb21c33cec251a71a464bb5d6a47b4..27193e045450bb0ac5a56c86b74a768e2c96a5e2 100644
--- a/pkgs/development/libraries/ogrepaged/default.nix
+++ b/pkgs/development/libraries/ogrepaged/default.nix
@@ -18,6 +18,6 @@ stdenv.mkDerivation rec {
meta = {
description = "Paged Geometry for Ogre3D";
homepage = http://code.google.com/p/ogre-paged/;
- license = "MIT";
+ license = stdenv.lib.licenses.mit;
};
}
diff --git a/pkgs/development/libraries/openal-soft/default.nix b/pkgs/development/libraries/openal-soft/default.nix
index b024b518b6903fcc9a43d6161b90de8d69e748ee..48f5bfc71e527439ad81531cc874df557c006229 100644
--- a/pkgs/development/libraries/openal-soft/default.nix
+++ b/pkgs/development/libraries/openal-soft/default.nix
@@ -26,6 +26,6 @@ stdenv.mkDerivation rec {
meta = {
description = "OpenAL alternative";
homepage = http://kcat.strangesoft.net/openal.html;
- license = "GPL2";
+ license = stdenv.lib.licenses.gpl2;
};
}
diff --git a/pkgs/development/libraries/openal/default.nix b/pkgs/development/libraries/openal/default.nix
index 75d6033e1cc5fb652278129dec9db23129acca6d..b5e390eafa85d3ed3a0bea18d19d6a2ea1cb96aa 100644
--- a/pkgs/development/libraries/openal/default.nix
+++ b/pkgs/development/libraries/openal/default.nix
@@ -31,6 +31,6 @@ stdenv.mkDerivation rec {
'';
homepage = http://www.openal.org/;
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
};
}
diff --git a/pkgs/development/libraries/osip/3.nix b/pkgs/development/libraries/osip/3.nix
index 2c1b148251c6e833b53845e1324940de854ea4d7..b485fa3e947bd306dc74160a2e1d4ec197dae49e 100644
--- a/pkgs/development/libraries/osip/3.nix
+++ b/pkgs/development/libraries/osip/3.nix
@@ -8,7 +8,7 @@ stdenv.mkDerivation rec {
name = "libosip2-${version}";
meta = {
- license = "LGPLv2.1+";
+ license = stdenv.lib.licenses.lgpl21Plus;
homepage = http://www.gnu.org/software/osip/;
description = "The GNU oSIP library, an implementation of the Session Initiation Protocol (SIP)";
maintainers = with stdenv.lib.maintainers; [ raskin ];
diff --git a/pkgs/development/libraries/osip/default.nix b/pkgs/development/libraries/osip/default.nix
index 3ec3dac221f2edc8cc516942e14e621ae9550ec2..cfa838f5a37011328564f4760bc7e467de5bd6f7 100644
--- a/pkgs/development/libraries/osip/default.nix
+++ b/pkgs/development/libraries/osip/default.nix
@@ -8,7 +8,7 @@ stdenv.mkDerivation rec {
name = "libosip2-${version}";
meta = {
- license = "LGPLv2.1+";
+ license = stdenv.lib.licenses.lgpl21Plus;
homepage = http://www.gnu.org/software/osip/;
description = "The GNU oSIP library, an implementation of the Session Initiation Protocol (SIP)";
maintainers = with stdenv.lib.maintainers; [ raskin ];
diff --git a/pkgs/development/libraries/pango/default.nix b/pkgs/development/libraries/pango/default.nix
index 1c62a64d006da25dd783db0e1d7b21008e9f4546..40b02c2afbb21988bc81f20e7a7edc5a87a0108d 100644
--- a/pkgs/development/libraries/pango/default.nix
+++ b/pkgs/development/libraries/pango/default.nix
@@ -39,7 +39,7 @@ stdenv.mkDerivation rec {
'';
homepage = http://www.pango.org/;
- license = "LGPLv2+";
+ license = stdenv.lib.licenses.lgpl2Plus;
maintainers = with stdenv.lib.maintainers; [ raskin urkud ];
hydraPlatforms = stdenv.lib.platforms.linux ++ stdenv.lib.platforms.darwin;
diff --git a/pkgs/development/libraries/pangox-compat/default.nix b/pkgs/development/libraries/pangox-compat/default.nix
index 8518083b4d3592e6e8c0556a45d5ec79719d83b3..6d79587abcb55d2313b98ba3389420ac8756c3ee 100644
--- a/pkgs/development/libraries/pangox-compat/default.nix
+++ b/pkgs/development/libraries/pangox-compat/default.nix
@@ -14,6 +14,6 @@ stdenv.mkDerivation rec {
description = "A compatibility library for pango>1.30.*";
homepage = http://www.pango.org/;
- license = "LGPLv2+";
+ license = stdenv.lib.licenses.lgpl2Plus;
};
}
diff --git a/pkgs/development/libraries/pcre/default.nix b/pkgs/development/libraries/pcre/default.nix
index 7138c44da643afff7c5b54f7c45058bdacfd90c2..4cf6bd44dd3b80b62fcea4b400ffe171476e7f0f 100644
--- a/pkgs/development/libraries/pcre/default.nix
+++ b/pkgs/development/libraries/pcre/default.nix
@@ -33,7 +33,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = "http://www.pcre.org/";
description = "A library for Perl Compatible Regular Expressions";
- license = "BSD-3";
+ license = stdenv.lib.licenses.bsd3;
longDescription = ''
The PCRE library is a set of functions that implement regular
diff --git a/pkgs/development/libraries/phonon/default.nix b/pkgs/development/libraries/phonon/default.nix
index 5948fd0ef2b73b930ceb1e2f1ab55b55531d811b..b29deae9260cb02a8a29c70e43135dcc6d97a9ef 100644
--- a/pkgs/development/libraries/phonon/default.nix
+++ b/pkgs/development/libraries/phonon/default.nix
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://phonon.kde.org/;
description = "Multimedia API for Qt";
- license = "LGPLv2";
+ license = stdenv.lib.licenses.lgpl2;
platforms = stdenv.lib.platforms.linux;
};
}
diff --git a/pkgs/development/libraries/pixman/default.nix b/pkgs/development/libraries/pixman/default.nix
index d55a86c2908a077b93bedcd9730160e9b33ec8d8..d93341b81ff6fc1695d2726f81969c3c34517a9c 100644
--- a/pkgs/development/libraries/pixman/default.nix
+++ b/pkgs/development/libraries/pixman/default.nix
@@ -17,6 +17,6 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://pixman.org;
description = "A low-level library for pixel manipulation";
- license = "MIT";
+ license = stdenv.lib.licenses.mit;
};
}
diff --git a/pkgs/development/libraries/plib/default.nix b/pkgs/development/libraries/plib/default.nix
index 5e15a63735eea1330262a543c2471a4b5dae1f26..35262f797e973d578c01592e88c02c220fadcde8 100644
--- a/pkgs/development/libraries/plib/default.nix
+++ b/pkgs/development/libraries/plib/default.nix
@@ -34,7 +34,7 @@ stdenv.mkDerivation rec {
GLUT, or FLTK instead of PLIB's 'PW' windowing library, you can.
'';
- license = "LGPLv2+";
+ license = stdenv.lib.licenses.lgpl2Plus;
homepage = http://plib.sourceforge.net/;
};
diff --git a/pkgs/development/libraries/poppler/default.nix b/pkgs/development/libraries/poppler/default.nix
index 1345ce37e7752c6251adaaefb69ffa749a75288a..083c9bae6b5b8085fce28d588b492cac083db2c3 100644
--- a/pkgs/development/libraries/poppler/default.nix
+++ b/pkgs/development/libraries/poppler/default.nix
@@ -49,7 +49,7 @@ let
Poppler is a PDF rendering library based on the xpdf-3.0 code base.
'';
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
platforms = stdenv.lib.platforms.all;
};
} merge ]); # poppler_drv
diff --git a/pkgs/development/libraries/portaudio/default.nix b/pkgs/development/libraries/portaudio/default.nix
index f405e30433fbe4e7fde89baa46c99803675a5a91..46d5128140151816f2972fe4724a614965d1a6da 100644
--- a/pkgs/development/libraries/portaudio/default.nix
+++ b/pkgs/development/libraries/portaudio/default.nix
@@ -33,6 +33,9 @@ stdenv.mkDerivation rec {
cp -r lib "$out"
'' else ''
make install
+
+ # fixup .pc file to find alsa library
+ sed -i "s|-lasound|-L${alsaLib}/lib -lasound|" "$out/lib/pkgconfig/"*.pc
'';
meta = with stdenv.lib; {
diff --git a/pkgs/development/libraries/postgis/default.nix b/pkgs/development/libraries/postgis/default.nix
index b4c8a7f17890e996135ee2a4b63161c42c8fccda..acf760f4f7994cb6476cc5f97a1d1e07ef173dfe 100644
--- a/pkgs/development/libraries/postgis/default.nix
+++ b/pkgs/development/libraries/postgis/default.nix
@@ -107,7 +107,7 @@ let
meta = {
description = "Geographic Objects for PostgreSQL";
homepage = "http://postgis.refractions.net";
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
maintainers = [stdenv.lib.maintainers.marcweber];
platforms = stdenv.lib.platforms.linux;
};
@@ -148,4 +148,3 @@ in rec {
});
}
-
diff --git a/pkgs/development/libraries/ppl/default.nix b/pkgs/development/libraries/ppl/default.nix
index e3b1444b8cb3d557d08c1e2f00c6fad63dbf2d0e..f93eee674ffcf7cf38b5d8721a7ae9073bc82741 100644
--- a/pkgs/development/libraries/ppl/default.nix
+++ b/pkgs/development/libraries/ppl/default.nix
@@ -48,7 +48,7 @@ stdenv.mkDerivation rec {
homepage = http://bugseng.com/products/ppl/;
- license = "GPLv3+";
+ license = stdenv.lib.licenses.gpl3Plus;
maintainers = [ ];
};
diff --git a/pkgs/development/libraries/proj/default.nix b/pkgs/development/libraries/proj/default.nix
index 6e3cc7cac55c9d43443adba767416a0016b6f7bc..17c05ada7a8476d3ca0569820a87ad1032adc4ec 100644
--- a/pkgs/development/libraries/proj/default.nix
+++ b/pkgs/development/libraries/proj/default.nix
@@ -11,6 +11,6 @@ stdenv.mkDerivation {
meta = {
description = "Cartographic Projections Library";
homepage = http://proj.maptools.org;
- license = "MIT";
+ license = stdenv.lib.licenses.mit;
};
}
diff --git a/pkgs/development/libraries/qt-5/default.nix b/pkgs/development/libraries/qt-5/default.nix
index d33c7e0329feafc5edac5aa53deca187dde66d78..e03f4ec88c72215bd578aa616c4a7a3389ecec92 100644
--- a/pkgs/development/libraries/qt-5/default.nix
+++ b/pkgs/development/libraries/qt-5/default.nix
@@ -44,7 +44,7 @@ stdenv.mkDerivation rec {
patches =
[ ./glib-2.32.patch
(substituteAll {
- src = ./dlopen-absolute-paths.patch;
+ src = ./qt-5.2-dlopen-absolute-paths.patch;
inherit cups icu libXfixes;
glibc = stdenv.gcc.libc;
openglDriver = if mesaSupported then mesa.driverLink else "/no-such-path";
diff --git a/pkgs/development/libraries/qt-5/dlopen-absolute-paths.patch b/pkgs/development/libraries/qt-5/qt-5.2-dlopen-absolute-paths.patch
similarity index 100%
rename from pkgs/development/libraries/qt-5/dlopen-absolute-paths.patch
rename to pkgs/development/libraries/qt-5/qt-5.2-dlopen-absolute-paths.patch
diff --git a/pkgs/development/libraries/qt-5/qt-5.3-dlopen-absolute-paths.patch b/pkgs/development/libraries/qt-5/qt-5.3-dlopen-absolute-paths.patch
new file mode 100644
index 0000000000000000000000000000000000000000..66cf342c10768ceab7a077bd78598578e2e69c67
--- /dev/null
+++ b/pkgs/development/libraries/qt-5/qt-5.3-dlopen-absolute-paths.patch
@@ -0,0 +1,24 @@
+diff -ruN qt-everywhere-opensource-src-5.1.1-orig/qtbase/src/network/kernel/qhostinfo_unix.cpp qt-everywhere-opensource-src-5.1.1/qtbase/src/network/kernel/qhostinfo_unix.cpp
+--- qt-everywhere-opensource-src-5.1.1-orig/qtbase/src/network/kernel/qhostinfo_unix.cpp 2013-08-25 20:03:35.000000000 +0200
++++ qt-everywhere-opensource-src-5.1.1/qtbase/src/network/kernel/qhostinfo_unix.cpp 2013-09-25 17:43:14.047015411 +0200
+@@ -103,7 +103,7 @@
+ if (!lib.load())
+ #endif
+ {
+- lib.setFileName(QLatin1String("resolv"));
++ lib.setFileName(QLatin1String("@glibc@/lib/libresolv"));
+ if (!lib.load())
+ return;
+ }
+diff -ruN qt-everywhere-opensource-src-5.1.1-orig/qtbase/src/plugins/platforms/xcb/qglxintegration.cpp qt-everywhere-opensource-src-5.1.1/qtbase/src/plugins/platforms/xcb/qglxintegration.cpp
+--- qt-everywhere-opensource-src-5.1.1-orig/qtbase/src/plugins/platforms/xcb/qglxintegration.cpp 2013-08-25 20:03:35.000000000 +0200
++++ qt-everywhere-opensource-src-5.1.1/qtbase/src/plugins/platforms/xcb/qglxintegration.cpp 2013-09-25 17:51:29.834674976 +0200
+@@ -379,7 +379,7 @@
+ {
+ extern const QString qt_gl_library_name();
+ // QLibrary lib(qt_gl_library_name());
+- QLibrary lib(QLatin1String("GL"));
++ QLibrary lib(QLatin1String("@openglDriver@/lib/libGL"));
+ glXGetProcAddressARB = (qt_glXGetProcAddressARB) lib.resolve("glXGetProcAddressARB");
+ }
+ }
diff --git a/pkgs/development/libraries/qt-5/qt-5.3.nix b/pkgs/development/libraries/qt-5/qt-5.3.nix
new file mode 100644
index 0000000000000000000000000000000000000000..fdda7559d7aeff9152df9ddca1e065b48faef252
--- /dev/null
+++ b/pkgs/development/libraries/qt-5/qt-5.3.nix
@@ -0,0 +1,162 @@
+{ stdenv, fetchurl, substituteAll, libXrender, libXext
+, libXfixes, freetype, fontconfig, zlib, libjpeg, libpng
+, mesaSupported, mesa, mesa_glu, openssl, dbus, cups, pkgconfig
+, libtiff, glib, icu, mysql, postgresql, sqlite, perl, coreutils, libXi
+, gdk_pixbuf, python, gdb, xlibs, libX11, libxcb, xcbutil, xcbutilimage
+, xcbutilkeysyms, xcbutilwm,udev, libxml2, libxslt, pcre, libxkbcommon
+, alsaLib, gstreamer, gst_plugins_base
+, pulseaudio, bison, flex, gperf, ruby, libwebp
+, flashplayerFix ? false
+, gtkStyle ? false, libgnomeui, gtk, GConf, gnome_vfs
+, buildDocs ? false
+, buildExamples ? false
+, buildTests ? false
+, developerBuild ? false
+}:
+
+with stdenv.lib;
+
+let
+ v_maj = "5.3";
+ v_min = "0";
+ ver = "${v_maj}.${v_min}";
+in
+
+stdenv.mkDerivation rec {
+ name = "qt-${ver}";
+
+ src = fetchurl {
+ url = "http://download.qt-project.org/official_releases/qt/"
+ + "${v_maj}/${ver}/single/qt-everywhere-opensource-src-${ver}.tar.gz";
+ sha256 = "09gp19377zpqyfzk063b3pjz8gjm2x7xsj71bdpmnhs1scz0khcj";
+ };
+
+ # The version property must be kept because it will be included into the QtSDK package name
+ version = ver;
+
+ prePatch = ''
+ substituteInPlace configure --replace /bin/pwd pwd
+ substituteInPlace qtbase/configure --replace /bin/pwd pwd
+ substituteInPlace qtbase/src/corelib/global/global.pri --replace /bin/ls ${coreutils}/bin/ls
+ sed -e 's@/\(usr\|opt\)/@/var/empty/@g' -i config.tests/*/*.test -i qtbase/mkspecs/*/*.conf
+ '';
+
+ patches =
+ [ ./glib-2.32.patch
+ (substituteAll {
+ src = ./qt-5.3-dlopen-absolute-paths.patch;
+ inherit cups icu libXfixes;
+ glibc = stdenv.gcc.libc;
+ openglDriver = if mesaSupported then mesa.driverLink else "/no-such-path";
+ })
+ ] ++ optional gtkStyle (substituteAll {
+ src = ./dlopen-gtkstyle.patch;
+ # substituteAll ignores env vars starting with capital letter
+ gconf = GConf;
+ inherit gnome_vfs libgnomeui gtk;
+ })
+ ++ optional flashplayerFix (substituteAll {
+ src = ./dlopen-webkit-nsplugin.patch;
+ inherit gtk gdk_pixbuf;
+ });
+
+ preConfigure = ''
+ export LD_LIBRARY_PATH="$PWD/qtbase/lib:$PWD/qtbase/plugins/platforms:$PWD/qttools/lib:$LD_LIBRARY_PATH"
+ export MAKEFLAGS=-j$NIX_BUILD_CORES
+ '';
+
+ prefixKey = "-prefix ";
+
+ # -no-eglfs, -no-directfb, -no-linuxfb and -no-kms because of the current minimalist mesa
+ # TODO Remove obsolete and useless flags once the build will be totally mastered
+ configureFlags = ''
+ -verbose
+ -confirm-license
+ -opensource
+
+ -release
+ -shared
+ -c++11
+ ${optionalString developerBuild "-developer-build"}
+ -largefile
+ -accessibility
+ -rpath
+ -optimized-qmake
+ -strip
+ -reduce-relocations
+ -system-proxies
+
+ -gui
+ -widgets
+ -opengl desktop
+ -qml-debug
+ -nis
+ -iconv
+ -icu
+ -pch
+ -glib
+ -xcb
+ -qpa xcb
+ -${optionalString (cups == null) "no-"}cups
+
+ -no-eglfs
+ -no-directfb
+ -no-linuxfb
+ -no-kms
+
+ -system-zlib
+ -system-libpng
+ -system-libjpeg
+ -system-xcb
+ -system-xkbcommon
+ -openssl-linked
+ -dbus-linked
+
+ -system-sqlite
+ -${if mysql != null then "plugin" else "no"}-sql-mysql
+ -${if postgresql != null then "plugin" else "no"}-sql-psql
+
+ -make libs
+ -make tools
+ -${optionalString (buildExamples == false) "no"}make examples
+ -${optionalString (buildTests == false) "no"}make tests
+ '';
+
+ propagatedBuildInputs = [
+ xlibs.libXcomposite libX11 libxcb libXext libXrender libXi
+ fontconfig freetype openssl dbus.libs glib udev libxml2 libxslt pcre
+ zlib libjpeg libpng libtiff sqlite icu
+ libwebp alsaLib gstreamer gst_plugins_base pulseaudio
+ xcbutil xcbutilimage xcbutilkeysyms xcbutilwm libxkbcommon
+ ]
+ # Qt doesn't directly need GLU (just GL), but many apps use, it's small and
+ # doesn't remain a runtime-dep if not used
+ ++ optionals mesaSupported [ mesa mesa_glu ]
+ ++ optional (cups != null) cups
+ ++ optional (mysql != null) mysql
+ ++ optional (postgresql != null) postgresql;
+
+ buildInputs = [ gdb bison flex gperf ruby ];
+
+ nativeBuildInputs = [ python perl pkgconfig ];
+
+ postInstall =
+ ''
+ ${optionalString buildDocs ''
+ make docs && make install_docs
+ ''}
+
+ # Don't retain build-time dependencies like gdb and ruby.
+ sed '/QMAKE_DEFAULT_.*DIRS/ d' -i $out/mkspecs/qconfig.pri
+ '';
+
+ enableParallelBuilding = true; # often fails on Hydra, as well as qt4
+
+ meta = {
+ homepage = http://qt-project.org;
+ description = "A cross-platform application framework for C++";
+ license = "GPL/LGPL";
+ maintainers = [ maintainers.bbenoist maintainers.qknight ];
+ platforms = platforms.linux;
+ };
+}
diff --git a/pkgs/development/libraries/rabbitmq-java-client/default.nix b/pkgs/development/libraries/rabbitmq-java-client/default.nix
new file mode 100644
index 0000000000000000000000000000000000000000..2183aa83e20e035cba0d0f6e09a727db48657368
--- /dev/null
+++ b/pkgs/development/libraries/rabbitmq-java-client/default.nix
@@ -0,0 +1,30 @@
+{ fetchurl, stdenv, ant, jdk, jre, python, makeWrapper }:
+
+stdenv.mkDerivation rec {
+ name = "rabbitmq-java-client-3.3.4";
+
+ src = fetchurl {
+ url = "http://www.rabbitmq.com/releases/rabbitmq-java-client/v3.3.4/rabbitmq-java-client-3.3.4.tar.gz";
+ sha256 = "03kspkgzzjsbq6f8yl2zj5m30qwgxv3l58hrbf6gcgxb5rpfk6sh";
+ };
+
+ buildInputs = [ ant jdk python makeWrapper ];
+
+ buildPhase = "ant dist";
+
+ installPhase = ''
+ mkdir -p $out/bin $out/share/java
+ cp build/lib/*.jar lib/*.jar $out/share/java
+
+ # There is a script in the source archive, but ours is cleaner
+ makeWrapper ${jre}/bin/java $out/bin/PerfTest \
+ --add-flags "-Djava.awt.headless=true -cp $out/share/java/\* com.rabbitmq.examples.PerfTest"
+ '';
+
+ meta = with stdenv.lib; {
+ description = "RabbitMQ Java client library which allows Java code to interface to AMQP servers";
+ homepage = http://www.rabbitmq.com/java-client.html;
+ license = [ "MPLv1.1" "GPLv2" ];
+ platforms = platforms.linux;
+ };
+}
diff --git a/pkgs/development/libraries/readline/readline6.3.nix b/pkgs/development/libraries/readline/readline6.3.nix
index 2f99b9d7218336b0bf873e74f8704d68ff975a68..dd39804983a47ebf433d20cc9bed1a5797a4cfec 100644
--- a/pkgs/development/libraries/readline/readline6.3.nix
+++ b/pkgs/development/libraries/readline/readline6.3.nix
@@ -35,7 +35,7 @@ stdenv.mkDerivation (rec {
homepage = http://savannah.gnu.org/projects/readline/;
- license = "GPLv3+";
+ license = stdenv.lib.licenses.gpl3Plus;
maintainers = [ stdenv.lib.maintainers.ludo ];
};
diff --git a/pkgs/development/libraries/readline/readline6.nix b/pkgs/development/libraries/readline/readline6.nix
index 0826e6c5f7cb1538b78b5a06d1f2063cfc4e3e24..05500f345accdd3f59ea29c672f71e5ebd50e084 100644
--- a/pkgs/development/libraries/readline/readline6.nix
+++ b/pkgs/development/libraries/readline/readline6.nix
@@ -43,7 +43,7 @@ stdenv.mkDerivation (rec {
homepage = http://savannah.gnu.org/projects/readline/;
- license = "GPLv3+";
+ license = stdenv.lib.licenses.gpl3Plus;
maintainers = [ stdenv.lib.maintainers.ludo ];
};
diff --git a/pkgs/development/libraries/science/biology/biolib/default.nix b/pkgs/development/libraries/science/biology/biolib/default.nix
index 4e4c3c5536160ba18a3d3e77afad3f32cc506677..0461e5ebcf543e698e2106ecbaa19abe1af537e6 100644
--- a/pkgs/development/libraries/science/biology/biolib/default.nix
+++ b/pkgs/development/libraries/science/biology/biolib/default.nix
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = "http://biolib.open-bio.org/";
description = "BioLib";
- license = "GPL2";
+ license = stdenv.lib.licenses.gpl2;
longDescription = ''
BioLib brings together a set of opensource libraries written
in C/C++ and makes them available for major Bio* languages:
diff --git a/pkgs/development/libraries/science/math/liblbfgs/default.nix b/pkgs/development/libraries/science/math/liblbfgs/default.nix
index 63de26ee90c9e28122d6ca08fd5a5258edf215db..bb33eed61421dbf80243eda4d4eb92cecf069f49 100644
--- a/pkgs/development/libraries/science/math/liblbfgs/default.nix
+++ b/pkgs/development/libraries/science/math/liblbfgs/default.nix
@@ -11,6 +11,6 @@ stdenv.mkDerivation {
meta = {
description = "Library of Limited-memory Broyden-Fletcher-Goldfarb-Shanno (L-BFGS)";
homepage = http://www.chokkan.org/software/liblbfgs/;
- license = "MIT";
+ license = stdenv.lib.licenses.mit;
};
}
diff --git a/pkgs/development/libraries/smpeg/default.nix b/pkgs/development/libraries/smpeg/default.nix
index 41a6b8501eca3cc3052c7cf01f47480f79924a7d..30c1f4937ecfe22b13e6e7fa353fd156a26b7046 100644
--- a/pkgs/development/libraries/smpeg/default.nix
+++ b/pkgs/development/libraries/smpeg/default.nix
@@ -31,6 +31,6 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://icculus.org/smpeg/;
description = "MPEG decoding library";
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
};
}
diff --git a/pkgs/development/libraries/snack/default.nix b/pkgs/development/libraries/snack/default.nix
index 4e1187aa0f762d1531ceb9aa2b2ba1915c966f28..d7a0b11a8dabad09b1fec22c4df65ddb587f578f 100644
--- a/pkgs/development/libraries/snack/default.nix
+++ b/pkgs/development/libraries/snack/default.nix
@@ -26,6 +26,6 @@ stdenv.mkDerivation {
meta = {
description = "The Snack Sound Toolkit (Tcl)";
homepage = http://www.speech.kth.se/snack/;
- license = "GPL-2";
+ license = stdenv.lib.licenses.gpl2;
};
}
diff --git a/pkgs/development/libraries/soqt/default.nix b/pkgs/development/libraries/soqt/default.nix
index 7d655ae122a099d8ceeaf3136b8c2ec0c52e0ca6..fdad4e21b0b683a3e419e4dca0993431b712ba5a 100644
--- a/pkgs/development/libraries/soqt/default.nix
+++ b/pkgs/development/libraries/soqt/default.nix
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://www.coin3d.org/;
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
description = "Glue between Coin high-level 3D visualization library and Qt";
maintainers = [ stdenv.lib.maintainers.viric ];
diff --git a/pkgs/development/libraries/speechd/default.nix b/pkgs/development/libraries/speechd/default.nix
index 0e542b353f674eed26d8695cb186a540f18b57cb..5104532ea91e2aaa8233786108de8fca3bb52b6f 100644
--- a/pkgs/development/libraries/speechd/default.nix
+++ b/pkgs/development/libraries/speechd/default.nix
@@ -15,6 +15,6 @@ stdenv.mkDerivation rec {
description = "Common interface to speech synthesis";
homepage = http://www.freebsoft.org/speechd;
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
};
}
diff --git a/pkgs/development/libraries/sword/default.nix b/pkgs/development/libraries/sword/default.nix
index e6769285fc8128b21adb1dbf918cf7d3a17e70ed..28afdf85dfbcee14d7558c7e8fbc33a0d176655d 100644
--- a/pkgs/development/libraries/sword/default.nix
+++ b/pkgs/development/libraries/sword/default.nix
@@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
description = "A software framework that allows research manipulation of Biblical texts";
homepage = http://www.crosswire.org/sword/;
platforms = stdenv.lib.platforms.linux;
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
maintainers = [ stdenv.lib.maintainers.piotr stdenv.lib.maintainers.AndersonTorres ];
};
diff --git a/pkgs/development/libraries/talloc/default.nix b/pkgs/development/libraries/talloc/default.nix
index 54db07d0de82e3f1477abb6f6ea0b1b8d9bb22d1..e04363326d01023add3a5ecf7813f9643dfae6cf 100644
--- a/pkgs/development/libraries/talloc/default.nix
+++ b/pkgs/development/libraries/talloc/default.nix
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
meta = {
description = "talloc is a hierarchical pool based memory allocator with destructors";
homepage = http://tdb.samba.org/;
- license = "GPLv3";
+ license = stdenv.lib.licenses.gpl3;
platforms = stdenv.lib.platforms.all;
};
}
diff --git a/pkgs/development/libraries/tbb/default.nix b/pkgs/development/libraries/tbb/default.nix
index b06dffa1202daddee778eead4154ca70f32a45b5..cb34edb4762d134830d5c3e091d200a7e48c4070 100644
--- a/pkgs/development/libraries/tbb/default.nix
+++ b/pkgs/development/libraries/tbb/default.nix
@@ -24,7 +24,7 @@ stdenv.mkDerivation {
meta = {
description = "Intel Thread Building Blocks C++ Library";
homepage = "http://threadingbuildingblocks.org/";
- license = "LGPLv3+";
+ license = stdenv.lib.licenses.lgpl3Plus;
longDescription = ''
Intel Threading Building Blocks offers a rich and complete approach to
expressing parallelism in a C++ program. It is a library that helps you
diff --git a/pkgs/development/libraries/tdb/default.nix b/pkgs/development/libraries/tdb/default.nix
index 02a1008cda5d8e17ef3ce2aca568aacac25a449c..d0eb8987ea0896c5264447164cbe7a9b76d970a5 100644
--- a/pkgs/development/libraries/tdb/default.nix
+++ b/pkgs/development/libraries/tdb/default.nix
@@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
'';
homepage = http://tdb.samba.org/;
- license = "LGPLv3+";
+ license = stdenv.lib.licenses.lgpl3Plus;
maintainers = [ ];
platforms = stdenv.lib.platforms.all;
diff --git a/pkgs/development/libraries/tokyo-cabinet/default.nix b/pkgs/development/libraries/tokyo-cabinet/default.nix
index 82ce734d17358eebf49332c7cefca8d9fa7d6231..7741549666adf0cbfd141af9e2617e0bf8d3d461 100644
--- a/pkgs/development/libraries/tokyo-cabinet/default.nix
+++ b/pkgs/development/libraries/tokyo-cabinet/default.nix
@@ -37,7 +37,7 @@ stdenv.mkDerivation rec {
robustness, supports 64-bit architecture.
'';
- license = "LGPLv2+";
+ license = stdenv.lib.licenses.lgpl2Plus;
maintainers = [ ];
platforms = stdenv.lib.platforms.unix;
diff --git a/pkgs/development/libraries/tokyo-tyrant/default.nix b/pkgs/development/libraries/tokyo-tyrant/default.nix
index ee742487e263aa3c07be2aba806a9c68430fbbf5..ccd619e8bc18f3e0c3383cf63af70d12184c1d9c 100644
--- a/pkgs/development/libraries/tokyo-tyrant/default.nix
+++ b/pkgs/development/libraries/tokyo-tyrant/default.nix
@@ -33,7 +33,7 @@ stdenv.mkDerivation rec {
homepage = http://fallabs.com/tokyotyrant/;
- license = "LGPLv2.1+";
+ license = stdenv.lib.licenses.lgpl21Plus;
platforms = stdenv.lib.platforms.gnu; # arbitrary choice
maintainers = [ ];
diff --git a/pkgs/development/libraries/tsocks/default.nix b/pkgs/development/libraries/tsocks/default.nix
index a0d607517ac3ba8bcce0415069e32fc402e7284e..bdc2b4da6e3eb27251e610a26b6ffe6771b65836 100644
--- a/pkgs/development/libraries/tsocks/default.nix
+++ b/pkgs/development/libraries/tsocks/default.nix
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
meta = with stdenv.lib; {
description = "Transparent SOCKS v4 proxying library";
homepage = http://tsocks.sourceforge.net/;
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
maintainers = [ maintainers.phreedom ];
platforms = platforms.linux;
};
diff --git a/pkgs/development/libraries/ucl/default.nix b/pkgs/development/libraries/ucl/default.nix
index cef853698a8e24cb900f67edb7ed78339beb0088..05acc6f530859e48196feb9ff6add3bbfc10265d 100644
--- a/pkgs/development/libraries/ucl/default.nix
+++ b/pkgs/development/libraries/ucl/default.nix
@@ -10,6 +10,6 @@ stdenv.mkDerivation {
meta = {
homepage = http://www.oberhumer.com/opensource/ucl/;
description = "Portable lossless data compression library";
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
};
}
diff --git a/pkgs/development/libraries/ucommon/default.nix b/pkgs/development/libraries/ucommon/default.nix
index 2ec478d7a76c7a09b73c3dad5922145f738959c4..f3ac325b5a12606da7137db647638575e8d89669 100644
--- a/pkgs/development/libraries/ucommon/default.nix
+++ b/pkgs/development/libraries/ucommon/default.nix
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
meta = {
description = "GNU uCommon C++, C++ library to facilitate using C++ design patterns";
homepage = http://www.gnu.org/software/commoncpp/;
- license = "LGPLv3+";
+ license = stdenv.lib.licenses.lgpl3Plus;
maintainers = with stdenv.lib.maintainers; [ viric ];
platforms = stdenv.lib.platforms.all;
diff --git a/pkgs/development/libraries/unixODBCDrivers/default.nix b/pkgs/development/libraries/unixODBCDrivers/default.nix
index 11dc34176f533b44bfad30c5f38d3239b4136376..03769815a3e2551c997d070a942b33dc31ea2e5a 100644
--- a/pkgs/development/libraries/unixODBCDrivers/default.nix
+++ b/pkgs/development/libraries/unixODBCDrivers/default.nix
@@ -23,7 +23,7 @@ args : with args;
meta = {
description = "unix odbc driver for postgresql";
homepage = https://projects.commandprompt.com/public/odbcng;
- license = "GPL2";
+ license = stdenv.lib.licenses.gpl2;
};
};
ini = "";
diff --git a/pkgs/development/libraries/vaapi-intel/default.nix b/pkgs/development/libraries/vaapi-intel/default.nix
index f05c01bf58df90150ef709cc357e912943bb229d..6f1cb572b9bcd73c74e2c834de6f239d5da9fae9 100644
--- a/pkgs/development/libraries/vaapi-intel/default.nix
+++ b/pkgs/development/libraries/vaapi-intel/default.nix
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://cgit.freedesktop.org/vaapi/intel-driver/;
- license = "MIT";
+ license = stdenv.lib.licenses.mit;
description = "Intel driver for the VAAPI library";
};
}
diff --git a/pkgs/development/libraries/vaapi-vdpau/default.nix b/pkgs/development/libraries/vaapi-vdpau/default.nix
index 9a81b840b35d8f6f2e92a446853a53ad96eaa837..9b28d0016ddbf42b53d5e9f988eed94936e7a60d 100644
--- a/pkgs/development/libraries/vaapi-vdpau/default.nix
+++ b/pkgs/development/libraries/vaapi-vdpau/default.nix
@@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://cgit.freedesktop.org/vaapi/vdpau-driver/;
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
description = "VDPAU driver for the VAAPI library";
};
}
diff --git a/pkgs/development/libraries/vigra/default.nix b/pkgs/development/libraries/vigra/default.nix
index 97251e15c49718e149a2de1e859f212972a71305..04bef5ef41c306ff5c86b6851097ec555cbe9d24 100644
--- a/pkgs/development/libraries/vigra/default.nix
+++ b/pkgs/development/libraries/vigra/default.nix
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
meta = {
description = "Novel computer vision C++ library with customizable algorithms and data structures";
homepage = http://hci.iwr.uni-heidelberg.de/vigra;
- license = "MIT";
+ license = stdenv.lib.licenses.mit;
maintainers = with stdenv.lib.maintainers; [viric];
platforms = with stdenv.lib.platforms; linux;
};
diff --git a/pkgs/development/libraries/vmime/default.nix b/pkgs/development/libraries/vmime/default.nix
index c92df5a8bcb4e7d36ea4961cc50cfc5d2a6ab20d..846fc64a91e4b5572327bcfd82a16863e9176b49 100644
--- a/pkgs/development/libraries/vmime/default.nix
+++ b/pkgs/development/libraries/vmime/default.nix
@@ -13,7 +13,7 @@ stdenv.mkDerivation {
meta = {
homepage = http://www.vmime.org/;
description = "Free mail library for C++";
- license = "GPLv3";
+ license = stdenv.lib.licenses.gpl3;
maintainers = with stdenv.lib.maintainers; [viric];
platforms = with stdenv.lib.platforms; linux;
};
diff --git a/pkgs/development/libraries/wtk/default.nix b/pkgs/development/libraries/wtk/default.nix
index c9e7fb4249d9ff71ce9aba04f2002674da23b675..1ff34d45ba33ec5a10694f4af272f13d9dbb44cb 100644
--- a/pkgs/development/libraries/wtk/default.nix
+++ b/pkgs/development/libraries/wtk/default.nix
@@ -20,6 +20,6 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://java.sun.com/products/sjwtoolkit/download.html;
description = "Sun Java Wireless Toolkit 2.5.2_01 for CLDC";
- license = "unfree";
+ license = stdenv.lib.licenses.unfree;
};
}
diff --git a/pkgs/development/libraries/xapian/1.0.x.nix b/pkgs/development/libraries/xapian/1.0.x.nix
index 57240eb733568e84adb48d4362dab663f0bff06f..b89900d2b05ee9240d5ff896d6a5da74a51f95bc 100644
--- a/pkgs/development/libraries/xapian/1.0.x.nix
+++ b/pkgs/development/libraries/xapian/1.0.x.nix
@@ -13,7 +13,7 @@ stdenv.mkDerivation {
meta = {
description = "Xapian Probabilistic Information Retrieval library";
homepage = "http://xapian.org";
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
maintainers = [ stdenv.lib.maintainers.chaoflow ];
};
}
diff --git a/pkgs/development/libraries/xapian/bindings/1.0.x.nix b/pkgs/development/libraries/xapian/bindings/1.0.x.nix
index b6bc94814e64396acb861403b79ed1b8572d681b..9ce5312f69abebd014438ebba087e7c13a83379a 100644
--- a/pkgs/development/libraries/xapian/bindings/1.0.x.nix
+++ b/pkgs/development/libraries/xapian/bindings/1.0.x.nix
@@ -68,7 +68,7 @@ composableDerivation.composableDerivation {} rec {
meta = {
description = "Bindings for the Xapian library";
homepage = xapian10.meta.homepage;
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
maintainers = [ stdenv.lib.maintainers.chaoflow ];
};
}
diff --git a/pkgs/development/libraries/xercesc/default.nix b/pkgs/development/libraries/xercesc/default.nix
index 7ea79a629245f890b054ee2cd1c120d4db98eeb3..1c1426d969e82b3ad9f575e590f6c3ae50a9acd3 100644
--- a/pkgs/development/libraries/xercesc/default.nix
+++ b/pkgs/development/libraries/xercesc/default.nix
@@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://xerces.apache.org/xerces-c/;
description = "Validating XML parser written in a portable subset of C++";
- license = "ASL2.0";
+ license = stdenv.lib.licenses.asl20;
platforms = stdenv.lib.platforms.linux ++ stdenv.lib.platforms.darwin;
};
}
diff --git a/pkgs/development/libraries/xmlsec/default.nix b/pkgs/development/libraries/xmlsec/default.nix
index afb23e4de3541f21143bff5a90c681c8dfacca16..80f4e2fc86049c3ddb77b008a9288bb4b12a882d 100644
--- a/pkgs/development/libraries/xmlsec/default.nix
+++ b/pkgs/development/libraries/xmlsec/default.nix
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://www.aleksey.com/xmlsec;
description = "XML Security Library in C based on libxml2";
- license = "MIT";
+ license = stdenv.lib.licenses.mit;
platforms = stdenv.lib.platforms.linux;
};
}
diff --git a/pkgs/development/misc/avr8-burn-omat/default.nix b/pkgs/development/misc/avr8-burn-omat/default.nix
index f79483874f6bd317c5bc594b53c93830bcb8b45d..a0466091a5269740f224ae6410a9839ce6541ab2 100644
--- a/pkgs/development/misc/avr8-burn-omat/default.nix
+++ b/pkgs/development/misc/avr8-burn-omat/default.nix
@@ -27,6 +27,6 @@ stdenv.mkDerivation {
meta = {
description = "GUI tool for avrdude";
homepage = http://avr8-burn-o-mat.brischalle.de/avr8_burn_o_mat_avrdude_gui_en.html;
- license = "GPLv3";
+ license = stdenv.lib.licenses.gpl3;
};
}
diff --git a/pkgs/development/misc/intelgen4asm/default.nix b/pkgs/development/misc/intelgen4asm/default.nix
index d0e2517cdd9e25bd0181967b5208e1e4b6b6d75a..c7365f944e95772edb0845636defe18a0b6ed00f 100644
--- a/pkgs/development/misc/intelgen4asm/default.nix
+++ b/pkgs/development/misc/intelgen4asm/default.nix
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://cgit.freedesktop.org/xorg/app/intel-gen4asm/;
- license = "MIT";
+ license = stdenv.lib.licenses.mit;
description = "Program to compile an assembly language for the Intel 965 Express Chipset";
};
}
diff --git a/pkgs/development/mobile/xcodeenv/build-app.nix b/pkgs/development/mobile/xcodeenv/build-app.nix
index b5766c805522dc2c06262aef3ee02786b7c1c938..92e68f1bda7065bb7d66866450680b2cdf4ad7f3 100644
--- a/pkgs/development/mobile/xcodeenv/build-app.nix
+++ b/pkgs/development/mobile/xcodeenv/build-app.nix
@@ -15,9 +15,15 @@
, provisioningProfile ? null
, generateIPA ? false
, generateXCArchive ? false
+, enableWirelessDistribution ? false
+, installURL ? null
+, bundleId ? null
+, version ? null
+, title ? null
}:
assert release -> codeSignIdentity != null && certificateFile != null && certificatePassword != null && provisioningProfile != null;
+assert enableWirelessDistribution -> installURL != null && bundleId != null && version != null && title != null;
let
# Set some default values here
@@ -84,6 +90,12 @@ stdenv.mkDerivation {
# Add IPA to Hydra build products
mkdir -p $out/nix-support
echo "file binary-dist \"$(echo $out/*.ipa)\"" > $out/nix-support/hydra-build-products
+
+ ${stdenv.lib.optionalString enableWirelessDistribution ''
+ appname=$(basename $out/*.ipa .ipa)
+ sed -e "s|@INSTALL_URL@|${installURL}?bundleId=${bundleId}\&version=${version}\&title=$appname|" ${./install.html.template} > $out/$appname.html
+ echo "doc install $out/$appname.html" >> $out/nix-support/hydra-build-products
+ ''}
''}
# Delete our temp keychain
diff --git a/pkgs/development/mobile/xcodeenv/install.html.template b/pkgs/development/mobile/xcodeenv/install.html.template
new file mode 100644
index 0000000000000000000000000000000000000000..833b1994162c827d91d2f80b61f65ddc83fb2f2c
--- /dev/null
+++ b/pkgs/development/mobile/xcodeenv/install.html.template
@@ -0,0 +1,25 @@
+
+
+
+
+ Install IPA
+
+
+
+ Go to the install page or wait a second
+
+
+
+
diff --git a/pkgs/development/ocaml-modules/camlimages/default.nix b/pkgs/development/ocaml-modules/camlimages/default.nix
index 21610f8f31036ef491583487b97645181a8d0164..ff344ef6f327ab8650d9a2be78ac6309530cc4d7 100644
--- a/pkgs/development/ocaml-modules/camlimages/default.nix
+++ b/pkgs/development/ocaml-modules/camlimages/default.nix
@@ -37,7 +37,7 @@ stdenv.mkDerivation {
meta = {
homepage = http://cristal.inria.fr/camlimages;
description = "Image manipulation library";
- license = "GnuGPLV2";
+ license = stdenv.lib.licenses.gpl2;
# maintainers = [ stdenv.lib.maintainers.roconnor ];
};
}
diff --git a/pkgs/development/ocaml-modules/cryptgps/default.nix b/pkgs/development/ocaml-modules/cryptgps/default.nix
index 7379a62d4244dbbcbe461e2daebb5ad0526b229a..8f18658b0f65165ccc8e34a5394e2ec422209ff3 100644
--- a/pkgs/development/ocaml-modules/cryptgps/default.nix
+++ b/pkgs/development/ocaml-modules/cryptgps/default.nix
@@ -28,7 +28,7 @@ stdenv.mkDerivation {
i.e. this is not a binding to some C library, but the implementation
itself.
'';
- license = "MIT/X11";
+ license = stdenv.lib.licenses.mit;
platforms = ocaml.meta.platforms;
maintainers = [
stdenv.lib.maintainers.z77z
diff --git a/pkgs/development/ocaml-modules/expat/default.nix b/pkgs/development/ocaml-modules/expat/default.nix
index b2702a5cade6f63a0ae05fd4cbc00d3809f7074d..f4837bd047f50dd11983d9ca0cc94ffd3d1f6c88 100644
--- a/pkgs/development/ocaml-modules/expat/default.nix
+++ b/pkgs/development/ocaml-modules/expat/default.nix
@@ -45,7 +45,7 @@ stdenv.mkDerivation {
meta = {
homepage = http://www.xs4all.nl/~mmzeeman/ocaml/;
description = "An ocaml wrapper for the Expat XML parsing library";
- license = "MIT/X11";
+ license = stdenv.lib.licenses.mit;
maintainers = [ stdenv.lib.maintainers.roconnor ];
};
}
diff --git a/pkgs/development/ocaml-modules/gmetadom/default.nix b/pkgs/development/ocaml-modules/gmetadom/default.nix
index 4d46bda243f3abc5de44139ca0d6e8b335e51f23..f1ec69143b0714fbb197e5b6e81cea5bc7e5fcc0 100644
--- a/pkgs/development/ocaml-modules/gmetadom/default.nix
+++ b/pkgs/development/ocaml-modules/gmetadom/default.nix
@@ -30,7 +30,7 @@ stdenv.mkDerivation {
meta = {
homepage = http://gmetadom.sourceforge.net/;
description = "GMetaDOM is a collection of librares, each library providing a DOM implementation";
- license = "LGPLv2.1+";
+ license = stdenv.lib.licenses.lgpl21Plus;
maintainers = [ stdenv.lib.maintainers.roconnor ];
};
}
diff --git a/pkgs/development/ocaml-modules/http/default.nix b/pkgs/development/ocaml-modules/http/default.nix
index 46398d26114bc9a6368ecef2bce049a5c0ec3e75..8b611c65a41d6d5e90ef8c820207ac979e60e477 100644
--- a/pkgs/development/ocaml-modules/http/default.nix
+++ b/pkgs/development/ocaml-modules/http/default.nix
@@ -33,7 +33,7 @@ stdenv.mkDerivation {
meta = {
homepage = "http://upsilon.cc/~zack/hacking/software/ocaml-http/";
description = "do it yourself (OCaml) HTTP daemon";
- license = "LGPLv2";
+ license = stdenv.lib.licenses.lgpl2;
maintainers = [ stdenv.lib.maintainers.roconnor ];
};
}
diff --git a/pkgs/development/ocaml-modules/lablgl/default.nix b/pkgs/development/ocaml-modules/lablgl/default.nix
index 75c8d7ad2244f00a15c7d0741397513e03771f34..7cefe26746f872457a01db2bdd2471bf2d76e78a 100644
--- a/pkgs/development/ocaml-modules/lablgl/default.nix
+++ b/pkgs/development/ocaml-modules/lablgl/default.nix
@@ -38,7 +38,7 @@ stdenv.mkDerivation {
meta = {
homepage = http://wwwfun.kurims.kyoto-u.ac.jp/soft/lsl/lablgl.html;
description = "OpenGL bindings for ocaml";
- license = "GnuGPLV2";
+ license = stdenv.lib.licenses.gpl2;
maintainers = [ stdenv.lib.maintainers.pSub ];
};
}
diff --git a/pkgs/development/ocaml-modules/lablgtk/default.nix b/pkgs/development/ocaml-modules/lablgtk/default.nix
index 392cf5c9772d673754bcb885592bdc1f9ec4e8e3..c2f50c4e5b83c4cd23902ee1d0b9b876043e65b0 100644
--- a/pkgs/development/ocaml-modules/lablgtk/default.nix
+++ b/pkgs/development/ocaml-modules/lablgtk/default.nix
@@ -31,6 +31,6 @@ stdenv.mkDerivation (rec {
];
homepage = http://wwwfun.kurims.kyoto-u.ac.jp/soft/lsl/lablgtk.html;
description = "LablGTK is is an Objective Caml interface to gtk+";
- license = "LGPLv2.1+";
+ license = stdenv.lib.licenses.lgpl21Plus;
};
})
diff --git a/pkgs/development/ocaml-modules/lablgtkmathview/default.nix b/pkgs/development/ocaml-modules/lablgtkmathview/default.nix
index 976910aae29aa1eb119b2ed85b6c8fca2fcef97b..333e86fa3fe9fc24f32b2b353c030dc2e1d18de5 100644
--- a/pkgs/development/ocaml-modules/lablgtkmathview/default.nix
+++ b/pkgs/development/ocaml-modules/lablgtkmathview/default.nix
@@ -34,7 +34,7 @@ stdenv.mkDerivation {
meta = {
homepage = http://helm.cs.unibo.it/mml-widget/;
description = "OCaml bindings for gtkmathview";
- license = "LGPLv2+";
+ license = stdenv.lib.licenses.lgpl2Plus;
maintainers = [ stdenv.lib.maintainers.roconnor ];
};
}
diff --git a/pkgs/development/ocaml-modules/mysql/default.nix b/pkgs/development/ocaml-modules/mysql/default.nix
index ed70d1b9c3eed449250d57f0fe75d69da8ce6371..0ae60ab07e4a11f3cffb41219b3e83dc19fa74be 100644
--- a/pkgs/development/ocaml-modules/mysql/default.nix
+++ b/pkgs/development/ocaml-modules/mysql/default.nix
@@ -41,7 +41,7 @@ stdenv.mkDerivation {
meta = {
homepage = http://ocaml-mysql.forge.ocamlcore.org;
description = "Bindings for interacting with MySQL databases from ocaml";
- license = "LGPLv2.1+";
+ license = stdenv.lib.licenses.lgpl21Plus;
maintainers = [ stdenv.lib.maintainers.roconnor ];
};
}
diff --git a/pkgs/development/ocaml-modules/ocaml-cairo/default.nix b/pkgs/development/ocaml-modules/ocaml-cairo/default.nix
index 8f19847680b664c62206e3dd36d1126461ee47c2..94395f601aa4eb21bc076f47d03b714dbc82b519 100644
--- a/pkgs/development/ocaml-modules/ocaml-cairo/default.nix
+++ b/pkgs/development/ocaml-modules/ocaml-cairo/default.nix
@@ -38,7 +38,7 @@ stdenv.mkDerivation {
meta = {
homepage = http://cairographics.org/cairo-ocaml;
description = "ocaml bindings for cairo library";
- license = "GnuGPLV2";
+ license = stdenv.lib.licenses.gpl2;
# maintainers = [ stdenv.lib.maintainers.roconnor ];
};
}
diff --git a/pkgs/development/ocaml-modules/ocamlsdl/default.nix b/pkgs/development/ocaml-modules/ocamlsdl/default.nix
index 6361dbd9ae640021adf36ee8419fd5fd467e5d8f..51af8d99d69bf747ec78e34ec920785d4568757a 100644
--- a/pkgs/development/ocaml-modules/ocamlsdl/default.nix
+++ b/pkgs/development/ocaml-modules/ocamlsdl/default.nix
@@ -22,6 +22,6 @@ stdenv.mkDerivation {
meta = {
homepage = http://ocamlsdl.sourceforge.net/;
description = "OCaml bindings for SDL 1.2";
- license = "LGPL 2.1";
+ license = stdenv.lib.licenses.lgpl21;
};
}
diff --git a/pkgs/development/ocaml-modules/sqlite3/default.nix b/pkgs/development/ocaml-modules/sqlite3/default.nix
index 63dc06634d716390e8d97e2a5a268797207ddedd..d92207cd20b1133e561f2d8643bd642f9ccb4930 100644
--- a/pkgs/development/ocaml-modules/sqlite3/default.nix
+++ b/pkgs/development/ocaml-modules/sqlite3/default.nix
@@ -23,7 +23,7 @@ stdenv.mkDerivation {
meta = {
homepage = https://bitbucket.org/mmottl/sqlite3-ocaml;
description = "OCaml bindings to the SQLite 3 database access library";
- license = "MIT/X11";
+ license = stdenv.lib.licenses.mit;
platforms = ocaml.meta.platforms;
maintainers = [
stdenv.lib.maintainers.z77z
diff --git a/pkgs/development/ocaml-modules/ulex/0.8/default.nix b/pkgs/development/ocaml-modules/ulex/0.8/default.nix
index e996b6223b1ef023f5858939fde0a80388ddb52f..77ffa75289812a2ad2c55596458d753ab7803491 100644
--- a/pkgs/development/ocaml-modules/ulex/0.8/default.nix
+++ b/pkgs/development/ocaml-modules/ulex/0.8/default.nix
@@ -28,7 +28,7 @@ stdenv.mkDerivation {
meta = {
homepage = http://www.cduce.org/download.html;
description = "ulex is a lexer generator for Unicode and OCaml";
- license = "MIT";
+ license = stdenv.lib.licenses.mit;
maintainers = [ stdenv.lib.maintainers.roconnor ];
};
}
diff --git a/pkgs/development/ocaml-modules/ulex/default.nix b/pkgs/development/ocaml-modules/ulex/default.nix
index 19beeec1ec548eb4dc542625b1b0ab12573e8fd0..72efaa0606d77c066508796949e33a271a51d749 100644
--- a/pkgs/development/ocaml-modules/ulex/default.nix
+++ b/pkgs/development/ocaml-modules/ulex/default.nix
@@ -24,7 +24,7 @@ stdenv.mkDerivation {
meta = {
homepage = http://www.cduce.org/download.html;
description = "ulex is a lexer generator for Unicode and OCaml";
- license = "MIT";
+ license = stdenv.lib.licenses.mit;
maintainers = [ stdenv.lib.maintainers.roconnor ];
};
}
diff --git a/pkgs/development/perl-modules/Compress-Raw-Zlib/default.nix b/pkgs/development/perl-modules/Compress-Raw-Zlib/default.nix
index 5d22970155b65c03c7b42a416fa388e3196e7b4e..93cef5d844cc8357d9f85f9bb4b6a76390b21340 100644
--- a/pkgs/development/perl-modules/Compress-Raw-Zlib/default.nix
+++ b/pkgs/development/perl-modules/Compress-Raw-Zlib/default.nix
@@ -21,6 +21,6 @@ buildPerlPackage rec {
doCheck = !stdenv.isDarwin;
meta = {
- license = "perl5";
+ license = "perl";
};
}
diff --git a/pkgs/development/perl-modules/maatkit/default.nix b/pkgs/development/perl-modules/maatkit/default.nix
index b30e2f12fc62a6ae6484f873b1732ecc6ee2798b..2b412d518c5c36bdd6ccf6920f5d0c0476cc2713 100644
--- a/pkgs/development/perl-modules/maatkit/default.nix
+++ b/pkgs/development/perl-modules/maatkit/default.nix
@@ -34,7 +34,7 @@ buildPerlPackage rec {
In addition to MySQL, there is support for PostgreSQL, Memcached, and a
growing variety of other databases and technologies.
'';
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
homepage = http://www.maatkit.org/;
};
}
diff --git a/pkgs/development/python-modules/dbus/default.nix b/pkgs/development/python-modules/dbus/default.nix
index 32ef97bf29c534e8578e07a426dad1c53a380a1c..d88504379ed028a43d065ab8ed996d6ecf1b0267 100644
--- a/pkgs/development/python-modules/dbus/default.nix
+++ b/pkgs/development/python-modules/dbus/default.nix
@@ -17,6 +17,6 @@ stdenv.mkDerivation rec {
meta = {
description = "Python DBus bindings";
- license = "MIT";
+ license = stdenv.lib.licenses.mit;
};
}
diff --git a/pkgs/development/python-modules/generic/wrap.sh b/pkgs/development/python-modules/generic/wrap.sh
index 282aeca9ed1c998bec0631abc43fbe37f40db873..857f002cace96610e0eb3068e7ffac1281234524 100644
--- a/pkgs/development/python-modules/generic/wrap.sh
+++ b/pkgs/development/python-modules/generic/wrap.sh
@@ -26,6 +26,12 @@ wrapPythonProgramsIn() {
# dont wrap EGG-INFO scripts since they are called from python
if echo "$i" | grep -v EGG-INFO/scripts; then
echo "wrapping \`$i'..."
+ sed -i "$i" -re '1 {
+ /^#!/!b; :r
+ /\\$/{N;b r}
+ /__future__|^ *(#.*)?$/{n;b r}
+ /^ *[^# ]/i import sys; sys.argv[0] = '"'$(basename "$i")'"'
+ }'
wrapProgram "$i" \
--prefix PYTHONPATH ":" $program_PYTHONPATH \
--prefix PATH ":" $program_PATH
diff --git a/pkgs/development/python-modules/mygpoclient/default.nix b/pkgs/development/python-modules/mygpoclient/default.nix
new file mode 100644
index 0000000000000000000000000000000000000000..d4461788381803b61560e4e1477c8cf071aa86b7
--- /dev/null
+++ b/pkgs/development/python-modules/mygpoclient/default.nix
@@ -0,0 +1,26 @@
+{ stdenv, fetchurl, python, buildPythonPackage, pythonPackages }:
+
+buildPythonPackage rec {
+ name = "mygpoclient-1.7";
+
+ src = fetchurl {
+ url = "https://thp.io/2010/mygpoclient/${name}.tar.gz";
+ sha256 = "6a0b7b1fe2b046875456e14eda3e42430e493bf2251a64481cf4fd1a1e21a80e";
+ };
+
+ buildInputs = [ pythonPackages.nose pythonPackages.minimock ];
+
+ checkPhase = "make test";
+
+ meta = {
+ description = "A gpodder.net client library";
+ longDescription = ''
+ The mygpoclient library allows developers to utilize a Pythonic interface
+ to the gpodder.net web services.
+ '';
+ homepage = "https://thp.io/2010/mygpoclient/";
+ license = "GPLv3";
+ platforms = stdenv.lib.platforms.linux ++ stdenv.lib.platforms.darwin;
+ maintainers = [ stdenv.lib.maintainers.skeidel ];
+ };
+}
diff --git a/pkgs/development/python-modules/pygame/default.nix b/pkgs/development/python-modules/pygame/default.nix
index a6efb8bdc2b366e3199971008c0f9b435b5e29e1..93fa70e44bcffc624e28c86776d14ae7e18a1192 100644
--- a/pkgs/development/python-modules/pygame/default.nix
+++ b/pkgs/development/python-modules/pygame/default.nix
@@ -32,6 +32,6 @@ stdenv.mkDerivation {
meta = {
description = "Python library for games";
homepage = "http://www.pygame.org/";
- license = "LGPLv2.1+";
+ license = stdenv.lib.licenses.lgpl21Plus;
};
}
diff --git a/pkgs/development/python-modules/pyside/apiextractor.nix b/pkgs/development/python-modules/pyside/apiextractor.nix
index 107bb08759fb60dc295f80729b21c5818bb9d37b..e3bcf059c1c24b3c366f85cf4b9e47161b0c6a75 100644
--- a/pkgs/development/python-modules/pyside/apiextractor.nix
+++ b/pkgs/development/python-modules/pyside/apiextractor.nix
@@ -1,12 +1,11 @@
-{ stdenv, fetchgit, cmake, libxml2, libxslt, python27Packages, qt4 }:
+{ stdenv, fetchurl, cmake, libxml2, libxslt, python27Packages, qt4 }:
stdenv.mkDerivation {
- name = "pyside-apiextractor-0.10.7-6-gdcb1195";
+ name = "pyside-apiextractor-0.10.10";
- src = fetchgit {
- url = "git://github.com/PySide/Apiextractor.git";
- rev = "dcb11958cabe518630f9f2d2bebd9f8711c2b15b";
- sha256 = "d7b6cb16d11b6134de17a15635d0b5ad7460d31d7870cafe23a690141b9a2274";
+ src = fetchurl {
+ url = "https://github.com/PySide/Apiextractor/archive/0.10.10.tar.gz";
+ sha256 = "1zj8yrxy08iv1pk38djxw3faimm226w6wmi0gm32w4yczblylwz3";
};
enableParallelBuilding = true;
diff --git a/pkgs/development/python-modules/pyside/default.nix b/pkgs/development/python-modules/pyside/default.nix
index dc4f733a4cf0c992a397f8b9aeb48691a639c229..d274283594ab39afd66c9d824eec7ba651bfd4e2 100644
--- a/pkgs/development/python-modules/pyside/default.nix
+++ b/pkgs/development/python-modules/pyside/default.nix
@@ -1,12 +1,11 @@
-{ stdenv, fetchgit, cmake, pysideGeneratorrunner, pysideShiboken, qt4 }:
+{ stdenv, fetchurl, cmake, pysideGeneratorrunner, pysideShiboken, qt4 }:
stdenv.mkDerivation {
- name = "pyside-1.0.9";
+ name = "pyside-1.2.2";
- src = fetchgit {
- url = "git://github.com/PySide/PySide.git";
- rev = "4e47b3284fd8715b68342e755cd06ba02b1df0de";
- sha256 = "1fd302e78c5dea8a9c312bd493c04240f2383517ee745d9df2b070f15f0ab515";
+ src = fetchurl {
+ url = "http://download.qt-project.org/official_releases/pyside/pyside-qt4.8+1.2.2.tar.bz2";
+ sha256 = "1qbahpcjwl8d7zvvnc18nxpk1lbifpvjk8pi24ifbvvqcdsdzad1";
};
enableParallelBuilding = true;
diff --git a/pkgs/development/python-modules/pyside/generatorrunner.nix b/pkgs/development/python-modules/pyside/generatorrunner.nix
index 12ec5a7ef51b4bee725810764514e3061b15cc7b..2423cbb0c2e430da6b3569d8e4bd65dbb64aae05 100644
--- a/pkgs/development/python-modules/pyside/generatorrunner.nix
+++ b/pkgs/development/python-modules/pyside/generatorrunner.nix
@@ -1,12 +1,11 @@
-{ stdenv, fetchgit, cmake, pysideApiextractor, python27Packages, qt4 }:
+{ stdenv, fetchurl, cmake, pysideApiextractor, python27Packages, qt4 }:
stdenv.mkDerivation {
- name = "pyside-generatorrunner-0.6.15";
+ name = "pyside-generatorrunner-0.6.16";
- src = fetchgit {
- url = "git://github.com/PySide/Generatorrunner.git";
- rev = "567ca6effaecdf97b33d1d13eada23bafe0f7535";
- sha256 = "182aba79af9fc865337f4befc96faf3eaca1ab9bcb902a57e0a68af49f071c74";
+ src = fetchurl {
+ url = "https://github.com/PySide/Generatorrunner/archive/0.6.16.tar.gz";
+ sha256 = "0vzk3cp0pfbhd921r8f1xkcz96znla39dhj074k623x9k26lj2sj";
};
enableParallelBuilding = true;
diff --git a/pkgs/development/python-modules/pyside/shiboken.nix b/pkgs/development/python-modules/pyside/shiboken.nix
index d8ef2d7b52f19ce09a6af0b78cb2875b9be9bd18..5e266aba7d0d814c43a138f5dd28715384d0f4e0 100644
--- a/pkgs/development/python-modules/pyside/shiboken.nix
+++ b/pkgs/development/python-modules/pyside/shiboken.nix
@@ -1,12 +1,11 @@
-{ stdenv, fetchgit, cmake, pysideApiextractor, pysideGeneratorrunner, python27, python27Packages, qt4 }:
+{ stdenv, fetchurl, cmake, pysideApiextractor, pysideGeneratorrunner, python27, python27Packages, qt4 }:
stdenv.mkDerivation {
- name = "pyside-shiboken-1.0.7-73-g9f110f8";
+ name = "pyside-shiboken-1.2.2";
- src = fetchgit {
- url = "git://github.com/PySide/Shiboken.git";
- rev = "9f110f83c213867e15b0141a802ebbf74f2ed9f7";
- sha256 = "4618ed113fb20840fd9acb7d08460eb257f630cbca6d61113c16549a6bb651cd";
+ src = fetchurl {
+ url = "http://download.qt-project.org/official_releases/pyside/shiboken-1.2.2.tar.bz2";
+ sha256 = "1i75ziljl7rgb88nf26hz6cm8jf5kbs9r33b1j8zs4z33z7vn9bn";
};
enableParallelBuilding = true;
diff --git a/pkgs/development/python-modules/pyside/tools.nix b/pkgs/development/python-modules/pyside/tools.nix
index a3153bed21775df8cd9ea423936fe3e1d7e6df97..b5ddec09c03e0a98a2214ddae82a505784d9d8f1 100644
--- a/pkgs/development/python-modules/pyside/tools.nix
+++ b/pkgs/development/python-modules/pyside/tools.nix
@@ -1,12 +1,11 @@
-{ stdenv, fetchgit, cmake, pyside, python27, qt4, pysideShiboken }:
+{ stdenv, fetchurl, cmake, pyside, python27, qt4, pysideShiboken }:
stdenv.mkDerivation {
- name = "pyside-tools-0.2.13";
+ name = "pyside-tools-0.2.15";
- src = fetchgit {
- url = "git://github.com/PySide/Tools.git";
- rev = "23e0712360442e50f34be0d6e4651b8c4c806d47";
- sha256 = "68f059e4936fb8dfae6aa3a463db8c28adcb7bd050b29e8b6fef82431f72da07";
+ src = fetchurl {
+ url = "https://github.com/PySide/Tools/archive/0.2.15.tar.gz";
+ sha256 = "0x4z3aq7jgar74gxzwznl3agla9i1dcskw5gh11jnnwwn63ffzwa";
};
enableParallelBuilding = true;
diff --git a/pkgs/development/python-modules/pyx/default.nix b/pkgs/development/python-modules/pyx/default.nix
index 374158da810c8b81fe2b8032aebd5250dd2a0d5d..cc36680fcb0105bc94055526de1aa8b5db55f371 100644
--- a/pkgs/development/python-modules/pyx/default.nix
+++ b/pkgs/development/python-modules/pyx/default.nix
@@ -34,7 +34,7 @@ stdenv.mkDerivation rec {
plots in publication-ready quality are built out of these
primitives.
'';
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
homepage = http://pyx.sourceforge.net/;
};
}
diff --git a/pkgs/development/tools/analysis/lcov/default.nix b/pkgs/development/tools/analysis/lcov/default.nix
index 9ad34097d0b17daeef32873a21479f49775aac0b..89a17d28a1b955f43d860166c4ee7f910f65e997 100644
--- a/pkgs/development/tools/analysis/lcov/default.nix
+++ b/pkgs/development/tools/analysis/lcov/default.nix
@@ -39,7 +39,7 @@ stdenv.mkDerivation rec {
'';
homepage = http://ltp.sourceforge.net/coverage/lcov.php;
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
maintainers = [ maintainers.mornfall ];
platforms = platforms.all;
diff --git a/pkgs/development/tools/analysis/radare/default.nix b/pkgs/development/tools/analysis/radare/default.nix
index d549bd8fb19813ab11fdac79de2b283ea5efb597..2ab8c05ebf85a97eb1f9c987d3fc309eddae4117 100644
--- a/pkgs/development/tools/analysis/radare/default.nix
+++ b/pkgs/development/tools/analysis/radare/default.nix
@@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
meta = {
description = "Free advanced command line hexadecimal editor";
homepage = http://radare.org/;
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
maintainers = with stdenv.lib.maintainers; [viric];
platforms = with stdenv.lib.platforms; all;
};
diff --git a/pkgs/development/tools/analysis/radare/ired.nix b/pkgs/development/tools/analysis/radare/ired.nix
index f7fb810410dc9a7d4ebf9deedd90dbf50451db1a..a2d135d448417bc253699fdd9d7010d798852f62 100644
--- a/pkgs/development/tools/analysis/radare/ired.nix
+++ b/pkgs/development/tools/analysis/radare/ired.nix
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
meta = {
description = "Interactive Raw Editor";
homepage = http://radare.org/;
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
maintainers = with stdenv.lib.maintainers; [viric];
platforms = with stdenv.lib.platforms; all;
};
diff --git a/pkgs/development/tools/analysis/sparse/default.nix b/pkgs/development/tools/analysis/sparse/default.nix
index f860f05c36a8757e8dc3e20200afb98b56141afa..6d0e28f0ab20731a82ca96079fd526b46e8b4ac3 100644
--- a/pkgs/development/tools/analysis/sparse/default.nix
+++ b/pkgs/development/tools/analysis/sparse/default.nix
@@ -1,38 +1,25 @@
-{ fetchurl, stdenv, pkgconfig }:
+{ fetchurl, stdenv, pkgconfig, libxml2, llvm }:
stdenv.mkDerivation rec {
- name = "sparse-0.4.4";
+ name = "sparse-0.5.0";
src = fetchurl {
- url = "mirror://kernel/software/devel/sparse/dist/${name}.tar.gz";
- sha256 = "5ad02110130fd8f8d82f2b030de5f2db6f924fd805593a5b8be8072a620414c6";
+ url = "mirror://kernel/software/devel/sparse/dist/${name}.tar.xz";
+ sha256 = "1mc86jc5xdrdmv17nqj2cam2yqygnj6ar1iqkwsx2y37ij8wy7wj";
};
preConfigure = ''
- sed -i "Makefile" \
- -e "s|^PREFIX *=.*$|PREFIX = $out|g"
+ sed -i Makefile -e "s|^PREFIX=.*$|PREFIX=$out|g"
'';
- buildInputs = [ pkgconfig ];
-
+ buildInputs = [ pkgconfig libxml2 llvm ];
doCheck = true;
meta = {
description = "Sparse, a semantic parser for C";
-
- longDescription = ''
- Sparse, the semantic parser, provides a compiler frontend
- capable of parsing most of ANSI C as well as many GCC
- extensions, and a collection of sample compiler backends,
- including a static analyzer also called "sparse". Sparse
- provides a set of annotations designed to convey semantic
- information about types, such as what address space pointers
- point to, or what locks a function acquires or releases.
- '';
-
- homepage = http://www.kernel.org/pub/software/devel/sparse/;
-
- # See http://www.opensource.org/licenses/osl.php .
- license = "Open Software License v1.1";
+ homepage = "https://git.kernel.org/cgit/devel/sparse/sparse.git/";
+ license = stdenv.lib.licenses.mit;
+ platforms = stdenv.lib.platforms.linux;
+ maintainers = [ stdenv.lib.maintainers.thoughtpolice ];
};
}
diff --git a/pkgs/development/tools/analysis/valgrind/default.nix b/pkgs/development/tools/analysis/valgrind/default.nix
index a6ea2c2f59d4a68d6e001cf1cfc089a6abd967f5..a7e55de7d47d1bb4e52d795194a8ece127720c20 100644
--- a/pkgs/development/tools/analysis/valgrind/default.nix
+++ b/pkgs/development/tools/analysis/valgrind/default.nix
@@ -52,7 +52,7 @@ stdenv.mkDerivation rec {
Valgrind to build new tools.
'';
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
maintainers = [ stdenv.lib.maintainers.eelco ];
platforms = stdenv.lib.platforms.linux ++ stdenv.lib.platforms.darwin;
diff --git a/pkgs/development/tools/analysis/valkyrie/default.nix b/pkgs/development/tools/analysis/valkyrie/default.nix
index 3a0879d6edfd527cb43389b8b61de1849320cfe1..18481d16f17f91be432ef27af5e8e2e3b014e5e8 100644
--- a/pkgs/development/tools/analysis/valkyrie/default.nix
+++ b/pkgs/development/tools/analysis/valkyrie/default.nix
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
homepage = http://www.valgrind.org/;
description = "Qt4-based GUI for the Valgrind 3.6.x series";
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
platforms = stdenv.lib.platforms.linux;
};
diff --git a/pkgs/development/tools/build-managers/buildbot-slave/default.nix b/pkgs/development/tools/build-managers/buildbot-slave/default.nix
index f21be7cc48c7b4c8095e70393bebaee465c50e41..870664c252a523957bbd885685f162b7fce57772 100644
--- a/pkgs/development/tools/build-managers/buildbot-slave/default.nix
+++ b/pkgs/development/tools/build-managers/buildbot-slave/default.nix
@@ -34,7 +34,7 @@ buildPythonPackage (rec {
meta = with stdenv.lib; {
homepage = http://buildbot.net/;
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
description = "Continuous integration system that automates the build/test cycle";
diff --git a/pkgs/development/tools/build-managers/buildbot/default.nix b/pkgs/development/tools/build-managers/buildbot/default.nix
index 2d7c63fdc7de9199a72d34b872d2364ae3cc39c6..ccbf74e528e2c7466a7bffa32a40770502f63b5b 100644
--- a/pkgs/development/tools/build-managers/buildbot/default.nix
+++ b/pkgs/development/tools/build-managers/buildbot/default.nix
@@ -52,7 +52,7 @@ buildPythonPackage (rec {
meta = with stdenv.lib; {
homepage = http://buildbot.net/;
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
# Of course, we don't really need that on NixOS. :-)
description = "Continuous integration system that automates the build/test cycle";
diff --git a/pkgs/development/tools/build-managers/colormake/default.nix b/pkgs/development/tools/build-managers/colormake/default.nix
index 25ef7ef0b246781f0a8afba5f0a2640fa7aad00a..edc901858b8338052d7b80cb5415ae6028f208de 100644
--- a/pkgs/development/tools/build-managers/colormake/default.nix
+++ b/pkgs/development/tools/build-managers/colormake/default.nix
@@ -19,6 +19,6 @@ stdenv.mkDerivation rec {
meta = {
description = "Simple wrapper around make to colorize the output";
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
};
}
diff --git a/pkgs/development/tools/build-managers/gnumake/3.81/default.nix b/pkgs/development/tools/build-managers/gnumake/3.81/default.nix
index 56d2326c916ba6c70078deef728ba157a3281c06..2a8c80e7db2613ca8d950e26aea8dc4a664c5e0b 100644
--- a/pkgs/development/tools/build-managers/gnumake/3.81/default.nix
+++ b/pkgs/development/tools/build-managers/gnumake/3.81/default.nix
@@ -41,7 +41,7 @@ stdenv.mkDerivation {
homepage = http://www.gnu.org/software/make/;
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
maintainers = [ stdenv.lib.maintainers.ludo ];
};
}
diff --git a/pkgs/development/tools/build-managers/gnumake/3.82/default.nix b/pkgs/development/tools/build-managers/gnumake/3.82/default.nix
index 4f3c7defa4885df1408793229d12c0341da78e96..6b24df39be9a8daff53dc00c5e4276f31c45986f 100644
--- a/pkgs/development/tools/build-managers/gnumake/3.82/default.nix
+++ b/pkgs/development/tools/build-managers/gnumake/3.82/default.nix
@@ -56,7 +56,7 @@ stdenv.mkDerivation {
homepage = http://www.gnu.org/software/make/;
- license = "GPLv3+";
+ license = stdenv.lib.licenses.gpl3Plus;
maintainers = [ stdenv.lib.maintainers.ludo ];
platforms = stdenv.lib.platforms.all;
};
diff --git a/pkgs/development/tools/build-managers/gnumake/4.0/default.nix b/pkgs/development/tools/build-managers/gnumake/4.0/default.nix
index 6a76fa0302b6b517ae84c46f12dd011da2a927f5..2da17490abff40a8ef403254dc4d4d49ab3eb48d 100644
--- a/pkgs/development/tools/build-managers/gnumake/4.0/default.nix
+++ b/pkgs/development/tools/build-managers/gnumake/4.0/default.nix
@@ -42,7 +42,7 @@ stdenv.mkDerivation {
homepage = http://www.gnu.org/software/make/;
- license = "GPLv3+";
+ license = stdenv.lib.licenses.gpl3Plus;
maintainers = [ stdenv.lib.maintainers.ludo ];
platforms = stdenv.lib.platforms.all;
};
diff --git a/pkgs/development/tools/build-managers/gradle/default.nix b/pkgs/development/tools/build-managers/gradle/default.nix
index f8466e5aafda76e2c96698c45c2713c100255ea1..b7316fc17c4a9d8cc6035b278495ec5fd334515b 100644
--- a/pkgs/development/tools/build-managers/gradle/default.nix
+++ b/pkgs/development/tools/build-managers/gradle/default.nix
@@ -32,6 +32,6 @@ stdenv.mkDerivation rec {
build-by-convention behavior.
'';
homepage = http://www.gradle.org/;
- license = "ASL2.0";
+ license = stdenv.lib.licenses.asl20;
};
}
diff --git a/pkgs/development/tools/build-managers/scons/default.nix b/pkgs/development/tools/build-managers/scons/default.nix
index c6856dae565124cd07bb040988626d85436912ff..75d72e3d52a01d2cf009da20c7d2c52a016e64c0 100644
--- a/pkgs/development/tools/build-managers/scons/default.nix
+++ b/pkgs/development/tools/build-managers/scons/default.nix
@@ -28,7 +28,7 @@ stdenv.mkDerivation {
meta = {
homepage = "http://scons.org/";
description = "An improved, cross-platform substitute for Make";
- license = "MIT";
+ license = stdenv.lib.licenses.mit;
longDescription = ''
SCons is an Open Source software construction tool. Think of
SCons as an improved, cross-platform substitute for the classic
diff --git a/pkgs/development/tools/documentation/doxygen/default.nix b/pkgs/development/tools/documentation/doxygen/default.nix
index 9a8979aaa6cf06524a25cf5c9e94cc912b059977..54509178b1a16a5a2091f35f4a6414aabfb9f62c 100644
--- a/pkgs/development/tools/documentation/doxygen/default.nix
+++ b/pkgs/development/tools/documentation/doxygen/default.nix
@@ -37,7 +37,7 @@ stdenv.mkDerivation {
enableParallelBuilding = true;
meta = {
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
homepage = "http://doxygen.org/";
description = "Doxygen, a source code documentation generator tool";
diff --git a/pkgs/development/tools/documentation/haddock/2.7.2.nix b/pkgs/development/tools/documentation/haddock/2.7.2.nix
index fd31a96b2913df8d350659209e090dc19f551603..8ceff01aca9de6b848107dba93bac3ce2edc6227 100644
--- a/pkgs/development/tools/documentation/haddock/2.7.2.nix
+++ b/pkgs/development/tools/documentation/haddock/2.7.2.nix
@@ -5,7 +5,7 @@ cabal.mkDerivation (self : {
version = "2.7.2"; # Haskell Platform 2010.1.0.0 and 2010.2.0.0
name = self.fname;
sha256 = "4eaaaf62785f0ba3d37ba356cfac4679faef91c0902d8cdbf42837cbe5daab82";
- extraBuildInputs = [alex happy makeWrapper];
+ buildTools = [alex happy makeWrapper];
propagatedBuildInputs = [ghcPaths];
doCheck = false;
diff --git a/pkgs/development/tools/documentation/haddock/2.9.2.nix b/pkgs/development/tools/documentation/haddock/2.9.2.nix
index fcae14d789e9018fb085816f9280270115755c7e..05330b700ccb8b5e9916ce024a7e5cfa4ee7231c 100644
--- a/pkgs/development/tools/documentation/haddock/2.9.2.nix
+++ b/pkgs/development/tools/documentation/haddock/2.9.2.nix
@@ -5,7 +5,7 @@ cabal.mkDerivation (self : {
version = "2.9.2"; # Haskell Platform 2011.2.0.0
name = self.fname;
sha256 = "189vvp173pqc69zgzqqx6vyhvsc13p1s86ql60rs1j5qlhh8ajg8";
- extraBuildInputs = [alex happy makeWrapper];
+ buildTools = [alex happy makeWrapper];
propagatedBuildInputs = [ghcPaths xhtml];
doCheck = false;
diff --git a/pkgs/development/tools/guile/g-wrap/default.nix b/pkgs/development/tools/guile/g-wrap/default.nix
index 8698dc27b4011a6008f0bf7d14174d74c9f13235..74e967686f3e86dd5e8be3c50b94a0a38bf4711c 100644
--- a/pkgs/development/tools/guile/g-wrap/default.nix
+++ b/pkgs/development/tools/guile/g-wrap/default.nix
@@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
generating Guile wrappers for C functions.
'';
homepage = http://www.nongnu.org/g-wrap/;
- license = "LGPLv2+";
+ license = stdenv.lib.licenses.lgpl2Plus;
maintainers = [ stdenv.lib.maintainers.ludo ];
};
}
diff --git a/pkgs/development/tools/haskell/HaRe/default.nix b/pkgs/development/tools/haskell/HaRe/default.nix
index 377f3c6f08dea95c7c22d6908cb16c26c1eb0d70..c6459b0e7f29dfc2a095b204ae4bf0c0491e0271 100644
--- a/pkgs/development/tools/haskell/HaRe/default.nix
+++ b/pkgs/development/tools/haskell/HaRe/default.nix
@@ -9,8 +9,8 @@
cabal.mkDerivation (self: {
pname = "HaRe";
- version = "0.7.2.5";
- sha256 = "09v0z1r03bzazgjf26fv54q1jpmv14zyl6w9083xcf2cs3yy6vfh";
+ version = "0.7.2.6";
+ sha256 = "0fvnif75sjgi4388in8fdvgvaxb0s9cgnqf7i583rxlxjibx44ai";
isLibrary = true;
isExecutable = true;
buildDepends = [
diff --git a/pkgs/development/tools/haskell/cabal2nix/default.nix b/pkgs/development/tools/haskell/cabal2nix/default.nix
index 04e9f1cfea18c2618604a010b73cfe03927e3ae7..1e6e69036e2edde0c1dc836289f7f70e1f54da12 100644
--- a/pkgs/development/tools/haskell/cabal2nix/default.nix
+++ b/pkgs/development/tools/haskell/cabal2nix/default.nix
@@ -5,8 +5,8 @@
cabal.mkDerivation (self: {
pname = "cabal2nix";
- version = "1.66";
- sha256 = "1is72jfv6snz59jpmg7dfcinpi3q4kdiqchd7zf45rqrszd5h43p";
+ version = "1.67";
+ sha256 = "1l614lx5l3rhn0jvs45is9m8bil32ms5lb74j30ialv3qnjsvjnv";
isLibrary = false;
isExecutable = true;
buildDepends = [ Cabal filepath hackageDb HTTP mtl regexPosix ];
diff --git a/pkgs/development/tools/haskell/codex/default.nix b/pkgs/development/tools/haskell/codex/default.nix
index 475c6018697be645b676b354550cd9d40598fcbe..fac145b14c203ee94a0dd6acd3a39f4b6002c2a6 100644
--- a/pkgs/development/tools/haskell/codex/default.nix
+++ b/pkgs/development/tools/haskell/codex/default.nix
@@ -6,8 +6,8 @@
cabal.mkDerivation (self: {
pname = "codex";
- version = "0.1.0.2";
- sha256 = "0dsc5dx5zcxf5wd2qf6gqzr8d613z1gkllmzzkbny3lxa512crsw";
+ version = "0.1.0.3";
+ sha256 = "0sbkri6y9f4wws120kbb93sv1z0z75hjw9pw5r3wadmmd0lygsn9";
isLibrary = true;
isExecutable = true;
buildDepends = [
diff --git a/pkgs/development/tools/haskell/hlint/default.nix b/pkgs/development/tools/haskell/hlint/default.nix
index be3b7ef2930e53640c1b769a5840f55d6e783509..83ffd0367e585e9ca13b9ed8b0b964da4f04e7a5 100644
--- a/pkgs/development/tools/haskell/hlint/default.nix
+++ b/pkgs/development/tools/haskell/hlint/default.nix
@@ -6,15 +6,14 @@
cabal.mkDerivation (self: {
pname = "hlint";
- version = "1.9";
- sha256 = "1c8qpfrivsxx6raqnrz40li73hng4z0ygc1hl70qixbmsmv2a830";
+ version = "1.9.3";
+ sha256 = "1sdz981yq0amsw9q6hx0aqkd0ayrax5p77s3n3gz4bphpk37n09b";
isLibrary = true;
isExecutable = true;
buildDepends = [
cmdargs cpphs filepath haskellSrcExts hscolour transformers
uniplate
];
- jailbreak = true;
meta = {
homepage = "http://community.haskell.org/~ndm/hlint/";
description = "Source code suggestions";
diff --git a/pkgs/development/tools/haskell/keter/default.nix b/pkgs/development/tools/haskell/keter/default.nix
index 496ba1d3e48907fd08be9d00a943bc7d870f06ce..34bc45e7471644e25d2e7495a5d7b77fc070cb17 100644
--- a/pkgs/development/tools/haskell/keter/default.nix
+++ b/pkgs/development/tools/haskell/keter/default.nix
@@ -11,8 +11,8 @@
cabal.mkDerivation (self: {
pname = "keter";
- version = "1.3.2";
- sha256 = "1vmn7aaljwg3gv6vbj9z5w2mffsls5d6mzs4rg9s3rh8khb14cr0";
+ version = "1.3.3";
+ sha256 = "1i4yjzqp8if0h88k8ga0dvqbrh57nvcr9dbfbj1sdw40pd74yb3i";
isLibrary = true;
isExecutable = true;
buildDepends = [
diff --git a/pkgs/development/tools/java/fastjar/default.nix b/pkgs/development/tools/java/fastjar/default.nix
index cfcd8564b4ccb4ef3d5c8da772f6733fa78f76e8..c8bb94412cad6cd3e1e1eb978cb3daedf88fab59 100644
--- a/pkgs/development/tools/java/fastjar/default.nix
+++ b/pkgs/development/tools/java/fastjar/default.nix
@@ -24,7 +24,7 @@ let version = "0.94"; in
homepage = http://fastjar.sourceforge.net/;
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
maintainers = [ ];
};
diff --git a/pkgs/development/tools/misc/autobuild/default.nix b/pkgs/development/tools/misc/autobuild/default.nix
index 88246e4bb6eb180c839b437e477cf3b03372d60e..b35ec4357c4f7a6028f478950805c7067c7c8779 100644
--- a/pkgs/development/tools/misc/autobuild/default.nix
+++ b/pkgs/development/tools/misc/autobuild/default.nix
@@ -34,6 +34,6 @@ stdenv.mkDerivation rec {
'';
homepage = http://josefsson.org/autobuild/;
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
};
}
diff --git a/pkgs/development/tools/misc/autoconf/2.13.nix b/pkgs/development/tools/misc/autoconf/2.13.nix
index f6793e3aeec02368a994c69126b76c321394b52d..c3b44ca56863f6049586dd55a03651fc688cb175 100644
--- a/pkgs/development/tools/misc/autoconf/2.13.nix
+++ b/pkgs/development/tools/misc/autoconf/2.13.nix
@@ -31,6 +31,6 @@ stdenv.mkDerivation rec {
can use, in the form of M4 macro calls.
'';
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
};
}
diff --git a/pkgs/development/tools/misc/autoconf/default.nix b/pkgs/development/tools/misc/autoconf/default.nix
index 08fcd95afb5e7e6e0159e14dbb8b329e53e5fa34..38fe289d29a17e7ddaa05a1fed031657c5097456 100644
--- a/pkgs/development/tools/misc/autoconf/default.nix
+++ b/pkgs/development/tools/misc/autoconf/default.nix
@@ -41,7 +41,7 @@ stdenv.mkDerivation rec {
can use, in the form of M4 macro calls.
'';
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
maintainers = [ stdenv.lib.maintainers.ludo ];
};
diff --git a/pkgs/development/tools/misc/automake/automake-1.11.x.nix b/pkgs/development/tools/misc/automake/automake-1.11.x.nix
index 0af9877c935526c040bf9485c88e18c1a7f56d7e..2cd80eb4bac561d2f46c582b46d8f1b2322b6adc 100644
--- a/pkgs/development/tools/misc/automake/automake-1.11.x.nix
+++ b/pkgs/development/tools/misc/automake/automake-1.11.x.nix
@@ -40,7 +40,7 @@ stdenv.mkDerivation rec {
Standards. Automake requires the use of Autoconf.
'';
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
maintainers = [ stdenv.lib.maintainers.ludo ];
};
diff --git a/pkgs/development/tools/misc/automake/automake-1.12.x.nix b/pkgs/development/tools/misc/automake/automake-1.12.x.nix
index 269d423f2fab79180e0602fb583a0e5ee9ed9f98..6a93cdc78fdc99216d4800d387a57efe75fe6464 100644
--- a/pkgs/development/tools/misc/automake/automake-1.12.x.nix
+++ b/pkgs/development/tools/misc/automake/automake-1.12.x.nix
@@ -46,7 +46,7 @@ stdenv.mkDerivation rec {
Standards. Automake requires the use of Autoconf.
'';
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
maintainers = [ stdenv.lib.maintainers.ludo ];
};
diff --git a/pkgs/development/tools/misc/automake/automake-1.13.x.nix b/pkgs/development/tools/misc/automake/automake-1.13.x.nix
index 96a93e8d60b58969ea6c1ae8c5ab692c8e766ee5..d4369787f1b6e07a63ae5f22399f0fc76c08984f 100644
--- a/pkgs/development/tools/misc/automake/automake-1.13.x.nix
+++ b/pkgs/development/tools/misc/automake/automake-1.13.x.nix
@@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = "http://www.gnu.org/software/automake/";
description = "GNU standard-compliant makefile generator";
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
longDescription = ''
GNU Automake is a tool for automatically generating
diff --git a/pkgs/development/tools/misc/automake/automake-1.14.x.nix b/pkgs/development/tools/misc/automake/automake-1.14.x.nix
index d20ea2c2e91cae4e7dd85a08688c4fbf23ee31e6..0c6ed42825a9d75618d3888a3e410f51fb6bf3ef 100644
--- a/pkgs/development/tools/misc/automake/automake-1.14.x.nix
+++ b/pkgs/development/tools/misc/automake/automake-1.14.x.nix
@@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = "http://www.gnu.org/software/automake/";
description = "GNU standard-compliant makefile generator";
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
longDescription = ''
GNU Automake is a tool for automatically generating
diff --git a/pkgs/development/tools/misc/binutils/default.nix b/pkgs/development/tools/misc/binutils/default.nix
index 3caeee7287a1b5c351f4f5499f05058f2992f003..8d8fc5d464e89f3551a2f1e5f8e487567d4cf659 100644
--- a/pkgs/development/tools/misc/binutils/default.nix
+++ b/pkgs/development/tools/misc/binutils/default.nix
@@ -78,7 +78,7 @@ stdenv.mkDerivation rec {
homepage = http://www.gnu.org/software/binutils/;
- license = "GPLv3+";
+ license = stdenv.lib.licenses.gpl3Plus;
/* Give binutils a lower priority than gcc-wrapper to prevent a
collision due to the ld/as wrappers/symlinks in the latter. */
diff --git a/pkgs/development/tools/misc/cbrowser/default.nix b/pkgs/development/tools/misc/cbrowser/default.nix
index bf927db2793c4f21dd5234bb1bfe872e2fdd0463..2cc8e640631a62664a5bac492706174ea4b55260 100644
--- a/pkgs/development/tools/misc/cbrowser/default.nix
+++ b/pkgs/development/tools/misc/cbrowser/default.nix
@@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
meta = {
description = "Tcl/Tk GUI front-end to cscope";
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
homepage = http://sourceforge.net/projects/cbrowser/;
diff --git a/pkgs/development/tools/misc/cflow/default.nix b/pkgs/development/tools/misc/cflow/default.nix
index d9be5802fa95ca756e6889da24e7a643553c50c5..53bc8ed78c8bc1a9196dc4045458e0b5ed605fe6 100644
--- a/pkgs/development/tools/misc/cflow/default.nix
+++ b/pkgs/development/tools/misc/cflow/default.nix
@@ -39,7 +39,7 @@ stdenv.mkDerivation rec {
produced flowcharts in Emacs.
'';
- license = "GPLv3+";
+ license = stdenv.lib.licenses.gpl3Plus;
homepage = http://www.gnu.org/software/cflow/;
diff --git a/pkgs/development/tools/misc/cgdb/default.nix b/pkgs/development/tools/misc/cgdb/default.nix
index d313d271afbbf51dd5a9cefd32a1374edb2744d6..09c9325d4ff27e717176dbff21b4918ddbcccce5 100644
--- a/pkgs/development/tools/misc/cgdb/default.nix
+++ b/pkgs/development/tools/misc/cgdb/default.nix
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
repositories.git = git://github.com/cgdb/cgdb.git;
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
platforms = with stdenv.lib.platforms; linux ++ cygwin;
maintainers = with stdenv.lib.maintainers; [ viric ];
diff --git a/pkgs/development/tools/misc/coccinelle/default.nix b/pkgs/development/tools/misc/coccinelle/default.nix
index 122c256657f0a7360f668a7101c89bf7a5f9d11c..0bf5bbce692d3c6a500cfeb05eaa920a97409ac8 100644
--- a/pkgs/development/tools/misc/coccinelle/default.nix
+++ b/pkgs/development/tools/misc/coccinelle/default.nix
@@ -54,7 +54,7 @@ in stdenv.mkDerivation {
'';
homepage = http://coccinelle.lip6.fr/;
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
maintainers = [ ];
platforms = stdenv.lib.platforms.gnu; # arbitrary choice
diff --git a/pkgs/development/tools/misc/complexity/default.nix b/pkgs/development/tools/misc/complexity/default.nix
index cfdc35f1b34646ad906da1f86f6e7d1f3762f1a9..9f1eca0fa13c7fcb6c90dffdc3db68fec1a2811c 100644
--- a/pkgs/development/tools/misc/complexity/default.nix
+++ b/pkgs/development/tools/misc/complexity/default.nix
@@ -35,7 +35,7 @@ stdenv.mkDerivation rec {
addresses several issues not considered in that scoring scheme.
'';
- license = "GPLv3+";
+ license = stdenv.lib.licenses.gpl3Plus;
homepage = http://www.gnu.org/software/complexity/;
diff --git a/pkgs/development/tools/misc/cppi/default.nix b/pkgs/development/tools/misc/cppi/default.nix
index f9246df9e56714a21c8712ddc8d7efed477c68aa..500129c7c9de5f402857c85a3209b40b050ec7bc 100644
--- a/pkgs/development/tools/misc/cppi/default.nix
+++ b/pkgs/development/tools/misc/cppi/default.nix
@@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
to the level of nesting of that directive.
'';
- license = "GPLv3+";
+ license = stdenv.lib.licenses.gpl3Plus;
maintainers = [ stdenv.lib.maintainers.ludo ];
platforms = stdenv.lib.platforms.all;
diff --git a/pkgs/development/tools/misc/ddd/default.nix b/pkgs/development/tools/misc/ddd/default.nix
index 0a6895aff6b9ae38b9cf5f42a9438e4079e3b67d..91150255bdaa550909f27d05c66b8187b50eac80 100644
--- a/pkgs/development/tools/misc/ddd/default.nix
+++ b/pkgs/development/tools/misc/ddd/default.nix
@@ -13,6 +13,6 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://www.gnu.org/software/ddd;
description = "Graphical front-end for command-line debuggers";
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
};
}
diff --git a/pkgs/development/tools/misc/dejagnu/default.nix b/pkgs/development/tools/misc/dejagnu/default.nix
index 9e400cc5c62a3edfc8c4b8df3e77ce70639920a3..bc22752fe7ed2a28940af5244bc1c99f79a181a9 100644
--- a/pkgs/development/tools/misc/dejagnu/default.nix
+++ b/pkgs/development/tools/misc/dejagnu/default.nix
@@ -47,7 +47,7 @@ stdenv.mkDerivation rec {
'';
homepage = http://www.gnu.org/software/dejagnu/;
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
platforms = stdenv.lib.platforms.all;
maintainers = [ stdenv.lib.maintainers.ludo ];
diff --git a/pkgs/development/tools/misc/gdb/default.nix b/pkgs/development/tools/misc/gdb/default.nix
index b3a86a03d97cfdb7a983db8c4cdbe19dbceb0da5..2b5ced78063314086f98d120467f08b41b26ed29 100644
--- a/pkgs/development/tools/misc/gdb/default.nix
+++ b/pkgs/development/tools/misc/gdb/default.nix
@@ -78,7 +78,7 @@ stdenv.mkDerivation rec {
homepage = http://www.gnu.org/software/gdb/;
- license = "GPLv3+";
+ license = stdenv.lib.licenses.gpl3Plus;
platforms = with platforms; linux ++ cygwin ++ darwin;
maintainers = with maintainers; [ pierron ];
diff --git a/pkgs/development/tools/misc/gengetopt/default.nix b/pkgs/development/tools/misc/gengetopt/default.nix
index d0efe4e62494982c5f5ddbc2e04b1eb9ed95f7b0..9926dd6cd33477936f30bb27ae7b8a47aaf1be2c 100644
--- a/pkgs/development/tools/misc/gengetopt/default.nix
+++ b/pkgs/development/tools/misc/gengetopt/default.nix
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
homepage = http://www.gnu.org/software/gengetopt/;
- license = "GPLv3+";
+ license = stdenv.lib.licenses.gpl3Plus;
maintainers = [ ];
platforms = stdenv.lib.platforms.all;
diff --git a/pkgs/development/tools/misc/global/default.nix b/pkgs/development/tools/misc/global/default.nix
index fdb5f72af83066da557cdcf19f653dcb1312b274..d6abf8d10bdb5acf6a68da545d4b8a3d9414ff9f 100644
--- a/pkgs/development/tools/misc/global/default.nix
+++ b/pkgs/development/tools/misc/global/default.nix
@@ -37,7 +37,7 @@ stdenv.mkDerivation rec {
operating system like GNU and BSD.
'';
- license = "GPLv3+";
+ license = stdenv.lib.licenses.gpl3Plus;
homepage = http://www.gnu.org/software/global/;
diff --git a/pkgs/development/tools/misc/gnum4/default.nix b/pkgs/development/tools/misc/gnum4/default.nix
index 75e8e2dfe4fd9e0555ba7a1f281cac858a1af20b..67688254a4072e6c02fa7b13b5d09701bf3ed1b0 100644
--- a/pkgs/development/tools/misc/gnum4/default.nix
+++ b/pkgs/development/tools/misc/gnum4/default.nix
@@ -36,7 +36,7 @@ stdenv.mkDerivation rec {
compiler or as a macro processor in its own right.
'';
- license = "GPLv3+";
+ license = stdenv.lib.licenses.gpl3Plus;
};
}
diff --git a/pkgs/development/tools/misc/gob2/default.nix b/pkgs/development/tools/misc/gob2/default.nix
index 2f35f96e93290cc40edf02eeb5bb4d6c8167ec88..a434e54bba9fa60997744a090fdd70f3421b55c7 100644
--- a/pkgs/development/tools/misc/gob2/default.nix
+++ b/pkgs/development/tools/misc/gob2/default.nix
@@ -15,6 +15,6 @@ stdenv.mkDerivation rec {
meta = {
description = "Preprocessor for making GObjects with inline C code";
homepage = http://www.jirka.org/gob.html;
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
};
}
diff --git a/pkgs/development/tools/misc/gperf/default.nix b/pkgs/development/tools/misc/gperf/default.nix
index 478d2162b33790e168d152329fd7344ab3b1c4f7..e25998e542043f69e1e63a2a46b7b82a07ef7bc3 100644
--- a/pkgs/development/tools/misc/gperf/default.nix
+++ b/pkgs/development/tools/misc/gperf/default.nix
@@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
employed by gperf.
'';
- license = "GPLv3+";
+ license = stdenv.lib.licenses.gpl3Plus;
homepage = http://www.gnu.org/software/gperf/;
};
diff --git a/pkgs/development/tools/misc/gtkdialog/default.nix b/pkgs/development/tools/misc/gtkdialog/default.nix
index b447cf918cf1696414792cb555069799939d14e4..cd8ad0d64cd74c3ab38d65e6340062b7f791350b 100644
--- a/pkgs/development/tools/misc/gtkdialog/default.nix
+++ b/pkgs/development/tools/misc/gtkdialog/default.nix
@@ -13,6 +13,6 @@ stdenv.mkDerivation {
meta = {
homepage = http://gtkdialog.googlecode.com/;
description = "Small utility for fast and easy GUI building from many scripted and compiled languages";
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
};
}
diff --git a/pkgs/development/tools/misc/help2man/default.nix b/pkgs/development/tools/misc/help2man/default.nix
index 2d60a06fb3e1d0191ad98ef736b9e7c3c837209b..23bd35c8739a44047fb75fdd4ba8c426f0b0adaf 100644
--- a/pkgs/development/tools/misc/help2man/default.nix
+++ b/pkgs/development/tools/misc/help2man/default.nix
@@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
homepage = http://www.gnu.org/software/help2man/;
- license = "GPLv3+";
+ license = stdenv.lib.licenses.gpl3Plus;
platforms = stdenv.lib.platforms.gnu; # arbitrary choice
maintainers = [ stdenv.lib.maintainers.ludo ];
};
diff --git a/pkgs/development/tools/misc/hydra/default.nix b/pkgs/development/tools/misc/hydra/default.nix
index caa277bfbf5f26ba351c734563185f3b08b8f2da..0940bcca191ad25fb297db8ba516768f0a11b11f 100644
--- a/pkgs/development/tools/misc/hydra/default.nix
+++ b/pkgs/development/tools/misc/hydra/default.nix
@@ -67,7 +67,7 @@ stdenv.mkDerivation {
meta = {
description = "Hydra, the Nix-based continuous integration system";
homepage = http://nixos.org/hydra/;
- license = "GPLv3+";
+ license = stdenv.lib.licenses.gpl3Plus;
platforms = stdenv.lib.platforms.linux;
};
}
diff --git a/pkgs/development/tools/misc/indent/default.nix b/pkgs/development/tools/misc/indent/default.nix
index 0c82c2cd2759473f6c9f3893ec06a76b831975d6..17714b7a9d45b141f57a09c44adb13421f18747b 100644
--- a/pkgs/development/tools/misc/indent/default.nix
+++ b/pkgs/development/tools/misc/indent/default.nix
@@ -18,6 +18,6 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://www.gnu.org/software/indent/;
description = "A source code reformatter";
- license = "GPLv3+";
+ license = stdenv.lib.licenses.gpl3Plus;
};
}
diff --git a/pkgs/development/tools/misc/inotify-tools/default.nix b/pkgs/development/tools/misc/inotify-tools/default.nix
index 0465b6d90a895792b65c3bc3bc215394c9f1b39f..086f4b5fed33c5395fc4db97ac1b75797d91d2c3 100644
--- a/pkgs/development/tools/misc/inotify-tools/default.nix
+++ b/pkgs/development/tools/misc/inotify-tools/default.nix
@@ -10,7 +10,7 @@ stdenv.mkDerivation {
meta = {
homepage = http://sourceforge.net/projects/inotify-tools/;
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
maintainers = [ stdenv.lib.maintainers.marcweber ];
platforms = stdenv.lib.platforms.linux;
};
diff --git a/pkgs/development/tools/misc/jscoverage/default.nix b/pkgs/development/tools/misc/jscoverage/default.nix
index c7f790b7d50a55160dc41b60827416bb38d1b329..07ef5ffc082dd074597b3f25542a9a56cbd80668 100644
--- a/pkgs/development/tools/misc/jscoverage/default.nix
+++ b/pkgs/development/tools/misc/jscoverage/default.nix
@@ -42,6 +42,6 @@ stdenv.mkDerivation rec {
'';
homepage = http://siliconforks.com/jscoverage/;
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
};
}
diff --git a/pkgs/development/tools/misc/libtool/default.nix b/pkgs/development/tools/misc/libtool/default.nix
index 78cd15e04bdb7499bde73d777c912959e5dd84c9..5eee9ead5d6367282cd783e6f38be92362ad1e47 100644
--- a/pkgs/development/tools/misc/libtool/default.nix
+++ b/pkgs/development/tools/misc/libtool/default.nix
@@ -29,6 +29,6 @@ stdenv.mkDerivation rec {
homepage = http://www.gnu.org/software/libtool/;
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
};
}
diff --git a/pkgs/development/tools/misc/libtool/libtool2.nix b/pkgs/development/tools/misc/libtool/libtool2.nix
index 4c3500c65a24ccfe07ab13635054210125a3c881..8b0a92c124458dd26ec22b310b149b8913911216 100644
--- a/pkgs/development/tools/misc/libtool/libtool2.nix
+++ b/pkgs/development/tools/misc/libtool/libtool2.nix
@@ -33,7 +33,7 @@ stdenv.mkDerivation (rec {
homepage = http://www.gnu.org/software/libtool/;
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
maintainers = [ stdenv.lib.maintainers.ludo ];
};
diff --git a/pkgs/development/tools/misc/lttng-tools/default.nix b/pkgs/development/tools/misc/lttng-tools/default.nix
index 541385d8bec274e977c2893f0188fc1115edf9f1..5758500d86f99c9ad2ac86a65269acb9794a7a74 100644
--- a/pkgs/development/tools/misc/lttng-tools/default.nix
+++ b/pkgs/development/tools/misc/lttng-tools/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, popt, libuuid, liburcu, lttngUst, kmod }:
+{ stdenv, fetchurl, popt, libuuid, liburcu, lttng-ust, kmod }:
stdenv.mkDerivation rec {
name = "lttng-tools-2.4.1";
@@ -8,7 +8,7 @@ stdenv.mkDerivation rec {
sha256 = "1v9f7a3c2shwgn4g759bblgr27h9ql9sfq71r1mbkf8rd235g2jr";
};
- buildInputs = [ popt libuuid liburcu lttngUst ];
+ buildInputs = [ popt libuuid liburcu lttng-ust ];
prePatch = ''
sed -e "s|/sbin/modprobe|${kmod}/sbin/modprobe|g" \
diff --git a/pkgs/development/tools/misc/ninka/default.nix b/pkgs/development/tools/misc/ninka/default.nix
index a5410204340816751e9dda6e80fc192ded24d3c3..dc7eb5cabfd0ce28e0958ed8984872472c10ab21 100644
--- a/pkgs/development/tools/misc/ninka/default.nix
+++ b/pkgs/development/tools/misc/ninka/default.nix
@@ -29,6 +29,6 @@ stdenv.mkDerivation rec {
meta = {
description = "A sentence based license detector";
homepage = "http://ninka.turingmachine.org/";
- license = "AGPLv3+";
+ license = stdenv.lib.licenses.agpl3Plus;
};
}
diff --git a/pkgs/development/tools/misc/pmccabe/default.nix b/pkgs/development/tools/misc/pmccabe/default.nix
index 10cf371f13a82c315080a214bb7cdaf5d56f653f..a71afd5d47299b7501c18dff19a7a5c443d57814 100644
--- a/pkgs/development/tools/misc/pmccabe/default.nix
+++ b/pkgs/development/tools/misc/pmccabe/default.nix
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
meta = {
description = "McCabe-style function complexity and line counting for C and C++";
homepage = http://www.parisc-linux.org/~bame/pmccabe/;
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
longDescription = ''
pmccabe calculates McCabe-style cyclomatic complexity for C and
diff --git a/pkgs/development/tools/misc/sloccount/default.nix b/pkgs/development/tools/misc/sloccount/default.nix
index 9dc50abf3f73210637ed1d4a8afad9435bbfee0a..455305be7492221a0cca4c1789ea95e6f40d0b70 100644
--- a/pkgs/development/tools/misc/sloccount/default.nix
+++ b/pkgs/development/tools/misc/sloccount/default.nix
@@ -56,7 +56,7 @@ stdenv.mkDerivation rec {
the Perl CPAN library using this tool suite.
'';
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
homepage = http://www.dwheeler.com/sloccount/;
diff --git a/pkgs/development/tools/misc/stm32flash/default.nix b/pkgs/development/tools/misc/stm32flash/default.nix
index 6b99a5755e42da3793b41d091340d78398ee879d..6b06bf385b3b818f6f707c35813748daf97a1ac7 100644
--- a/pkgs/development/tools/misc/stm32flash/default.nix
+++ b/pkgs/development/tools/misc/stm32flash/default.nix
@@ -17,7 +17,7 @@ stdenv.mkDerivation {
meta = with stdenv.lib; {
description = "Open source flash program for the STM32 ARM processors using the ST bootloader";
homepage = https://code.google.com/p/stm32flash/;
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
platforms = platforms.all; # Should work on all platforms
maintainers = [ maintainers.the-kenny ];
};
diff --git a/pkgs/development/tools/misc/sysbench/default.nix b/pkgs/development/tools/misc/sysbench/default.nix
index e3acf620c73b43e131680e95ee4ca806404094ef..1b4cab361ce5228e44f3523b5957f087b9591722 100644
--- a/pkgs/development/tools/misc/sysbench/default.nix
+++ b/pkgs/development/tools/misc/sysbench/default.nix
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
meta = {
description = "Modular, cross-platform and multi-threaded benchmark tool";
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
platforms = stdenv.lib.platforms.linux;
};
}
diff --git a/pkgs/development/tools/misc/texi2html/default.nix b/pkgs/development/tools/misc/texi2html/default.nix
index 7fa604e4af6595ac9799cde61abed503c08e0d1b..1f36a14fa9796d28d0551267ca8f6fff4345717b 100644
--- a/pkgs/development/tools/misc/texi2html/default.nix
+++ b/pkgs/development/tools/misc/texi2html/default.nix
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
meta = {
description = "Perl script which converts Texinfo source files to HTML output";
homepage = http://www.nongnu.org/texi2html/;
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
maintainers = [stdenv.lib.maintainers.marcweber];
platforms = stdenv.lib.platforms.linux;
};
diff --git a/pkgs/development/tools/misc/texinfo/4.13a.nix b/pkgs/development/tools/misc/texinfo/4.13a.nix
index 9a41d2963424a8843c061995a082eaa4626c2d5d..5131d38141235fc5426b6dfa84282d4c0852d114 100644
--- a/pkgs/development/tools/misc/texinfo/4.13a.nix
+++ b/pkgs/development/tools/misc/texinfo/4.13a.nix
@@ -33,7 +33,7 @@ stdenv.mkDerivation rec {
well-integrated with GNU Emacs.
'';
- license = "GPLv3+";
+ license = stdenv.lib.licenses.gpl3Plus;
homepage = http://www.gnu.org/software/texinfo/;
};
diff --git a/pkgs/development/tools/misc/uisp/default.nix b/pkgs/development/tools/misc/uisp/default.nix
index 732d3ab92c15d848af89dac7ef7960885f0e61d5..234ff82b50a072dc73ba1dbf37428419e74bd2d6 100644
--- a/pkgs/development/tools/misc/uisp/default.nix
+++ b/pkgs/development/tools/misc/uisp/default.nix
@@ -10,7 +10,7 @@ stdenv.mkDerivation {
meta = {
description = "Tool for AVR microcontrollers which can interface to many hardware in-system programmers";
- license = "GPL-2";
+ license = stdenv.lib.licenses.gpl2;
homepage = http://savannah.nongnu.org/projects/uisp;
};
}
diff --git a/pkgs/development/tools/misc/usb-modeswitch/default.nix b/pkgs/development/tools/misc/usb-modeswitch/default.nix
index 303cdf89a0507a443cfaee6a1209e344501790be..bba7ef7fad04ff20de7d249dad4027731560d03c 100644
--- a/pkgs/development/tools/misc/usb-modeswitch/default.nix
+++ b/pkgs/development/tools/misc/usb-modeswitch/default.nix
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
buildInputs = [ pkgconfig libusb1 ];
meta = {
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
maintainers = [ stdenv.lib.maintainers.marcweber ];
platforms = stdenv.lib.platforms.linux;
};
diff --git a/pkgs/development/tools/misc/xxdiff/default.nix b/pkgs/development/tools/misc/xxdiff/default.nix
index 36047210a9244df7924d252f039df2a2366ff109..1d7e6b330423cfcd3dc9d4f02f8905de91a17efe 100644
--- a/pkgs/development/tools/misc/xxdiff/default.nix
+++ b/pkgs/development/tools/misc/xxdiff/default.nix
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = "http://furius.ca/xxdiff/";
description = "graphical file and directories comparator and merge tool";
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
platforms = stdenv.lib.platforms.linux;
maintainers = [];
diff --git a/pkgs/development/tools/node-webkit/default.nix b/pkgs/development/tools/node-webkit/default.nix
index be125801bd50d3bfcbd4d07b3980ff9b83bb005b..04ee2962173003ffe160db9e1e7dc9514bd65390 100644
--- a/pkgs/development/tools/node-webkit/default.nix
+++ b/pkgs/development/tools/node-webkit/default.nix
@@ -16,13 +16,13 @@ let
in stdenv.mkDerivation rec {
name = "node-webkit-${version}";
- version = "0.8.4";
+ version = "0.9.2";
src = fetchurl {
url = "https://s3.amazonaws.com/node-webkit/v${version}/node-webkit-v${version}-linux-${bits}.tar.gz";
sha256 = if bits == "x64" then
- "91229edfb03349306c5ce101fdab2de55f7473cc7c36367e9611a0527d2ef591" else
- "12axppynangh0q72swzqcmz2blncgm2dw9n489313ybnp2p42hnp";
+ "04b9hgrxxnvrzyc7kmlabvrfbzj9d6lif7z69zgsbn3x25nxxd2n" else
+ "0icwdl564sbx27124js1l4whfld0n6nbysdd522frzk1759dzgri";
};
patchPhase = ''
diff --git a/pkgs/development/tools/ocaml/findlib/default.nix b/pkgs/development/tools/ocaml/findlib/default.nix
index 18b03f5923bf75f73f9ba13596b72308785b2f8b..4c0176de7e8898231af3b02306c03467e921ef95 100644
--- a/pkgs/development/tools/ocaml/findlib/default.nix
+++ b/pkgs/development/tools/ocaml/findlib/default.nix
@@ -49,7 +49,7 @@ stdenv.mkDerivation {
meta = {
homepage = http://projects.camlcity.org/projects/findlib.html;
description = "O'Caml library manager";
- license = "MIT/X11";
+ license = stdenv.lib.licenses.mit;
platforms = ocaml.meta.platforms;
maintainers = [
stdenv.lib.maintainers.z77z
diff --git a/pkgs/development/tools/ocaml/merlin/default.nix b/pkgs/development/tools/ocaml/merlin/default.nix
new file mode 100644
index 0000000000000000000000000000000000000000..c0882439f5c5d8d97ade673cad1892b4578a153f
--- /dev/null
+++ b/pkgs/development/tools/ocaml/merlin/default.nix
@@ -0,0 +1,21 @@
+{stdenv, fetchurl, ocaml, findlib, easy-format, biniou, yojson, menhir}:
+stdenv.mkDerivation {
+
+ name = "merlin-1.6";
+
+ src = fetchurl {
+ url = "https://github.com/the-lambda-church/merlin/archive/v1.6.tar.gz";
+ sha256 = "0wq75hgffaszazrhkl0nfjxgx8bvazi2sjannd8q64hvax8hxzcy";
+ };
+
+ buildInputs = [ ocaml findlib biniou yojson menhir easy-format ];
+
+ prefixKey = "--prefix ";
+
+ meta = {
+ description = "An editor-independant tool to ease the developpement of programs in OCaml";
+ homepage = "http://the-lambda-church.github.io/merlin/";
+ license = stdenv.lib.licenses.mit;
+ };
+}
+
diff --git a/pkgs/development/tools/parsing/bison/2.x.nix b/pkgs/development/tools/parsing/bison/2.x.nix
index 5660d51f060662a21587aca2a8be2d6fc9f88842..5bf5d7c2e8c64dce68db1a09f16aa180805cfa5e 100644
--- a/pkgs/development/tools/parsing/bison/2.x.nix
+++ b/pkgs/development/tools/parsing/bison/2.x.nix
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = "http://www.gnu.org/software/bison/";
description = "GNU Bison, a Yacc-compatible parser generator";
- license = "GPLv3+";
+ license = stdenv.lib.licenses.gpl3Plus;
longDescription = ''
Bison is a general-purpose parser generator that converts an
diff --git a/pkgs/development/tools/parsing/bison/3.x.nix b/pkgs/development/tools/parsing/bison/3.x.nix
index 284223905f6493d36460d483a07c90b5c4d6a95c..5947f85343c49653fefcc8a4b57d5903482bd560 100644
--- a/pkgs/development/tools/parsing/bison/3.x.nix
+++ b/pkgs/development/tools/parsing/bison/3.x.nix
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = "http://www.gnu.org/software/bison/";
description = "GNU Bison, a Yacc-compatible parser generator";
- license = "GPLv3+";
+ license = stdenv.lib.licenses.gpl3Plus;
longDescription = ''
Bison is a general-purpose parser generator that converts an
diff --git a/pkgs/development/tools/parsing/ragel/default.nix b/pkgs/development/tools/parsing/ragel/default.nix
index 2dec606254b41dcba263e2035306ee60d202096e..247daacf1617a991bbd1b0483e51130158f0efcb 100644
--- a/pkgs/development/tools/parsing/ragel/default.nix
+++ b/pkgs/development/tools/parsing/ragel/default.nix
@@ -1,4 +1,4 @@
-{composableDerivation, fetchurl, transfig, texLive}:
+{stdenv, composableDerivation, fetchurl, transfig, texLive}:
let
version = "6.3";
@@ -37,6 +37,6 @@ composableDerivation.composableDerivation {} {
meta = {
homepage = http://www.complang.org/ragel;
description = "State machine compiler";
- license = "GPL-2";
+ license = stdenv.lib.licenses.gpl2;
};
}
diff --git a/pkgs/development/tools/profiling/oprofile/default.nix b/pkgs/development/tools/profiling/oprofile/default.nix
index ee4644239298f1984a637b65d4079d25f4641718..e301fe8431afcc5afe31daf242669a3ab586c194 100644
--- a/pkgs/development/tools/profiling/oprofile/default.nix
+++ b/pkgs/development/tools/profiling/oprofile/default.nix
@@ -47,7 +47,7 @@ stdenv.mkDerivation rec {
is profiled: hardware and software interrupt handlers, kernel
modules, the kernel, shared libraries, and applications.
'';
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
homepage = http://oprofile.sourceforge.net/;
platforms = stdenv.lib.platforms.linux;
diff --git a/pkgs/development/tools/profiling/sysprof/default.nix b/pkgs/development/tools/profiling/sysprof/default.nix
index b6750f8893735a411a33b0fed27df130835136dc..457a5d1dcaa52db40e1cf7495e13a1a703a2b017 100644
--- a/pkgs/development/tools/profiling/sysprof/default.nix
+++ b/pkgs/development/tools/profiling/sysprof/default.nix
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://sysprof.com/;
description = "Sysprof, a system-wide profiler for Linux";
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
longDescription = ''
Sysprof is a sampling CPU profiler for Linux that uses the perf_event_open
diff --git a/pkgs/development/tools/profiling/systemtap/default.nix b/pkgs/development/tools/profiling/systemtap/default.nix
index 884091c1636cb67ccae58cdc31bd74461582727a..66dda8f43efdd6d78a06408813bdaea94c4f39e9 100644
--- a/pkgs/development/tools/profiling/systemtap/default.nix
+++ b/pkgs/development/tools/profiling/systemtap/default.nix
@@ -65,7 +65,7 @@ stdenv.mkDerivation rec {
homepage = http://sourceware.org/systemtap/;
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
maintainers = [ ];
platforms = stdenv.lib.platforms.linux;
diff --git a/pkgs/development/tools/pydb/default.nix b/pkgs/development/tools/pydb/default.nix
index 23f0dea44535f51463b3f9f626a1f37cb29d2d66..baa816589cab37bf3bd9e335b043d3dcdbd14f44 100644
--- a/pkgs/development/tools/pydb/default.nix
+++ b/pkgs/development/tools/pydb/default.nix
@@ -18,6 +18,6 @@ stdenv.mkDerivation {
meta = {
description = "Python debugger with GDB-like commands and Emacs bindings";
homepage = http://bashdb.sourceforge.net/pydb/;
- license = "GPLv3";
+ license = stdenv.lib.licenses.gpl3;
};
}
diff --git a/pkgs/development/web/nodejs/build-node-package.nix b/pkgs/development/web/nodejs/build-node-package.nix
index 544634626b03e4104f5d7c363ba13c1011ce99e0..84b0da1674c4607dab9635e47cce9c5df3e86bb6 100644
--- a/pkgs/development/web/nodejs/build-node-package.nix
+++ b/pkgs/development/web/nodejs/build-node-package.nix
@@ -1,6 +1,6 @@
{ stdenv, runCommand, nodejs, neededNatives}:
-args @ { name, src, deps ? [], peerDependencies ? [], flags ? [], ... }:
+args @ { name, src, deps ? [], peerDependencies ? [], flags ? [], preShellHook ? "", postShellHook ? "", ... }:
with stdenv.lib;
@@ -80,6 +80,16 @@ stdenv.mkDerivation ({
preFixup = concatStringsSep "\n" (map (src: ''
find $out -type f -print0 | xargs -0 sed -i 's|${src}|${src.name}|g'
'') src);
+
+ shellHook = ''
+ ${preShellHook}
+ export PATH=${nodejs}/bin:$(pwd)/node_modules/.bin:$PATH
+ mkdir -p node_modules
+ ${concatStrings (concatMap (dep: map (name: ''
+ ln -sfv ${dep}/lib/node_modules/${name} node_modules/
+ '') dep.names) deps)}
+ ${postShellHook}
+ '';
} // args // {
# Run the node setup hook when this package is a build input
propagatedNativeBuildInputs = (args.propagatedNativeBuildInputs or []) ++ [ nodejs ];
diff --git a/pkgs/games/LambdaHack/default.nix b/pkgs/games/LambdaHack/default.nix
index c52ce057df24b1811971b863bf438c18c7bf6754..3ddbbbdc5bf862b41cbc7fc77859a4e1faa5af81 100644
--- a/pkgs/games/LambdaHack/default.nix
+++ b/pkgs/games/LambdaHack/default.nix
@@ -1,26 +1,31 @@
# This file was auto-generated by cabal2nix. Please do NOT edit manually!
-{ cabal, assertFailure, binary, deepseq, enummapsetTh, filepath
-, gtk, hashable, hsini, keys, miniutter, mtl, prettyShow, random
-, stm, text, transformers, unorderedContainers, vector
+{ cabal, assertFailure, async, binary, deepseq, enummapsetTh
+, filepath, gtk, hashable, hsini, keys, miniutter, mtl, prettyShow
+, random, stm, text, transformers, unorderedContainers, vector
, vectorBinaryInstances, zlib
}:
cabal.mkDerivation (self: {
pname = "LambdaHack";
- version = "0.2.12";
- sha256 = "0ics1z376qyagkzg58mqqw7cbkjpkik57l8570qmk589nkhck86n";
+ version = "0.2.14";
+ sha256 = "1nygyzrgzrv7qfr153xvkh50p0sjrbv3jbif7qmpam5jjlw26ahs";
isLibrary = true;
isExecutable = true;
buildDepends = [
- assertFailure binary deepseq enummapsetTh filepath gtk hashable
+ assertFailure async binary deepseq enummapsetTh filepath gtk
+ hashable hsini keys miniutter mtl prettyShow random stm text
+ transformers unorderedContainers vector vectorBinaryInstances zlib
+ ];
+ testDepends = [
+ assertFailure async binary deepseq enummapsetTh filepath hashable
hsini keys miniutter mtl prettyShow random stm text transformers
unorderedContainers vector vectorBinaryInstances zlib
];
- jailbreak = true;
+ doCheck = false;
meta = {
- homepage = "http://github.com/kosmikus/LambdaHack";
- description = "A roguelike game engine in early and active development";
+ homepage = "http://github.com/LambdaHack/LambdaHack";
+ description = "A roguelike game engine in early development";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
maintainers = [ self.stdenv.lib.maintainers.andres ];
diff --git a/pkgs/games/andyetitmoves/default.nix b/pkgs/games/andyetitmoves/default.nix
index cf3f6e1563b8b95ae9e389458bccbd3a3e023ef6..6f5fc2add3a351f98a4809c0e603916f5301d584 100644
--- a/pkgs/games/andyetitmoves/default.nix
+++ b/pkgs/games/andyetitmoves/default.nix
@@ -68,7 +68,7 @@ stdenv.mkDerivation rec {
homepage = http://www.andyetitmoves.net/;
- license = "unfree";
+ license = stdenv.lib.licenses.unfree;
maintainers = with stdenv.lib.maintainers; [bluescreen303];
};
diff --git a/pkgs/games/anki/default.nix b/pkgs/games/anki/default.nix
index 77891f438813e073ac830ac1b1045cb6d071e419..86f4b961315e0d017330a35a31496bdf95099a14 100644
--- a/pkgs/games/anki/default.nix
+++ b/pkgs/games/anki/default.nix
@@ -65,7 +65,7 @@ stdenv.mkDerivation rec {
* mastering long poems
* even practicing guitar chords!
'';
- license = "GPLv3";
+ license = stdenv.lib.licenses.gpl3;
maintainers = with stdenv.lib.maintainers; [ the-kenny ];
platforms = stdenv.lib.platforms.mesaPlatforms;
};
diff --git a/pkgs/games/asc/default.nix b/pkgs/games/asc/default.nix
index bf2fb1e89c21013cd7d601c0a99f82e6e4602ef0..93297171bcb8ca2cfe5ad5d82865d380583b5150 100644
--- a/pkgs/games/asc/default.nix
+++ b/pkgs/games/asc/default.nix
@@ -30,7 +30,7 @@ stdenv.mkDerivation rec {
homepage = http://www.asc-hq.org/;
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
maintainers = with stdenv.lib.maintainers; [viric];
platforms = with stdenv.lib.platforms; linux;
diff --git a/pkgs/games/ball-and-paddle/default.nix b/pkgs/games/ball-and-paddle/default.nix
index c923f089405268564b501d369515b7177cf7b56a..4a7eb9376da7d1538bfa9d362a2cf8b3da9c3e95 100644
--- a/pkgs/games/ball-and-paddle/default.nix
+++ b/pkgs/games/ball-and-paddle/default.nix
@@ -31,7 +31,7 @@ stdenv.mkDerivation rec {
with Guile. Follow the example level sets and the documentation.
'';
- license = "GPLv3+";
+ license = stdenv.lib.licenses.gpl3Plus;
homepage = http://www.gnu.org/software/ballandpaddle/;
diff --git a/pkgs/games/banner/default.nix b/pkgs/games/banner/default.nix
index 3bb17b3e02f90f2351d1baf08e7377109f8fa4da..b4e61b6d1d1f57c8ec09e0c3c3957d27601cf7ba 100644
--- a/pkgs/games/banner/default.nix
+++ b/pkgs/games/banner/default.nix
@@ -37,7 +37,7 @@ mkDerivation "banner-1.3.2" "0dc0ac0667b2e884a7f5ad3e467af68cd0fd5917f8c9aa19188
meta = {
homepage = "http://shh.thathost.com/pub-unix/";
description = "print large banners to ASCII terminals";
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
longDescription = ''
An implementation of the traditional Unix-program used to display
diff --git a/pkgs/games/bitsnbots/default.nix b/pkgs/games/bitsnbots/default.nix
index 252f881c3752a8fbbf0cd7b2ded81ad45b7a81a4..57cd67fbb7baf2895d6dc756181a76b76577c041 100644
--- a/pkgs/games/bitsnbots/default.nix
+++ b/pkgs/games/bitsnbots/default.nix
@@ -30,7 +30,7 @@ stdenv.mkDerivation rec {
meta = {
description = "Simple puzzle game with moving robots";
homepage = "http://moikmellah.org/blog/?page_id=19";
- license = "GPLv3+";
+ license = stdenv.lib.licenses.gpl3Plus;
platforms = with stdenv.lib.platforms; linux;
};
}
diff --git a/pkgs/games/blackshadeselite/default.nix b/pkgs/games/blackshadeselite/default.nix
index 0f4904bfed97ce5554204c9f94c95b316a764761..d7e2cf4894dd461eaa1218906df719b84bcd3286 100644
--- a/pkgs/games/blackshadeselite/default.nix
+++ b/pkgs/games/blackshadeselite/default.nix
@@ -31,7 +31,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://home.gna.org/blackshadeselite/;
description = "Fork of Black Shades";
- license = "GPLv2+"; # Says its gna.org project page
+ license = stdenv.lib.licenses.gpl2Plus; # Says its gna.org project page
maintainers = with stdenv.lib.maintainers; [viric];
platforms = with stdenv.lib.platforms; linux;
};
diff --git a/pkgs/games/btanks/default.nix b/pkgs/games/btanks/default.nix
index 085c7c4082cb5b858f2d3b2ed1156330c5ae6778..46f5b3d018300d8d20e00046a0da82984af1b22e 100644
--- a/pkgs/games/btanks/default.nix
+++ b/pkgs/games/btanks/default.nix
@@ -22,6 +22,6 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://sourceforge.net/projects/btanks/;
description = "Fast 2d tank arcade game";
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
};
}
diff --git a/pkgs/games/bzflag/default.nix b/pkgs/games/bzflag/default.nix
index ce3a0c8fa3c32d15fefee65b59f4b98da0ea6d57..0798173a64d20a349a7201bd110bac724dd84086 100644
--- a/pkgs/games/bzflag/default.nix
+++ b/pkgs/games/bzflag/default.nix
@@ -13,6 +13,6 @@ stdenv.mkDerivation rec {
meta = {
description = "Multiplayer 3D Tank game";
homepage = http://bzflag.org/;
- license = "LGPLv2.1+";
+ license = stdenv.lib.licenses.lgpl21Plus;
};
}
diff --git a/pkgs/games/crack-attack/default.nix b/pkgs/games/crack-attack/default.nix
index 99bf2d41fd6924fb83ca06eb670091900dfe7cd6..538efebf8334bf0437b0e22b307a5bef31ef5bb7 100644
--- a/pkgs/games/crack-attack/default.nix
+++ b/pkgs/games/crack-attack/default.nix
@@ -13,7 +13,7 @@ stdenv.mkDerivation {
meta = {
description = "A fast-paced puzzle game inspired by the classic Super NES title Tetris Attack!";
homepage = http://www.nongnu.org/crack-attack/;
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
platforms = stdenv.lib.platforms.linux;
maintainers = [ stdenv.lib.maintainers.piotr ];
};
diff --git a/pkgs/games/crawl/default.nix b/pkgs/games/crawl/default.nix
new file mode 100644
index 0000000000000000000000000000000000000000..6cb48d85f8526a5d0c725ca84f80b8f3785c84fb
--- /dev/null
+++ b/pkgs/games/crawl/default.nix
@@ -0,0 +1,24 @@
+{ stdenv, fetchurl, sqlite, lua, which, zlib, pkgconfig, dejavu_fonts,
+ libpng, perl, SDL, SDL_image, ncurses, mesa}:
+
+stdenv.mkDerivation rec {
+ name = "crawl-0.14.1";
+ src = fetchurl {
+ url = "http://downloads.sourceforge.net/project/crawl-ref/Stone%20Soup/0.14.1/stone_soup-0.14.1-nodeps.tar.xz";
+ sha256 = "91726d0224b93ba26b5d4bd3762bc5aabe1f02974ea6c937be89dc6c6ab7a4dd";
+ };
+
+ patches = [ ./makefile_fonts.patch ./makefile_sqlite.patch
+ ./makefile_rltiles.patch ./makefile_rltiles2.patch
+ ./makefile_misc.patch ./makefile_prefix.patch
+ ];
+
+ buildInputs = [stdenv pkgconfig lua zlib sqlite which libpng perl SDL
+ dejavu_fonts SDL_image ncurses mesa];
+
+ preBuild = "cd source";
+
+ makeFlags = "TILES=y";
+
+ inherit dejavu_fonts sqlite SDL_image SDL;
+}
diff --git a/pkgs/games/crawl/makefile_fonts.patch b/pkgs/games/crawl/makefile_fonts.patch
new file mode 100644
index 0000000000000000000000000000000000000000..6c73407b65cd8b9a0a04175be7f452a0a072ba59
--- /dev/null
+++ b/pkgs/games/crawl/makefile_fonts.patch
@@ -0,0 +1,20 @@
+--- old/source/Makefile 2013-11-28 01:03:54.000000000 +0000
++++ new/source/Makefile 2014-02-05 14:04:32.531838188 +0000
+@@ -880,7 +880,7 @@
+ INSTALL_FONTS += $(PROPORTIONAL_FONT)
+ endif
+ else
+- SYS_PROPORTIONAL_FONT = $(shell dir=/usr/share/fonts; [ -d $$dir ] && find $$dir -iname $(OUR_PROPORTIONAL_FONT)|head -n 1)
++ SYS_PROPORTIONAL_FONT = $(shell dir=${dejavu_fonts}/share/fonts; [ -d $$dir ] && find $$dir -iname $(OUR_PROPORTIONAL_FONT)|head -n 1)
+ ifeq (,$(SYS_PROPORTIONAL_FONT))
+ SYS_PROPORTIONAL_FONT = $(shell dir=/usr/local/share/fonts ; [ -d $$dir ] && find $$dir -iname $(OUR_PROPORTIONAL_FONT)|head -n 1)
+ endif
+@@ -903,7 +903,7 @@
+ INSTALL_FONTS += $(MONOSPACED_FONT)
+ endif
+ else
+- SYS_MONOSPACED_FONT = $(shell dir=/usr/share/fonts; [ -d $$dir ] && find $$dir -iname $(OUR_MONOSPACED_FONT)|head -n 1)
++ SYS_MONOSPACED_FONT = $(shell dir=${dejavu_fonts}/share/fonts; [ -d $$dir ] && find $$dir -iname $(OUR_MONOSPACED_FONT)|head -n 1)
+ ifeq (,$(SYS_MONOSPACED_FONT))
+ SYS_MONOSPACED_FONT = $(shell dir=/usr/local/share/fonts; [ -d $$dir ] && find $$dir -iname $(OUR_MONOSPACED_FONT)|head -n 1)
+ endif
diff --git a/pkgs/games/crawl/makefile_misc.patch b/pkgs/games/crawl/makefile_misc.patch
new file mode 100644
index 0000000000000000000000000000000000000000..3849e79234b0a160c7610083e432ddc071d2004c
--- /dev/null
+++ b/pkgs/games/crawl/makefile_misc.patch
@@ -0,0 +1,39 @@
+--- old/source/Makefile 2014-05-05 23:22:48.051952484 +0200
++++ new/source/Makefile 2014-05-05 23:20:46.576617833 +0200
+@@ -71,6 +71,9 @@
+
+ GAME = crawl
+
++
++CFLAGS := $(NIX_CFLAGS_COMPILE)
++
+ # Disable GNU Make implicit rules and variables. Leaving them enabled will slow
+ # down MinGW and Cygwin builds by a very VERY noticeable degree. Besides, we have
+ # _explicit_ rules defined for everything. So we don't need them.
+@@ -979,7 +983,7 @@
+ ifdef ANDROID
+ CFLAGS := $(CFOPTIMIZE) $(CFOTHERS) $(CFWARN) $(CFLAGS)
+ else
+-CFLAGS := $(CFOPTIMIZE) $(CFOTHERS) $(CFWARN)
++CFLAGS := $(CFOPTIMIZE) $(CFOTHERS) $(CFWARN) $(CFLAGS)
+ endif
+ CFLAGS_L := $(CFOPTIMIZE_L) $(DEFINES_L) $(CFWARN_L) $(INCLUDES_L) $(CFOTHERS_L)
+ ALL_CFLAGS := $(CFLAGS) $(CFLAGS_L)
+@@ -1392,7 +1396,7 @@
+ $(RM) -r $(DOXYGEN_HTML_GEN)
+
+ $(GAME): $(OBJECTS) $(EXTRA_OBJECTS) $(CONTRIB_LIBS) dat/dlua/tags.lua
+- +$(QUIET_LINK)$(CXX) $(LDFLAGS) $(EXTRA_OBJECTS) $(OBJECTS) -o $(GAME) $(LIBS)
++ g++ $(LDFLAGS) $(EXTRA_OBJECTS) $(OBJECTS) -o $(GAME) $(LIBS)
+
+ debug: all
+ debug-lite: all
+@@ -1492,7 +1496,7 @@
+ $(QUIET_GEN)util/gen-luatags.pl
+
+ mi-enum.h: mon-info.h util/gen-mi-enum
+- $(QUIET_GEN)util/gen-mi-enum
++ perl util/gen-mi-enum
+
+ $(RLTILES)/dc-unrand.txt: art-data.h
+
diff --git a/pkgs/games/crawl/makefile_prefix.patch b/pkgs/games/crawl/makefile_prefix.patch
new file mode 100644
index 0000000000000000000000000000000000000000..869d703b125d86631ec08f43b93b65069d4d1cf6
--- /dev/null
+++ b/pkgs/games/crawl/makefile_prefix.patch
@@ -0,0 +1,11 @@
+--- old/source/Makefile 2014-05-06 08:52:24.752163702 +0200
++++ new/source/Makefile 2014-05-06 09:08:01.992018819 +0200
+@@ -344,7 +344,7 @@
+ endif
+
+ chroot_prefix :=
+-prefix :=
++prefix := $(out)
+
+ ifeq ($(patsubst %/local,%,$(patsubst %/,%,$(prefix))),/usr)
+ FHS := yes
diff --git a/pkgs/games/crawl/makefile_rltiles.patch b/pkgs/games/crawl/makefile_rltiles.patch
new file mode 100644
index 0000000000000000000000000000000000000000..e08859c989b3aba522994f6b8bc2a01f5847fd00
--- /dev/null
+++ b/pkgs/games/crawl/makefile_rltiles.patch
@@ -0,0 +1,21 @@
+--- old/source/rltiles/Makefile 2014-04-17 10:17:31.596400123 +0000
++++ new/source/rltiles/Makefile 2014-04-17 14:36:07.263108690 +0000
+@@ -20,7 +20,8 @@
+
+ ifdef TILES
+ ifndef CONTRIB_SDL
+- SDL_CFLAGS := $(shell sdl-config --cflags 2> /dev/null || echo "-I../contrib/install/$(ARCH)/include/SDL")
++ SDL_CFLAGS := $(shell sdl-config --cflags 2> /dev/null)
++ SDL_IMG_CFLAGS := $(shell pkg-config --cflags-only-I SDL_image 2> /dev/null)
+ SDL_LDFLAGS := $(shell sdl-config --libs 2> /dev/null && echo "-lSDL_image" || echo "../contrib/install/$(ARCH)/lib/libSDL.a ../contrib/install/$(ARCH)/lib/libSDLmain.a ../contrib/install/$(ARCH)/lib/libSDL_image.a")
+ else
+ SDL_CFLAGS := -I../contrib/install/$(ARCH)/include/SDL
+@@ -35,7 +36,7 @@
+ PNG_LIB := ../contrib/install/$(ARCH)/lib/libpng.a ../contrib/install/$(ARCH)/lib/libz.a
+ endif
+
+- CFLAGS += $(SDL_CFLAGS) $(PNG_INCLUDE)
++ CFLAGS += $(SDL_CFLAGS) $(SDL_IMG_CFLAGS) $(PNG_INCLUDE) -I$(SDL_image)/include -I$(SDL)/include
+ LDFLAGS += $(SDL_LDFLAGS) $(PNG_LIB)
+
+ CFLAGS += -DUSE_TILE
diff --git a/pkgs/games/crawl/makefile_rltiles2.patch b/pkgs/games/crawl/makefile_rltiles2.patch
new file mode 100644
index 0000000000000000000000000000000000000000..2508ad0a54ca9728f073b787a37ee4634819cb83
--- /dev/null
+++ b/pkgs/games/crawl/makefile_rltiles2.patch
@@ -0,0 +1,10 @@
+--- old/source/rltiles/Makefile 2014-05-05 23:22:48.054952469 +0200
++++ new/source/rltiles/Makefile 2014-05-05 22:45:07.742667726 +0200
+@@ -142,6 +128,6 @@
+ $(QUIET_HOSTCXX)$(HOSTCXX) $(CFLAGS) -MMD -c $< -o $@
+
+ $(TILEGEN): $(OBJECTS)
+- $(QUIET_HOSTLINK)$(HOSTCXX) $(OBJECTS) -o $@ $(LDFLAGS)
++ g++ $(OBJECTS) -o $@ $(LDFLAGS)
+
+ .PHONY: all clean distclean
diff --git a/pkgs/games/crawl/makefile_sdlimg.patch b/pkgs/games/crawl/makefile_sdlimg.patch
new file mode 100644
index 0000000000000000000000000000000000000000..e6c7101de720e4a2871fb108e1d39ba893182cec
--- /dev/null
+++ b/pkgs/games/crawl/makefile_sdlimg.patch
@@ -0,0 +1,19 @@
+--- old/source/Makefile 2014-04-14 13:00:22.331058910 +0000
++++ new/source/Makefile 2014-04-14 13:02:11.102204544 +0000
+@@ -672,6 +672,7 @@
+ FREETYPE_LDFLAGS := $(shell $(PKGCONFIG) freetype2 --libs-only-L) $(shell $(PKGCONFIG) freetype2 --libs-only-l)
+
+ SDL_INCLUDE := $(shell $(PKGCONFIG) sdl --cflags-only-I)
++SDL_IMG_INCLUDE := $(shell $(PKGCONFIG) SDL_image --cflags-only-I)
+ SDL_CFLAGS := $(shell $(PKGCONFIG) sdl --cflags-only-other)
+ SDL_LDFLAGS := $(shell $(PKGCONFIG) sdl --libs-only-L) $(shell $(PKGCONFIG) sdl --libs-only-l)
+
+@@ -694,7 +695,7 @@
+ endif
+
+ DEFINES_L += $(PNG_CFLAGS) $(FREETYPE_CFLAGS) $(SDL_CFLAGS)
+-INCLUDES_L += $(PNG_INCLUDE) $(FREETYPE_INCLUDE) $(SDL_INCLUDE)
++INCLUDES_L += $(PNG_INCLUDE) $(FREETYPE_INCLUDE) $(SDL_INCLUDE) $(SDL_IMG_INCLUDE)
+
+ endif # TILES
+
diff --git a/pkgs/games/crawl/makefile_sqlite.patch b/pkgs/games/crawl/makefile_sqlite.patch
new file mode 100644
index 0000000000000000000000000000000000000000..fbcb925d6088bc86308ff205b4dddb253fb59fef
--- /dev/null
+++ b/pkgs/games/crawl/makefile_sqlite.patch
@@ -0,0 +1,11 @@
+--- old/source/Makefile 2014-04-14 12:46:35.401956673 +0000
++++ new/source/Makefile 2014-04-14 12:47:12.757006254 +0000
+@@ -259,7 +259,7 @@
+ LIBZ := contrib/install/$(ARCH)/lib/libz.a
+
+ ifndef CROSSHOST
+- SQLITE_INCLUDE_DIR := /usr/include
++ SQLITE_INCLUDE_DIR := ${sqlite}/include
+ else
+ # This is totally wrong, works only with some old-style setups, and
+ # on some architectures of Debian/new FHS multiarch -- excluding, for
diff --git a/pkgs/games/crrcsim/default.nix b/pkgs/games/crrcsim/default.nix
index 944b67041c26f6ef601a6da162b48f5393b27cb5..b50aa7040484b874293f9de97484242b541ce4aa 100644
--- a/pkgs/games/crrcsim/default.nix
+++ b/pkgs/games/crrcsim/default.nix
@@ -18,7 +18,6 @@ stdenv.mkDerivation rec {
description = "A model-airplane flight simulator";
maintainers = with stdenv.lib.maintainers; [ raskin the-kenny ];
platforms = stdenv.lib.platforms.linux;
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
};
}
-
diff --git a/pkgs/games/dhewm3/default.nix b/pkgs/games/dhewm3/default.nix
index 6036d7fabd558bd3c14e8b5bfb4f05af73e02d9e..f0d885c1f882dfab68508155477c1f2208a6f478 100644
--- a/pkgs/games/dhewm3/default.nix
+++ b/pkgs/games/dhewm3/default.nix
@@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = https://github.com/dhewm/dhewm3;
description = "Doom 3 port to SDL";
- license = "GPLv3";
+ license = stdenv.lib.licenses.gpl3;
};
}
diff --git a/pkgs/games/dwarf-fortress/df2014.nix b/pkgs/games/dwarf-fortress/df2014.nix
new file mode 100644
index 0000000000000000000000000000000000000000..6a0d30ea89f4d4851f2a6f96b4091b62ca56709d
--- /dev/null
+++ b/pkgs/games/dwarf-fortress/df2014.nix
@@ -0,0 +1,82 @@
+{ stdenv, fetchurl, SDL, SDL_image, SDL_ttf, gtk, glib, mesa, openal, glibc, libsndfile
+, copyDataDirectory ? false }:
+
+assert stdenv.system == "i686-linux";
+
+stdenv.mkDerivation rec {
+ name = "dwarf-fortress-0.40.05";
+
+ src = fetchurl {
+ url = "http://www.bay12games.com/dwarves/df_40_05_linux.tar.bz2";
+ sha256 = "1b9nd33yz5a945v9jyqii1k4s71i701m2d0h7fw6f5g9p6nvx43s";
+ };
+
+ phases = "unpackPhase patchPhase installPhase";
+
+ /* :TODO: Game options should be configurable by patching the default configuration files */
+
+ permission = ./df_permission;
+
+ installPhase = ''
+ set -x
+ mkdir -p $out/bin
+ mkdir -p $out/share/df_linux
+ cp -r * $out/share/df_linux
+ cp $permission $out/share/df_linux/nix_permission
+
+ patchelf --set-interpreter ${glibc}/lib/ld-linux.so.2 $out/share/df_linux/libs/Dwarf_Fortress
+ ln -s ${libsndfile}/lib/libsndfile.so $out/share/df_linux/libs/
+
+ cat > $out/bin/dwarf-fortress << EOF
+ #!${stdenv.shell}
+ export DF_DIR="\$HOME/.config/df_linux"
+ if [ -n "\$XDG_DATA_HOME" ]
+ then export DF_DIR="\$XDG_DATA_HOME/df_linux"
+ fi
+
+ # Recreate a directory structure reflecting the original
+ # distribution in the user directory (for modding support)
+ ${if copyDataDirectory then ''
+ if [ ! -d "\$DF_DIR" ];
+ then
+ mkdir -p \$DF_DIR
+ cp -r $out/share/df_linux/* \$DF_DIR/
+ chmod -R u+rw \$DF_DIR/
+ fi
+ '' else ''
+ # Link in the static stuff
+ mkdir -p \$DF_DIR
+ ln -sf $out/share/df_linux/libs \$DF_DIR/
+ ln -sf $out/share/df_linux/raw \$DF_DIR/
+ ln -sf $out/share/df_linux/df \$DF_DIR/
+
+ # Delete old data directory
+ rm -rf \$DF_DIR/data
+
+ # Link in the static data directory
+ mkdir \$DF_DIR/data
+ for i in $out/share/df_linux/data/*
+ do
+ ln -s \$i \$DF_DIR/data/
+ done
+
+ # link in persistant data
+ mkdir -p \$DF_DIR/save
+ ln -s \$DF_DIR/save \$DF_DIR/data/
+ ''}
+
+ # now run Dwarf Fortress!
+ export LD_LIBRARY_PATH=\$DF_DIR/df_linux/libs/:${SDL}/lib:${SDL_image}/lib/:${SDL_ttf}/lib/:${gtk}/lib/:${glib}/lib/:${mesa}/lib/:${openal}/lib/
+ \$DF_DIR/df "\$@"
+ EOF
+
+ chmod +x $out/bin/dwarf-fortress
+ '';
+
+ meta = {
+ description = "control a dwarven outpost or an adventurer in a randomly generated, persistent world";
+ homepage = http://www.bay12games.com/dwarves;
+ license = "unfree-redistributable";
+ maintainers = [stdenv.lib.maintainers.roconnor];
+ };
+}
diff --git a/pkgs/games/dwarf-therapist/default.nix b/pkgs/games/dwarf-therapist/default.nix
index 1a026132e525b6381c629bca89b94d6d98a9e531..8cc1b9933cdeb94df93f63f56b1138917701b890 100644
--- a/pkgs/games/dwarf-therapist/default.nix
+++ b/pkgs/games/dwarf-therapist/default.nix
@@ -53,7 +53,7 @@ stdenv.mkDerivation rec {
meta = {
description = "Tool to manage dwarves in in a running game of Dwarf Fortress";
maintainers = with stdenv.lib.maintainers; [ the-kenny ];
- license = "MIT";
+ license = stdenv.lib.licenses.mit;
platforms = stdenv.lib.platforms.linux;
hydraPlatforms = [];
homepage = https://code.google.com/r/splintermind-attributes/;
diff --git a/pkgs/games/egoboo/default.nix b/pkgs/games/egoboo/default.nix
index 1f879393868f154eccb733146cef5410ed323d91..96ff52446ec4d70c31214c3cf59b19e98b83788d 100644
--- a/pkgs/games/egoboo/default.nix
+++ b/pkgs/games/egoboo/default.nix
@@ -48,7 +48,7 @@ stdenv.mkDerivation rec {
description = "3D dungeon crawling adventure";
homepage = http://www.freedink.org/;
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
# I take it out of hydra as it does not work as well as I'd like
# maintainers = [ stdenv.lib.maintainers.bjg ];
diff --git a/pkgs/games/exult/64bits.patch b/pkgs/games/exult/64bits.patch
deleted file mode 100644
index 49c67cd2f05e845d40ff4041d685e74f53532b5d..0000000000000000000000000000000000000000
--- a/pkgs/games/exult/64bits.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-diff -ru exult-1.2-orig/usecode/useval.cc exult-1.2/usecode/useval.cc
---- exult-1.2-orig/usecode/useval.cc 2004-05-23 07:07:11.000000000 +0200
-+++ exult-1.2/usecode/useval.cc 2008-06-25 17:27:15.000000000 +0200
-@@ -464,7 +464,7 @@
- if (buflen < 5)
- return -1;
- *ptr++ = type;
-- Write4(ptr, (int)value.ptr);
-+ Write4(ptr, 0);
- break;
- case string_type:
- {
-@@ -525,7 +525,7 @@
- case pointer_type:
- if (buflen < 5)
- return false;
-- value.ptr = (Game_object*)Read4(ptr); //DON'T dereference this pointer!
-+ value.ptr = 0; //DON'T dereference this pointer!
- // Maybe add a new type "serialized_pointer" to prevent "accidents"?
- return true;
- case string_type:
diff --git a/pkgs/games/exult/arch.patch b/pkgs/games/exult/arch.patch
new file mode 100644
index 0000000000000000000000000000000000000000..70de34184a24d54515afb1ec779d36c1ce0833b3
--- /dev/null
+++ b/pkgs/games/exult/arch.patch
@@ -0,0 +1,123 @@
+diff -aur exult-1.4.9rc1.orig/desktop/exult.desktop exult-1.4.9rc1/desktop/exult.desktop
+--- exult-1.4.9rc1.orig/desktop/exult.desktop 2008-07-11 05:41:06.000000000 +0600
++++ exult-1.4.9rc1/desktop/exult.desktop 2012-05-19 13:15:30.616084585 +0600
+@@ -1,9 +1,8 @@
+ [Desktop Entry]
+-Encoding=UTF-8
+ Name=Exult
+ Comment=Exult Ultima 7 Engine
+ Exec=exult
+-Icon=exult.png
++Icon=exult
+ Terminal=false
+ Type=Application
+-Categories=Application;Game;RolePlaying;
++Categories=Game;RolePlaying;
+diff -aur exult-1.4.9rc1.orig/files/databuf.h exult-1.4.9rc1/files/databuf.h
+--- exult-1.4.9rc1.orig/files/databuf.h 2010-03-10 09:07:05.000000000 +0500
++++ exult-1.4.9rc1/files/databuf.h 2012-05-19 12:50:16.856076030 +0600
+@@ -18,6 +18,7 @@
+ #define DATA_H
+
+ #include
++#include
+ #include
+ #include
+ #include
+diff -aur exult-1.4.9rc1.orig/files/U7obj.h exult-1.4.9rc1/files/U7obj.h
+--- exult-1.4.9rc1.orig/files/U7obj.h 2010-02-25 07:52:07.000000000 +0500
++++ exult-1.4.9rc1/files/U7obj.h 2012-05-19 12:50:35.916076137 +0600
+@@ -26,6 +26,7 @@
+ #include
+ #include
+ #include
++#include
+ #include "common_types.h"
+ #include "utils.h"
+
+diff -aur exult-1.4.9rc1.orig/imagewin/manip.h exult-1.4.9rc1/imagewin/manip.h
+--- exult-1.4.9rc1.orig/imagewin/manip.h 2010-08-29 20:26:00.000000000 +0600
++++ exult-1.4.9rc1/imagewin/manip.h 2012-05-19 13:02:45.159413596 +0600
+@@ -319,7 +319,7 @@
+ static uintD copy(uintS src)
+ {
+ unsigned int r, g, b;
+- split_source(src,r,g,b);
++ ManipBaseSrc::split_source(src,r,g,b);
+ return ManipBaseDest::rgb(r,g,b);
+ }
+ static void copy(uintD& dest, uintS src)
+diff -aur exult-1.4.9rc1.orig/istring.h exult-1.4.9rc1/istring.h
+--- exult-1.4.9rc1.orig/istring.h 2005-06-07 15:55:39.000000000 +0600
++++ exult-1.4.9rc1/istring.h 2012-05-19 13:01:14.886079750 +0600
+@@ -162,19 +162,19 @@
+
+ _Myt& operator+=(const _Myt& _Right)
+ { // append _Right
+- append(_Right);
++ this->append(_Right);
+ return (*this);
+ }
+
+ _Myt& operator+=(const _Elem *_Ptr)
+ { // append [_Ptr, )
+- append(_Ptr);
++ this->append(_Ptr);
+ return (*this);
+ }
+
+ _Myt& operator+=(_Elem _Ch)
+ { // append 1 * _Ch
+- append(static_cast(1), _Ch);
++ this->append(static_cast(1), _Ch);
+ return (*this);
+ }
+
+diff -aur exult-1.4.9rc1.orig/shapes/pngio.cc exult-1.4.9rc1/shapes/pngio.cc
+--- exult-1.4.9rc1.orig/shapes/pngio.cc 2010-02-15 18:48:11.000000000 -0200
++++ exult-1.4.9rc1/shapes/pngio.cc 2013-09-22 20:56:37.809763588 -0300
+@@ -26,6 +26,7 @@
+ #ifdef HAVE_CONFIG_H
+ # include
+ #endif
++#include
+
+ #ifdef HAVE_PNG_H
+
+@@ -79,7 +80,7 @@
+ }
+ // Allocate info. structure.
+ png_infop info = png_create_info_struct(png);
+- if (setjmp(png->jmpbuf)) // Handle errors.
++ if (setjmp(png_jmpbuf(png))) // Handle errors.
+ {
+ png_destroy_read_struct(&png, &info, 0);
+ fclose(fp);
+@@ -208,7 +209,7 @@
+ }
+ // Allocate info. structure.
+ png_infop info = png_create_info_struct(png);
+- if (setjmp(png->jmpbuf)) // Handle errors.
++ if (setjmp(png_jmpbuf(png))) // Handle errors.
+ {
+ png_destroy_write_struct(&png, &info);
+ fclose(fp);
+@@ -306,7 +307,7 @@
+ }
+ // Allocate info. structure.
+ png_infop info = png_create_info_struct(png);
+- if (setjmp(png->jmpbuf)) // Handle errors.
++ if (setjmp(png_jmpbuf(png))) // Handle errors.
+ {
+ png_destroy_read_struct(&png, &info, 0);
+ fclose(fp);
+@@ -395,7 +396,7 @@
+ }
+ // Allocate info. structure.
+ png_infop info = png_create_info_struct(png);
+- if (setjmp(png->jmpbuf)) // Handle errors.
++ if (setjmp(png_jmpbuf(png))) // Handle errors.
+ {
+ png_destroy_write_struct(&png, &info);
+ fclose(fp);
+
diff --git a/pkgs/games/exult/default.nix b/pkgs/games/exult/default.nix
index b52109a8d9efd4fa7eb5bdd11c8dbc022864a5f6..a79b6f8d5d8da8b12731ab632cb8d41097d44328 100644
--- a/pkgs/games/exult/default.nix
+++ b/pkgs/games/exult/default.nix
@@ -1,56 +1,45 @@
-{stdenv, fetchurl, SDL, SDL_mixer, zlib, libpng, unzip}:
+{ stdenv, fetchurl, pkgconfig, SDL, libogg, libvorbis, zlib, unzip }:
let
# Digital recordings of the music on an original Roland MT-32. So
# we don't need actual MIDI playback capability.
- musicFiles =
- [ (fetchurl {
- url = mirror://sourceforge/exult/U7MusicOGG_1of2.zip;
- md5 = "7746d1a9164fd67509107797496553bf";
- })
- (fetchurl {
- url = mirror://sourceforge/exult/U7MusicOGG_2of2.zip;
- md5 = "cdae5956d7c52f35e90317913a660123";
- })
- ];
+ audio = fetchurl {
+ url = mirror://sourceforge/exult/exult_audio.zip;
+ sha256 = "0s5wvgy9qja06v38g0qwzpaw76ff96vzd6gb1i3lb9k4hvx0xqbj";
+ };
in
-stdenv.mkDerivation {
- name = "exult-1.2";
-
+stdenv.mkDerivation rec {
+ name = "exult-1.4.9rc1";
+
src = fetchurl {
- url = mirror://sourceforge/exult/exult-1.2.tar.gz;
- md5 = "0fc88dee74a91724d25373ba0a8670ba";
+ url = "mirror://sourceforge/exult/${name}.tar.gz";
+ sha256 = "0a03a2l3ji6h48n106d4w55l8v6lni1axniafnvvv5c5n3nz5bgd";
};
- # Patches for building on x86_64 and gcc 4.x.
- patches = [
- (fetchurl {
- url = "http://www.rocklinux.net/sources/package/stf/exult/exult-gcc4.patch";
- sha256 = "1jlikxcpsi3yfchan3jbyi66fcyr18m7kfmsa946lwh3kzckszm7";
- })
+ configureFlags = "--disable-tools";
- # From http://sources.gentoo.org/viewcvs.py/*checkout*/gentoo-x86/games-engines/exult/files/exult-1.2-64bits.patch?rev=1.1
- ./64bits.patch
- ];
+ patches =
+ [ # Arch Linux patch set.
+ ./arch.patch
+ ];
+
+ buildInputs = [ pkgconfig SDL libogg libvorbis zlib unzip ];
- buildInputs = [libpng SDL SDL_mixer zlib unzip];
-
- NIX_CFLAGS_COMPILE = "-I${SDL_mixer}/include/SDL";
+ enableParallelBuilding = true;
postInstall =
''
mkdir -p $out/share/exult/music
- for i in $musicFiles; do
- unzip -o -d $out/share/exult/music $i
- done
- '';
-
+ unzip -o -d $out/share/exult ${audio}
+ chmod 644 $out/share/exult/*.flx
+ ''; # */
+
meta = {
homepage = http://exult.sourceforge.net/;
description = "A reimplementation of the Ultima VII game engine";
- maintainers = [stdenv.lib.maintainers.eelco];
+ maintainers = [ stdenv.lib.maintainers.eelco ];
};
}
diff --git a/pkgs/games/freedink/default.nix b/pkgs/games/freedink/default.nix
index a30ff7e2f871e9b2229434499a29a562ceab9f23..94451ef8930d182a863c8acbedafc4c043e66e51 100644
--- a/pkgs/games/freedink/default.nix
+++ b/pkgs/games/freedink/default.nix
@@ -43,7 +43,7 @@ in stdenv.mkDerivation rec {
'';
homepage = http://www.freedink.org/;
- license = "GPLv3+";
+ license = stdenv.lib.licenses.gpl3Plus;
maintainers = [ stdenv.lib.maintainers.bjg ];
platforms = stdenv.lib.platforms.all;
diff --git a/pkgs/games/gav/default.nix b/pkgs/games/gav/default.nix
index d83358cd69d7c04505950b305df30ceb49801d88..d26dfc2401c0e71124714c3207e83f0ecaadce43 100644
--- a/pkgs/games/gav/default.nix
+++ b/pkgs/games/gav/default.nix
@@ -20,6 +20,6 @@ stdenv.mkDerivation {
meta = {
description = "Remake of AV Arcade Volleyball";
homepage = http://gav.sourceforge.net/;
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
};
}
diff --git a/pkgs/games/gltron/default.nix b/pkgs/games/gltron/default.nix
index b58654f1f4290a9a122eee16bc486db3f62f8a12..d925c8810bf3bea162581b46f486573b3e756eed 100644
--- a/pkgs/games/gltron/default.nix
+++ b/pkgs/games/gltron/default.nix
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://www.gltron.org/;
description = "Game based on the movie Tron";
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
maintainers = with stdenv.lib.maintainers; [viric];
platforms = with stdenv.lib.platforms; linux;
};
diff --git a/pkgs/games/gnugo/default.nix b/pkgs/games/gnugo/default.nix
index 21c4195b28b83cb7e4c758f32c3d03d9efad87ce..3f1d52c5fc03e2f7128485f63fec8aa693a92abf 100644
--- a/pkgs/games/gnugo/default.nix
+++ b/pkgs/games/gnugo/default.nix
@@ -18,7 +18,7 @@ stdenv.mkDerivation {
meta = {
description = "GNU Go - A computer go player";
homepage = "http://http://www.gnu.org/software/gnugo/";
- license = "GPLv3";
+ license = stdenv.lib.licenses.gpl3;
};
}
diff --git a/pkgs/games/icbm3d/default.nix b/pkgs/games/icbm3d/default.nix
index ee792ef1e4d936caea58dfd2b3e282d66cf92556..7bdcc7afecd3f2ea119aa115a4c703591de012c0 100644
--- a/pkgs/games/icbm3d/default.nix
+++ b/pkgs/games/icbm3d/default.nix
@@ -17,6 +17,6 @@ stdenv.mkDerivation {
meta = {
homepage = http://www.newbreedsoftware.com/icbm3d/;
description = "3D vector-based clone of the atari game Missile Command";
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
};
}
diff --git a/pkgs/games/instead/default.nix b/pkgs/games/instead/default.nix
index 6ab6b8d79d7b89e9734cf14ebbc12e4b3dcc3ebb..8668de26a199a34a39ec4981859c2b4a57b2bd8d 100644
--- a/pkgs/games/instead/default.nix
+++ b/pkgs/games/instead/default.nix
@@ -59,7 +59,7 @@ stdenv.mkDerivation rec {
meta = {
description = "Simple text adventure interpreter for Unix and Windows";
homepage = http://instead.syscall.ru/;
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
platforms = with stdenv.lib.platforms; linux;
};
}
diff --git a/pkgs/games/klavaro/default.nix b/pkgs/games/klavaro/default.nix
index cbc445f621618d36c0626cf1356873692007324a..c7b40db5caff7899230d91b661daccc33862adcb 100644
--- a/pkgs/games/klavaro/default.nix
+++ b/pkgs/games/klavaro/default.nix
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
meta = {
description = "Just another free touch typing tutor program";
- license = "GPLv3+";
+ license = stdenv.lib.licenses.gpl3Plus;
platforms = stdenv.lib.platforms.linux;
};
diff --git a/pkgs/games/kobodeluxe/default.nix b/pkgs/games/kobodeluxe/default.nix
index 70288e549a4ef5aafbe48f2c55492dab9aa72934..8fe7591cde0c5e02c5ae23851c821baf6841b541 100644
--- a/pkgs/games/kobodeluxe/default.nix
+++ b/pkgs/games/kobodeluxe/default.nix
@@ -18,6 +18,6 @@ stdenv.mkDerivation {
meta = {
homepage = http://olofson.net/kobodl/;
description = "Enhanced version of Akira Higuchi's game XKobo for Un*x systems with X11";
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
};
}
diff --git a/pkgs/games/minetest/default.nix b/pkgs/games/minetest/default.nix
index f2ac737486c6f82469d5a1cb899a5984066a1a8f..f19596789cefc02b185bf7fff7d8ca22d36b5400 100644
--- a/pkgs/games/minetest/default.nix
+++ b/pkgs/games/minetest/default.nix
@@ -35,6 +35,6 @@ in stdenv.mkDerivation {
meta = {
homepage = "http://minetest.net/";
description = "Infinite-world block sandbox game";
- license = "LGPLv2.1+";
+ license = stdenv.lib.licenses.lgpl21Plus;
};
}
diff --git a/pkgs/games/naev/default.nix b/pkgs/games/naev/default.nix
index c2a7ee90a1f6f603b5afe0ca7d7e2ac3433e9dc4..580b27ab21d05b49e670169988916585014d4972 100644
--- a/pkgs/games/naev/default.nix
+++ b/pkgs/games/naev/default.nix
@@ -34,7 +34,7 @@ stdenv.mkDerivation {
meta = {
description = "2D action/rpg space game";
homepage = http://www.naev.org;
- license = "GPLv3+";
+ license = stdenv.lib.licenses.gpl3Plus;
maintainers = with stdenv.lib.maintainers; [viric];
platforms = stdenv.lib.platforms.linux;
hydraPlatforms = [];
diff --git a/pkgs/games/njam/default.nix b/pkgs/games/njam/default.nix
index 4062405407bd742f5504fe3a6874a63418ce78bd..88cfbe98851c8150eb269d7eeaef03219d9bc6d9 100644
--- a/pkgs/games/njam/default.nix
+++ b/pkgs/games/njam/default.nix
@@ -19,6 +19,6 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://trackballs.sourceforge.net/;
description = "Cross-platform pacman-like game";
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
};
}
diff --git a/pkgs/games/oilrush/default.nix b/pkgs/games/oilrush/default.nix
index f62570dbd0897c013bc605b4d1c8c5416c8d17d1..49dbb7ba82b47579f83c578e0bbeec4ff2404bec 100644
--- a/pkgs/games/oilrush/default.nix
+++ b/pkgs/games/oilrush/default.nix
@@ -67,7 +67,7 @@ stdenv.mkDerivation {
of Tower Defense.
'';
homepage = http://oilrush-game.com/;
- license = "unfree";
+ license = stdenv.lib.licenses.unfree;
#maintainers = with stdenv.lib.maintainers; [ astsmtl ];
platforms = stdenv.lib.platforms.linux;
hydraPlatforms = [];
diff --git a/pkgs/games/openlierox/default.nix b/pkgs/games/openlierox/default.nix
index 0c7e46ae07405df82fe12bdf18a6feb00b8a5941..b031cb3f0dd02447a686347dda07e6410666cf9b 100644
--- a/pkgs/games/openlierox/default.nix
+++ b/pkgs/games/openlierox/default.nix
@@ -34,6 +34,6 @@ stdenv.mkDerivation {
meta = {
homepage = http://openlierox.net;
description = "Real-time game with Worms-like shooting";
- license = "LGPLv2+";
+ license = stdenv.lib.licenses.lgpl2Plus;
};
}
diff --git a/pkgs/games/openra/default.nix b/pkgs/games/openra/default.nix
index 638d494131f2cc06ab3cd3f92805f5d269e9955c..35057a5de75ce3c0d5ae6f8a00ecbafaa8d00e3a 100644
--- a/pkgs/games/openra/default.nix
+++ b/pkgs/games/openra/default.nix
@@ -1,9 +1,9 @@
-{ stdenv, fetchurl, mono, makeWrapper
-, SDL2, freetype, openal, systemd
+{ stdenv, fetchurl, mono, makeWrapper, lua
+, SDL2, freetype, openal, systemd, pkgconfig
}:
let
- version = "20131223";
+ version = "20140608";
in stdenv.mkDerivation rec {
name = "openra-${version}";
@@ -18,15 +18,17 @@ in stdenv.mkDerivation rec {
src = fetchurl {
name = "${name}.tar.gz";
url = "https://github.com/OpenRA/OpenRA/archive/release-${version}.tar.gz";
- sha256 = "1gfz6iiccajp86qc7xw5w843bng69k9zplvmipxxbspvr7byhw0c";
+ sha256 = "0k7siysxb2nk7zzrl7vz1cwky4nla46ixzgxgc8rq6ilmlidh96b";
};
dontStrip = true;
- nativeBuildInputs = [ mono makeWrapper ];
+ buildInputs = [ lua ];
+ nativeBuildInputs = [ mono makeWrapper lua pkgconfig ];
patchPhase = ''
sed -i 's/^VERSION.*/VERSION = release-${version}/g' Makefile
+ substituteInPlace configure --replace /bin/bash "$shell" --replace /usr/local/lib "${lua}/lib"
'';
preConfigure = ''
@@ -35,10 +37,15 @@ in stdenv.mkDerivation rec {
'';
postInstall = with stdenv.lib; let
- runtime = makeLibraryPath [ SDL2 freetype openal systemd ];
+ runtime = makeLibraryPath [ SDL2 freetype openal systemd lua ];
in ''
- wrapProgram $out/bin/openra \
+ wrapProgram $out/lib/openra/launch-game.sh \
--prefix PATH : "${mono}/bin" \
+ --set PWD $out/lib/openra/ \
--prefix LD_LIBRARY_PATH : "${runtime}"
+
+ mkdir -p $out/bin
+ echo "cd $out/lib/openra && $out/lib/openra/launch-game.sh" > $out/bin/openra
+ chmod +x $out/bin/openra
'';
}
diff --git a/pkgs/games/openttd/default.nix b/pkgs/games/openttd/default.nix
index 09a7761326a6e8b354c4310dfefccf942fdbe434..1b6b7f26a41edae07428e73a3ae3ca2f1a6e2aae 100644
--- a/pkgs/games/openttd/default.nix
+++ b/pkgs/games/openttd/default.nix
@@ -36,7 +36,7 @@ stdenv.mkDerivation rec {
- observe as spectators
'';
homepage = http://www.openttd.org/;
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
platforms = stdenv.lib.platforms.unix;
maintainers = with stdenv.lib.maintainers; [ jcumming the-kenny ];
};
diff --git a/pkgs/games/openxcom/default.nix b/pkgs/games/openxcom/default.nix
index 04d2f2ecb8b0f37cfe23d8740a3a25cf113116a9..19aff03dacaa8ab6214498627cb2c7a1d1d58751 100644
--- a/pkgs/games/openxcom/default.nix
+++ b/pkgs/games/openxcom/default.nix
@@ -19,7 +19,7 @@ stdenv.mkDerivation {
repositories.git = https://github.com/SupSuper/OpenXcom.git;
maintainers = [ stdenv.lib.maintainers.page ];
platforms = stdenv.lib.platforms.linux;
- license = "GPLv3";
+ license = stdenv.lib.licenses.gpl3;
};
}
diff --git a/pkgs/games/pioneers/default.nix b/pkgs/games/pioneers/default.nix
index 77e8ab3b92e2997f4793da6d654960243d894594..af9900cede536088b1d038eb7da193dcbb94c344 100644
--- a/pkgs/games/pioneers/default.nix
+++ b/pkgs/games/pioneers/default.nix
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://pio.sourceforge.net/;
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
description = "Addicting game based on The Settlers of Catan";
maintainers = with stdenv.lib.maintainers; [viric];
platforms = with stdenv.lib.platforms; linux;
diff --git a/pkgs/games/planetaryannihilation/default.nix b/pkgs/games/planetaryannihilation/default.nix
index 009d07d4456cc03815926d5e7e03ddb8e03c25d1..7c58b4ca1e86597d2b95adba21ca94f6d5b47304 100755
--- a/pkgs/games/planetaryannihilation/default.nix
+++ b/pkgs/games/planetaryannihilation/default.nix
@@ -47,7 +47,7 @@ stdenv.mkDerivation {
meta = with stdenv.lib; {
homepage = http://www.uberent.com/pa/;
description = "next-generation RTS that takes the genre to a planetary scale";
- license = "unfree";
+ license = stdenv.lib.licenses.unfree;
platforms = platforms.linux;
maintainers = [ maintainers.iElectric ];
};
diff --git a/pkgs/games/pong3d/default.nix b/pkgs/games/pong3d/default.nix
index d5f9ca6ee23deb69e5227d71063f9c75015bc0f8..98cf0dbeed8da046e225880d2f64dc0b9e8b7f2b 100644
--- a/pkgs/games/pong3d/default.nix
+++ b/pkgs/games/pong3d/default.nix
@@ -17,6 +17,6 @@ stdenv.mkDerivation {
meta = {
homepage = http://www.newbreedsoftware.com/3dpong/;
description = "One or two player 3d sports game based on Pong from Atari";
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
};
}
diff --git a/pkgs/games/racer/default.nix b/pkgs/games/racer/default.nix
index 8969b613cebb8cd5ba69041f56c17137c2f2f17f..06e43fd273f03a6bd2cd7ae474df48c61ebf2bcb 100644
--- a/pkgs/games/racer/default.nix
+++ b/pkgs/games/racer/default.nix
@@ -25,6 +25,6 @@ stdenv.mkDerivation rec {
meta = {
description = "Car racing game";
homepage = http://hippo.nipax.cz/download.en.php;
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
};
}
diff --git a/pkgs/games/rigsofrods/default.nix b/pkgs/games/rigsofrods/default.nix
index 809bcc930d2451790320bcf33367cbec959d1b16..26c7e0a366773b1c1ea0352bd77458b12ff6af1c 100644
--- a/pkgs/games/rigsofrods/default.nix
+++ b/pkgs/games/rigsofrods/default.nix
@@ -52,7 +52,7 @@ stdenv.mkDerivation rec {
meta = {
description = "3D simulator game where you can drive, fly and sail various vehicles";
homepage = http://rigsofrods.sourceforge.net/;
- license = "GPLv3";
+ license = stdenv.lib.licenses.gpl3;
maintainers = with stdenv.lib.maintainers; [viric raskin];
platforms = stdenv.lib.platforms.linux;
hydraPlatforms = [];
diff --git a/pkgs/games/rili/default.nix b/pkgs/games/rili/default.nix
index 934213279fadb830675cf7e1465393bf0f9a2ba9..fbf47653af99b835f0ad99bf0702291cbcf2ed39 100644
--- a/pkgs/games/rili/default.nix
+++ b/pkgs/games/rili/default.nix
@@ -19,7 +19,7 @@ stdenv.mkDerivation {
meta = {
homepage = http://ri-li.sourceforge.net;
- license = "GPL2+";
+ license = stdenv.lib.licenses.gpl2Plus;
description = "A children's train game";
longDescription = ''
Ri-li is an arcade game licensed under the GPL (General Public License).
diff --git a/pkgs/games/scorched3d/default.nix b/pkgs/games/scorched3d/default.nix
index 3848f22ed20450ff299c3cc47a3752154ce3a306..cf55bcd597e23d7e91bfef7b836ff8b99828fe3c 100644
--- a/pkgs/games/scorched3d/default.nix
+++ b/pkgs/games/scorched3d/default.nix
@@ -33,6 +33,6 @@ stdenv.mkDerivation {
meta = {
homepage = http://scorched3d.co.uk/;
description = "3D Clone of the classic Scorched Earth";
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
};
}
diff --git a/pkgs/games/scummvm/default.nix b/pkgs/games/scummvm/default.nix
index ca72ac506d78d661e9bacc663f481585b1406ef6..42fa98e372d135d2f10c1610c3ad90251bf53501 100644
--- a/pkgs/games/scummvm/default.nix
+++ b/pkgs/games/scummvm/default.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, SDL, zlib, libmpeg2, libmad, libogg, libvorbis, flac, alsaLib }:
stdenv.mkDerivation rec {
- name = "scummvm-1.6.0";
+ name = "scummvm-1.7.0";
src = fetchurl {
url = "mirror://sourceforge/scummvm/${name}.tar.bz2";
- sha256 = "1i3ywpq8csi58gdibdn51329vlj800l2laaw0lw18fcgdbd60q1r";
+ sha256 = "d9ff0e8cf911afa466d5456d28fef692a17d47ddecfd428bf2fef591237c2e66";
};
buildInputs = [ SDL zlib libmpeg2 libmad libogg libvorbis flac alsaLib ];
diff --git a/pkgs/games/simutrans/default.nix b/pkgs/games/simutrans/default.nix
index 196561d1e3790f07930cbf75a8a8bde47fb62119..403fc88cb4adbfedce7764dcf7fb465f74552a55 100644
--- a/pkgs/games/simutrans/default.nix
+++ b/pkgs/games/simutrans/default.nix
@@ -94,7 +94,7 @@ let
'';
homepage = http://www.simutrans.com/;
- license = "Artistic";
+ license = "perl";
maintainers = [ stdenv.lib.maintainers.kkallio ];
platforms = stdenv.lib.platforms.linux;
};
diff --git a/pkgs/games/speed-dreams/default.nix b/pkgs/games/speed-dreams/default.nix
index 7a78235bdff1fb8bd6d96cf639abc885ba932ee3..e6105eab95b9eee91bcbec4cdc4114ceed1969c8 100644
--- a/pkgs/games/speed-dreams/default.nix
+++ b/pkgs/games/speed-dreams/default.nix
@@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
meta = {
description = "Car racing game - TORCS fork with more experimental approach";
homepage = http://speed-dreams.sourceforge.net/;
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
maintainers = with stdenv.lib.maintainers; [viric raskin];
platforms = stdenv.lib.platforms.linux;
hydraPlatforms = [];
diff --git a/pkgs/games/steam/default.nix b/pkgs/games/steam/default.nix
index 51149d4f26073b685a5981e1ba8b9c3cba65765c..1c9cc13934321b3015029efede13b98f21db5f62 100644
--- a/pkgs/games/steam/default.nix
+++ b/pkgs/games/steam/default.nix
@@ -94,7 +94,7 @@ stdenv.mkDerivation rec {
meta = {
description = "A digital distribution platform";
homepage = http://store.steampowered.com/;
- license = "unfree";
+ license = stdenv.lib.licenses.unfree;
};
}
*/
@@ -119,6 +119,6 @@ stdenv.mkDerivation {
meta = {
description = "A digital distribution platform";
homepage = http://store.steampowered.com/;
- license = "unfree";
+ license = stdenv.lib.licenses.unfree;
};
}
diff --git a/pkgs/games/stuntrally/default.nix b/pkgs/games/stuntrally/default.nix
index 31fd25a5150f5919b1a881b49fe6985b70f095b1..7b258deef8a997fa22f0e78576b49727e53670a3 100644
--- a/pkgs/games/stuntrally/default.nix
+++ b/pkgs/games/stuntrally/default.nix
@@ -41,6 +41,6 @@ stdenv.mkDerivation rec {
meta = {
description = "Stunt Rally game with Track Editor, based on VDrift and OGRE";
homepage = http://code.google.com/p/vdrift-ogre/;
- license = "GPLv3+";
+ license = stdenv.lib.licenses.gpl3Plus;
};
}
diff --git a/pkgs/games/super-tux-kart/default.nix b/pkgs/games/super-tux-kart/default.nix
index cd2698665f62851805bb373d37a6446f75bfa966..29d3b4e4557133fa7876de53255e4d81eb7f19e7 100644
--- a/pkgs/games/super-tux-kart/default.nix
+++ b/pkgs/games/super-tux-kart/default.nix
@@ -36,6 +36,6 @@ stdenv.mkDerivation rec {
homepage = http://supertuxkart.sourceforge.net/;
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
};
}
diff --git a/pkgs/games/super-tux/default.nix b/pkgs/games/super-tux/default.nix
index 72a894b63afb6ee4e30997baf33e5a5e401ac154..c8e0d3f097ffe5f71ed899c0440df7b2d10c92f4 100644
--- a/pkgs/games/super-tux/default.nix
+++ b/pkgs/games/super-tux/default.nix
@@ -23,6 +23,6 @@ stdenv.mkDerivation {
homepage = http://supertux.lethargik.org/index.html;
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
};
}
diff --git a/pkgs/games/teetertorture/default.nix b/pkgs/games/teetertorture/default.nix
index 18a911d563bd88df011ab213476f1154e06c593a..e5d9e5e97513fa0a911aeee2f5edf0580fbde309 100644
--- a/pkgs/games/teetertorture/default.nix
+++ b/pkgs/games/teetertorture/default.nix
@@ -26,6 +26,6 @@ stdenv.mkDerivation {
meta = {
homepage = http://www.newbreedsoftware.com/teetertorture/;
description = "Simple shooting game with your cannon is sitting atop a teeter totter";
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
};
}
diff --git a/pkgs/games/tennix/default.nix b/pkgs/games/tennix/default.nix
index e06aec68b1a2edd16b19f09178bd4fd991549ae9..83b2c62870e5f0c1d278b118b17f911fee24b91a 100644
--- a/pkgs/games/tennix/default.nix
+++ b/pkgs/games/tennix/default.nix
@@ -18,6 +18,6 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://icculus.org/tennix/;
description = "Tennix 2009 World Tennis Championship Tour";
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
};
}
diff --git a/pkgs/games/the-butterfly-effect/default.nix b/pkgs/games/the-butterfly-effect/default.nix
index 979fcd1a48c3dfbebf13f9454aef4fa5d7d2f15f..44d07cf3ffd57aa29efa4295cb79a27d8105b946 100644
--- a/pkgs/games/the-butterfly-effect/default.nix
+++ b/pkgs/games/the-butterfly-effect/default.nix
@@ -3,9 +3,9 @@ x@{builderDefsPackage
,fetchsvn
, ...}:
builderDefsPackage
-(a :
-let
- helperArgNames = ["stdenv" "fetchurl" "builderDefsPackage"] ++
+(a :
+let
+ helperArgNames = ["stdenv" "fetchurl" "builderDefsPackage"] ++
["fetchsvn"];
buildInputs = map (n: builtins.getAttr n x)
@@ -54,7 +54,7 @@ rec {
];
platforms = with a.lib.platforms;
linux;
- license = "GPLv2";
+ license = a.stdenv.lib.licenses.gpl2;
};
passthru = {
inherit srcDrv;
@@ -63,4 +63,3 @@ rec {
};
};
}) x
-
diff --git a/pkgs/games/tibia/default.nix b/pkgs/games/tibia/default.nix
index 698653784a7e100eaa71f657c6b708cf09dc222b..a2355ba9d1e8a3c0ce9e345a77c3279e2873084e 100644
--- a/pkgs/games/tibia/default.nix
+++ b/pkgs/games/tibia/default.nix
@@ -51,7 +51,7 @@ stdenv.mkDerivation {
meta = {
description = "Top-down MMORPG set in a fantasy world";
homepage = "http://tibia.com";
- license = "unfree";
+ license = stdenv.lib.licenses.unfree;
platforms = ["i686-linux"];
};
}
diff --git a/pkgs/games/torcs/default.nix b/pkgs/games/torcs/default.nix
index 473161771158371613a760169bb454cb7672d250..e6370d6e7c61af1f0dbe6dd82391db61c30cc906 100644
--- a/pkgs/games/torcs/default.nix
+++ b/pkgs/games/torcs/default.nix
@@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
meta = {
description = "Car racing game";
homepage = http://torcs.sourceforge.net/;
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
maintainers = with stdenv.lib.maintainers; [viric];
platforms = stdenv.lib.platforms.linux;
hydraPlatforms = [];
diff --git a/pkgs/games/trigger/default.nix b/pkgs/games/trigger/default.nix
index 2a25c290b2d83bd4435843143b2c47edb40578b8..a5ae8ec8b6de5dd2aafad905adba9a6257c941e6 100644
--- a/pkgs/games/trigger/default.nix
+++ b/pkgs/games/trigger/default.nix
@@ -36,7 +36,7 @@ stdenv.mkDerivation rec {
meta = {
description = "Rally";
homepage = http://trigger-rally.sourceforge.net/;
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
maintainers = with stdenv.lib.maintainers; [viric];
platforms = with stdenv.lib.platforms; linux;
};
diff --git a/pkgs/games/ufoai/default.nix b/pkgs/games/ufoai/default.nix
index 2fef444328cd4082fc3eb16cf32e50ae76396e37..0d909e1c43c132e2b3010e71441ac3f5ea241e96 100644
--- a/pkgs/games/ufoai/default.nix
+++ b/pkgs/games/ufoai/default.nix
@@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://ufoai.org;
description = "A squad-based tactical strategy game in the tradition of X-Com";
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
maintainers = with stdenv.lib.maintainers; [viric];
platforms = stdenv.lib.platforms.linux;
hydraPlatforms = [];
diff --git a/pkgs/games/ultimatestunts/default.nix b/pkgs/games/ultimatestunts/default.nix
index 4b1cab6531c789f7e4f3072ea3f01a52c0881c56..c90972db66ea3126fcdc84f29d3bb896bea7bfad 100644
--- a/pkgs/games/ultimatestunts/default.nix
+++ b/pkgs/games/ultimatestunts/default.nix
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://www.ultimatestunts.nl/;
description = "Remake of the popular racing DOS-game Stunts";
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
maintainers = with stdenv.lib.maintainers; [viric];
platforms = with stdenv.lib.platforms; linux;
};
diff --git a/pkgs/games/ultrastardx/default.nix b/pkgs/games/ultrastardx/default.nix
index dbae3e16724783262d7179fcd9f43d31f52c9bb8..47fcd2dc4cf93d62070be0ee33fced2cf5c1db7c 100644
--- a/pkgs/games/ultrastardx/default.nix
+++ b/pkgs/games/ultrastardx/default.nix
@@ -26,6 +26,6 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://ultrastardx.sourceforge.net/;
description = "Free and open source karaoke game";
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
};
}
diff --git a/pkgs/games/uqm/default.nix b/pkgs/games/uqm/default.nix
index 07055c41558564dbe482648dba2644a8f82d584d..9d233d383384914817d7152c10a896674eb6d796 100644
--- a/pkgs/games/uqm/default.nix
+++ b/pkgs/games/uqm/default.nix
@@ -102,7 +102,7 @@ in stdenv.mkDerivation rec {
- to adapt the code so that people can more easily make their own spin-offs, thereby making zillions more people happy!
'';
homepage = http://sc2.sourceforge.net/;
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
maintainers = with maintainers; [ jcumming aszlig ];
};
}
diff --git a/pkgs/games/vdrift/default.nix b/pkgs/games/vdrift/default.nix
index af112c37af4fb9658911ec44217b3f41082f6ccd..bba7823f66302ae9af319b2ae07da1a79d34862d 100644
--- a/pkgs/games/vdrift/default.nix
+++ b/pkgs/games/vdrift/default.nix
@@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
meta = {
description = "Car racing game";
homepage = http://vdrift.net/;
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
maintainers = with stdenv.lib.maintainers; [viric];
platforms = stdenv.lib.platforms.linux;
hydraPlatforms = [];
diff --git a/pkgs/games/vectoroids/default.nix b/pkgs/games/vectoroids/default.nix
index 6f0fb48f0a5f93c4f7adac746d1ca4d5809d4950..f87633e299bddddaa7442e390a39ddbdb5d759a8 100644
--- a/pkgs/games/vectoroids/default.nix
+++ b/pkgs/games/vectoroids/default.nix
@@ -17,6 +17,6 @@ stdenv.mkDerivation {
meta = {
homepage = http://www.newbreedsoftware.com/vectoroids/;
description = "Clone of the classic arcade game Asteroids by Atari";
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
};
}
diff --git a/pkgs/games/zod/default.nix b/pkgs/games/zod/default.nix
index d9fcb47bcc36e26be76d0f2501f6756381f995ca..0b34487373460bd81db5e4f57e05fe847c83c4d5 100644
--- a/pkgs/games/zod/default.nix
+++ b/pkgs/games/zod/default.nix
@@ -39,6 +39,6 @@ stdenv.mkDerivation rec {
meta = {
description = "Multiplayer remake of ZED";
homepage = http://zod.sourceforge.net/;
- license = "GPLv3+"; /* Says the web */
+ license = stdenv.lib.licenses.gpl3Plus; /* Says the web */
};
}
diff --git a/pkgs/misc/beep/default.nix b/pkgs/misc/beep/default.nix
index 8f0830be1862517e761e4902b8d1a746cdb4c055..b5e4adfa0b91cfa173c2f16995b0bd20f09c9dcf 100644
--- a/pkgs/misc/beep/default.nix
+++ b/pkgs/misc/beep/default.nix
@@ -19,6 +19,6 @@ stdenv.mkDerivation {
meta = {
description = "The advanced PC speaker beeper";
homepage = http://www.johnath.com/beep/;
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
};
}
diff --git a/pkgs/misc/cups/pdf-filter.nix b/pkgs/misc/cups/pdf-filter.nix
index 8a08eadc6a486ed19e522c0228d866e898b6650e..e99ad03212c2215dea006dc81aae3446c0954994 100644
--- a/pkgs/misc/cups/pdf-filter.nix
+++ b/pkgs/misc/cups/pdf-filter.nix
@@ -32,7 +32,7 @@ stdenv.mkDerivation {
meta = {
homepage = http://www.cups.org/;
description = "Image and pdf filters for CUPS";
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
maintainers = [ stdenv.lib.maintainers.urkud ];
platforms = stdenv.lib.platforms.linux;
};
diff --git a/pkgs/misc/drivers/hplip/default.nix b/pkgs/misc/drivers/hplip/default.nix
index fcec3bf267546b425e0187538927fee69dfa44fc..a4d2ca621a1c4f22bf017e1bb1b42bf9e9e9c9ec 100644
--- a/pkgs/misc/drivers/hplip/default.nix
+++ b/pkgs/misc/drivers/hplip/default.nix
@@ -56,11 +56,9 @@ stdenv.mkDerivation rec {
''
+ (stdenv.lib.optionalString withPlugin
(let hplip_arch =
- if builtins.currentSystem == "i686-linux"
- then "x86_32"
- else if builtins.currentSystem == "x86_64-linux"
- then "x86_64"
- else abort "Platform must be i686-linux or x86_64-linux!";
+ if stdenv.system == "i686-linux" then "x86_32"
+ else if stdenv.system == "x86_64-linux" then "x86_64"
+ else abort "Platform must be i686-linux or x86_64-linux!";
in
''
sh ${plugin} --noexec --keep
diff --git a/pkgs/misc/emulators/VisualBoyAdvance/default.nix b/pkgs/misc/emulators/VisualBoyAdvance/default.nix
index 942bf2c2184097259428c1b707dade942daf41a7..015c61e461e6331fb1281e807d742e24515ce314 100644
--- a/pkgs/misc/emulators/VisualBoyAdvance/default.nix
+++ b/pkgs/misc/emulators/VisualBoyAdvance/default.nix
@@ -16,7 +16,7 @@ stdenv.mkDerivation {
meta = {
description = "A Game Boy/Game Boy Color/Game Boy Advance Emulator";
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
maintainers = [ stdenv.lib.maintainers.sander ];
homepage = http://vba.ngemu.com;
broken = true;
diff --git a/pkgs/misc/emulators/bsod/default.nix b/pkgs/misc/emulators/bsod/default.nix
index 181a89b666771d09e40aa75e0730433279371d3b..d15e873422e345e697de7cd57d7f4e2513327f8e 100644
--- a/pkgs/misc/emulators/bsod/default.nix
+++ b/pkgs/misc/emulators/bsod/default.nix
@@ -23,7 +23,7 @@ stdenv.mkDerivation {
blue screen of death on the console. Errors and drivers causing the
error are selected randomly from a large set of examples.";
homepage = "http://www.vanheusden.com/bsod/";
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
platforms = stdenv.lib.platforms.unix;
maintainers = [ stdenv.lib.maintainers.antono ];
};
diff --git a/pkgs/misc/emulators/dlx/default.nix b/pkgs/misc/emulators/dlx/default.nix
index c23b60c29b308958d19ceb3c57fa36a95fa4e51e..60854f8550b85754d77c97d4f8037db85502490b 100644
--- a/pkgs/misc/emulators/dlx/default.nix
+++ b/pkgs/misc/emulators/dlx/default.nix
@@ -23,6 +23,6 @@ stdenv.mkDerivation {
meta = {
homepage = "http://www.davidviner.com/dlx.php";
description = "DLX Simulator";
- license = "GPL-2";
+ license = stdenv.lib.licenses.gpl2;
};
}
diff --git a/pkgs/misc/emulators/fakenes/default.nix b/pkgs/misc/emulators/fakenes/default.nix
index e3c9dbc84e5d6ce02434f3fb14d6acaedd2a7983..5462f772703325190ee98623854997e52efbf8eb 100644
--- a/pkgs/misc/emulators/fakenes/default.nix
+++ b/pkgs/misc/emulators/fakenes/default.nix
@@ -22,7 +22,7 @@ stdenv.mkDerivation {
meta = {
homepage = http://fakenes.sourceforge.net/;
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
description = "Portable Open Source NES Emulator";
};
}
diff --git a/pkgs/misc/emulators/hatari/default.nix b/pkgs/misc/emulators/hatari/default.nix
index 150b45dd727502f26db72e8e7b581bb77d33d64c..7ef63f93026d6d23451feeb5a0bdd231c965f996 100644
--- a/pkgs/misc/emulators/hatari/default.nix
+++ b/pkgs/misc/emulators/hatari/default.nix
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = "http://hatari.tuxfamily.org/";
description = "Atari ST/STE/TT/Falcon emulator";
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
platforms = with stdenv.lib.platforms; all;
};
}
diff --git a/pkgs/misc/emulators/mednafen/default.nix b/pkgs/misc/emulators/mednafen/default.nix
index 786ed21deccb12316dbe38888089ada39394ce8c..c7ef57357500d9564b185d68cf046b94207c9fe0 100644
--- a/pkgs/misc/emulators/mednafen/default.nix
+++ b/pkgs/misc/emulators/mednafen/default.nix
@@ -1,6 +1,6 @@
{ stdenv, fetchurl, pkgconfig
, libX11, mesa, freeglut
-, jackaudio, libcdio, libsndfile, libsamplerate
+, jack2, libcdio, libsndfile, libsamplerate
, SDL, SDL_net, zlib
}:
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
};
buildInputs = with stdenv.lib;
- [ libX11 mesa freeglut jackaudio libcdio libsndfile libsamplerate SDL SDL_net zlib ];
+ [ libX11 mesa freeglut jack2 libcdio libsndfile libsamplerate SDL SDL_net zlib ];
nativeBuildInputs = [ pkgconfig ];
diff --git a/pkgs/misc/emulators/mupen64plus/1.5.nix b/pkgs/misc/emulators/mupen64plus/1.5.nix
index d67121fe430ac68694b865ccb89e092644c7f370..571e14347b496ce73b3ec8bbd035ac5a40efacd2 100644
--- a/pkgs/misc/emulators/mupen64plus/1.5.nix
+++ b/pkgs/misc/emulators/mupen64plus/1.5.nix
@@ -26,7 +26,7 @@ stdenv.mkDerivation {
meta = {
description = "A Nintendo 64 Emulator";
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
homepage = http://code.google.com/p/mupen64plus;
maintainers = [ stdenv.lib.maintainers.sander ];
};
diff --git a/pkgs/misc/emulators/mupen64plus/default.nix b/pkgs/misc/emulators/mupen64plus/default.nix
index d67121fe430ac68694b865ccb89e092644c7f370..571e14347b496ce73b3ec8bbd035ac5a40efacd2 100644
--- a/pkgs/misc/emulators/mupen64plus/default.nix
+++ b/pkgs/misc/emulators/mupen64plus/default.nix
@@ -26,7 +26,7 @@ stdenv.mkDerivation {
meta = {
description = "A Nintendo 64 Emulator";
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
homepage = http://code.google.com/p/mupen64plus;
maintainers = [ stdenv.lib.maintainers.sander ];
};
diff --git a/pkgs/misc/emulators/snes9x-gtk/default.nix b/pkgs/misc/emulators/snes9x-gtk/default.nix
new file mode 100644
index 0000000000000000000000000000000000000000..760821e36543f0670bdc0055eb3e360af27bf4e7
--- /dev/null
+++ b/pkgs/misc/emulators/snes9x-gtk/default.nix
@@ -0,0 +1,30 @@
+{stdenv, fetchurl, nasm, SDL, zlib, libpng, ncurses, mesa, intltool, gtk, pkgconfig, libxml2, x11, pulseaudio}:
+
+stdenv.mkDerivation rec {
+ name = "snes9x-gtk-${version}";
+ version = "1.53";
+
+ src = fetchurl {
+ url = "http://files.ipherswipsite.com/snes9x/snes9x-${version}-src.tar.bz2";
+ sha256 = "9f7c5d2d0fa3fe753611cf94e8879b73b8bb3c0eab97cdbcb6ab7376efa78dc3";
+ };
+
+ buildInputs = [ nasm SDL zlib libpng ncurses mesa intltool gtk pkgconfig libxml2 x11 pulseaudio];
+
+ sourceRoot = "snes9x-${version}-src/gtk";
+
+ configureFlags = "--prefix=$out/ --with-opengl";
+
+ installPhase = ''
+ mkdir -p $out/bin
+ cp snes9x-gtk $out/bin
+ '';
+
+ meta = {
+ description = "a portable, freeware Super Nintendo Entertainment System (SNES) emulator";
+ longDescription = "Snes9x is a portable, freeware Super Nintendo Entertainment System (SNES) emulator. It basically allows you to play most games designed for the SNES and Super Famicom Nintendo game systems on your PC or Workstation; which includes some real gems that were only ever released in Japan.";
+ license = stdenv.lib.licenses.lgpl2;
+ maintainers = [ stdenv.lib.maintainers.qknight ];
+ homepage = http://www.snes9x.com/;
+ };
+}
diff --git a/pkgs/misc/emulators/uae/default.nix b/pkgs/misc/emulators/uae/default.nix
index 9f93c9957d6508c640fbbdc8114281c8fb6b36ab..0fa5a08d2dc8edad9b53863ca791c759813ed541 100644
--- a/pkgs/misc/emulators/uae/default.nix
+++ b/pkgs/misc/emulators/uae/default.nix
@@ -11,7 +11,7 @@ stdenv.mkDerivation {
meta = {
description = "Ultimate/Unix/Unusuable Amiga Emulator";
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
homepage = http://www.amigaemulator.org;
maintainers = [ stdenv.lib.maintainers.sander ];
};
diff --git a/pkgs/misc/emulators/vice/default.nix b/pkgs/misc/emulators/vice/default.nix
index 8323ca082b7f62cdee77c198452c01c18a11f6c2..b869143ff1cc4389a3e2a67c69c601c006858bb4 100644
--- a/pkgs/misc/emulators/vice/default.nix
+++ b/pkgs/misc/emulators/vice/default.nix
@@ -38,7 +38,7 @@ stdenv.mkDerivation rec {
meta = {
description = "Commodore 64, 128 and other emulators";
homepage = http://www.viceteam.org;
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
maintainers = [ stdenv.lib.maintainers.sander ];
};
}
diff --git a/pkgs/misc/emulators/wine/winetricks.nix b/pkgs/misc/emulators/wine/winetricks.nix
index 3dd3d4bc7311ba4337bc9c590f0ea429c0bc72b3..8103ff9c43f3a9cb7ac22db7715daac22411b799 100644
--- a/pkgs/misc/emulators/wine/winetricks.nix
+++ b/pkgs/misc/emulators/wine/winetricks.nix
@@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
meta = {
description = "A script to install DLLs needed to work around problems in Wine";
- license = "LGPLv2.1";
+ license = stdenv.lib.licenses.lgpl21;
homepage = http://code.google.com/p/winetricks/;
maintainers = with stdenv.lib.maintainers; [ the-kenny ];
};
diff --git a/pkgs/misc/emulators/wxmupen64plus/default.nix b/pkgs/misc/emulators/wxmupen64plus/default.nix
index a85d0fb389e26d1857153fbee44e702a2d51087c..0366b9dd22cedfde634aa41ee5f023ae6aff3f87 100644
--- a/pkgs/misc/emulators/wxmupen64plus/default.nix
+++ b/pkgs/misc/emulators/wxmupen64plus/default.nix
@@ -22,7 +22,7 @@ stdenv.mkDerivation {
meta = {
description = "GUI for the Mupen64Plus 2.0 emulator";
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
homepage = https://bitbucket.org/auria/wxmupen64plus/wiki/Home;
};
}
diff --git a/pkgs/misc/emulators/zsnes/default.nix b/pkgs/misc/emulators/zsnes/default.nix
index c3bced292005240f3e8584e439fa3e48e0c8e92f..bca81a4b6b3a7dab76c76b1901fc2cad0ca5ae9b 100644
--- a/pkgs/misc/emulators/zsnes/default.nix
+++ b/pkgs/misc/emulators/zsnes/default.nix
@@ -26,7 +26,7 @@ stdenv.mkDerivation {
meta = {
description = "A Super Nintendo Entertainment System Emulator";
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
maintainers = [ stdenv.lib.maintainers.sander ];
homepage = http://www.zsnes.com;
};
diff --git a/pkgs/misc/foldingathome/default.nix b/pkgs/misc/foldingathome/default.nix
index ef8cb7d0a927fa8bba7e62cfcbba43b4a4270de6..945d6556837c6f592396aed4d4bf02fc2e83346d 100644
--- a/pkgs/misc/foldingathome/default.nix
+++ b/pkgs/misc/foldingathome/default.nix
@@ -32,6 +32,6 @@ stdenv.mkDerivation {
meta = {
homepage = http://folding.stanford.edu/;
description = "Folding@home distributed computing client";
- license = "unfree";
+ license = stdenv.lib.licenses.unfree;
};
}
diff --git a/pkgs/misc/freestyle/default.nix b/pkgs/misc/freestyle/default.nix
index fa2c36cf2c2885c01de26893009c5ba75baa7ac3..bb3520e300abb54d6ce54933d7599b83fe99df9c 100644
--- a/pkgs/misc/freestyle/default.nix
+++ b/pkgs/misc/freestyle/default.nix
@@ -48,6 +48,6 @@ stdenv.mkDerivation {
meta = {
description = "Non-Photorealistic Line Drawing rendering from 3D scenes";
homepage = http://freestyle.sourceforge.net;
- license = "GPL2";
+ license = stdenv.lib.licenses.gpl2;
};
}
diff --git a/pkgs/misc/ghostscript/default.nix b/pkgs/misc/ghostscript/default.nix
index 142c75aeb0fa4e5d059e96907fb63cd2434171c8..275b93e01b8b7f92d605dbea42aad7695c0f45df 100644
--- a/pkgs/misc/ghostscript/default.nix
+++ b/pkgs/misc/ghostscript/default.nix
@@ -23,7 +23,7 @@ let
of output drivers for various file formats and printers.
'';
- license = "GPLv3+";
+ license = stdenv.lib.licenses.gpl3Plus;
platforms = stdenv.lib.platforms.all;
maintainers = [ stdenv.lib.maintainers.viric ];
diff --git a/pkgs/misc/jackaudio/default.nix b/pkgs/misc/jackaudio/default.nix
index 826924b8e8e2dd984aaea41689c0456f110c208b..4f9f071094bc0efd97e92fa5b9013b2cbff4bae9 100644
--- a/pkgs/misc/jackaudio/default.nix
+++ b/pkgs/misc/jackaudio/default.nix
@@ -5,7 +5,7 @@
assert firewireSupport -> ffado != null;
stdenv.mkDerivation rec {
- name = "jackdbus-${version}";
+ name = "jack2-${version}";
version = "1.9.9.5";
src = fetchurl {
diff --git a/pkgs/misc/jackaudio/jack1.nix b/pkgs/misc/jackaudio/jack1.nix
index 540735ab8108555d460f1f9ab6d7c54db8ae15ab..d424452ecd580c1939bca3f032a4678fd2f343b4 100644
--- a/pkgs/misc/jackaudio/jack1.nix
+++ b/pkgs/misc/jackaudio/jack1.nix
@@ -1,15 +1,15 @@
-{ stdenv, fetchurl, pkgconfig, alsaLib
+{ stdenv, fetchurl, pkgconfig, alsaLib, db, libuuid
, firewireSupport ? false, ffado ? null }:
assert firewireSupport -> ffado != null;
stdenv.mkDerivation rec {
- name = "jack-${version}";
- version = "0.121.3";
+ name = "jack1-${version}";
+ version = "0.124.1";
src = fetchurl {
url = "http://jackaudio.org/downloads/jack-audio-connection-kit-${version}.tar.gz";
- sha256 = "1ypa3gjwy4vmaskin0vczmmdwybckkl42wmkfabx3v5yx8yms2dp";
+ sha256 = "1mk1wnx33anp6haxfjjkfhwbaknfblsvj35nxvz0hvspcmhdyhpb";
};
preBuild = "echo ok";
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
'';
buildInputs =
- [ pkgconfig alsaLib
+ [ pkgconfig alsaLib db libuuid
] ++ (stdenv.lib.optional firewireSupport ffado);
meta = {
diff --git a/pkgs/misc/vim-plugins/default.nix b/pkgs/misc/vim-plugins/default.nix
index d316d3a3cd3c83d86d82d42d4171ff172b27b287..4142bce3b371ef415f1d44b75f16d260b14982c8 100644
--- a/pkgs/misc/vim-plugins/default.nix
+++ b/pkgs/misc/vim-plugins/default.nix
@@ -1,4 +1,4 @@
-{ fetchurl, stdenv, python, cmake, vim, perl, ruby, unzip, which, fetchgit, clang }:
+{ fetchurl, bash, stdenv, python, cmake, vim, perl, ruby, unzip, which, fetchgit, clang }:
/*
About Vim and plugins
@@ -111,11 +111,11 @@ in rec
YouCompleteMe = stdenv.mkDerivation {
src = fetchgit {
url = "https://github.com/Valloric/YouCompleteMe.git";
- rev = "abfc3ee36adab11c0c0b9d086a164a69006fec79";
- sha256 = "1d25dp5kgqickl06hqvx4j3z51zblhsn3q3by2hayyj3g2zps4gm";
+ rev = "67288080ea7057ea3111cb4c863484e3b150e738";
+ sha256 = "1a3rwdl458z1yrp50jdwp629j4al0zld21n15sad28g51m8gw5ka";
};
- name = "youcompleteme-git-abfc3ee";
+ name = "youcompleteme-git-6728808";
buildInputs = [ python cmake clang.clang ];
configurePhase = ":";
@@ -125,10 +125,12 @@ in rec
mkdir -p $target
cp -a ./ $target
+
mkdir $target/build
cd $target/build
- cmake -G "Unix Makefiles" . $target/cpp -DPYTHON_LIBRARIES:PATH=${python}/lib/libpython2.7.so -DPYTHON_INCLUDE_DIR:PATH=${python}/include/python2.7 -DUSE_CLANG_COMPLETER=ON -DUSE_SYSTEM_LIBCLANG=ON
- make -j -j''${NIX_BUILD_CORES} -l''${NIX_BUILD_CORES}}
+ cmake -G "Unix Makefiles" . $target/third_party/ycmd/cpp -DPYTHON_LIBRARIES:PATH=${python}/lib/libpython2.7.so -DPYTHON_INCLUDE_DIR:PATH=${python}/include/python2.7 -DUSE_CLANG_COMPLETER=ON -DUSE_SYSTEM_LIBCLANG=ON
+ make ycm_support_libs -j''${NIX_BUILD_CORES} -l''${NIX_BUILD_CORES}}
+ ${bash}/bin/bash $target/install.sh --clang-completer
${vimHelpTags}
vimHelpTags $target
diff --git a/pkgs/os-specific/gnu/default.nix b/pkgs/os-specific/gnu/default.nix
index 27b1cdd3e8a83553f35c520026740feaeb24ea61..94bfec0a18ec9473592f0538becb010a9011e62d 100644
--- a/pkgs/os-specific/gnu/default.nix
+++ b/pkgs/os-specific/gnu/default.nix
@@ -82,7 +82,7 @@ let
mig = callPackage ./mig {
# Build natively, but force use of a 32-bit environment because we're
# targeting `i586-pc-gnu'.
- stdenv = (forceSystem "i686-linux").stdenv;
+ stdenv = (forceSystem "i686-linux" "i386").stdenv;
};
# XXX: Use this one for its `.crossDrv'. Using the one above from
diff --git a/pkgs/os-specific/gnu/hurd/default.nix b/pkgs/os-specific/gnu/hurd/default.nix
index 0c9059a30085e8abb9756dca94bb7bc9a69d3536..4bdb6e132fbb07485d3e8801fa7234c8a3a5d5a7 100644
--- a/pkgs/os-specific/gnu/hurd/default.nix
+++ b/pkgs/os-specific/gnu/hurd/default.nix
@@ -65,7 +65,7 @@ stdenv.mkDerivation ({
kernels (such as Linux).
'';
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
homepage = http://www.gnu.org/software/hurd/;
diff --git a/pkgs/os-specific/gnu/libpthread/default.nix b/pkgs/os-specific/gnu/libpthread/default.nix
index 3eaa6336ec27806f32d6b7868ac6f5d77e6910af..4b16652ba05305381e369edd68c07209613a34cc 100644
--- a/pkgs/os-specific/gnu/libpthread/default.nix
+++ b/pkgs/os-specific/gnu/libpthread/default.nix
@@ -31,7 +31,7 @@ stdenv.mkDerivation ({
meta = {
description = "GNU Hurd's libpthread";
- license = "LGPLv2+";
+ license = stdenv.lib.licenses.lgpl2Plus;
maintainers = [ stdenv.lib.maintainers.ludo ];
};
diff --git a/pkgs/os-specific/gnu/mach/default.nix b/pkgs/os-specific/gnu/mach/default.nix
index 54c6429955bb524839b3cb4b84767c37c3d43380..6d2d20687bc6f40a61ceaa37192d96bdeff61095 100644
--- a/pkgs/os-specific/gnu/mach/default.nix
+++ b/pkgs/os-specific/gnu/mach/default.nix
@@ -41,7 +41,7 @@ stdenv.mkDerivation ({
were added using glue code, i.e., a Linux emulation layer in Mach.
'';
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
homepage = http://www.gnu.org/software/hurd/microkernel/mach/gnumach.html;
diff --git a/pkgs/os-specific/gnu/mig/default.nix b/pkgs/os-specific/gnu/mig/default.nix
index 9ee188b0c8c6fac09963275074497d17f1cb19a9..34426b45d55e0a89c7901289df7b2b5cace41f59 100644
--- a/pkgs/os-specific/gnu/mig/default.nix
+++ b/pkgs/os-specific/gnu/mig/default.nix
@@ -42,7 +42,7 @@ stdenv.mkDerivation {
Mach-based inter-process communication.
'';
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
homepage = http://www.gnu.org/software/hurd/microkernel/mach/mig/gnu_mig.html;
diff --git a/pkgs/os-specific/gnu/smbfs/default.nix b/pkgs/os-specific/gnu/smbfs/default.nix
index 4897c0c0af8098d2ba2eb7123233ac35ebe627f5..6f3d719d816957ea62070e58de55befe3dc2f37c 100644
--- a/pkgs/os-specific/gnu/smbfs/default.nix
+++ b/pkgs/os-specific/gnu/smbfs/default.nix
@@ -37,7 +37,7 @@ stdenv.mkDerivation rec {
homepage = http://www.nongnu.org/hurdextras/;
- license = "GPLv3+";
+ license = stdenv.lib.licenses.gpl3Plus;
maintainers = [ stdenv.lib.maintainers.ludo ];
};
diff --git a/pkgs/os-specific/gnu/unionfs/default.nix b/pkgs/os-specific/gnu/unionfs/default.nix
index 946e4c0c109c9036994e5d90f8d351a9841f745a..5e2f428130cde96c52397fce266e5800c923ba62 100644
--- a/pkgs/os-specific/gnu/unionfs/default.nix
+++ b/pkgs/os-specific/gnu/unionfs/default.nix
@@ -36,7 +36,7 @@ stdenv.mkDerivation rec {
homepage = http://www.gnu.org/software/hurd/hurd/translator/unionfs.html;
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
maintainers = [ stdenv.lib.maintainers.ludo ];
};
diff --git a/pkgs/os-specific/linux/acpi/default.nix b/pkgs/os-specific/linux/acpi/default.nix
index a3400ee0823fc012eb7486c1862e0f693cb9fdb8..0fc7992251538e1a204e170ad621a3fbf359dc9d 100644
--- a/pkgs/os-specific/linux/acpi/default.nix
+++ b/pkgs/os-specific/linux/acpi/default.nix
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
battery and thermal information.
'';
homepage = http://sourceforge.net/projects/acpiclient/;
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
platforms = platforms.linux;
maintainers = maintainers.mornfall;
};
diff --git a/pkgs/os-specific/linux/acpitool/default.nix b/pkgs/os-specific/linux/acpitool/default.nix
index c7f96206eab458b5ed0b274eec7410b720d01b55..6fc3bbe7c08e22bd89ad59ea7c10f21c728323de 100644
--- a/pkgs/os-specific/linux/acpitool/default.nix
+++ b/pkgs/os-specific/linux/acpitool/default.nix
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
meta = {
description = "A small, convenient command-line ACPI client with a lot of features";
homepage = http://freeunix.dyndns.org:8000/site2/acpitool.shtml;
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
maintainers = [ stdenv.lib.maintainers.guibert ];
};
}
diff --git a/pkgs/os-specific/linux/afuse/default.nix b/pkgs/os-specific/linux/afuse/default.nix
index 06af0c9228a6dff276c55e50f8ce15de397e945a..70c8f36105c7d44cd4ff1b2482c21b0ef29fab23 100644
--- a/pkgs/os-specific/linux/afuse/default.nix
+++ b/pkgs/os-specific/linux/afuse/default.nix
@@ -13,9 +13,8 @@ stdenv.mkDerivation {
meta = {
description = "Automounter in userspace";
homepage = http://sourceforge.net/projects/afuse;
- license = "GPL-v2";
+ license = stdenv.lib.licenses.gpl2;
maintainers = [ stdenv.lib.maintainers.marcweber ];
platforms = stdenv.lib.platforms.linux;
};
}
-
diff --git a/pkgs/os-specific/linux/alsa-plugins/default.nix b/pkgs/os-specific/linux/alsa-plugins/default.nix
index 352576fbdf23f2765c85ac0e4b8498e7210773d3..0bb96c343df4f440adebe693950f5c6be7444eef 100644
--- a/pkgs/os-specific/linux/alsa-plugins/default.nix
+++ b/pkgs/os-specific/linux/alsa-plugins/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, lib, pkgconfig, alsaLib, libogg, pulseaudio ? null, jackaudio ? null }:
+{ stdenv, fetchurl, lib, pkgconfig, alsaLib, libogg, pulseaudio ? null, jack2 ? null }:
stdenv.mkDerivation rec {
name = "alsa-plugins-1.0.28";
@@ -15,12 +15,12 @@ stdenv.mkDerivation rec {
buildInputs =
[ pkgconfig alsaLib libogg ]
++ lib.optional (pulseaudio != null) pulseaudio
- ++ lib.optional (jackaudio != null) jackaudio;
+ ++ lib.optional (jack2 != null) jack2;
meta = with lib; {
description = "Various plugins for ALSA";
homepage = http://alsa-project.org/;
- license = licenses.gpl2;
+ license = licenses.lgpl21;
maintainers = [maintainers.marcweber];
platforms = platforms.linux;
};
diff --git a/pkgs/os-specific/linux/audit/default.nix b/pkgs/os-specific/linux/audit/default.nix
index a7ff782d69edf9ba2dfb97e96013b22e7692ad58..9de84e228c434b6df4d7e09a93f61f553e56ee0b 100644
--- a/pkgs/os-specific/linux/audit/default.nix
+++ b/pkgs/os-specific/linux/audit/default.nix
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
meta = {
description = "Audit Library";
homepage = "http://people.redhat.com/sgrubb/audit/";
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
platforms = stdenv.lib.platforms.linux;
};
}
diff --git a/pkgs/os-specific/linux/autofs/autofs-v5.nix b/pkgs/os-specific/linux/autofs/autofs-v5.nix
index 81ead8d33d0ef63025fa16e01db3a7cf29285f16..5c5c2f026afdf1484aa78e68c6e1b7cbc1f795c5 100644
--- a/pkgs/os-specific/linux/autofs/autofs-v5.nix
+++ b/pkgs/os-specific/linux/autofs/autofs-v5.nix
@@ -36,7 +36,7 @@ stdenv.mkDerivation {
meta = {
description="Kernel based automounter";
homepage="http://www.linux-consulting.com/Amd_AutoFS/autofs.html";
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
executables = [ "automount" ];
};
}
diff --git a/pkgs/os-specific/linux/batman-adv/batctl.nix b/pkgs/os-specific/linux/batman-adv/batctl.nix
index 88c7ffd93ee2009a3ea1071aba0cd853875a63de..6e57e7651c458edf0688d6b19f5bd2701bd77c27 100644
--- a/pkgs/os-specific/linux/batman-adv/batctl.nix
+++ b/pkgs/os-specific/linux/batman-adv/batctl.nix
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://www.open-mesh.org/projects/batman-adv/wiki/Wiki;
description = "B.A.T.M.A.N. routing protocol in a linux kernel module for layer 2, control tool";
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
maintainers = with stdenv.lib.maintainers; [viric];
platforms = with stdenv.lib.platforms; linux;
};
diff --git a/pkgs/os-specific/linux/batman-adv/default.nix b/pkgs/os-specific/linux/batman-adv/default.nix
index 0b7b6a0cafb40b69250638db1fab05cdf80f0abb..fee955bcca21686ae8217f8b93cd178d71f81b60 100644
--- a/pkgs/os-specific/linux/batman-adv/default.nix
+++ b/pkgs/os-specific/linux/batman-adv/default.nix
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://www.open-mesh.org/projects/batman-adv/wiki/Wiki;
description = "B.A.T.M.A.N. routing protocol in a linux kernel module for layer 2";
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
maintainers = with stdenv.lib.maintainers; [viric];
platforms = with stdenv.lib.platforms; linux;
};
diff --git a/pkgs/os-specific/linux/blcr/default.nix b/pkgs/os-specific/linux/blcr/default.nix
index 0cc4e3741c262574a66004b010daee638583a312..43673c899b44a40649636e62b8b9dd98b759066c 100644
--- a/pkgs/os-specific/linux/blcr/default.nix
+++ b/pkgs/os-specific/linux/blcr/default.nix
@@ -34,7 +34,7 @@ stdenv.mkDerivation {
meta = {
description = "Berkeley Lab Checkpoint/Restart for Linux (BLCR)";
homepage = https://ftg.lbl.gov/projects/CheckpointRestart/;
- license = "GPL2";
+ license = stdenv.lib.licenses.gpl2;
platforms = stdenv.lib.platforms.linux;
maintainers = with stdenv.lib.maintainers; [
z77z
diff --git a/pkgs/os-specific/linux/busybox/default.nix b/pkgs/os-specific/linux/busybox/default.nix
index 7226acf0e5798eb480c624767cb939930f0178ae..98fedb2d3f4f480890f09a3b5a636f2d65dd4e5f 100644
--- a/pkgs/os-specific/linux/busybox/default.nix
+++ b/pkgs/os-specific/linux/busybox/default.nix
@@ -28,6 +28,10 @@ let
nixConfig = ''
CONFIG_PREFIX "$out"
CONFIG_INSTALL_NO_USR y
+
+ # Use the external mount.cifs program.
+ CONFIG_FEATURE_MOUNT_CIFS n
+ CONFIG_FEATURE_MOUNT_HELPERS y
'';
staticConfig = stdenv.lib.optionalString enableStatic ''
@@ -49,8 +53,8 @@ stdenv.mkDerivation rec {
${configParser}
cat << EOF | parseconfig
${staticConfig}
- ${extraConfig}
${nixConfig}
+ ${extraConfig}
$extraCrossConfig
EOF
make oldconfig
@@ -70,7 +74,7 @@ stdenv.mkDerivation rec {
meta = {
description = "Tiny versions of common UNIX utilities in a single small executable";
homepage = http://busybox.net/;
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
maintainers = with stdenv.lib.maintainers; [viric];
platforms = with stdenv.lib.platforms; linux;
};
diff --git a/pkgs/os-specific/linux/cryptodev/default.nix b/pkgs/os-specific/linux/cryptodev/default.nix
index 022ea648fea36a883a3340178f9382ada37704f1..4ea9295ef4f99c6a9a81f2896c1db07d75189f1d 100644
--- a/pkgs/os-specific/linux/cryptodev/default.nix
+++ b/pkgs/os-specific/linux/cryptodev/default.nix
@@ -25,6 +25,6 @@ stdenv.mkDerivation rec {
meta = {
description = "Device that allows access to Linux kernel cryptographic drivers";
homepage = http://home.gna.org/cryptodev-linux/;
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
};
}
diff --git a/pkgs/os-specific/linux/cryptsetup/default.nix b/pkgs/os-specific/linux/cryptsetup/default.nix
index 0f4a1b6985ef3e5b1bf8fd5cf2232b61e2c8a178..d3a0b827ed10986cdb7673609e8804baf4a97c56 100644
--- a/pkgs/os-specific/linux/cryptsetup/default.nix
+++ b/pkgs/os-specific/linux/cryptsetup/default.nix
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://code.google.com/p/cryptsetup/;
description = "LUKS for dm-crypt";
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
maintainers = with stdenv.lib.maintainers; [ viric chaoflow ];
platforms = with stdenv.lib.platforms; linux;
};
diff --git a/pkgs/os-specific/linux/disk-indicator/default.nix b/pkgs/os-specific/linux/disk-indicator/default.nix
index 57fc9390f61e1bb305e7a1eac7b62db985a75c92..b60232a9b75493cc7dbf509b1bfbdfc92fcd26aa 100644
--- a/pkgs/os-specific/linux/disk-indicator/default.nix
+++ b/pkgs/os-specific/linux/disk-indicator/default.nix
@@ -30,7 +30,7 @@ stdenv.mkDerivation {
Small program for Linux that will turn your Scroll, Caps or Num Lock LED
or LED on your ThinkPad laptop into a hard disk activity indicator.
'';
- license = "GPLv3";
+ license = stdenv.lib.licenses.gpl3;
platforms = stdenv.lib.platforms.linux;
};
}
diff --git a/pkgs/os-specific/linux/dstat/default.nix b/pkgs/os-specific/linux/dstat/default.nix
index 138b4ff468f1f348b0a67469cb711b33f5abade5..c95532f13602dd6faa0477d13d2b1972739e9462 100644
--- a/pkgs/os-specific/linux/dstat/default.nix
+++ b/pkgs/os-specific/linux/dstat/default.nix
@@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://dag.wieers.com/home-made/dstat/;
description = "Versatile resource statistics tool";
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
platforms = stdenv.lib.platforms.linux;
maintainers = [ ];
};
diff --git a/pkgs/os-specific/linux/frandom/default.nix b/pkgs/os-specific/linux/frandom/default.nix
index 419207882f83b17a14f9a8101d747a7ef55797ff..20419fe816d395e292019b8f85ee7fce0367fd1b 100644
--- a/pkgs/os-specific/linux/frandom/default.nix
+++ b/pkgs/os-specific/linux/frandom/default.nix
@@ -40,8 +40,7 @@ stdenv.mkDerivation rec {
meta = {
description = "A very fast random number generator kernel module";
homepage = http://frandom.sourceforge.net/;
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
maintainers = [ stdenv.lib.maintainers.bluescreen303 ];
};
}
-
diff --git a/pkgs/os-specific/linux/google-authenticator/default.nix b/pkgs/os-specific/linux/google-authenticator/default.nix
index a9278f0c7ce0d9d676d2c25475a300e6a27857e6..e2a5cb37c942fb0478ce6963bdbefee07ed2731a 100644
--- a/pkgs/os-specific/linux/google-authenticator/default.nix
+++ b/pkgs/os-specific/linux/google-authenticator/default.nix
@@ -23,6 +23,6 @@ stdenv.mkDerivation rec {
meta = {
homepage = https://code.google.com/p/google-authenticator/;
description = "Two-step verification, with pam module";
- license = "ASL2.0";
+ license = stdenv.lib.licenses.asl20;
};
}
diff --git a/pkgs/os-specific/linux/hibernate/default.nix b/pkgs/os-specific/linux/hibernate/default.nix
index d0e77a3bb7002c1815f8dd5e77ac2d50b172b216..6c5dd330f658965cf082393d54c1289bfbbf2829 100644
--- a/pkgs/os-specific/linux/hibernate/default.nix
+++ b/pkgs/os-specific/linux/hibernate/default.nix
@@ -38,7 +38,7 @@ in
it into "hibernation". It works both with Linux swsusp and Tux-on-Ice.
'';
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
homepage = http://www.tuxonice.net/;
};
}
diff --git a/pkgs/os-specific/linux/hwdata/default.nix b/pkgs/os-specific/linux/hwdata/default.nix
index e701c91019df815725e33015470c6d89a329f0c6..325a44f97aa46b0836503a5281ea7a6e191711bf 100644
--- a/pkgs/os-specific/linux/hwdata/default.nix
+++ b/pkgs/os-specific/linux/hwdata/default.nix
@@ -15,7 +15,7 @@ stdenv.mkDerivation {
meta = {
homepage = "https://fedorahosted.org/hwdata/";
description = "Hardware Database, including Monitors, pci.ids, usb.ids, and video cards";
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
platforms = stdenv.lib.platforms.linux;
};
}
diff --git a/pkgs/os-specific/linux/i7z/default.nix b/pkgs/os-specific/linux/i7z/default.nix
index 33ac05aef478acb1a30b515ed232b570fd6a1845..1aa10648861d796673bcf8effaa2fd1976cc8570 100644
--- a/pkgs/os-specific/linux/i7z/default.nix
+++ b/pkgs/os-specific/linux/i7z/default.nix
@@ -29,8 +29,7 @@ stdenv.mkDerivation rec {
description = "A better i7 (and now i3, i5) reporting tool for Linux";
homepage = http://code.google.com/p/i7z;
repositories.git = https://github.com/ajaiantilal/i7z.git;
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
maintainers = [ stdenv.lib.maintainers.bluescreen303 ];
};
}
-
diff --git a/pkgs/os-specific/linux/i810switch/default.nix b/pkgs/os-specific/linux/i810switch/default.nix
index 63a056712ac36f40e9c7d677e81dd5e58b9ca8b0..00f27a43e65af5e9d505c9f137bf73216ea7d175 100644
--- a/pkgs/os-specific/linux/i810switch/default.nix
+++ b/pkgs/os-specific/linux/i810switch/default.nix
@@ -20,6 +20,6 @@ stdenv.mkDerivation {
meta = {
description = "A utility for switching between the LCD and external VGA display on Intel graphics cards";
homepage = "http://www16.plala.or.jp/mano-a-mano/i810switch.html";
- license = "GPL2";
+ license = stdenv.lib.licenses.gpl2;
};
}
diff --git a/pkgs/os-specific/linux/jujuutils/default.nix b/pkgs/os-specific/linux/jujuutils/default.nix
index 7c688943ea8214b7967b3ca64a07cb58fca7eebd..a47b59e9e5677baca4731362eab7f538f88e0463 100644
--- a/pkgs/os-specific/linux/jujuutils/default.nix
+++ b/pkgs/os-specific/linux/jujuutils/default.nix
@@ -13,6 +13,6 @@ stdenv.mkDerivation {
meta = {
homepage = "http://code.google.com/p/jujuutils/";
description = "Utilities around FireWire devices connected to a Linux computer";
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
};
}
diff --git a/pkgs/os-specific/linux/kernel/linux-3.10.nix b/pkgs/os-specific/linux/kernel/linux-3.10.nix
index 9f8c73f6ea7f3f0cd652204262ba63d2c8a750da..8780057da0253182116173d84f7dee75cf438d2d 100644
--- a/pkgs/os-specific/linux/kernel/linux-3.10.nix
+++ b/pkgs/os-specific/linux/kernel/linux-3.10.nix
@@ -1,12 +1,12 @@
{ stdenv, fetchurl, ... } @ args:
import ./generic.nix (args // rec {
- version = "3.10.48";
+ version = "3.10.50";
extraMeta.branch = "3.10";
src = fetchurl {
url = "mirror://kernel/linux/kernel/v3.x/linux-${version}.tar.xz";
- sha256 = "14gz998vr9jb9blbk60phq3hwnl2yipd6fykkl5bd8gai5wph2l3";
+ sha256 = "1ay7hscaa4nyvpa4l10y8himyj5fp25n63nxvrccqqqir3b8l1gz";
};
features.iwlwifi = true;
diff --git a/pkgs/os-specific/linux/kernel/linux-3.12.nix b/pkgs/os-specific/linux/kernel/linux-3.12.nix
index de73ef26516777295aa35feefc0da21a35842e4a..2035eef932111504a98d8e1d5cd34c0223dbf3c7 100644
--- a/pkgs/os-specific/linux/kernel/linux-3.12.nix
+++ b/pkgs/os-specific/linux/kernel/linux-3.12.nix
@@ -1,12 +1,12 @@
{ stdenv, fetchurl, ... } @ args:
import ./generic.nix (args // rec {
- version = "3.12.24";
+ version = "3.12.25";
extraMeta.branch = "3.12";
src = fetchurl {
url = "mirror://kernel/linux/kernel/v3.x/linux-${version}.tar.xz";
- sha256 = "01y9sz90d4l12m3f7gjmnasck85c2dqx74hwyccw5jk04r5pm2mx";
+ sha256 = "16jdqhhi7z6jkprz90cb48cd479zsqlrn9j3yp2xcyqp05nc7n2p";
};
features.iwlwifi = true;
diff --git a/pkgs/os-specific/linux/kernel/linux-3.14.nix b/pkgs/os-specific/linux/kernel/linux-3.14.nix
index f252080bbacccbf6b06d5d931658507b4533cd99..4983dd0a16fcd043016e132b408c014f732d63d1 100644
--- a/pkgs/os-specific/linux/kernel/linux-3.14.nix
+++ b/pkgs/os-specific/linux/kernel/linux-3.14.nix
@@ -1,12 +1,12 @@
{ stdenv, fetchurl, ... } @ args:
import ./generic.nix (args // rec {
- version = "3.14.12";
+ version = "3.14.14";
extraMeta.branch = "3.14";
src = fetchurl {
url = "mirror://kernel/linux/kernel/v3.x/linux-${version}.tar.xz";
- sha256 = "1pzshv7cj87v5na7paqka9v8mbqn04q25r241fha56sm7ilxbnap";
+ sha256 = "0w9qp0jmfsrg9msgi6ab39kbz69id3xwnqvlgd9k4v6ka5bk7062";
};
features.iwlwifi = true;
diff --git a/pkgs/os-specific/linux/kernel/linux-3.15.nix b/pkgs/os-specific/linux/kernel/linux-3.15.nix
index 9fa77a7a38ef603b344180a58f3adfa2343850e9..86f03da4228d16fd0051ba06b9f27c82014553ad 100644
--- a/pkgs/os-specific/linux/kernel/linux-3.15.nix
+++ b/pkgs/os-specific/linux/kernel/linux-3.15.nix
@@ -1,12 +1,12 @@
{ stdenv, fetchurl, ... } @ args:
import ./generic.nix (args // rec {
- version = "3.15.5";
+ version = "3.15.7";
extraMeta.branch = "3.15";
src = fetchurl {
url = "mirror://kernel/linux/kernel/v3.x/linux-${version}.tar.xz";
- sha256 = "09j0ga3nc90fbfl9g3i8x9vp70hq7ddnnlbcazahrz4vn6mngqv2";
+ sha256 = "034q34gib9jqfiydnqf5i827ns07apmkh2j48vbakdwydvzzv6fj";
};
features.iwlwifi = true;
diff --git a/pkgs/os-specific/linux/kernel/linux-3.4.nix b/pkgs/os-specific/linux/kernel/linux-3.4.nix
index 455901932c2ed2e1dcc5027c889feaf484812cf4..dcdb4af2dce8a68be446ced928787fd3c9c7dd73 100644
--- a/pkgs/os-specific/linux/kernel/linux-3.4.nix
+++ b/pkgs/os-specific/linux/kernel/linux-3.4.nix
@@ -1,12 +1,12 @@
{ stdenv, fetchurl, ... } @ args:
import ./generic.nix (args // rec {
- version = "3.4.98";
+ version = "3.4.100";
extraMeta.branch = "3.4";
src = fetchurl {
url = "mirror://kernel/linux/kernel/v3.x/linux-${version}.tar.xz";
- sha256 = "0kkd6q80w4rh1sjdd4j5a2fmib4mjwhsf5fm555jl2w3zsy0kr45";
+ sha256 = "170q4ay8kxf45b3932fpms37w4fh9h7pdiwc5wr64drg5j356pds";
};
kernelPatches = args.kernelPatches ++
diff --git a/pkgs/os-specific/linux/kernel/manual-config.nix b/pkgs/os-specific/linux/kernel/manual-config.nix
index 30e2a37cb91b7654c5b69a262959dd73c57babeb..6d9baed7f2ddf8d08cdc2279ed6aed32ae46bc6b 100644
--- a/pkgs/os-specific/linux/kernel/manual-config.nix
+++ b/pkgs/os-specific/linux/kernel/manual-config.nix
@@ -198,7 +198,7 @@ let
" (with patches: "
+ stdenv.lib.concatStrings (stdenv.lib.intersperse ", " (map (x: x.name) kernelPatches))
+ ")");
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
homepage = http://www.kernel.org/;
repositories.git = https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git;
maintainers = [
diff --git a/pkgs/os-specific/linux/keyutils/default.nix b/pkgs/os-specific/linux/keyutils/default.nix
index fc05fc234525384c2e6cfd1699991895de8a8fbb..d1eb38df6da20f03ebc5cfede0c434f556bdd474 100644
--- a/pkgs/os-specific/linux/keyutils/default.nix
+++ b/pkgs/os-specific/linux/keyutils/default.nix
@@ -2,7 +2,7 @@
stdenv.mkDerivation rec {
name = "keyutils-1.5.9";
-
+
src = fetchurl {
url = "http://people.redhat.com/dhowells/keyutils/${name}.tar.bz2";
sha256 = "1bl3w03ygxhc0hz69klfdlwqn33jvzxl1zfl2jmnb2v85iawb8jd";
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
'';
installPhase = "make install DESTDIR=$out";
-
+
meta = with stdenv.lib; {
homepage = http://people.redhat.com/dhowells/keyutils/;
description = "Tools used to control the Linux kernel key management system";
diff --git a/pkgs/os-specific/linux/latencytop/default.nix b/pkgs/os-specific/linux/latencytop/default.nix
index eb776dcb86d09bab69deb2ed0b9875e1f5ebc82c..163ac18905053c385c0b398d254a29b3870bc1ed 100644
--- a/pkgs/os-specific/linux/latencytop/default.nix
+++ b/pkgs/os-specific/linux/latencytop/default.nix
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://latencytop.org;
description = "Tool to show kernel reports on latencies (LATENCYTOP option)";
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
maintainers = [ stdenv.lib.maintainers.viric ];
platforms = stdenv.lib.platforms.linux;
};
diff --git a/pkgs/os-specific/linux/ldm/default.nix b/pkgs/os-specific/linux/ldm/default.nix
index 202831309f0ec16fedd2211caca6fe705f34513e..a4d9e5a866dfd290c295889798f728fcec772151 100644
--- a/pkgs/os-specific/linux/ldm/default.nix
+++ b/pkgs/os-specific/linux/ldm/default.nix
@@ -31,7 +31,7 @@ stdenv.mkDerivation rec {
meta = {
description = "A lightweight device mounter, with libudev as only dependency";
- license = "MIT";
+ license = stdenv.lib.licenses.mit;
platforms = stdenv.lib.platforms.linux;
maintainers = [ stdenv.lib.maintainers.the-kenny ];
diff --git a/pkgs/os-specific/linux/libcap-ng/default.nix b/pkgs/os-specific/linux/libcap-ng/default.nix
index bbeb2851ea38d6df074d69df0a242b6c56bf9ba7..3670f06e5439d27540092715f781f55728d86fc7 100644
--- a/pkgs/os-specific/linux/libcap-ng/default.nix
+++ b/pkgs/os-specific/linux/libcap-ng/default.nix
@@ -17,6 +17,6 @@ stdenv.mkDerivation rec {
description = "Library for working with POSIX capabilities";
homepage = http://people.redhat.com/sgrubb/libcap-ng/;
platforms = stdenv.lib.platforms.linux;
- license = "LGPLv2.1";
+ license = stdenv.lib.licenses.lgpl21;
};
}
diff --git a/pkgs/os-specific/linux/libsepol/default.nix b/pkgs/os-specific/linux/libsepol/default.nix
index f878d28449641b8c40977d4d77a2099c326a0860..bb5dde9a61ed43dd31d274d00962012f5aaccba9 100644
--- a/pkgs/os-specific/linux/libsepol/default.nix
+++ b/pkgs/os-specific/linux/libsepol/default.nix
@@ -25,6 +25,6 @@ stdenv.mkDerivation rec {
homepage = http://userspace.selinuxproject.org;
platforms = platforms.linux;
maintainers = [ maintainers.phreedom ];
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
};
}
diff --git a/pkgs/os-specific/linux/lsiutil/default.nix b/pkgs/os-specific/linux/lsiutil/default.nix
index 700455d5f8b957928768ba73d1b88335142f4847..93cab433c9c66f0c39d9670d8a511331be2e7d08 100644
--- a/pkgs/os-specific/linux/lsiutil/default.nix
+++ b/pkgs/os-specific/linux/lsiutil/default.nix
@@ -35,6 +35,6 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://www.lsi.com/;
description = "LSI Logic Fusion MPT command line management tool";
- license = "unfree";
+ license = stdenv.lib.licenses.unfree;
};
}
diff --git a/pkgs/os-specific/linux/net-tools/default.nix b/pkgs/os-specific/linux/net-tools/default.nix
index 9386b50969fd93b20a809cecdc069aed1b8fb2b4..76f4661ecfc1472f4c254edf04770f42774cd724 100644
--- a/pkgs/os-specific/linux/net-tools/default.nix
+++ b/pkgs/os-specific/linux/net-tools/default.nix
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://www.tazenda.demon.co.uk/phil/net-tools/;
description = "A set of tools for controlling the network subsystem in Linux";
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
platforms = stdenv.lib.platforms.linux;
};
}
diff --git a/pkgs/os-specific/linux/netatop/default.nix b/pkgs/os-specific/linux/netatop/default.nix
index a863ee8a4d04f0b8d7724a004def5b212e90a180..e843658dfc28c47d8f8c05e223859e58e7cda104 100644
--- a/pkgs/os-specific/linux/netatop/default.nix
+++ b/pkgs/os-specific/linux/netatop/default.nix
@@ -29,7 +29,7 @@ stdenv.mkDerivation {
meta = {
description = "Network monitoring module for atop";
homepage = http://www.atoptool.nl/downloadnetatop.php;
- license = "GPL2";
+ license = stdenv.lib.licenses.gpl2;
platforms = stdenv.lib.platforms.linux;
maintainers = with stdenv.lib.maintainers; [viric];
};
diff --git a/pkgs/os-specific/linux/nfs-utils/default.nix b/pkgs/os-specific/linux/nfs-utils/default.nix
index 42bacd41be0370f3b3bf4b34830c8a0e557e13ca..bb85acf4dcbde07e1c92eb68dbab431babc7f49c 100644
--- a/pkgs/os-specific/linux/nfs-utils/default.nix
+++ b/pkgs/os-specific/linux/nfs-utils/default.nix
@@ -54,7 +54,7 @@ stdenv.mkDerivation rec {
'';
homepage = http://nfs.sourceforge.net/;
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
platforms = stdenv.lib.platforms.linux;
maintainers = [ stdenv.lib.maintainers.ludo ];
diff --git a/pkgs/os-specific/linux/nvidia-x11/legacy173.nix b/pkgs/os-specific/linux/nvidia-x11/legacy173.nix
index d85c0c1a389f580cae85ce44f275b4986933d8c7..0014a5d2ee53515cab0594bf420313133a26bff5 100644
--- a/pkgs/os-specific/linux/nvidia-x11/legacy173.nix
+++ b/pkgs/os-specific/linux/nvidia-x11/legacy173.nix
@@ -39,6 +39,6 @@ stdenv.mkDerivation {
meta = {
homepage = http://www.nvidia.com/object/unix.html;
description = "X.org driver and kernel module for Legacy NVIDIA graphics cards";
- license = "unfree";
+ license = stdenv.lib.licenses.unfree;
};
}
diff --git a/pkgs/os-specific/linux/nvidia-x11/legacy304.nix b/pkgs/os-specific/linux/nvidia-x11/legacy304.nix
index f9aa80fba836dadaa9bc74828865fee8d94ae891..9acaee797f0c70e57d68db92ccdc39361d5cb676 100644
--- a/pkgs/os-specific/linux/nvidia-x11/legacy304.nix
+++ b/pkgs/os-specific/linux/nvidia-x11/legacy304.nix
@@ -46,6 +46,6 @@ stdenv.mkDerivation {
meta = {
homepage = http://www.nvidia.com/object/unix.html;
description = "X.org driver and kernel module for NVIDIA graphics cards";
- license = "unfree";
+ license = stdenv.lib.licenses.unfree;
};
}
diff --git a/pkgs/os-specific/linux/open-iscsi/default.nix b/pkgs/os-specific/linux/open-iscsi/default.nix
index e28593d02522873ad59ff5540893635d21209219..88ab08e6c3d2638e0dffcd995aafa23cd9e4a4be 100644
--- a/pkgs/os-specific/linux/open-iscsi/default.nix
+++ b/pkgs/os-specific/linux/open-iscsi/default.nix
@@ -20,7 +20,7 @@ in stdenv.mkDerivation {
meta = {
description = "A high performance, transport independent, multi-platform implementation of RFC3720";
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
homepage = http://www.open-iscsi.org;
broken = true;
};
diff --git a/pkgs/os-specific/linux/otpw/default.nix b/pkgs/os-specific/linux/otpw/default.nix
index fe5f938b75b34005553465a36e4829834eb956dd..2cf375c8368b483551cfa0ca124ef5e6b000c034 100644
--- a/pkgs/os-specific/linux/otpw/default.nix
+++ b/pkgs/os-specific/linux/otpw/default.nix
@@ -27,6 +27,6 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://www.cl.cam.ac.uk/~mgk25/otpw.html;
description = "A one-time password login package";
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
};
}
diff --git a/pkgs/os-specific/linux/pam_usb/default.nix b/pkgs/os-specific/linux/pam_usb/default.nix
index b5672728b536c8307b4868fb40baa2b427231ef8..f5fdc5670871bf149cfccc8bd81873599186a411 100644
--- a/pkgs/os-specific/linux/pam_usb/default.nix
+++ b/pkgs/os-specific/linux/pam_usb/default.nix
@@ -43,6 +43,6 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://pamusb.org/;
description = "Authentication using USB Flash Drives";
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
};
}
diff --git a/pkgs/os-specific/linux/pcmciautils/default.nix b/pkgs/os-specific/linux/pcmciautils/default.nix
index b53c61c754ae279f6d3872d7887142d2704e8117..787b72fde4807f54af9b3df8d4e42588c9d90364 100644
--- a/pkgs/os-specific/linux/pcmciautils/default.nix
+++ b/pkgs/os-specific/linux/pcmciautils/default.nix
@@ -50,6 +50,6 @@ stdenv.mkDerivation rec {
the PCMCIA subsystem to behave (almost) as every other
hotpluggable bus system.
";
- license = "GPL2";
+ license = stdenv.lib.licenses.gpl2;
};
}
diff --git a/pkgs/os-specific/linux/pm-utils/default.nix b/pkgs/os-specific/linux/pm-utils/default.nix
index e3b6168be9b5469bf076d02cec4f5e1edca927c1..4fb7fc8cb0b803006501c86d8ffdd597e9c33407 100644
--- a/pkgs/os-specific/linux/pm-utils/default.nix
+++ b/pkgs/os-specific/linux/pm-utils/default.nix
@@ -49,7 +49,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://pm-utils.freedesktop.org/wiki/;
description = "A small collection of scripts that handle suspend and resume on behalf of HAL";
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
platforms = stdenv.lib.platforms.linux;
};
}
diff --git a/pkgs/os-specific/linux/pmount/default.nix b/pkgs/os-specific/linux/pmount/default.nix
index f966180a8b6901981c665e034c257f08e870a439..c1049d78f42ae7985a47890858c76b9383a2e908 100644
--- a/pkgs/os-specific/linux/pmount/default.nix
+++ b/pkgs/os-specific/linux/pmount/default.nix
@@ -36,7 +36,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://pmount.alioth.debian.org/;
description = "Mount removable devices as normal user";
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
platforms = stdenv.lib.platforms.linux;
};
}
diff --git a/pkgs/os-specific/linux/pmtools/default.nix b/pkgs/os-specific/linux/pmtools/default.nix
index 13a6e87319edbfca1d2eb530d805ec6a75ae5c43..7fa32ce4c943ed1d7770c9d793fdb55cf42b66ff 100644
--- a/pkgs/os-specific/linux/pmtools/default.nix
+++ b/pkgs/os-specific/linux/pmtools/default.nix
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://www.lesswatts.org/projects/acpi/utilities.php;
description = "Linux ACPI utilities";
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
platforms = stdenv.lib.platforms.linux;
maintainers = [ stdenv.lib.maintainers.simons ];
diff --git a/pkgs/os-specific/linux/pommed/default.nix b/pkgs/os-specific/linux/pommed/default.nix
index 89e9ff66342304130f3cd306a3207d1c28036a1d..b4b4569def4b6bbde48481d557ba48c925380478 100644
--- a/pkgs/os-specific/linux/pommed/default.nix
+++ b/pkgs/os-specific/linux/pommed/default.nix
@@ -74,6 +74,6 @@ stdenv.mkDerivation rec {
meta = {
description = "A tool to handle hotkeys on Apple laptop keyboards";
homepage = http://www.technologeek.org/projects/pommed/index.html;
- license = "gplv2";
+ license = stdenv.lib.licenses.gpl2;
};
}
diff --git a/pkgs/os-specific/linux/powertop/default.nix b/pkgs/os-specific/linux/powertop/default.nix
index 702ebc5d8284e94a0b5a163da9e60c1bd4a156dc..04ab624b86a4ee9531b53d37fc12dc978f6d8ae9 100644
--- a/pkgs/os-specific/linux/powertop/default.nix
+++ b/pkgs/os-specific/linux/powertop/default.nix
@@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
meta = {
description = "Analyze power consumption on Intel-based laptops";
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
maintainers = [ stdenv.lib.maintainers.chaoflow ];
platforms = stdenv.lib.platforms.linux;
};
diff --git a/pkgs/os-specific/linux/psmouse-alps/default.nix b/pkgs/os-specific/linux/psmouse-alps/default.nix
index 65f1a5cf6c6144022a2b02a9773253d0a4e03533..9dd78f5885ada605083dc7c73d67aad535a9c1b2 100644
--- a/pkgs/os-specific/linux/psmouse-alps/default.nix
+++ b/pkgs/os-specific/linux/psmouse-alps/default.nix
@@ -33,7 +33,7 @@ stdenv.mkDerivation {
meta = {
description = "ALPS dlkm driver with all known touchpads";
homepage = http://www.dahetral.com/public-download/alps-psmouse-dlkm-for-3-2-and-3-5/view;
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
platforms = stdenv.lib.platforms.linux;
maintainers = with stdenv.lib.maintainers; [viric];
};
diff --git a/pkgs/os-specific/linux/radeontools/default.nix b/pkgs/os-specific/linux/radeontools/default.nix
index 4dbe7e54247a08333c026b1aef4f1a7ed7a55d48..92e00ffad3fa3593e2bc280640153639c80673d1 100644
--- a/pkgs/os-specific/linux/radeontools/default.nix
+++ b/pkgs/os-specific/linux/radeontools/default.nix
@@ -24,9 +24,9 @@ stdenv.mkDerivation {
cp radeontool lightwatch.pl $out/bin
'';
- meta = {
+ meta = {
description = "Control the backlight and external video output of ATI Radeon Mobility graphics cards";
homepage = http://fdd.com/software/radeon/;
- license = "ZLIB";
+ license = stdenv.lib.licenses.zlib;
};
}
diff --git a/pkgs/os-specific/linux/setools/default.nix b/pkgs/os-specific/linux/setools/default.nix
index c95d27005efb4e419cc7a7765b06533569264e8c..cc1363156dd74bbb963be2eef83276201f45a3a8 100644
--- a/pkgs/os-specific/linux/setools/default.nix
+++ b/pkgs/os-specific/linux/setools/default.nix
@@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
meta = {
description = "SELinux Tools";
homepage = "http://oss.tresys.com/projects/setools/";
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
platforms = stdenv.lib.platforms.linux;
};
}
diff --git a/pkgs/os-specific/linux/sysstat/default.nix b/pkgs/os-specific/linux/sysstat/default.nix
index 2b4888f89cdfe690146771c03027f4dcb141f6c9..ec504bd923578a875ee39e5d43b5964e1e2505f5 100644
--- a/pkgs/os-specific/linux/sysstat/default.nix
+++ b/pkgs/os-specific/linux/sysstat/default.nix
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://sebastien.godard.pagesperso-orange.fr/;
description = "A collection of performance monitoring tools for Linux (such as sar, iostat and pidstat)";
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
platforms = stdenv.lib.platforms.linux;
maintainers = [ stdenv.lib.maintainers.eelco ];
};
diff --git a/pkgs/os-specific/linux/tunctl/default.nix b/pkgs/os-specific/linux/tunctl/default.nix
index 8ea3599ff19842862d74ab1f8c2117d17b0788a2..fe79c23dc440ab0f2980abadb3a40b49492a7e33 100644
--- a/pkgs/os-specific/linux/tunctl/default.nix
+++ b/pkgs/os-specific/linux/tunctl/default.nix
@@ -16,6 +16,6 @@ stdenv.mkDerivation {
meta = {
homepage = http://tunctl.sourceforge.net/;
description = "Utility to set up and maintain TUN/TAP network interfaces";
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
};
}
diff --git a/pkgs/os-specific/linux/uclibc/default.nix b/pkgs/os-specific/linux/uclibc/default.nix
index e7cce315e8c6bd944295b48d6275db10c32f32c4..a0df3d526f5910f36001405eace220be0359de13 100644
--- a/pkgs/os-specific/linux/uclibc/default.nix
+++ b/pkgs/os-specific/linux/uclibc/default.nix
@@ -96,6 +96,6 @@ stdenv.mkDerivation {
meta = {
homepage = http://www.uclibc.org/;
description = "A small implementation of the C library";
- license = "LGPLv2";
+ license = stdenv.lib.licenses.lgpl2;
};
}
diff --git a/pkgs/os-specific/linux/usermount/default.nix b/pkgs/os-specific/linux/usermount/default.nix
index d2b3632d69ae6340f9e7b3599b37d7180b47243e..9bf8692d1ce92a1443ba2c39b58c0df2c8154ae3 100644
--- a/pkgs/os-specific/linux/usermount/default.nix
+++ b/pkgs/os-specific/linux/usermount/default.nix
@@ -21,7 +21,7 @@ stdenv.mkDerivation {
meta = {
homepage = https://github.com/tom5760/usermount;
description = "A simple tool to automatically mount removable drives using UDisks2 and D-Bus.";
- license = "MIT";
+ license = stdenv.lib.licenses.mit;
platforms = stdenv.lib.platforms.linux;
maintainers = with stdenv.lib.maintainers; [ the-kenny ];
};
diff --git a/pkgs/os-specific/linux/xf86-input-mtrack/default.nix b/pkgs/os-specific/linux/xf86-input-mtrack/default.nix
index f84088a930285c655b0cb0ca6b184b89fa290f90..a4fd00e4911be585439c49b5a1d9bdc2e9c3226c 100644
--- a/pkgs/os-specific/linux/xf86-input-mtrack/default.nix
+++ b/pkgs/os-specific/linux/xf86-input-mtrack/default.nix
@@ -44,7 +44,6 @@ stdenv.mkDerivation {
description = "An Xorg driver for multitouch trackpads";
- license = "gplv2";
+ license = stdenv.lib.licenses.gpl2;
};
}
-
diff --git a/pkgs/os-specific/linux/xf86-input-multitouch/default.nix b/pkgs/os-specific/linux/xf86-input-multitouch/default.nix
index ae24e32a1577f05ccde1a454e632bfb02542968c..7abf6d7c8288fbf64a701e207334099ada15fe3f 100644
--- a/pkgs/os-specific/linux/xf86-input-multitouch/default.nix
+++ b/pkgs/os-specific/linux/xf86-input-multitouch/default.nix
@@ -45,7 +45,6 @@ stdenv.mkDerivation {
description = "Brings multitouch gestures to the Linux desktop";
- license = "gplv2";
+ license = stdenv.lib.licenses.gpl2;
};
}
-
diff --git a/pkgs/os-specific/windows/jom/default.nix b/pkgs/os-specific/windows/jom/default.nix
index 8f8477d1864a889c05ed9434f9eebb15659ecb49..4b118a5a7cdcccaff14436623cc11f675a1e2441 100644
--- a/pkgs/os-specific/windows/jom/default.nix
+++ b/pkgs/os-specific/windows/jom/default.nix
@@ -31,6 +31,6 @@ stdenv.mkDerivation {
meta = {
homepage = http://qt-project.org/wiki/jom;
description = "Clone of nmake supporting multiple independent commands in parallel";
- license = "GPLv2+"; # Explicitly, GPLv2 or GPLv3, but not later.
+ license = stdenv.lib.licenses.gpl2Plus; # Explicitly, GPLv2 or GPLv3, but not later.
};
}
diff --git a/pkgs/os-specific/windows/pthread-w32/default.nix b/pkgs/os-specific/windows/pthread-w32/default.nix
index cd417eb9ad0973920b54db340d60c534f8b89ee6..dde4f5d73711da82b4e61612eaae4c44f6d584e0 100644
--- a/pkgs/os-specific/windows/pthread-w32/default.nix
+++ b/pkgs/os-specific/windows/pthread-w32/default.nix
@@ -56,6 +56,6 @@ stdenv.mkDerivation {
homepage = http://sourceware.org/pthreads-win32/;
- license = "LGPLv2.1+";
+ license = stdenv.lib.licenses.lgpl21Plus;
};
}
diff --git a/pkgs/servers/amqp/rabbitmq-server/default.nix b/pkgs/servers/amqp/rabbitmq-server/default.nix
index da0ec89cbc66a91cbbc54c6a6a377fd7f417a3e7..09b091b323c847b4f50155ce880150bd82fdc059 100644
--- a/pkgs/servers/amqp/rabbitmq-server/default.nix
+++ b/pkgs/servers/amqp/rabbitmq-server/default.nix
@@ -4,11 +4,11 @@
stdenv.mkDerivation rec {
name = "rabbitmq-server-${version}";
- version = "3.2.4";
+ version = "3.3.4";
src = fetchurl {
url = "http://www.rabbitmq.com/releases/rabbitmq-server/v${version}/${name}.tar.gz";
- sha256 = "17rvqhzcb7rscp228vmgixk0rsqi42m820jzxj9g5wid6qmzjc59";
+ sha256 = "13nnsn34b44mz8w4b69bcpxmq4daqnxzd0lppg0f138pcssha43l";
};
buildInputs =
diff --git a/pkgs/servers/bird/default.nix b/pkgs/servers/bird/default.nix
index 5e86d60871dfa79f734f55d995d036d5b6b478a9..585228af2b455332bc8688130b7d4c7aa8538be4 100644
--- a/pkgs/servers/bird/default.nix
+++ b/pkgs/servers/bird/default.nix
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
meta = {
description = "";
homepage = http://bird.network.cz;
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
maintainers = with stdenv.lib.maintainers; [viric];
};
}
diff --git a/pkgs/servers/elasticmq/default.nix b/pkgs/servers/elasticmq/default.nix
index 3d0324775f8992c9cd9db369e973631e6a17d26b..0fec6a5fe0e9cfb7614812500e0234e8f972b031 100644
--- a/pkgs/servers/elasticmq/default.nix
+++ b/pkgs/servers/elasticmq/default.nix
@@ -34,6 +34,6 @@ stdenv.mkDerivation rec {
$ELASTICMQ_DATA_PREFIX/conf/Default.scala. You can use the
Default.scala included in the distribution as a template.
'';
- license = "APLv2";
+ license = stdenv.lib.licenses.asl20;
};
}
diff --git a/pkgs/servers/http/apache-httpd/2.4.nix b/pkgs/servers/http/apache-httpd/2.4.nix
index 7deab6584f8338831960faf28e188f7465164b82..e164c21ec78dfbcb9eefcd61416aaa64c937b806 100644
--- a/pkgs/servers/http/apache-httpd/2.4.nix
+++ b/pkgs/servers/http/apache-httpd/2.4.nix
@@ -14,12 +14,12 @@ assert sslSupport -> aprutil.sslSupport && openssl != null;
assert ldapSupport -> aprutil.ldapSupport && openldap != null;
stdenv.mkDerivation rec {
- version = "2.4.9";
+ version = "2.4.10";
name = "apache-httpd-${version}";
src = fetchurl {
url = "mirror://apache/httpd/httpd-${version}.tar.bz2";
- sha256 = "00vnhki0rdwlhl4cjgvkq5vpf8szx2sdd3yi7bcg7jj7z86wk37p";
+ sha256 = "0slwcqw9f7fnb3kyz27hlsgh8j4wiza4yzqyp6vhfpvl3an4sv0p";
};
buildInputs = [perl] ++
diff --git a/pkgs/servers/http/apache-modules/mod_wsgi/default.nix b/pkgs/servers/http/apache-modules/mod_wsgi/default.nix
index 2431c86ddb655cce95e7cfcba6c8a75a087b396e..07dff1cf5855c15cc2e900bb1c0f3010c6098cbb 100644
--- a/pkgs/servers/http/apache-modules/mod_wsgi/default.nix
+++ b/pkgs/servers/http/apache-modules/mod_wsgi/default.nix
@@ -19,7 +19,7 @@ stdenv.mkDerivation {
meta = {
homepage = "http://code.google.com/p/modwsgi/";
description = "Host Python applications in Apache through the WSGI interface";
- license = "ASL2.0";
+ license = stdenv.lib.licenses.asl20;
platforms = stdenv.lib.platforms.linux;
maintainers = [ stdenv.lib.maintainers.simons ];
diff --git a/pkgs/servers/http/myserver/default.nix b/pkgs/servers/http/myserver/default.nix
index 8c0118912f5de4ade9703a802882fca202a8c32d..a86f924346bca8600694f4923db74e4fbb70e77f 100644
--- a/pkgs/servers/http/myserver/default.nix
+++ b/pkgs/servers/http/myserver/default.nix
@@ -35,7 +35,7 @@ let version = "0.11"; in
homepage = http://www.gnu.org/software/myserver/;
- license = "GPLv3+";
+ license = stdenv.lib.licenses.gpl3Plus;
maintainers = [ ];
diff --git a/pkgs/servers/mpd/clientlib.nix b/pkgs/servers/mpd/clientlib.nix
index 40b4ff1f2d7203f09ffa647d1016930443797180..bbbe54b95fd9b9101c5284432a093e5089d98628 100644
--- a/pkgs/servers/mpd/clientlib.nix
+++ b/pkgs/servers/mpd/clientlib.nix
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
meta = {
description = "Client library for MPD (music player daemon)";
homepage = http://mpd.wikia.com/wiki/Music_Player_Daemon_Wiki;
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
platforms = with stdenv.lib.platforms; unix;
maintainers = [ stdenv.lib.maintainers.mornfall ];
};
diff --git a/pkgs/servers/news/leafnode/default.nix b/pkgs/servers/news/leafnode/default.nix
index 9da83fe891feb304c793d3b9e45e4ebff806f70a..56d402397ecd7ee23cb71405985eb98bde4dd176 100644
--- a/pkgs/servers/news/leafnode/default.nix
+++ b/pkgs/servers/news/leafnode/default.nix
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = "http://leafnode.sourceforge.net/";
description = "Leafnode implements a store & forward NNTP proxy";
- license = "X11";
+ license = stdenv.lib.licenses.mit;
platforms = stdenv.lib.platforms.unix;
};
}
diff --git a/pkgs/servers/nosql/mongodb/default.nix b/pkgs/servers/nosql/mongodb/default.nix
index 78792c3a4f7296c30fd2b41cd626db5a04db2574..aa9da965d1728be8ea046de2cafb0c3693672138 100644
--- a/pkgs/servers/nosql/mongodb/default.nix
+++ b/pkgs/servers/nosql/mongodb/default.nix
@@ -40,7 +40,7 @@ in stdenv.mkDerivation rec {
meta = {
description = "a scalable, high-performance, open source NoSQL database";
homepage = http://www.mongodb.org;
- license = "AGPLv3";
+ license = stdenv.lib.licenses.agpl3;
maintainers = [ stdenv.lib.maintainers.bluescreen303 ];
platforms = stdenv.lib.platforms.linux;
diff --git a/pkgs/servers/nosql/rethinkdb/default.nix b/pkgs/servers/nosql/rethinkdb/default.nix
index 67dff3f6572e13dc9656957a52c75d03447053b5..3694547c2d99b5bb142e83a817f9f3c018e62fa8 100644
--- a/pkgs/servers/nosql/rethinkdb/default.nix
+++ b/pkgs/servers/nosql/rethinkdb/default.nix
@@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
and group by, and is easy to setup and learn.
'';
homepage = http://www.rethinkdb.com;
- license = "AGPLv3";
+ license = stdenv.lib.licenses.agpl3;
maintainers = [ stdenv.lib.maintainers.bluescreen303 ];
platforms = stdenv.lib.platforms.all;
diff --git a/pkgs/servers/pies/default.nix b/pkgs/servers/pies/default.nix
index 898bfb711ffdd98cb8b9ca209ca1b7f4f5ba7862..958578138bc2905420e9366008eef63a2eb775c8 100644
--- a/pkgs/servers/pies/default.nix
+++ b/pkgs/servers/pies/default.nix
@@ -34,7 +34,7 @@ stdenv.mkDerivation rec {
native utilities). Finally, it can replace the inetd utility!
'';
- license = "GPLv3+";
+ license = stdenv.lib.licenses.gpl3Plus;
homepage = http://www.gnu.org/software/pies/;
diff --git a/pkgs/servers/prayer/default.nix b/pkgs/servers/prayer/default.nix
index a398a3ccdf98c4956402038dba2abeb53f15ceee..781fca1c33d28cfed05b7c5a14f8e362afee9a28 100644
--- a/pkgs/servers/prayer/default.nix
+++ b/pkgs/servers/prayer/default.nix
@@ -31,6 +31,6 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://www-uxsup.csx.cam.ac.uk/~dpc22/prayer/;
description = "Yet another Webmail interface for IMAP servers on Unix systems written in C";
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
};
}
diff --git a/pkgs/servers/pulseaudio/default.nix b/pkgs/servers/pulseaudio/default.nix
index 35922b3c46f0ae5acb6d7233466f5f626b3e1ee2..0665222a9e0455d56bfabb59e1a65c85665c6ff4 100644
--- a/pkgs/servers/pulseaudio/default.nix
+++ b/pkgs/servers/pulseaudio/default.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, pkgconfig, gnum4, gdbm, libtool, glib, dbus, avahi
, gconf, gtk, intltool, gettext, alsaLib, libsamplerate, libsndfile, speex
, bluez, sbc, udev, libcap, json_c
-, jackaudioSupport ? false, jackaudio ? null
+, jackaudioSupport ? false, jack2 ? null
, x11Support ? false, xlibs
, useSystemd ? false, systemd ? null }:
-assert jackaudioSupport -> jackaudio != null;
+assert jackaudioSupport -> jack2 != null;
stdenv.mkDerivation rec {
name = "pulseaudio-5.0";
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
buildInputs =
[ pkgconfig gnum4 libtool intltool glib dbus avahi libsamplerate libsndfile
speex json_c ]
- ++ stdenv.lib.optional jackaudioSupport jackaudio
+ ++ stdenv.lib.optional jackaudioSupport jack2
++ stdenv.lib.optionals x11Support [ xlibs.xlibs xlibs.libXtst xlibs.libXi ]
++ stdenv.lib.optional useSystemd systemd
++ stdenv.lib.optionals stdenv.isLinux [ alsaLib bluez sbc udev ];
diff --git a/pkgs/servers/radius/default.nix b/pkgs/servers/radius/default.nix
index dcd577bb6cb76eefd55eaf90b54b86657133bf10..a8c991e12d3e49ba4cbca6e04d152fe6bdd5197d 100644
--- a/pkgs/servers/radius/default.nix
+++ b/pkgs/servers/radius/default.nix
@@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
'';
homepage = http://www.gnu.org/software/radius/;
- license = "GPLv3+";
+ license = stdenv.lib.licenses.gpl3Plus;
maintainers = [ stdenv.lib.maintainers.bjg ];
platforms = stdenv.lib.platforms.all;
diff --git a/pkgs/servers/search/elasticsearch/default.nix b/pkgs/servers/search/elasticsearch/default.nix
index 765ed3ee8e9552e8401a157296cec3276888835c..569ec87c4cb042d9784f75d4ff5c14bc78f47c06 100644
--- a/pkgs/servers/search/elasticsearch/default.nix
+++ b/pkgs/servers/search/elasticsearch/default.nix
@@ -32,6 +32,7 @@ stdenv.mkDerivation rec {
meta = {
description = "Open Source, Distributed, RESTful Search Engine";
- license = "ASL2.0";
+ license = stdenv.lib.licenses.asl20;
+ platforms = platforms.unix;
};
}
diff --git a/pkgs/servers/search/elasticsearch/plugins.nix b/pkgs/servers/search/elasticsearch/plugins.nix
new file mode 100644
index 0000000000000000000000000000000000000000..c03a2feae5f2cb701284c7f1a5b6feb2a4a5b2f1
--- /dev/null
+++ b/pkgs/servers/search/elasticsearch/plugins.nix
@@ -0,0 +1,53 @@
+{ pkgs, stdenv, fetchurl, unzip, elasticsearch }:
+
+with pkgs.lib;
+
+let
+ esPlugin = a@{
+ pluginName,
+ installPhase ? ''
+ mkdir -p $out
+ ES_HOME=$out ${elasticsearch}/bin/elasticsearch-plugin --install ${pluginName} --url file://$src
+ '',
+ ...
+ }:
+ stdenv.mkDerivation (a // {
+ inherit installPhase;
+ unpackPhase = "true";
+ buildInputs = [ unzip ];
+ meta = a.meta // {
+ platforms = elasticsearch.meta.platforms;
+ maintainers = (a.meta.maintainers or []) ++ [ maintainers.offline ];
+ };
+ });
+in {
+ elasticsearch_river_jdbc = esPlugin rec {
+ name = "elasticsearch-river-jdbc-${version}";
+ pluginName = "jdbc";
+ version = "1.2.1.1";
+ src = fetchurl {
+ url = "http://xbib.org/repository/org/xbib/elasticsearch/plugin/elasticsearch-river-jdbc/${version}/${name}-plugin.zip";
+ sha1 = "68e7e1fdf45d0e5852b21610a84740595223ea11";
+ };
+ meta = {
+ homepage = "https://github.com/jprante/elasticsearch-river-jdbc";
+ description = "Plugin to fetch data from JDBC sources for indexing into Elasticsearch";
+ license = licenses.asl20;
+ };
+ };
+
+ elasticsearch_analisys_lemmagen = esPlugin rec {
+ name = "elasticsearch-analysis-lemmagen-${version}";
+ pluginName = "elasticsearch-analysis-lemmagen";
+ version = "0.1";
+ src = fetchurl {
+ url = "https://github.com/vhyza/elasticsearch-analysis-lemmagen/releases/download/v${version}/${name}-plugin.zip";
+ sha256 = "bf7bf5ce3ccdd3afecd0e18cd6fce1ef56f824e41f4ef50553ae598caa5c366d";
+ };
+ meta = {
+ homepage = "https://github.com/vhyza/elasticsearch-analysis-lemmagen";
+ description = "LemmaGen Analysis plugin provides jLemmaGen lemmatizer as Elasticsearch token filter";
+ license = licenses.asl20;
+ };
+ };
+}
diff --git a/pkgs/servers/serfdom/default.nix b/pkgs/servers/serfdom/default.nix
index 40b41c8f9d396dbb851b02c9b7c4a1658a23141f..92ab3bd780add630fa8401508a9f93f5fcce934c 100644
--- a/pkgs/servers/serfdom/default.nix
+++ b/pkgs/servers/serfdom/default.nix
@@ -1,7 +1,7 @@
{ stdenv, lib, go, fetchurl, fetchgit, fetchhg, fetchbzr, fetchFromGitHub }:
stdenv.mkDerivation rec {
- version = "0.6.2";
+ version = "0.6.3";
name = "serfdom-${version}";
src = import ./deps.nix {
diff --git a/pkgs/servers/serfdom/deps.nix b/pkgs/servers/serfdom/deps.nix
index b933c60882444aee3af7b04cd0da1a7551012429..a4b4058a711e4e114a20a341f080c974f5ffb1ee 100644
--- a/pkgs/servers/serfdom/deps.nix
+++ b/pkgs/servers/serfdom/deps.nix
@@ -77,8 +77,8 @@ let
src = fetchFromGitHub {
owner = "hashicorp";
repo = "serf";
- rev = "4232a3f7b52f755084caf6b2cc2789efa2948555";
- sha256 = "1hxxqrjz08882d205ylakhvvwciahiqdzkwi2a7zwrmx6sxna7sr";
+ rev = "5e0771b8d61bee28986087a246f7611d6bd4a87a";
+ sha256 = "0ck77ji28bvm4ahzxyyi4sm17c3fxc16k0k5mihl1nlkgdd73m8y";
};
}
{
diff --git a/pkgs/servers/shellinabox/default.nix b/pkgs/servers/shellinabox/default.nix
index acff3a84a31eb81f11c4f286118ad5aa23532798..2d827c737d8bca8c9c5dcdafd1b3a10aa2a2006d 100644
--- a/pkgs/servers/shellinabox/default.nix
+++ b/pkgs/servers/shellinabox/default.nix
@@ -22,7 +22,7 @@ stdenv.mkDerivation {
meta = {
homepage = https://code.google.com/p/shellinabox;
description = "Web based AJAX terminal emulator";
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
maintainers = [stdenv.lib.maintainers.tomberek];
platforms = stdenv.lib.platforms.linux;
};
diff --git a/pkgs/servers/silc-server/default.nix b/pkgs/servers/silc-server/default.nix
index 2afec801961cef953b79db0c96797cf7542d9672..fdb1dcbd1cf6103de622015058188c2bdeea0da7 100644
--- a/pkgs/servers/silc-server/default.nix
+++ b/pkgs/servers/silc-server/default.nix
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://silcnet.org/;
description = "Secure Internet Live Conferencing server";
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
maintainers = with stdenv.lib.maintainers; [viric];
platforms = with stdenv.lib.platforms; linux;
};
diff --git a/pkgs/servers/sip/sipwitch/default.nix b/pkgs/servers/sip/sipwitch/default.nix
index 90e71f5e47addd5c8d0bb4e84d10a0f715420145..14cd91ee141886986aaec6c33893fc6a2966420b 100644
--- a/pkgs/servers/sip/sipwitch/default.nix
+++ b/pkgs/servers/sip/sipwitch/default.nix
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
meta = {
description = "Secure peer-to-peer VoIP server that uses the SIP protocol";
homepage = http://www.gnu.org/software/sipwitch/;
- license = "GPLv3+";
+ license = stdenv.lib.licenses.gpl3Plus;
maintainers = with stdenv.lib.maintainers; [ viric ];
platforms = with stdenv.lib.platforms; linux;
};
diff --git a/pkgs/servers/sql/mysql/5.5.x.nix b/pkgs/servers/sql/mysql/5.5.x.nix
index 782019f8ee06985bd3fa41d2a9af243d0b041c74..7c31bd7c582826c39e1859f9a23857ed25209f15 100644
--- a/pkgs/servers/sql/mysql/5.5.x.nix
+++ b/pkgs/servers/sql/mysql/5.5.x.nix
@@ -11,6 +11,11 @@ stdenv.mkDerivation rec {
md5 = "bf1d80c66d4822ec6036300399a33c03";
};
+ preConfigure = stdenv.lib.optional stdenv.isDarwin ''
+ ln -s /bin/ps $TMPDIR/ps
+ export PATH=$PATH:$TMPDIR
+ '';
+
buildInputs = [ cmake bison ncurses openssl readline zlib ]
++ stdenv.lib.optional stdenv.isDarwin perl;
diff --git a/pkgs/servers/sql/postgresql/9.0.x.nix b/pkgs/servers/sql/postgresql/9.0.x.nix
index 00c614021b61f078e9161e79a1c3510698c0234c..97e98217f8aa9d1561cb912221cd9fe7229b6d28 100644
--- a/pkgs/servers/sql/postgresql/9.0.x.nix
+++ b/pkgs/servers/sql/postgresql/9.0.x.nix
@@ -1,13 +1,13 @@
{ stdenv, fetchurl, zlib, readline }:
-let version = "9.0.17"; in
+let version = "9.0.18"; in
stdenv.mkDerivation rec {
name = "postgresql-${version}";
src = fetchurl {
url = "mirror://postgresql/source/v${version}/${name}.tar.bz2";
- sha256 = "d2f6d09cf941e7cbab6ee399f14080dbe822af58fda9fd132efb05c2b7d160ad";
+ sha256 = "7c8a07d0ab78fe39522c6bb268a7b357f456d9d4796f57d7b43a004e4a9d3003";
};
buildInputs = [ zlib readline ];
diff --git a/pkgs/servers/sql/postgresql/9.1.x.nix b/pkgs/servers/sql/postgresql/9.1.x.nix
index 8d714c6f5a6523af280f7eff1bcc1192003ea91b..92417dc730c7ee5b01b664443e50015db88df0a8 100644
--- a/pkgs/servers/sql/postgresql/9.1.x.nix
+++ b/pkgs/servers/sql/postgresql/9.1.x.nix
@@ -1,13 +1,13 @@
{ stdenv, fetchurl, zlib, readline }:
-let version = "9.1.13"; in
+let version = "9.1.14"; in
stdenv.mkDerivation rec {
name = "postgresql-${version}";
src = fetchurl {
url = "mirror://postgresql/source/v${version}/${name}.tar.bz2";
- sha256 = "9ee819574dfc8798a448dc23a99510d2d8924c2f8b49f8228cd77e4efc8a6621";
+ sha256 = "d0647ce563d18ae02bf68c5dd646a4c75e8b45b3a4fada64d481371fdc16f522";
};
buildInputs = [ zlib readline ];
diff --git a/pkgs/servers/sql/postgresql/9.2.x.nix b/pkgs/servers/sql/postgresql/9.2.x.nix
index 8b0ce0f7bb2628c5a24ade88f7c25c6f4a9fd933..e5dbdd034d3f3056fa7e7d510110a93b9fa41d80 100644
--- a/pkgs/servers/sql/postgresql/9.2.x.nix
+++ b/pkgs/servers/sql/postgresql/9.2.x.nix
@@ -1,13 +1,13 @@
{ stdenv, fetchurl, zlib, readline }:
-let version = "9.2.8"; in
+let version = "9.2.9"; in
stdenv.mkDerivation rec {
name = "postgresql-${version}";
src = fetchurl {
url = "mirror://postgresql/source/v${version}/${name}.tar.bz2";
- sha256 = "568ba482340219097475cce9ab744766889692ee7c9df886563e8292d66ed87c";
+ sha256 = "94ec6d330f125b6fc725741293073b07d7d20cc3e7b8ed127bc3d14ad2370197";
};
buildInputs = [ zlib readline ];
diff --git a/pkgs/servers/sql/postgresql/9.3.x.nix b/pkgs/servers/sql/postgresql/9.3.x.nix
index 50ea799099c2764ef2f7185447d9b7b69bfe084c..6c6ef132e8136e50909a6a7c0c58b671a39c68ed 100644
--- a/pkgs/servers/sql/postgresql/9.3.x.nix
+++ b/pkgs/servers/sql/postgresql/9.3.x.nix
@@ -2,14 +2,14 @@
with stdenv.lib;
-let version = "9.3.4"; in
+let version = "9.3.5"; in
stdenv.mkDerivation rec {
name = "postgresql-${version}";
src = fetchurl {
url = "mirror://postgresql/source/v${version}/${name}.tar.bz2";
- sha256 = "9ee819574dfc8798a448dc23a99510d2d8924c2f8b49f8228cd77e4efc8a6621";
+ sha256 = "14176ffb1f90a189e7626214365be08ea2bfc26f26994bafb4235be314b9b4b0";
};
buildInputs = [ zlib readline ] ++ optionals (!stdenv.isDarwin) [ libossp_uuid ];
diff --git a/pkgs/servers/squid/squids.nix b/pkgs/servers/squid/squids.nix
index 642b713daaab95d63826163283f526cad0a7fb44..a6552738ea6d7dd3103899087979985930850f3e 100644
--- a/pkgs/servers/squid/squids.nix
+++ b/pkgs/servers/squid/squids.nix
@@ -16,7 +16,7 @@ rec {
meta = {
description = "http-proxy";
homepage = "http://www.squid-cache.org";
- license = "GPL2";
+ license = stdenv.lib.licenses.gpl2;
};
};
diff --git a/pkgs/servers/unfs3/default.nix b/pkgs/servers/unfs3/default.nix
index 96073645cc1c661cf519cf631c1b2f68f279d9f3..ee566c32def5ea660fc87735cacdbadcc892ecd1 100644
--- a/pkgs/servers/unfs3/default.nix
+++ b/pkgs/servers/unfs3/default.nix
@@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
homepage = http://unfs3.sourceforge.net/;
- license = "BSD"; # 3-clause BSD
+ license = stdenv.lib.licenses.bsd3;
platforms = stdenv.lib.platforms.unix;
maintainers = [ stdenv.lib.maintainers.ludo ];
};
diff --git a/pkgs/servers/xmpp/ejabberd/default.nix b/pkgs/servers/xmpp/ejabberd/default.nix
index f15705d4a1131e892fc919046bc35814bf571bf0..5868125c97f1f87718f6a0c337d901e635195ba4 100644
--- a/pkgs/servers/xmpp/ejabberd/default.nix
+++ b/pkgs/servers/xmpp/ejabberd/default.nix
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
meta = {
description = "Open-source XMPP application server written in Erlang";
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
homepage = http://www.ejabberd.im;
maintainers = [ lib.maintainers.sander ];
};
diff --git a/pkgs/servers/xmpp/openfire/default.nix b/pkgs/servers/xmpp/openfire/default.nix
index 736517b53f19fc56e223f8863c19ae8ba7da056a..3fb89d7a222b0a72e8cd0f7c0cc1367fdbe8b24e 100644
--- a/pkgs/servers/xmpp/openfire/default.nix
+++ b/pkgs/servers/xmpp/openfire/default.nix
@@ -1,34 +1,25 @@
-{ stdenv, fetchurl, builderDefs, jre }:
+{ stdenv, fetchurl, jre }:
-with builderDefs;
- let
- version="3_6_3";
- localDefs = builderDefs.passthru.function (rec {
- src = /* put a fetchurl here */
- fetchurl {
- url = "http://www.igniterealtime.org/downloadServlet?filename=openfire/openfire_${version}.tar.gz";
- sha256 = "0ibzhmh9qw4lmx45ir1i280p30npgwnj7vrkl432kj3zi7hp79q2";
- };
+stdenv.mkDerivation rec {
+ name = "openfire-${version}";
+ version = "3_6_3";
- buildInputs = [jre];
- configureFlags = [];
+ src = fetchurl {
+ url = "http://www.igniterealtime.org/downloadServlet?filename=openfire/openfire_${version}.tar.gz";
+ sha256 = "0ibzhmh9qw4lmx45ir1i280p30npgwnj7vrkl432kj3zi7hp79q2";
+ };
+
+ buildInputs = [ jre ];
+
+ installPhase = ''
+ sed -e 's@\(common_jvm_locations\)=.*@\1${jre}@' -i bin/openfire
+ cp -r . $out
+ rm -r $out/logs
+ mv $out/conf $out/conf.inst
+ ln -s /var/log/openfire $out/logs
+ ln -s /etc/openfire $out/conf
+ '';
- installPhase = fullDepEntry (''
- sed -e 's@\(common_jvm_locations\)=.*@\1${jre}@' -i bin/openfire
- cp -r . $out
- rm -r $out/logs
- mv $out/conf $out/conf.inst
- ln -s /var/log/openfire $out/logs
- ln -s /etc/openfire $out/conf
- '')
- ["minInit" "doUnpack" "addInputs"];
- });
- in with localDefs;
-stdenv.mkDerivation rec {
- name = "openfire-"+version;
- builder = writeScript (name + "-builder")
- (textClosure localDefs
- [ installPhase doForceShare doPropagate]);
meta = {
description = "XMPP server in Java";
};
diff --git a/pkgs/shells/bash/default.nix b/pkgs/shells/bash/default.nix
index 61f6478629dd07c923c0cf27b14207daa97f4bbc..6a6b8563a55500eeea21936118d732f34243af79 100644
--- a/pkgs/shells/bash/default.nix
+++ b/pkgs/shells/bash/default.nix
@@ -74,7 +74,7 @@ stdenv.mkDerivation rec {
Bash without modification.
'';
- license = "GPLv3+";
+ license = stdenv.lib.licenses.gpl3Plus;
maintainers = [ stdenv.lib.maintainers.simons ];
};
diff --git a/pkgs/shells/rush/default.nix b/pkgs/shells/rush/default.nix
index 4354a3cd0b3a1efaff9049c97a83af43eb7a2973..1e1904a29a5a38343782e7a735050d7e8ff448fb 100644
--- a/pkgs/shells/rush/default.nix
+++ b/pkgs/shells/rush/default.nix
@@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
'';
homepage = http://www.gnu.org/software/rush/;
- license = "GPLv3+";
+ license = stdenv.lib.licenses.gpl3Plus;
maintainers = [ stdenv.lib.maintainers.bjg ];
platforms = stdenv.lib.platforms.all;
diff --git a/pkgs/tools/X11/autocutsel/default.nix b/pkgs/tools/X11/autocutsel/default.nix
index 1fe3cb646ff44d55cf9c985caf1f61f6c9a90b2f..8506c9f38f3d98f3f2aaa3121b83bd517d4e0ba4 100644
--- a/pkgs/tools/X11/autocutsel/default.nix
+++ b/pkgs/tools/X11/autocutsel/default.nix
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
inherit version;
homepage = "http://www.nongnu.org/autocutsel/";
description = "Tracks changes in the server's cutbuffer and CLIPBOARD selection";
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
platforms = with stdenv.lib.platforms; all;
updateWalker = true;
};
diff --git a/pkgs/tools/X11/bgs/default.nix b/pkgs/tools/X11/bgs/default.nix
index b2bdbe8aaeaf80a50a75f3f90f883a341c0ce289..00cf9a54fb7e297d0286ea4c9ad241612754d3b9 100644
--- a/pkgs/tools/X11/bgs/default.nix
+++ b/pkgs/tools/X11/bgs/default.nix
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
meta = {
description = "Extremely fast and small background setter for X";
- license = "MIT";
+ license = stdenv.lib.licenses.mit;
hydraPlatforms = stdenv.lib.platforms.linux;
maintainers = with stdenv.lib.maintainers; [pSub];
};
diff --git a/pkgs/tools/X11/hsetroot/default.nix b/pkgs/tools/X11/hsetroot/default.nix
index 96241bd02cdfe02d551505ad7e2bfa28b38357e2..d91f4bfdf652e5decdbcb33655e18595b4f392ce 100644
--- a/pkgs/tools/X11/hsetroot/default.nix
+++ b/pkgs/tools/X11/hsetroot/default.nix
@@ -14,6 +14,6 @@ stdenv.mkDerivation {
meta = {
description = "hsetroot allows you to compose wallpapers ('root pixmaps') for X";
homepage = http://thegraveyard.org/hsetroot.html;
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
};
}
diff --git a/pkgs/tools/X11/nitrogen/default.nix b/pkgs/tools/X11/nitrogen/default.nix
index 182c058e1c12b949bbf2ba8a94312ab324b54ef7..dd8b496fe66e4b3449e387fe3287da560b78b15f 100644
--- a/pkgs/tools/X11/nitrogen/default.nix
+++ b/pkgs/tools/X11/nitrogen/default.nix
@@ -27,6 +27,6 @@ stdenv.mkDerivation rec {
homepage = http://projects.l3ib.org/nitrogen/;
license = stdenv.lib.licenses.gpl2;
platforms = stdenv.lib.platforms.linux;
- maintainer = [ stdenv.lib.maintainers.auntie ];
+ maintainers = [ stdenv.lib.maintainers.auntie ];
};
}
diff --git a/pkgs/tools/X11/xbindkeys/default.nix b/pkgs/tools/X11/xbindkeys/default.nix
index 57417fa772112aa1473854f438847740ac742aa6..0d63c190b054fa843b27238594a89e03b9825393 100644
--- a/pkgs/tools/X11/xbindkeys/default.nix
+++ b/pkgs/tools/X11/xbindkeys/default.nix
@@ -13,7 +13,7 @@ stdenv.mkDerivation {
meta = {
homepage = http://www.nongnu.org/xbindkeys/xbindkeys.html;
description = "Launch shell commands with your keyboard or your mouse under X Window";
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
maintainers = with stdenv.lib.maintainers; [viric];
platforms = with stdenv.lib.platforms; linux;
};
diff --git a/pkgs/tools/X11/xchainkeys/default.nix b/pkgs/tools/X11/xchainkeys/default.nix
index 42e26825e330923d3ed9743929c5832bc2d1d2a4..eab21f2d2211d30081d3a506c4dd592ac1980dea 100644
--- a/pkgs/tools/X11/xchainkeys/default.nix
+++ b/pkgs/tools/X11/xchainkeys/default.nix
@@ -13,6 +13,6 @@ stdenv.mkDerivation rec {
meta = {
homepage = "https://code.google.com/p/xchainkeys/";
description = "A standalone X11 program to create chained key bindings";
- license = "GPLv3";
+ license = stdenv.lib.licenses.gpl3;
};
}
diff --git a/pkgs/tools/X11/xnee/default.nix b/pkgs/tools/X11/xnee/default.nix
index ce439d22c21c55e7755de693edcf7c5b01291c2f..0e92021b62c91d102cdea69274257a694fd2d10a 100644
--- a/pkgs/tools/X11/xnee/default.nix
+++ b/pkgs/tools/X11/xnee/default.nix
@@ -44,7 +44,7 @@ stdenv.mkDerivation rec {
"macros", retype a file.
'';
- license = "GPLv3+";
+ license = stdenv.lib.licenses.gpl3Plus;
homepage = http://www.gnu.org/software/xnee/;
diff --git a/pkgs/tools/X11/xtrace/default.nix b/pkgs/tools/X11/xtrace/default.nix
index c9f41b68446a2efe2eda5c9741a5c694c3d14663..efc0647f5dbd3dda4d9623b702de4f8f2a0937d0 100644
--- a/pkgs/tools/X11/xtrace/default.nix
+++ b/pkgs/tools/X11/xtrace/default.nix
@@ -23,7 +23,7 @@ stdenv.mkDerivation {
meta = {
homepage = http://xtrace.alioth.debian.org/;
description = "xtrace, a tool to trace X11 protocol connections";
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
maintainers = with stdenv.lib.maintainers; [viric];
platforms = with stdenv.lib.platforms; linux;
};
diff --git a/pkgs/tools/admin/analog/default.nix b/pkgs/tools/admin/analog/default.nix
index ec139e7240d3afaed5b81ae2812b9ade6dc26278..54dac32141fe2efe7dc3acd7891084e55965b61d 100644
--- a/pkgs/tools/admin/analog/default.nix
+++ b/pkgs/tools/admin/analog/default.nix
@@ -29,7 +29,7 @@ stdenv.mkDerivation {
meta = {
homepage = "http://www.analog.cx/";
- license = "GPL";
+ license = stdenv.lib.licenses.gpl2;
description = "Powerful tool to generate web server statistics";
maintainers = [ stdenv.lib.maintainers.simons ];
platforms = stdenv.lib.platforms.linux;
diff --git a/pkgs/tools/admin/gtk-vnc/default.nix b/pkgs/tools/admin/gtk-vnc/default.nix
index 14822d8b6e9675d31976b66a88baea9d5937016f..c502cee5415a997a7bac54a824cdd5c2bd5021bd 100644
--- a/pkgs/tools/admin/gtk-vnc/default.nix
+++ b/pkgs/tools/admin/gtk-vnc/default.nix
@@ -1,6 +1,6 @@
{ stdenv, fetchurl, gobjectIntrospection
, python, gtk, pygtk, gnutls, cairo, libtool, glib, pkgconfig, libtasn1
-, libffi, cyrus_sasl, intltool, perl, perlPackages, firefoxPkgs, pulseaudio
+, libffi, cyrus_sasl, intltool, perl, perlPackages, pulseaudio
, kbproto, libX11, libXext, xextproto, pygobject, libgcrypt, gtk3, vala
, pygobject3, libogg, enableGTK3 ? false }:
diff --git a/pkgs/tools/admin/sec/default.nix b/pkgs/tools/admin/sec/default.nix
index af634e3fd56cb260ea927cf412f4289bbb5ffb2f..d8c60c0ec3c8c9d73fc8d670d55e819a543d0537 100644
--- a/pkgs/tools/admin/sec/default.nix
+++ b/pkgs/tools/admin/sec/default.nix
@@ -1,11 +1,11 @@
{ fetchurl, perl, stdenv }:
stdenv.mkDerivation rec {
- name = "sec-2.7.5";
+ name = "sec-2.7.6";
src = fetchurl {
url = "mirror://sourceforge/simple-evcorr/${name}.tar.gz";
- sha256 = "a21dcbb61aa99930f911b79e9412b875af12b08722a78295d210b896f23a0301";
+ sha256 = "1lrssln55p3bmn3d2hl8c5l5ix32bn8065w1cgycwsf7r6fww51p";
};
buildInputs = [ perl ];
diff --git a/pkgs/tools/admin/tigervnc/default.nix b/pkgs/tools/admin/tigervnc/default.nix
index b2dedf4688d3ae45d63a202ab382d26b9db9d22c..3d5abd074d96b402ce88ddebdd2fb1a51be1f958 100644
--- a/pkgs/tools/admin/tigervnc/default.nix
+++ b/pkgs/tools/admin/tigervnc/default.nix
@@ -91,7 +91,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://www.tigervnc.org/;
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
description = "Fork of tightVNC, made in cooperation with VirtualGL";
maintainers = with stdenv.lib.maintainers; [viric];
platforms = with stdenv.lib.platforms; linux;
diff --git a/pkgs/tools/admin/tightvnc/default.nix b/pkgs/tools/admin/tightvnc/default.nix
index 187d3345e6b3b05a8c6703287f02e1c17e21835d..acb8708ec14fdf591b349d85995770db326f1a72 100644
--- a/pkgs/tools/admin/tightvnc/default.nix
+++ b/pkgs/tools/admin/tightvnc/default.nix
@@ -16,7 +16,7 @@ stdenv.mkDerivation {
builder = ./builder.sh;
meta = {
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
homepage = "http://vnc-tight.sourceforge.net/";
description = "TightVNC is an improved version of VNC";
diff --git a/pkgs/tools/archivers/gnutar/default.nix b/pkgs/tools/archivers/gnutar/default.nix
index 6428fbaa9dc49aeb3b49a70384a61dfc7102edf3..87324ac80a2462ebe924ae83935e47fac691471c 100644
--- a/pkgs/tools/archivers/gnutar/default.nix
+++ b/pkgs/tools/archivers/gnutar/default.nix
@@ -32,7 +32,7 @@ stdenv.mkDerivation rec {
archives).
'';
- license = "GPLv3+";
+ license = stdenv.lib.licenses.gpl3Plus;
maintainers = [ ];
platforms = stdenv.lib.platforms.all;
diff --git a/pkgs/tools/archivers/p7zip/default.nix b/pkgs/tools/archivers/p7zip/default.nix
index ff51b28f34bbbe7ebc6f89ca0445227df76a1c05..cd0cea13a14d7b9c013e1df7afab2a59c037d535 100644
--- a/pkgs/tools/archivers/p7zip/default.nix
+++ b/pkgs/tools/archivers/p7zip/default.nix
@@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://p7zip.sourceforge.net/;
description = "A port of the 7-zip archiver";
- # license = "LGPLv2.1+"; + "unRAR restriction"
+ # license = stdenv.lib.licenses.lgpl21Plus; + "unRAR restriction"
platforms = stdenv.lib.platforms.unix;
};
}
diff --git a/pkgs/tools/archivers/sharutils/default.nix b/pkgs/tools/archivers/sharutils/default.nix
index 273b394881b6d6e68377f823d7313416ce4e3d7c..afd734fbae04c4b4c246c13087cd9bde3e6547c3 100644
--- a/pkgs/tools/archivers/sharutils/default.nix
+++ b/pkgs/tools/archivers/sharutils/default.nix
@@ -46,7 +46,7 @@ stdenv.mkDerivation rec {
homepage = http://www.gnu.org/software/sharutils/;
- license = "GPLv3+";
+ license = stdenv.lib.licenses.gpl3Plus;
maintainers = [ ];
platforms = stdenv.lib.platforms.all;
diff --git a/pkgs/tools/backup/btar/default.nix b/pkgs/tools/backup/btar/default.nix
index 0258edb8a194797b7b5a6fa8abba7654ee2bfad5..89f577e93ad0fef48c79266964e75b9278670762 100644
--- a/pkgs/tools/backup/btar/default.nix
+++ b/pkgs/tools/backup/btar/default.nix
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
meta = {
description = "Tar-compatible block-based archiver";
- license = "GPLv3+";
+ license = stdenv.lib.licenses.gpl3Plus;
homepage = http://viric.name/cgi-bin/btar;
platforms = with stdenv.lib.platforms; all;
maintainers = with stdenv.lib.maintainers; [viric];
diff --git a/pkgs/tools/backup/chunksync/default.nix b/pkgs/tools/backup/chunksync/default.nix
index e51d6d6acea16224e7d1934a476f70f2eb0a2952..baa0d6170162bfec1ef7b8ca0992a14ffde9775c 100644
--- a/pkgs/tools/backup/chunksync/default.nix
+++ b/pkgs/tools/backup/chunksync/default.nix
@@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
meta = {
description = "Space-efficient incremental backups of large files or block devices";
homepage = "http://chunksync.florz.de/";
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
platforms = with stdenv.lib.platforms; linux;
};
}
diff --git a/pkgs/tools/backup/duplicity/default.nix b/pkgs/tools/backup/duplicity/default.nix
index 8a9db4e5701fb1d3a3ba9f4bac414aa13d869d2f..45d6cb83739ab245c67af1c4cd34e0c5693415de 100644
--- a/pkgs/tools/backup/duplicity/default.nix
+++ b/pkgs/tools/backup/duplicity/default.nix
@@ -25,7 +25,7 @@ stdenv.mkDerivation {
meta = {
description = "Encrypted bandwidth-efficient backup using the rsync algorithm";
homepage = "http://www.nongnu.org/duplicity";
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
maintainers = with stdenv.lib.maintainers; [viric simons];
platforms = with stdenv.lib.platforms; linux;
};
diff --git a/pkgs/tools/backup/httrack/default.nix b/pkgs/tools/backup/httrack/default.nix
index be5e0ef4abcd9b706aa8cd544668e55605fced79..4df142afe3a571c95008a59cb012740db27ca507 100644
--- a/pkgs/tools/backup/httrack/default.nix
+++ b/pkgs/tools/backup/httrack/default.nix
@@ -14,6 +14,6 @@ stdenv.mkDerivation rec {
meta = {
homepage = "http://www.httrack.com";
description = "Easy-to-use offline browser utility";
- license = "GPL";
+ license = stdenv.lib.licenses.gpl3;
};
}
diff --git a/pkgs/tools/backup/rdiff-backup/default.nix b/pkgs/tools/backup/rdiff-backup/default.nix
index d58815f6d6ddb5402f0c88646afd2b9164e7356d..58affe10e4e1fee12b90f5f9288feae84d52ed39 100644
--- a/pkgs/tools/backup/rdiff-backup/default.nix
+++ b/pkgs/tools/backup/rdiff-backup/default.nix
@@ -20,7 +20,7 @@ stdenv.mkDerivation {
meta = {
description = "backup system trying to combine best a mirror and an incremental backup system";
homepage = http://rdiff-backup.nongnu.org/;
- license = "GPL-2";
+ license = stdenv.lib.licenses.gpl2;
maintainers = with stdenv.lib.maintainers; [ the-kenny ];
};
}
diff --git a/pkgs/tools/backup/rsnapshot/default.nix b/pkgs/tools/backup/rsnapshot/default.nix
index 9b147d68230f75a2fa0041c2abba7cfd24c3276f..0bd19e2d6be8e70e52c920d9b8e7822ebb0d4086 100644
--- a/pkgs/tools/backup/rsnapshot/default.nix
+++ b/pkgs/tools/backup/rsnapshot/default.nix
@@ -33,6 +33,6 @@ stdenv.mkDerivation rec {
meta = {
description = "A filesystem snapshot utility for making backups of local and remote systems";
homepage = http://rsnapshot.org/;
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
};
}
diff --git a/pkgs/tools/bluetooth/bluedevil/default.nix b/pkgs/tools/bluetooth/bluedevil/default.nix
index b8b7510b882bf88b4aff193f41664b33979ddce2..e5a4f83ab0f87c6aaf0f1747063e8bb61026eb1a 100644
--- a/pkgs/tools/bluetooth/bluedevil/default.nix
+++ b/pkgs/tools/bluetooth/bluedevil/default.nix
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
meta = with stdenv.lib; {
description = "Bluetooth manager for KDE";
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
inherit (kdelibs.meta) platforms;
maintainers = [ maintainers.phreedom ];
};
diff --git a/pkgs/tools/cd-dvd/cdrkit/default.nix b/pkgs/tools/cd-dvd/cdrkit/default.nix
index 0d44624786b6a74ee7daa5d0c53664e1f15c7fb4..bcf9ec2c0cc3ecdc72fbac9df86da085479295ac 100644
--- a/pkgs/tools/cd-dvd/cdrkit/default.nix
+++ b/pkgs/tools/cd-dvd/cdrkit/default.nix
@@ -36,6 +36,6 @@ stdenv.mkDerivation rec {
'';
homepage = http://cdrkit.org/;
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
};
}
diff --git a/pkgs/tools/cd-dvd/unetbootin/default.nix b/pkgs/tools/cd-dvd/unetbootin/default.nix
index 39b7c8098582de7ff1b717758a612249ce19a0d6..516f07508072bf8816f934c54bc7650c4e2cac01 100644
--- a/pkgs/tools/cd-dvd/unetbootin/default.nix
+++ b/pkgs/tools/cd-dvd/unetbootin/default.nix
@@ -57,7 +57,7 @@ stdenv.mkDerivation {
meta = {
homepage = http://unetbootin.sourceforge.net/;
description = "A tool to create bootable live USB drives from ISO images";
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
platforms = stdenv.lib.platforms.linux;
};
}
diff --git a/pkgs/tools/cd-dvd/vobcopy/default.nix b/pkgs/tools/cd-dvd/vobcopy/default.nix
index fd0f131b8c2a8560cccc61b8e7019ba0bb2cfd81..f181ab71edfbe22d5be11f4b3fadf9865aa01292 100644
--- a/pkgs/tools/cd-dvd/vobcopy/default.nix
+++ b/pkgs/tools/cd-dvd/vobcopy/default.nix
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
meta = {
description = "Copies DVD .vob files to harddisk, decrypting them on the way";
homepage = http://vobcopy.org/projects/c/c.shtml;
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
maintainers = [ stdenv.lib.maintainers.bluescreen303 ];
platforms = stdenv.lib.platforms.all;
diff --git a/pkgs/tools/cd-dvd/xorriso/default.nix b/pkgs/tools/cd-dvd/xorriso/default.nix
index 62a802ebab5fc974c7562da2bfa593a3bf4307b7..88cca66efb13ec23f615b1483e0136ecd6297351 100644
--- a/pkgs/tools/cd-dvd/xorriso/default.nix
+++ b/pkgs/tools/cd-dvd/xorriso/default.nix
@@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
filesystems.
'';
- license = "GPLv3+";
+ license = stdenv.lib.licenses.gpl3Plus;
homepage = http://www.gnu.org/software/xorriso/;
diff --git a/pkgs/tools/compression/gzip/default.nix b/pkgs/tools/compression/gzip/default.nix
index b1d127635f6168e792199c43cb1d948a217cdef5..b7bf9c59f494fdcec2c69cfb7cb06b1f3bb52d97 100644
--- a/pkgs/tools/compression/gzip/default.nix
+++ b/pkgs/tools/compression/gzip/default.nix
@@ -29,6 +29,6 @@ stdenv.mkDerivation rec {
is just a bonus.
'';
- license = "GPLv3+";
+ license = stdenv.lib.licenses.gpl3Plus;
};
}
diff --git a/pkgs/tools/compression/lrzip/default.nix b/pkgs/tools/compression/lrzip/default.nix
index 6fd1ae97d9608495089271a5b07d961bfc09f1be..51f61fcf239d71468f97d2068a8d111331c7f30e 100644
--- a/pkgs/tools/compression/lrzip/default.nix
+++ b/pkgs/tools/compression/lrzip/default.nix
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://ck.kolivas.org/apps/lrzip/;
description = "The CK LRZIP compression program (LZMA + RZIP)";
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
inherit version;
};
}
diff --git a/pkgs/tools/compression/rzip/default.nix b/pkgs/tools/compression/rzip/default.nix
index 8c4547753aa3e92b148f3cfa7af15ab9c5f53bde..ca8d356abb3eab878439a89938afdf1ce340b6a1 100644
--- a/pkgs/tools/compression/rzip/default.nix
+++ b/pkgs/tools/compression/rzip/default.nix
@@ -11,6 +11,6 @@ stdenv.mkDerivation {
meta = {
homepage = http://rzip.samba.org/;
description = "The RZIP compression program";
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
};
}
diff --git a/pkgs/tools/compression/upx/default.nix b/pkgs/tools/compression/upx/default.nix
index 283b751cf26a744102dab0ff4ac19571c200a7fd..c012be7c56d4a08e21f60be690045e93a6c6ddcf 100644
--- a/pkgs/tools/compression/upx/default.nix
+++ b/pkgs/tools/compression/upx/default.nix
@@ -29,6 +29,6 @@ stdenv.mkDerivation {
meta = {
homepage = http://upx.sourceforge.net/;
description = "The Ultimate Packer for eXecutables";
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
};
}
diff --git a/pkgs/tools/filesystems/archivemount/default.nix b/pkgs/tools/filesystems/archivemount/default.nix
index 4c00252fc2a1ac3b2ce257692f89612d1e4d8c67..5a43aa52a0ec2368889962020a6ecac3159e99ba 100644
--- a/pkgs/tools/filesystems/archivemount/default.nix
+++ b/pkgs/tools/filesystems/archivemount/default.nix
@@ -15,7 +15,7 @@ stdenv.mkDerivation {
meta = {
description = "Gateway between FUSE and libarchive: allows mounting of cpio, .tar.gz, .tar.bz2 archives";
- license = "GPL2";
+ license = stdenv.lib.licenses.gpl2;
platforms = stdenv.lib.platforms.linux;
maintainers = [ stdenv.lib.maintainers.simons ];
diff --git a/pkgs/tools/filesystems/chunkfs/default.nix b/pkgs/tools/filesystems/chunkfs/default.nix
index c51837eef181330ed0c560bd92c5a78094e17969..d91525e348f76961616da26fdcfbce56ee481213 100644
--- a/pkgs/tools/filesystems/chunkfs/default.nix
+++ b/pkgs/tools/filesystems/chunkfs/default.nix
@@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
meta = {
description = "(Un)ChunkFS is a pair of FUSE filesystems for viewing chunksync-style directory trees as a block device and vice versa.";
homepage = "http://chunkfs.florz.de/";
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
platforms = with stdenv.lib.platforms; linux;
};
}
diff --git a/pkgs/tools/filesystems/ciopfs/default.nix b/pkgs/tools/filesystems/ciopfs/default.nix
index f944e591a12699c7dc189571ba63d7cef6256412..97548442ebae3de535eb853a360c76775ce97052 100644
--- a/pkgs/tools/filesystems/ciopfs/default.nix
+++ b/pkgs/tools/filesystems/ciopfs/default.nix
@@ -15,6 +15,6 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://www.brain-dump.org/projects/ciopfs/;
description = "A case-insensitive filesystem layered on top of any other filesystem";
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
};
}
diff --git a/pkgs/tools/filesystems/fsfs/default.nix b/pkgs/tools/filesystems/fsfs/default.nix
index 0e72c45e31ad1cac1a715e3df1c0350f6b4e65db..75e5280d391d740b96b33c514875cd1fa912ecfa 100644
--- a/pkgs/tools/filesystems/fsfs/default.nix
+++ b/pkgs/tools/filesystems/fsfs/default.nix
@@ -25,6 +25,6 @@ stdenv.mkDerivation {
meta = {
homepage = http://fsfs.sourceforge.net/;
description = "Secure distributed file system in user space";
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
};
}
diff --git a/pkgs/tools/filesystems/grive/default.nix b/pkgs/tools/filesystems/grive/default.nix
index dce7757d23a2b7c972b576e101a1725bbed0e906..c6d2776f437a7eaf294cabf05b5430d331861b2e 100644
--- a/pkgs/tools/filesystems/grive/default.nix
+++ b/pkgs/tools/filesystems/grive/default.nix
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
meta = {
description = "an open source (experimental) Linux client for Google Drive";
homepage = https://github.com/Grive/grive;
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
platforms = stdenv.lib.platforms.all;
};
diff --git a/pkgs/tools/filesystems/httpfs/default.nix b/pkgs/tools/filesystems/httpfs/default.nix
index 6f68a798ede96381463b0d16b90f5891ab42d7e5..b0f7981ebb3cb589895d53287cdea82d757b3daa 100644
--- a/pkgs/tools/filesystems/httpfs/default.nix
+++ b/pkgs/tools/filesystems/httpfs/default.nix
@@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
homepage = http://httpfs.sourceforge.net/;
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
platforms = stdenv.lib.platforms.linux;
maintainers = [ ];
diff --git a/pkgs/tools/filesystems/mtdutils/default.nix b/pkgs/tools/filesystems/mtdutils/default.nix
index 4cb09d53adcfe248849153cf483bdb23965a8f64..2a7d9672843dc23f0e139d3e6bf53fc2e73fb024 100644
--- a/pkgs/tools/filesystems/mtdutils/default.nix
+++ b/pkgs/tools/filesystems/mtdutils/default.nix
@@ -24,7 +24,7 @@ stdenv.mkDerivation {
meta = {
description = "Tools for MTD filesystems";
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
homepage = http://www.linux-mtd.infradead.org/;
maintainers = with stdenv.lib.maintainers; [viric];
platforms = with stdenv.lib.platforms; linux;
diff --git a/pkgs/tools/filesystems/reiserfsprogs/default.nix b/pkgs/tools/filesystems/reiserfsprogs/default.nix
index 2c14bc624ae34b53c76ce5d81a33c95d15db202a..0c5ec063b1aa29e9adb07efcc261970b452f3667 100644
--- a/pkgs/tools/filesystems/reiserfsprogs/default.nix
+++ b/pkgs/tools/filesystems/reiserfsprogs/default.nix
@@ -19,6 +19,6 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://www.namesys.com/;
description = "ReiserFS utilities";
- license = "GPL-2";
+ license = stdenv.lib.licenses.gpl2;
};
}
diff --git a/pkgs/tools/filesystems/s3backer/default.nix b/pkgs/tools/filesystems/s3backer/default.nix
index 3951a8d8bb79d7235af8122d228870cec19a52ab..89e49c9586c5937065bc0c1871eff1069b04d74c 100644
--- a/pkgs/tools/filesystems/s3backer/default.nix
+++ b/pkgs/tools/filesystems/s3backer/default.nix
@@ -13,6 +13,6 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://code.google.com/p/s3backer/;
description = "FUSE-based single file backing store via Amazon S3";
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
};
}
diff --git a/pkgs/tools/filesystems/svnfs/default.nix b/pkgs/tools/filesystems/svnfs/default.nix
index 4787ed77b5995fd6e805b6ec7d29ac37a3370571..b6a296e6bc7b269fd0bdf9e8ab6695308b605de5 100644
--- a/pkgs/tools/filesystems/svnfs/default.nix
+++ b/pkgs/tools/filesystems/svnfs/default.nix
@@ -21,7 +21,7 @@ stdenv.mkDerivation {
meta = {
description = "SvnFs is a filesystem written using FUSE for accessing Subversion repositories";
homepage = http://www.jmadden.eu/index.php/svnfs/;
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
maintainers = [stdenv.lib.maintainers.marcweber];
platforms = stdenv.lib.platforms.linux;
};
diff --git a/pkgs/tools/graphics/enblend-enfuse/default.nix b/pkgs/tools/graphics/enblend-enfuse/default.nix
index b77d63d510df88220d6b2ac014e75c51595d7f94..2d1a6472205e98327d10fe9a64387473d7c5765f 100644
--- a/pkgs/tools/graphics/enblend-enfuse/default.nix
+++ b/pkgs/tools/graphics/enblend-enfuse/default.nix
@@ -32,6 +32,6 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://enblend.sourceforge.net/;
description = "Blends away the seams in a panoramic image mosaic using a multiresolution spline";
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
};
}
diff --git a/pkgs/tools/graphics/gifsicle/default.nix b/pkgs/tools/graphics/gifsicle/default.nix
index debc340ee4ce810fa750f2e76e30284eb59e5a74..dc1a8b3abaee826a6f8fdd01226ad5fbf3b8961b 100644
--- a/pkgs/tools/graphics/gifsicle/default.nix
+++ b/pkgs/tools/graphics/gifsicle/default.nix
@@ -17,6 +17,6 @@ stdenv.mkDerivation {
meta = {
description = "Command-line tool for creating, editing, and getting information about GIF images and animations";
homepage = http://www.lcdf.org/gifsicle/;
- license = "GPL2";
+ license = stdenv.lib.licenses.gpl2;
};
}
diff --git a/pkgs/tools/graphics/gnuplot/default.nix b/pkgs/tools/graphics/gnuplot/default.nix
index e0f9ce2a2bf76b5aa33eea2e0450b32d213ba397..58e023a6aaa72321bc25619bfe1cf2a5debd6642 100644
--- a/pkgs/tools/graphics/gnuplot/default.nix
+++ b/pkgs/tools/graphics/gnuplot/default.nix
@@ -13,29 +13,33 @@
, pkgconfig ? null
, fontconfig ? null
, gnused ? null
-, coreutils ? null }:
+, coreutils ? null
+, qt ? null }:
assert libX11 != null -> (fontconfig != null && gnused != null && coreutils != null);
let
withX = libX11 != null && !aquaterm;
+ withQt = qt != null;
in
stdenv.mkDerivation rec {
- name = "gnuplot-4.6.3";
+ name = "gnuplot-4.6.5";
src = fetchurl {
url = "mirror://sourceforge/gnuplot/${name}.tar.gz";
- sha256 = "1xd7gqdhlk7k1p9yyqf9vkk811nadc7m4si0q3nb6cpv4pxglpyz";
+ sha256 = "0bcsa5b33msddjs6mj0rhi81cs19h9p3ykixkkl70ifhqwqg0l75";
};
buildInputs =
[ zlib gd texinfo readline emacs lua texLive
pango cairo pkgconfig makeWrapper ]
++ stdenv.lib.optionals withX [ libX11 libXpm libXt libXaw ]
+ ++ stdenv.lib.optional withQt [ qt ]
# compiling with wxGTK causes a malloc (double free) error on darwin
++ stdenv.lib.optional (!stdenv.isDarwin) wxGTK;
configureFlags =
(if withX then ["--with-x"] else ["--without-x"])
+ ++ (if withQt then ["--enable-qt"] else ["--disable-qt"])
++ (if aquaterm then ["--with-aquaterm"] else ["--without-aquaterm"])
;
diff --git a/pkgs/tools/graphics/icoutils/default.nix b/pkgs/tools/graphics/icoutils/default.nix
index 10cd9adf2b3cfd43b497fb2641ea1cb944231545..94a613078a4785cbe6315c6ef8a4a877c5b92e61 100644
--- a/pkgs/tools/graphics/icoutils/default.nix
+++ b/pkgs/tools/graphics/icoutils/default.nix
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://www.nongnu.org/icoutils/;
description = "Set of programs to deal with Microsoft Windows(R) icon and cursor files";
- license = "GPLv3+";
+ license = stdenv.lib.licenses.gpl3Plus;
platforms = with stdenv.lib.platforms; linux;
};
}
diff --git a/pkgs/tools/graphics/mscgen/default.nix b/pkgs/tools/graphics/mscgen/default.nix
index ed69327b752a4d1ecdb2bc7a34ac20a3f869ea5f..36a75743ed8a535de1a5bd63bae1e7d1c51014b0 100644
--- a/pkgs/tools/graphics/mscgen/default.nix
+++ b/pkgs/tools/graphics/mscgen/default.nix
@@ -21,7 +21,7 @@ stdenv.mkDerivation {
meta = {
homepage = http://www.mcternan.me.uk/mscgen/;
description = "Convert Message Sequence Chart descriptions into PNG, SVG, or EPS images";
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
longDescription = ''
Mscgen is a small program that parses Message Sequence Chart
diff --git a/pkgs/tools/graphics/panomatic/default.nix b/pkgs/tools/graphics/panomatic/default.nix
index 1a7c3317cf9f4ca2eebd4f61e4055d694a4a59e8..f14c16775f8d587a5cc14be35a78c072c438d45c 100644
--- a/pkgs/tools/graphics/panomatic/default.nix
+++ b/pkgs/tools/graphics/panomatic/default.nix
@@ -13,6 +13,6 @@ stdenv.mkDerivation {
meta = {
homepage = http://aorlinsk2.free.fr/panomatic/;
description = "Tool that automates the creation of control points in Hugin";
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
};
}
diff --git a/pkgs/tools/graphics/ploticus/default.nix b/pkgs/tools/graphics/ploticus/default.nix
index 857a86d57af1bf648e9caae87cefe4f68b1fdf07..92dce64dcfd46510d1e737005a7d1af1d485847a 100644
--- a/pkgs/tools/graphics/ploticus/default.nix
+++ b/pkgs/tools/graphics/ploticus/default.nix
@@ -23,7 +23,7 @@ stdenv.mkDerivation {
statistical capabilities. It allows significant user control
over colors, styles, options and details.'';
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
homepage = http://ploticus.sourceforge.net/;
};
}
diff --git a/pkgs/tools/graphics/plotutils/default.nix b/pkgs/tools/graphics/plotutils/default.nix
index bb250b9d85233336e90de2386ec1414082faf159..ae0c4d197315e4a65f5cd66034658ae5d71662be 100644
--- a/pkgs/tools/graphics/plotutils/default.nix
+++ b/pkgs/tools/graphics/plotutils/default.nix
@@ -42,7 +42,7 @@ stdenv.mkDerivation rec {
homepage = http://www.gnu.org/software/plotutils/;
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
maintainers = [
stdenv.lib.maintainers.marcweber
stdenv.lib.maintainers.ludo
diff --git a/pkgs/tools/graphics/pngtoico/default.nix b/pkgs/tools/graphics/pngtoico/default.nix
index df1046cb750ffc91efda808387a4161c271931e8..fe01a9459ecb4e28ff19c6379bd36fe8c11e7104 100644
--- a/pkgs/tools/graphics/pngtoico/default.nix
+++ b/pkgs/tools/graphics/pngtoico/default.nix
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://www.kernel.org/pub/software/graphics/pngtoico/;
description = "Small utility to convert a set of PNG images to Microsoft ICO format";
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
platforms = with stdenv.lib.platforms; linux;
};
}
diff --git a/pkgs/tools/graphics/pstoedit/default.nix b/pkgs/tools/graphics/pstoedit/default.nix
index 62816705b8f08ad781b0eff5b111eb3ebebbaccf..d4e977128cfee6db825166a8dc2826cdb05d6f1a 100644
--- a/pkgs/tools/graphics/pstoedit/default.nix
+++ b/pkgs/tools/graphics/pstoedit/default.nix
@@ -13,7 +13,7 @@ stdenv.mkDerivation {
meta = {
description = "translates PostScript and PDF graphics into other vector formats";
homepage = http://www.helga-glunz.homepage.t-online.de/pstoedit;
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
maintainers = [ stdenv.lib.maintainers.marcweber ];
platforms = stdenv.lib.platforms.linux;
};
diff --git a/pkgs/tools/inputmethods/fcitx/default.nix b/pkgs/tools/inputmethods/fcitx/default.nix
index 747c4b44ac80d327b702f4ec93c163b1de785464..2795b0d4d871b89f5f15daae44cb3dbe7b06cd70 100644
--- a/pkgs/tools/inputmethods/fcitx/default.nix
+++ b/pkgs/tools/inputmethods/fcitx/default.nix
@@ -36,7 +36,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = "https://code.google.com/p/fcitx/";
description = "A Flexible Input Method Framework";
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
platforms = stdenv.lib.platforms.linux;
maintainers = with stdenv.lib.maintainers; [iyzsong];
};
diff --git a/pkgs/tools/misc/aws-mturk-clt/default.nix b/pkgs/tools/misc/aws-mturk-clt/default.nix
index f2fe1d959303c9ae88266735b605621d5d1d8711..d2d29aae785dc6e51a0fd0ac905d837566378316 100644
--- a/pkgs/tools/misc/aws-mturk-clt/default.nix
+++ b/pkgs/tools/misc/aws-mturk-clt/default.nix
@@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = https://requester.mturk.com/developer;
description = "Command line tools for interacting with the Amazon Mechanical Turk";
- license = "unfree-redistributable";
+ license = "unfree-redistributable"; # Amazon http://aws.amazon.com/asl/
longDescription =
''
diff --git a/pkgs/tools/misc/bfr/default.nix b/pkgs/tools/misc/bfr/default.nix
index 024798a84e3fefd0df2b6e171a6c9b6937d21876..78383f4185d5871ed73bd05761aa6aecd149128a 100644
--- a/pkgs/tools/misc/bfr/default.nix
+++ b/pkgs/tools/misc/bfr/default.nix
@@ -13,6 +13,6 @@ stdenv.mkDerivation {
meta = {
description = "general-purpose command-line pipe buffer";
homepage = http://www.glines.org/wiki/bfr;
- license = "GPL2";
+ license = stdenv.lib.licenses.gpl2;
};
}
diff --git a/pkgs/tools/misc/bogofilter/default.nix b/pkgs/tools/misc/bogofilter/default.nix
index f7c121d825e29fcfd1bca7738bcbee584c545501..52d80a8812e02883ff32d33ad6e86032439ed755 100644
--- a/pkgs/tools/misc/bogofilter/default.nix
+++ b/pkgs/tools/misc/bogofilter/default.nix
@@ -21,6 +21,6 @@ stdenv.mkDerivation rec {
classifications and corrections. It is based on a Bayesian
filter.
'';
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
};
}
diff --git a/pkgs/tools/misc/coreutils/default.nix b/pkgs/tools/misc/coreutils/default.nix
index b0dbb049cbf75f623a1c5253fff3455423a22dd7..8844fe9c57cc0c3c105ca160d0c987601decdb33 100644
--- a/pkgs/tools/misc/coreutils/default.nix
+++ b/pkgs/tools/misc/coreutils/default.nix
@@ -75,7 +75,7 @@ let
operating system.
'';
- license = "GPLv3+";
+ license = stdenv.lib.licenses.gpl3Plus;
maintainers = [ ];
};
diff --git a/pkgs/tools/misc/cunit/default.nix b/pkgs/tools/misc/cunit/default.nix
index 35e4c3ab4d481b0fa537ff4ddd6be07ce2144d8c..ac9685b83f5dadaf2ccc804de699adc013b3c49c 100644
--- a/pkgs/tools/misc/cunit/default.nix
+++ b/pkgs/tools/misc/cunit/default.nix
@@ -19,7 +19,6 @@ stdenv.mkDerivation rec {
homepage = http://cunit.sourceforge.net/;
- license = "lgpl";
+ license = stdenv.lib.licenses.lgpl2;
};
}
-
diff --git a/pkgs/tools/misc/debian-devscripts/default.nix b/pkgs/tools/misc/debian-devscripts/default.nix
index ddf30f342d155aad54795f6f1eebcd9ad81edf81..49e158ea2d0499c5cfe9c3fdf1f5328ca0c96c88 100644
--- a/pkgs/tools/misc/debian-devscripts/default.nix
+++ b/pkgs/tools/misc/debian-devscripts/default.nix
@@ -30,7 +30,7 @@ stdenv.mkDerivation rec {
'';
meta = {
description = ''Debian package maintenance scripts'';
- license = "GPL (various)"; # Mix of public domain, Artistic+GPL, GPL1+, GPL2+, GPL3+, and GPL2-only...
+ license = "GPL (various)"; # Mix of public domain, Artistic+GPL, GPL1+, GPL2+, GPL3+, and GPL2-only... TODO
maintainers = with stdenv.lib.maintainers; [raskin];
};
}
diff --git a/pkgs/tools/misc/debootstrap/default.nix b/pkgs/tools/misc/debootstrap/default.nix
index aac7855827ccceb49ac10240d1ea0a3c86ba74ec..d37febcf506abc48fbc08f30454d077e1ea12557 100644
--- a/pkgs/tools/misc/debootstrap/default.nix
+++ b/pkgs/tools/misc/debootstrap/default.nix
@@ -105,7 +105,7 @@ stdenv.mkDerivation {
meta = {
description = "Tool to create a Debian system in a chroot";
homepage = http://packages.debian.org/de/lenny/debootstrap; # http://code.erisian.com.au/Wiki/debootstrap
- license = "GPL-2"; # gentoo says so.. ?
+ license = stdenv.lib.licenses.gpl2; # gentoo says so.. ?
maintainers = [ stdenv.lib.maintainers.marcweber ];
platforms = stdenv.lib.platforms.linux;
};
diff --git a/pkgs/tools/misc/detox/default.nix b/pkgs/tools/misc/detox/default.nix
index 435115ffc596f897888294e6d083cac8f77d3e1e..65a0047738bcafc08f74e17f926795772d331f15 100644
--- a/pkgs/tools/misc/detox/default.nix
+++ b/pkgs/tools/misc/detox/default.nix
@@ -19,6 +19,6 @@ stdenv.mkDerivation {
(or CP-1252) characters in them.
'';
homepage = "http://detox.sourceforge.net/";
- license = "bsd";
+ license = stdenv.lib.licenses.bsd3;
};
}
diff --git a/pkgs/tools/misc/emv/default.nix b/pkgs/tools/misc/emv/default.nix
new file mode 100644
index 0000000000000000000000000000000000000000..ee8b12ad89b5fa10c76d60f4560d96c4dac5b8d5
--- /dev/null
+++ b/pkgs/tools/misc/emv/default.nix
@@ -0,0 +1,25 @@
+{ stdenv, fetchurl }:
+
+stdenv.mkDerivation rec {
+ name = "emv-${version}";
+ version = "1.95";
+
+ src = fetchurl {
+ url = "http://www.i0i0.de/toolchest/emv";
+ sha256 = "7e0e12afa45ef5ed8025e5f2c6deea0ff5f512644a721f7b1b95b63406a8f7ce";
+ };
+
+ phases = [ "installPhase" ];
+
+ installPhase = ''
+ mkdir -pv $out/bin
+ cp $src $out/bin/emv
+ chmod +x $out/bin/emv
+ '';
+
+ meta = {
+ homepage = "http://www.i0i0.de/toolchest/emv";
+ description = "Editor Move: Rename files with your favourite text editor";
+ license = stdenv.lib.licenses.publicDomain;
+ };
+}
diff --git a/pkgs/tools/misc/fasd/default.nix b/pkgs/tools/misc/fasd/default.nix
index 77d1d58c30c211dad8e8cad89255f5285afaf104..1cbbb9720c9a02dcbd994815b304992f4dbe358a 100644
--- a/pkgs/tools/misc/fasd/default.nix
+++ b/pkgs/tools/misc/fasd/default.nix
@@ -20,7 +20,7 @@ stdenv.mkDerivation {
meta = {
homepage = "https://github.com/clvv/fasd";
description = "quick command-line access to files and directories for POSIX shells";
- license = "free";
+ license = "free"; # https://github.com/clvv/fasd/blob/master/LICENSE
longDescription = ''
Fasd is a command-line productivity booster.
@@ -33,5 +33,3 @@ stdenv.mkDerivation {
platforms = stdenv.lib.platforms.all;
};
}
-
-
diff --git a/pkgs/tools/misc/fdupes/default.nix b/pkgs/tools/misc/fdupes/default.nix
index 14e6a2f6681f5c7d8dd37e085c9c48766a57c04f..41c479e414b377bfde889a62283db821548dafde 100644
--- a/pkgs/tools/misc/fdupes/default.nix
+++ b/pkgs/tools/misc/fdupes/default.nix
@@ -19,7 +19,7 @@ stdenv.mkDerivation {
files within a set of directories.
'';
homepage = http://code.google.com/p/fdupes/;
- license = "MIT";
+ license = stdenv.lib.licenses.mit;
platforms = stdenv.lib.platforms.all;
maintainers = [
stdenv.lib.maintainers.z77z
diff --git a/pkgs/tools/misc/fileschanged/default.nix b/pkgs/tools/misc/fileschanged/default.nix
index d0a03f955a89a9af6bedf77bccbbded6b5eb484e..d6ae74e02b5e1a6f9a08bd106fca705de18d0acb 100644
--- a/pkgs/tools/misc/fileschanged/default.nix
+++ b/pkgs/tools/misc/fileschanged/default.nix
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = "http://www.nongnu.org/fileschanged/";
description = "A command-line utility that reports when files have been altered";
- license = "GPLv3+";
+ license = stdenv.lib.licenses.gpl3Plus;
longDescription = ''
This utility is a client to FAM (File Alteration Monitor) servers
diff --git a/pkgs/tools/misc/findutils/default.nix b/pkgs/tools/misc/findutils/default.nix
index 88cb2c313c0aa2fcec324c53432ab6542e08ebeb..a6ea96b77db58f67657661fea48ed036aede2c43 100644
--- a/pkgs/tools/misc/findutils/default.nix
+++ b/pkgs/tools/misc/findutils/default.nix
@@ -38,6 +38,6 @@ stdenv.mkDerivation rec {
* xargs - build and execute command lines from standard input.
'';
- license = "GPLv3+";
+ license = stdenv.lib.licenses.gpl3Plus;
};
}
diff --git a/pkgs/tools/misc/gbdfed/Makefile.patch b/pkgs/tools/misc/gbdfed/Makefile.patch
new file mode 100644
index 0000000000000000000000000000000000000000..9c437deca07cc125e07310e3a461507ac1896d86
--- /dev/null
+++ b/pkgs/tools/misc/gbdfed/Makefile.patch
@@ -0,0 +1,15 @@
+diff --git "a/Makefile.in" "b/Makefile.in"
+index b482958..472b8da 100644
+--- "a/Makefile.in"
++++ "b/Makefile.in"
+@@ -27,9 +27,7 @@ MKINSTALLDIRS = ./mkinstalldirs
+ CC = @CC@
+ CFLAGS = @XX_CFLAGS@ @CFLAGS@
+
+-DEFINES = @DEFINES@ -DG_DISABLE_DEPRECATED \
+- -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED \
+- -DGTK_DISABLE_DEPRECATED
++DEFINES = @DEFINES@
+
+ SRCS = bdf.c \
+ bdfcons.c \
diff --git a/pkgs/tools/misc/gbdfed/default.nix b/pkgs/tools/misc/gbdfed/default.nix
new file mode 100644
index 0000000000000000000000000000000000000000..104d3fad8d097fec262cc0556f7f5506c82cc69d
--- /dev/null
+++ b/pkgs/tools/misc/gbdfed/default.nix
@@ -0,0 +1,29 @@
+ { stdenv, fetchurl, pkgconfig, freetype, gtk }:
+
+stdenv.mkDerivation rec {
+ version = "1.6";
+ name = "gbdfed-${version}";
+
+ src = fetchurl {
+ url = "http://sofia.nmsu.edu/~mleisher/Software/gbdfed/${name}.tar.bz2";
+ sha256 = "0g09k6wim58hngxncq2brr7mwjm92j3famp0vs4b3p48wr65vcjx";
+ };
+
+ buildInputs = [ pkgconfig freetype gtk ];
+
+ patches = [ ./Makefile.patch ];
+
+ meta = {
+ description = "Bitmap Font Editor";
+ longDescription = ''
+ gbdfed lets you interactively create new bitmap font files or modify existing ones.
+ It allows editing multiple fonts and multiple glyphs,
+ it allows cut and paste operations between fonts and glyphs and editing font properties.
+ The editor works natively with BDF fonts.
+ '';
+ homepage = http://sofia.nmsu.edu/~mleisher/Software/gbdfed/;
+ license = stdenv.lib.licenses.mit;
+ maintainers = [ stdenv.lib.maintainers.linquize ];
+ platforms = stdenv.lib.platforms.all;
+ };
+}
diff --git a/pkgs/tools/misc/gparted/default.nix b/pkgs/tools/misc/gparted/default.nix
index 50af2a12c24ba5fb0a7395bcca7c47b1d3398edf..16c7f652decaf38cd3e846467d1f47a12bfaee1a 100644
--- a/pkgs/tools/misc/gparted/default.nix
+++ b/pkgs/tools/misc/gparted/default.nix
@@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
meta = {
description = "Graphical disk partitioning tool";
homepage = http://gparted.sourceforge.net;
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
platforms = with stdenv.lib.platforms; linux;
};
}
diff --git a/pkgs/tools/misc/grub/2.0x.nix b/pkgs/tools/misc/grub/2.0x.nix
index 17cd86014dd40466872e7370491dcdc39b4871de..b1877bdcf98cd129136c0288388b60ef0836bb03 100644
--- a/pkgs/tools/misc/grub/2.0x.nix
+++ b/pkgs/tools/misc/grub/2.0x.nix
@@ -89,7 +89,7 @@ stdenv.mkDerivation rec {
homepage = http://www.gnu.org/software/grub/;
- license = "GPLv3+";
+ license = stdenv.lib.licenses.gpl3Plus;
platforms = if EFIsupport then
[ "i686-linux" "x86_64-linux" ]
diff --git a/pkgs/tools/misc/gsmartcontrol/default.nix b/pkgs/tools/misc/gsmartcontrol/default.nix
index a937e96eed554055f8a61de13e9a692fe7d51cae..5f21559d471557429d005b1c2bae0d7c40f9c6eb 100644
--- a/pkgs/tools/misc/gsmartcontrol/default.nix
+++ b/pkgs/tools/misc/gsmartcontrol/default.nix
@@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
as well as run various tests on it.
'';
homepage = http://gsmartcontrol.sourceforge.net/;
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
maintainers = with stdenv.lib.maintainers; [qknight];
platforms = with stdenv.lib.platforms; linux;
};
diff --git a/pkgs/tools/misc/hddtemp/default.nix b/pkgs/tools/misc/hddtemp/default.nix
index f3c5dd02c7e5ab60d222652a242f4b290f5c602d..835ceb32881e4e071d905d67cc7ac69ce6e86f3a 100644
--- a/pkgs/tools/misc/hddtemp/default.nix
+++ b/pkgs/tools/misc/hddtemp/default.nix
@@ -26,6 +26,6 @@ stdenv.mkDerivation {
meta = {
description = "Tool for displaying hard disk temperature";
homepage = https://savannah.nongnu.org/projects/hddtemp/;
- license = "GPL2";
+ license = stdenv.lib.licenses.gpl2;
};
}
diff --git a/pkgs/tools/misc/heimdall/default.nix b/pkgs/tools/misc/heimdall/default.nix
index ab6102cf23c5c216d34d8159ab95a4ab8d0467de..227fba3d377eb6f25a3b6f40ec3b9978f9265a33 100644
--- a/pkgs/tools/misc/heimdall/default.nix
+++ b/pkgs/tools/misc/heimdall/default.nix
@@ -52,6 +52,6 @@ stdenv.mkDerivation {
meta = {
homepage = http://www.glassechidna.com.au/products/heimdall/;
description = "A cross-platform open-source tool suite used to flash firmware onto Samsung Galaxy S devices";
- license = "bsd";
+ license = stdenv.lib.licenses.mit;
};
}
diff --git a/pkgs/tools/misc/idutils/default.nix b/pkgs/tools/misc/idutils/default.nix
index e01a28ab1850f9168da3f6cd281cd4b40231c841..2b2f3aeaca3c9bc22f9a60d3e36e72c55c29bb84 100644
--- a/pkgs/tools/misc/idutils/default.nix
+++ b/pkgs/tools/misc/idutils/default.nix
@@ -46,7 +46,7 @@ stdenv.mkDerivation rec {
'';
homepage = http://www.gnu.org/software/idutils/;
- license = "GPLv3+";
+ license = stdenv.lib.licenses.gpl3Plus;
maintainers = [ ];
platforms = stdenv.lib.platforms.all;
diff --git a/pkgs/tools/misc/jdiskreport/default.nix b/pkgs/tools/misc/jdiskreport/default.nix
index fe9c46dac64f8320341df6f4b5f0c4e3e4ee9f26..2fa7122393143b33ce4214ce3e5a593aa4e2e050 100644
--- a/pkgs/tools/misc/jdiskreport/default.nix
+++ b/pkgs/tools/misc/jdiskreport/default.nix
@@ -17,6 +17,6 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://www.jgoodies.com/freeware/jdiskreport/;
description = "A graphical utility to visualize disk usage";
- license = "unfree-redistributable";
+ license = "unfree-redistributable"; #TODO freedist, libs under BSD-3
};
}
diff --git a/pkgs/tools/misc/kalibrate-rtl/default.nix b/pkgs/tools/misc/kalibrate-rtl/default.nix
new file mode 100644
index 0000000000000000000000000000000000000000..19870b8de5b8ae78fae48e6661248796ba02a452
--- /dev/null
+++ b/pkgs/tools/misc/kalibrate-rtl/default.nix
@@ -0,0 +1,30 @@
+{ stdenv, fetchgit, autoreconfHook, pkgconfig, fftw, rtl-sdr, libusb1 }:
+
+stdenv.mkDerivation rec {
+ name = "kalibrate-rtl-20131214";
+
+ # There are no tags/releases, so use the latest commit from git master.
+ # Currently, the latest commit is from 2013-12-14.
+ src = fetchgit {
+ url = "https://github.com/steve-m/kalibrate-rtl.git";
+ rev = "aae11c8a8dc79692a94ccfee39ba01e8c8c05d38";
+ sha256 = "1spbfflkqnw9s8317ppsf7b1nnkicqsmaqsnz1zf8i49ix70i6kn";
+ };
+
+ buildInputs = [ autoreconfHook pkgconfig fftw rtl-sdr libusb1 ];
+
+ meta = with stdenv.lib; {
+ description = "Calculate local oscillator frequency offset in RTL-SDR devices";
+ longDescription = ''
+ Kalibrate, or kal, can scan for GSM base stations in a given frequency
+ band and can use those GSM base stations to calculate the local
+ oscillator frequency offset.
+
+ This package is for RTL-SDR devices.
+ '';
+ homepage = https://github.com/steve-m/kalibrate-rtl;
+ license = licenses.bsd2;
+ platforms = platforms.linux;
+ maintainers = [ maintainers.bjornfor ];
+ };
+}
diff --git a/pkgs/tools/misc/kermit/default.nix b/pkgs/tools/misc/kermit/default.nix
index db2d6cffc40893265c72194978f499ae23920f06..ee521f04700604a68b32b3e2c1d66149d0b22888 100644
--- a/pkgs/tools/misc/kermit/default.nix
+++ b/pkgs/tools/misc/kermit/default.nix
@@ -30,6 +30,6 @@ stdenv.mkDerivation {
meta = {
homepage = "http://www.columbia.edu/kermit/ck80.html";
description = "Portable Scriptable Network and Serial Communication Software";
- license = "free";
+ license = "free non-commercial"; #Kermit http://www.columbia.edu/kermit/ckfaq.html#license
};
}
diff --git a/pkgs/tools/misc/keychain/default.nix b/pkgs/tools/misc/keychain/default.nix
index 2c2a547f2fdc5ce44acd4bfbc4e765119996d435..2eb63f09216fe4bf49d1e464adf4bf655391f85a 100644
--- a/pkgs/tools/misc/keychain/default.nix
+++ b/pkgs/tools/misc/keychain/default.nix
@@ -30,6 +30,6 @@ stdenv.mkDerivation {
meta = {
description = "Keychain management tool";
homepage = "http://www.gentoo.org/proj/en/keychain/";
- license = "GPL2";
+ license = stdenv.lib.licenses.gpl2;
};
}
diff --git a/pkgs/tools/misc/lockfile-progs/default.nix b/pkgs/tools/misc/lockfile-progs/default.nix
index 15c6258e86fd6716eee7346fa853ada25e0437ca..308b5217a6fc0f8fd87e1b6f64033e76b27c6cc7 100644
--- a/pkgs/tools/misc/lockfile-progs/default.nix
+++ b/pkgs/tools/misc/lockfile-progs/default.nix
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
meta = {
description = "Programs for locking and unlocking files and mailboxes";
homepage = http://packages.debian.org/sid/lockfile-progs;
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
maintainers = [ stdenv.lib.maintainers.bluescreen303 ];
platforms = stdenv.lib.platforms.all;
diff --git a/pkgs/tools/misc/logstash/default.nix b/pkgs/tools/misc/logstash/default.nix
index a613dad3ec9f4484a5ffe6056d9cd74ceb728606..15c99fff54c85a0bc5292f93cdec759b711d2ffe 100644
--- a/pkgs/tools/misc/logstash/default.nix
+++ b/pkgs/tools/misc/logstash/default.nix
@@ -1,11 +1,38 @@
-{ fetchurl }:
+{ stdenv, fetchurl }:
-let version = "1.3.3"; in
+stdenv.mkDerivation rec {
+ version = "1.4.2";
+ name = "logstash-${version}";
-fetchurl {
- url = "https://download.elasticsearch.org/logstash/logstash/logstash-${version}-flatjar.jar";
+ src = fetchurl {
+ url = "https://download.elasticsearch.org/logstash/logstash/logstash-${version}.tar.gz";
+ sha256 = "0sc0bwyf96fzs5h3d7ii65v9vvpfbm7w67vk1im9djnlz0d1ggnm";
+ };
- name = "logstash-${version}-flatjar.jar";
+ dontBuild = true;
+ dontPatchELF = true;
+ dontStrip = true;
+ dontPatchShebangs = true;
- sha256 = "a83503bd2aa32e1554b98f812d0b411fbc5f7b6b21cebb48b7d344474f2dfc6d";
+ installPhase = ''
+ ensureDir $out/bin
+ ensureDir $out/vendor
+ ensureDir $out/lib
+ ensureDir $out/locales
+ ensureDir $out/patterns
+ cp -a bin $out
+ cp -a vendor $out
+ cp -a lib $out
+ cp -a locales $out
+ cp -a patterns $out
+ patchShebangs $out/bin
+ '';
+
+ meta = {
+ description = "Open Source, Distributed, RESTful Search Engine";
+ homepage = http://www.elasticsearch.org;
+ license = stdenv.lib.licenses.asl20;
+ platforms = stdenv.lib.platforms.unix;
+ maintainers = [ stdenv.lib.maintainers.wjlroe ];
+ };
}
diff --git a/pkgs/tools/misc/lrzsz/default.nix b/pkgs/tools/misc/lrzsz/default.nix
new file mode 100644
index 0000000000000000000000000000000000000000..729faa7a95d9ac65285f9f61380403bf79e36e9f
--- /dev/null
+++ b/pkgs/tools/misc/lrzsz/default.nix
@@ -0,0 +1,19 @@
+{ stdenv, fetchurl }:
+
+stdenv.mkDerivation rec {
+ name = "lrzsz-0.12.20";
+
+ src = fetchurl {
+ url = "https://ohse.de/uwe/releases/${name}.tar.gz";
+ sha256 = "1wcgfa9fsigf1gri74gq0pa7pyajk12m4z69x7ci9c6x9fqkd2y2";
+ };
+
+ configureFlags = [ "--program-transform-name=s/^l//" ];
+
+ meta = with stdenv.lib; {
+ homepage = https://ohse.de/uwe/software/lrzsz.html;
+ description = "Communication package providing the XMODEM, YMODEM ZMODEM file transfer protocols";
+ license = licenses.gpl2;
+ platforms = platforms.unix;
+ };
+}
diff --git a/pkgs/tools/misc/mc/default.nix b/pkgs/tools/misc/mc/default.nix
index 594947ba13d5dc82bd0656d36e61f979d133c2be..94c08fa9ba9b8f202c15f17ef4ac7cc94d5d0ce0 100644
--- a/pkgs/tools/misc/mc/default.nix
+++ b/pkgs/tools/misc/mc/default.nix
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
description = "File Manager and User Shell for the GNU Project";
homepage = http://www.midnight-commander.org;
repositories.git = git://github.com/MidnightCommander/mc.git;
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
maintainers = [ stdenv.lib.maintainers.sander ];
};
}
diff --git a/pkgs/tools/misc/mcrypt/default.nix b/pkgs/tools/misc/mcrypt/default.nix
index 761b2c5bdbfbd35bb8d1737670191e0594b19b3e..ffd8966a80eb349412a25c8dcdaa33a7910b83bc 100644
--- a/pkgs/tools/misc/mcrypt/default.nix
+++ b/pkgs/tools/misc/mcrypt/default.nix
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
ever-wider range of algorithms and modes.
'';
homepage = http://mcrypt.sourceforge.net;
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
platforms = stdenv.lib.platforms.all;
maintainers = [ stdenv.lib.maintainers.qknight ];
};
diff --git a/pkgs/tools/misc/megacli/default.nix b/pkgs/tools/misc/megacli/default.nix
index 2b15d4470c36b3ca1bc29e28d8412343842f52a8..82650999b730ad24b007ae3d64c20a1a3ee52479 100644
--- a/pkgs/tools/misc/megacli/default.nix
+++ b/pkgs/tools/misc/megacli/default.nix
@@ -30,6 +30,6 @@ stdenv.mkDerivation rec {
meta = {
description = "CLI program for LSI MegaRAID cards, which also works with some Dell PERC RAID cards";
- license = "unfree";
+ license = stdenv.lib.licenses.unfree;
};
}
diff --git a/pkgs/tools/misc/mktorrent/default.nix b/pkgs/tools/misc/mktorrent/default.nix
index f177e9e84c2830a0fa27ef34cabf9e8dcdc0e9fd..3200c7016b662bdc35b186a4ba5a9f038e734b20 100644
--- a/pkgs/tools/misc/mktorrent/default.nix
+++ b/pkgs/tools/misc/mktorrent/default.nix
@@ -19,7 +19,7 @@ stdenv.mkDerivation {
meta = {
homepage = http://mktorrent.sourceforge.net/;
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
description = "Command line utility to create BitTorrent metainfo files";
platforms = with stdenv.lib.platforms; linux;
maintainers = with stdenv.lib.maintainers; [viric];
diff --git a/pkgs/tools/misc/most/default.nix b/pkgs/tools/misc/most/default.nix
index 941d805a6ffb269bc0b98591a4cf9e3cecabca4b..b7f7842680f6a6d288868de8efa914401935abc4 100644
--- a/pkgs/tools/misc/most/default.nix
+++ b/pkgs/tools/misc/most/default.nix
@@ -26,7 +26,7 @@ stdenv.mkDerivation {
windows and can scroll left and right. Why settle for less?
'';
homepage = http://www.jedsoft.org/most/index.html;
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
platforms = stdenv.lib.platforms.gnu; # random choice
};
}
diff --git a/pkgs/tools/misc/mssys/default.nix b/pkgs/tools/misc/mssys/default.nix
index a9d32205ceab01d120d388795578004cdc122fa1..6d3634ea7af9a72b3eacf49e2d03100e93b29d23 100644
--- a/pkgs/tools/misc/mssys/default.nix
+++ b/pkgs/tools/misc/mssys/default.nix
@@ -16,7 +16,7 @@ stdenv.mkDerivation {
meta = {
homepage = http://ms-sys.sourceforge.net/;
- license = "GPL";
+ license = stdenv.lib.licenses.gpl2;
description = "A program for writing Microsoft compatible boot records";
};
}
diff --git a/pkgs/tools/misc/mysql2pgsql/default.nix b/pkgs/tools/misc/mysql2pgsql/default.nix
index 5d93ef44b36b2cc659b6ea997c5fadb7dbda65b2..0dad6c2d33f3508a6cf75f20b4f9facc4d906dd0 100644
--- a/pkgs/tools/misc/mysql2pgsql/default.nix
+++ b/pkgs/tools/misc/mysql2pgsql/default.nix
@@ -23,6 +23,6 @@ stdenv.mkDerivation {
meta = {
description = "converts mysql dump files to psql loadable files ";
homepage = http://pgfoundry.org/projects/mysql2pgsql/;
- license = "GPL";
+ license = "BSD-Original";
};
}
diff --git a/pkgs/tools/misc/openopc/default.nix b/pkgs/tools/misc/openopc/default.nix
new file mode 100644
index 0000000000000000000000000000000000000000..2fce3807ca7ed3b61b6092bcda89e90b48923511
--- /dev/null
+++ b/pkgs/tools/misc/openopc/default.nix
@@ -0,0 +1,46 @@
+{ stdenv, fetchurl, pythonFull }:
+
+stdenv.mkDerivation rec {
+ name = "openopc-${version}";
+ version = "1.2.0";
+
+ src = fetchurl {
+ url = "mirror://sourceforge/project/openopc/openopc/${version}/OpenOPC-${version}.source.tar.bz2";
+ sha256 = "0mm77fiipz5zy82l6pr3wk18bfril81milv2rdxr954c4gw5smyd";
+ };
+
+ # There is no setup.py or any other "build system" file in the source archive.
+ installPhase = ''
+ mkdir -p "$out/bin"
+ mkdir -p "$out/share/doc/openopc"
+ mkdir -p "$out/${pythonFull.python.sitePackages}"
+ mkdir -p "$out/libexec/opc"
+
+ cp src/OpenOPC.py "$out/${pythonFull.python.sitePackages}"
+ cp src/opc.py "$out/libexec/opc/"
+
+ cat > "$out/bin/opc" << __EOF__
+ #!${stdenv.shell}
+ export PYTHONPATH="$out/${pythonFull.python.sitePackages}"
+ exec ${pythonFull}/bin/${pythonFull.python.executable} "$out/libexec/opc/opc.py" "\$@"
+ __EOF__
+ chmod a+x "$out/bin/opc"
+
+ cp -R *.txt doc/* "$out/share/doc/openopc/"
+
+ # Copy these MS Windows tools, for reference.
+ cp src/OpenOPCService.py src/SystemHealth.py "$out/libexec/opc/"
+ '';
+
+ meta = with stdenv.lib; {
+ description = "OPC (OLE for Process Control) toolkit designed for use with Python";
+ homepage = http://openopc.sourceforge.net/;
+ # """OpenOPC for Python is freely available under the terms of the GNU GPL.
+ # However, the OpenOPC library module is licensed under the "GPL + linking
+ # exception" license, which generally means that programs written using the
+ # OpenOPC library may be licensed under any terms."""
+ license = licenses.gpl2;
+ platforms = platforms.linux;
+ maintainers = [ maintainers.bjornfor ];
+ };
+}
diff --git a/pkgs/tools/misc/pal/default.nix b/pkgs/tools/misc/pal/default.nix
index fbc6d6076500235d2221064412945179c0c37d43..2a081b882ab854d8ce6a35a6889b06342443b3fa 100644
--- a/pkgs/tools/misc/pal/default.nix
+++ b/pkgs/tools/misc/pal/default.nix
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://palcal.sourceforge.net/;
description = "Command-line calendar program that can keep track of events";
- license = "BSD";
+ license = stdenv.lib.licenses.gpl2;
maintainers = with stdenv.lib.maintainers; [viric];
platforms = with stdenv.lib.platforms; linux;
};
diff --git a/pkgs/tools/misc/parallel/default.nix b/pkgs/tools/misc/parallel/default.nix
index fa6f147efe490411831ac29a5c4b045e03c83e63..df360bb9804d41344d2fa5ee3b6b013a1702c37a 100644
--- a/pkgs/tools/misc/parallel/default.nix
+++ b/pkgs/tools/misc/parallel/default.nix
@@ -43,7 +43,7 @@ stdenv.mkDerivation rec {
homepage = http://www.gnu.org/software/parallel/;
- license = "GPLv3+";
+ license = stdenv.lib.licenses.gpl3Plus;
platforms = stdenv.lib.platforms.all;
maintainers = [ ];
diff --git a/pkgs/tools/misc/parcellite/default.nix b/pkgs/tools/misc/parcellite/default.nix
index 54697f98414aa4dbb90c6760b8bfa504fc34f88e..d516e50124c860cc0fa09fead48c37067ef68d38 100644
--- a/pkgs/tools/misc/parcellite/default.nix
+++ b/pkgs/tools/misc/parcellite/default.nix
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
meta = {
description = "Lightweight GTK+ clipboard manager";
homepage = "http://parcellite.sourceforge.net";
- license = "GPLv3+";
+ license = stdenv.lib.licenses.gpl3Plus;
platforms = stdenv.lib.platforms.linux;
maintainers = with stdenv.lib.maintainers; [ iyzsong ];
};
diff --git a/pkgs/tools/misc/parted/default.nix b/pkgs/tools/misc/parted/default.nix
index 1d0c4f2a9e74b566e490dea64c7c0da23e2a6242..108d4d5e0400cb9ac931a1c1c3a1c43bf65482df 100644
--- a/pkgs/tools/misc/parted/default.nix
+++ b/pkgs/tools/misc/parted/default.nix
@@ -44,7 +44,7 @@ stdenv.mkDerivation rec {
'';
homepage = http://www.gnu.org/software/parted/;
- license = "GPLv3+";
+ license = stdenv.lib.licenses.gpl3Plus;
maintainers = [
# Add your name here!
diff --git a/pkgs/tools/misc/partition-manager/default.nix b/pkgs/tools/misc/partition-manager/default.nix
index 19a0df2616958a18fede7bc1c20fb6861c16e59f..156f03dad876f5dc25389d93d0437424c21740e3 100644
--- a/pkgs/tools/misc/partition-manager/default.nix
+++ b/pkgs/tools/misc/partition-manager/default.nix
@@ -33,7 +33,7 @@ stdenv.mkDerivation rec {
meta = {
description = "Utility program to help you manage the disk devices";
homepage = http://www.kde-apps.org/content/show.php/KDE+Partition+Manager?content=89595; # ?
- license = "GPL";
+ license = stdenv.lib.licenses.gpl2;
platforms = stdenv.lib.platforms.linux;
};
}
diff --git a/pkgs/tools/misc/picocom/default.nix b/pkgs/tools/misc/picocom/default.nix
index bb08091ad57a7f24f0149da8b1218dc95a737f90..6b4a0e3018fe5ac6c12872f6b14fa918fea72ffa 100644
--- a/pkgs/tools/misc/picocom/default.nix
+++ b/pkgs/tools/misc/picocom/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl }:
+{ stdenv, fetchurl, makeWrapper, lrzsz }:
stdenv.mkDerivation rec {
name = "picocom-1.7";
@@ -8,16 +8,21 @@ stdenv.mkDerivation rec {
sha256 = "17hjq713naq02xar711aw24qqd52p591mj1h5n97cni1ga7irwyh";
};
+ buildInputs = [ makeWrapper ];
+
installPhase = ''
ensureDir $out/bin $out/share/man/man8
cp picocom $out/bin
cp picocom.8 $out/share/man/man8
+
+ wrapProgram $out/bin/picocom \
+ --prefix PATH ":" "${lrzsz}/bin"
'';
meta = {
description = "Minimal dumb-terminal emulation program";
homepage = http://code.google.com/p/picocom/;
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
platforms = stdenv.lib.platforms.gnu; # arbitrary choice
};
}
diff --git a/pkgs/tools/misc/pk2cmd/default.nix b/pkgs/tools/misc/pk2cmd/default.nix
index 37636da72350642d7e90534f791ef49761eb0cb5..909ed0856bb925f3664f0b2d3257e1add0dad760 100644
--- a/pkgs/tools/misc/pk2cmd/default.nix
+++ b/pkgs/tools/misc/pk2cmd/default.nix
@@ -22,7 +22,7 @@ stdenv.mkDerivation {
meta = {
homepage = http://www.microchip.com/pickit2;
- license = "nonfree";
+ license = "nonfree"; #MicroChip-PK2
description = "Microchip PIC programming software for the PICKit2 programmer";
};
}
diff --git a/pkgs/tools/misc/ponysay/default.nix b/pkgs/tools/misc/ponysay/default.nix
index 1da0d70a14fac7cc1dc784e91b3dfaab03332d5c..031264f1edd06c24ff2ff78dd5e23f9ec2094696 100644
--- a/pkgs/tools/misc/ponysay/default.nix
+++ b/pkgs/tools/misc/ponysay/default.nix
@@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
meta = {
description = "Cowsay reimplemention for ponies";
homepage = http://terse.tk/ponysay/;
- license = "GPLv3";
+ license = stdenv.lib.licenses.gpl3;
maintainers = with stdenv.lib.maintainers; [ bodil ];
};
}
diff --git a/pkgs/tools/misc/proxytunnel/default.nix b/pkgs/tools/misc/proxytunnel/default.nix
index f5be7b8a46d84b0ac2d05d25b5a128c0f8f798ac..993a36ea9092a59543b408814691cf6bb55c584f 100644
--- a/pkgs/tools/misc/proxytunnel/default.nix
+++ b/pkgs/tools/misc/proxytunnel/default.nix
@@ -15,6 +15,6 @@ stdenv.mkDerivation {
meta = {
description = "program that connects stdin and stdout to a server somewhere on the network, through a standard HTTPS proxy";
homepage = http://proxytunnel.sourceforge.net/download.php;
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
};
}
diff --git a/pkgs/tools/misc/pv/default.nix b/pkgs/tools/misc/pv/default.nix
index d99fc1960ddd69ee11f79f166687da60969ab321..a8b6e046a9b2b0d88fcc6c47f375d10dd09bc1e9 100644
--- a/pkgs/tools/misc/pv/default.nix
+++ b/pkgs/tools/misc/pv/default.nix
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://www.ivarch.com/programs/pv;
description = "Tool for monitoring the progress of data through a pipeline";
- license = "free";
+ license = "Artistic-2";
maintainers = with stdenv.lib.maintainers; [viric];
platforms = with stdenv.lib.platforms; all;
};
diff --git a/pkgs/tools/misc/recutils/default.nix b/pkgs/tools/misc/recutils/default.nix
index e798ee669e2f0dd0a18bdc2082dc3bffe241153e..f2f5f37ebe44c033b91a0b958700ca24a465c57e 100644
--- a/pkgs/tools/misc/recutils/default.nix
+++ b/pkgs/tools/misc/recutils/default.nix
@@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
homepage = http://www.gnu.org/software/recutils/;
- license = "GPLv3+";
+ license = stdenv.lib.licenses.gpl3Plus;
platforms = stdenv.lib.platforms.all;
maintainers = [ ];
diff --git a/pkgs/tools/misc/remind/default.nix b/pkgs/tools/misc/remind/default.nix
index b679218db79b7b3ec65cefe14714f69eb16b8cd4..fe0f3d646b86432230f7fb00fa6fc9efa172e3b2 100644
--- a/pkgs/tools/misc/remind/default.nix
+++ b/pkgs/tools/misc/remind/default.nix
@@ -10,7 +10,7 @@ stdenv.mkDerivation {
meta = {
homepage = http://www.roaringpenguin.com/products/remind;
description = "Sophisticated calendar and alarm program for the console";
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
maintainers = with stdenv.lib.maintainers; [viric];
platforms = with stdenv.lib.platforms; linux;
};
diff --git a/pkgs/tools/misc/rrdtool/default.nix b/pkgs/tools/misc/rrdtool/default.nix
index 5270ddad35e70ea9f3db7344fe414b35b55d5ab4..7bc4701bb2fdd00294c5c864f7e9431c4bd3fe8f 100644
--- a/pkgs/tools/misc/rrdtool/default.nix
+++ b/pkgs/tools/misc/rrdtool/default.nix
@@ -11,7 +11,7 @@ stdenv.mkDerivation {
meta = {
homepage = http://oss.oetiker.ch/rrdtool/;
description = "High performance logging in Round Robin Databases";
- license = "GPL";
+ license = stdenv.lib.licenses.gpl2;
platforms = stdenv.lib.platforms.all;
};
}
diff --git a/pkgs/tools/misc/sl/default.nix b/pkgs/tools/misc/sl/default.nix
index 14cc6c4260f7d12b040f864eb521c6bfa01a0a19..7880b3e883f3b81f2920ed1dd58ec2ce35453d27 100644
--- a/pkgs/tools/misc/sl/default.nix
+++ b/pkgs/tools/misc/sl/default.nix
@@ -21,7 +21,7 @@ stdenv.mkDerivation {
meta = {
homepage = http://www.tkl.iis.u-tokyo.ac.jp/~toyoda/index_e.html;
- license = "unfree"; # I couldn't find its license, only a copyright.
+ license = stdenv.lib.licenses.unfree; # I couldn't find its license, only a copyright.
description = "Steam Locomotive runs across your terminal when you type 'sl'";
platforms = with stdenv.lib.platforms; linux;
};
diff --git a/pkgs/tools/misc/slsnif/default.nix b/pkgs/tools/misc/slsnif/default.nix
index c861fc6f73a3f6ae16343d9a459df11add5f8b7c..f3c1c278c76797309c37fb84be29795538006d3f 100644
--- a/pkgs/tools/misc/slsnif/default.nix
+++ b/pkgs/tools/misc/slsnif/default.nix
@@ -11,6 +11,6 @@ stdenv.mkDerivation {
meta = {
description = "Serial line sniffer";
homepage = http://slsnif.sourceforge.net/;
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
};
}
diff --git a/pkgs/tools/misc/stow/default.nix b/pkgs/tools/misc/stow/default.nix
index 58f30a021fa3e97a0c9182f5632c06eda84a9db5..a6afe475e3bd1ff3aeb2f376c0022552b1171a14 100644
--- a/pkgs/tools/misc/stow/default.nix
+++ b/pkgs/tools/misc/stow/default.nix
@@ -25,7 +25,7 @@ stdenv.mkDerivation {
as .../share, .../man, and so on.
'';
- license = "GPLv3+";
+ license = stdenv.lib.licenses.gpl3Plus;
homepage = http://www.gnu.org/software/stow/;
maintainers = with stdenv.lib.maintainers; [ the-kenny ];
diff --git a/pkgs/tools/misc/t1utils/default.nix b/pkgs/tools/misc/t1utils/default.nix
index 607674051549566458056b3045cc4c197923810d..5e473a5cd09312fc6fb1b5bb51ec66d6df400bf3 100644
--- a/pkgs/tools/misc/t1utils/default.nix
+++ b/pkgs/tools/misc/t1utils/default.nix
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
homepage = http://www.lcdf.org/type/;
# README from tarball says "BSD-like" and points to non-existing LICENSE
# file...
- license = "BSD-like";
+ license = "Click"; # MIT with extra clause, https://github.com/kohler/t1utils/blob/master/LICENSE
platforms = platforms.linux;
maintainers = [ maintainers.bjornfor ];
};
diff --git a/pkgs/tools/misc/testdisk/default.nix b/pkgs/tools/misc/testdisk/default.nix
index 73ac04dd34ec6e471e29e3e2587af1564068c9f8..fd237ac15f4acfb932a7180fbba61da213885803 100644
--- a/pkgs/tools/misc/testdisk/default.nix
+++ b/pkgs/tools/misc/testdisk/default.nix
@@ -14,7 +14,7 @@ stdenv.mkDerivation {
meta = {
homepage = http://www.cgsecurity.org/wiki/TestDisk;
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
platforms = stdenv.lib.platforms.linux;
maintainers = [ stdenv.lib.maintainers.eelco ];
longDescription = ''
diff --git a/pkgs/tools/misc/time/default.nix b/pkgs/tools/misc/time/default.nix
index 05ab7cc7ae70b0329ebcf71e5e02c535c9df0e0e..3a35e9a9f1cc68a3633d7aa9ff8b793ac47a5779 100644
--- a/pkgs/tools/misc/time/default.nix
+++ b/pkgs/tools/misc/time/default.nix
@@ -27,7 +27,7 @@ stdenv.mkDerivation {
`time' reports unavailable information as zero values.
'';
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
homepage = http://www.gnu.org/software/time/;
};
}
diff --git a/pkgs/tools/misc/timidity/default.nix b/pkgs/tools/misc/timidity/default.nix
index 89ff6f4677fcac6c650f7cbf5e6e83caaca68f17..afe75c572c0235b9fafa583daadb09f1c7bfc3a9 100644
--- a/pkgs/tools/misc/timidity/default.nix
+++ b/pkgs/tools/misc/timidity/default.nix
@@ -1,4 +1,4 @@
-{ composableDerivation, stdenv, fetchurl, alsaLib, jackaudio, ncurses }:
+{ composableDerivation, stdenv, fetchurl, alsaLib, jack2, ncurses }:
let inherit (composableDerivation) edf; in
@@ -30,8 +30,8 @@ composableDerivation.composableDerivation {} {
};
jack = {
audioModes = "jack";
- buildInputs = [jackaudio];
- NIX_LDFLAGS = ["-ljack -L${jackaudio}/lib64"];
+ buildInputs = [jack2];
+ NIX_LDFLAGS = ["-ljack -L${jack2}/lib64"];
};
} // edf { name = "ncurses"; enable = { buildInputs = [ncurses]; };};
diff --git a/pkgs/tools/misc/tmux/default.nix b/pkgs/tools/misc/tmux/default.nix
index 10e22c3aad03d8ab0be2c19d002149ffc7bc6185..5b656cc13e72044aaf06498d3ad86c965e6f5c42 100644
--- a/pkgs/tools/misc/tmux/default.nix
+++ b/pkgs/tools/misc/tmux/default.nix
@@ -2,12 +2,12 @@
stdenv.mkDerivation rec {
pname = "tmux";
- version = "1.9";
+ version = "1.9a";
name = "${pname}-${version}";
src = fetchurl {
url = "mirror://sourceforge/${pname}/${name}.tar.gz";
- sha256 = "09qykbcyvsspg6bfsdx2lp9b32dbybwn5k6kx4baib0k6l4wmriy";
+ sha256 = "1x9k4wfd4l5jg6fh7xkr3yyilizha6ka8m5b1nr0kw8wj0mv5qy5";
};
nativeBuildInputs = [ pkgconfig ];
diff --git a/pkgs/tools/misc/uucp/default.nix b/pkgs/tools/misc/uucp/default.nix
index f8ad1fd4d15ec8a505d96f82dc5093136ca4ce5a..bf73dbcbf2fcaad49e45f34a65123f38ccd60cf4 100644
--- a/pkgs/tools/misc/uucp/default.nix
+++ b/pkgs/tools/misc/uucp/default.nix
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
homepage = http://www.gnu.org/software/uucp/uucp.html;
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
platforms = stdenv.lib.platforms.all;
maintainers = [ ];
diff --git a/pkgs/tools/misc/wv2/default.nix b/pkgs/tools/misc/wv2/default.nix
index a3938c1af4c46c529fd46914ea8b305a5f8f7089..1c2c94ff89caceba49d9a6df4b0cb511e93f807d 100644
--- a/pkgs/tools/misc/wv2/default.nix
+++ b/pkgs/tools/misc/wv2/default.nix
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
meta = {
description = "Excellent MS Word filter lib, used in most Office suites";
- license = "LGPLv2";
+ license = stdenv.lib.licenses.lgpl2;
homepage = http://wvware.sourceforge.net;
};
}
diff --git a/pkgs/tools/misc/xburst-tools/default.nix b/pkgs/tools/misc/xburst-tools/default.nix
index cc9f98a94f60f3fdfe27c2bd06a53cd1b4cf8391..93a2707d1e984cbd943b3c3fb6c166ec030f42a0 100644
--- a/pkgs/tools/misc/xburst-tools/default.nix
+++ b/pkgs/tools/misc/xburst-tools/default.nix
@@ -30,7 +30,7 @@ stdenv.mkDerivation {
meta = {
description = "Qi tools to access the Ben Nanonote USB_BOOT mode";
- license = "GPLv3";
+ license = stdenv.lib.licenses.gpl3;
homepage = http://www.linux-mtd.infradead.org/;
maintainers = with stdenv.lib.maintainers; [viric];
platforms = with stdenv.lib.platforms; linux;
diff --git a/pkgs/tools/misc/xclip/default.nix b/pkgs/tools/misc/xclip/default.nix
index 1014f11453b9e6c4700e63411b25358faf838572..c830f1a3e2ee3a9f8c1737a27f851922bbbc93af 100644
--- a/pkgs/tools/misc/xclip/default.nix
+++ b/pkgs/tools/misc/xclip/default.nix
@@ -13,6 +13,6 @@ stdenv.mkDerivation rec {
meta = {
description = "Tool to access the X clipboard from a console application";
homepage = http://people.debian.org/~kims/xclip/;
- license = "GPL-2";
+ license = stdenv.lib.licenses.gpl2;
};
}
diff --git a/pkgs/tools/misc/xdaliclock/default.nix b/pkgs/tools/misc/xdaliclock/default.nix
index f6d6a2bacfa758113510bb1aafbfe68059f5a98c..79c6a743bce4ca4084aa0a6cb682bd8808b735a1 100644
--- a/pkgs/tools/misc/xdaliclock/default.nix
+++ b/pkgs/tools/misc/xdaliclock/default.nix
@@ -45,7 +45,7 @@ rec {
];
platforms = with a.lib.platforms;
linux ++ freebsd;
- license = "free";
+ license = "free"; #TODO BSD on Gentoo, looks like MIT
};
passthru = {
updateInfo = {
@@ -53,4 +53,3 @@ rec {
};
};
}) x
-
diff --git a/pkgs/tools/misc/xdummy/default.nix b/pkgs/tools/misc/xdummy/default.nix
new file mode 100644
index 0000000000000000000000000000000000000000..30aba19930c70e00cfca2a1f87884866f01c8aa0
--- /dev/null
+++ b/pkgs/tools/misc/xdummy/default.nix
@@ -0,0 +1,83 @@
+{ stdenv, writeText, writeScriptBin, xorg, xkeyboard_config }:
+
+let
+ xorgConfig = writeText "dummy-xorg.conf" ''
+ Section "ServerLayout"
+ Identifier "dummy_layout"
+ Screen 0 "dummy_screen"
+ InputDevice "dummy_keyboard" "CoreKeyboard"
+ InputDevice "dummy_mouse" "CorePointer"
+ EndSection
+
+ Section "ServerFlags"
+ Option "DontVTSwitch" "true"
+ Option "AllowMouseOpenFail" "true"
+ Option "PciForceNone" "true"
+ Option "AutoEnableDevices" "false"
+ Option "AutoAddDevices" "false"
+ EndSection
+
+ Section "Files"
+ ModulePath "${xorg.xorgserver}/lib/xorg/modules"
+ ModulePath "${xorg.xf86videodummy}/lib/xorg/modules"
+ XkbDir "${xkeyboard_config}/share/X11/xkb"
+ FontPath "${xorg.fontadobe75dpi}/lib/X11/fonts/75dpi"
+ FontPath "${xorg.fontadobe100dpi}/lib/X11/fonts/100dpi"
+ FontPath "${xorg.fontbhlucidatypewriter75dpi}/lib/X11/fonts/75dpi"
+ FontPath "${xorg.fontbhlucidatypewriter100dpi}/lib/X11/fonts/100dpi"
+ FontPath "${xorg.fontbh100dpi}/lib/X11/fonts/100dpi"
+ FontPath "${xorg.fontmiscmisc}/lib/X11/fonts/misc"
+ FontPath "${xorg.fontcursormisc}/lib/X11/fonts/misc"
+ EndSection
+
+ Section "Module"
+ Load "dbe"
+ Load "extmod"
+ Load "freetype"
+ Load "glx"
+ EndSection
+
+ Section "InputDevice"
+ Identifier "dummy_mouse"
+ Driver "void"
+ EndSection
+
+ Section "InputDevice"
+ Identifier "dummy_keyboard"
+ Driver "void"
+ EndSection
+
+ Section "Monitor"
+ Identifier "dummy_monitor"
+ HorizSync 30.0 - 130.0
+ VertRefresh 50.0 - 250.0
+ Option "DPMS"
+ EndSection
+
+ Section "Device"
+ Identifier "dummy_device"
+ Driver "dummy"
+ VideoRam 192000
+ EndSection
+
+ Section "Screen"
+ Identifier "dummy_screen"
+ Device "dummy_device"
+ Monitor "dummy_monitor"
+ DefaultDepth 24
+ SubSection "Display"
+ Depth 24
+ Modes "1280x1024"
+ EndSubSection
+ EndSection
+ '';
+
+in writeScriptBin "xdummy" ''
+ #!${stdenv.shell}
+ export XKB_BINDIR="${xorg.xkbcomp}/bin"
+ exec ${xorg.xorgserver}/bin/Xorg \
+ -noreset \
+ -logfile /dev/null \
+ "$@" \
+ -config "${xorgConfig}"
+''
diff --git a/pkgs/tools/networking/ahcpd/default.nix b/pkgs/tools/networking/ahcpd/default.nix
index 635d94a3e864d39b4f34846e0d1efd99f0c4b564..df8677bfffaf3168d9932c3466d0eebd54f51a4c 100644
--- a/pkgs/tools/networking/ahcpd/default.nix
+++ b/pkgs/tools/networking/ahcpd/default.nix
@@ -16,6 +16,6 @@ stdenv.mkDerivation rec {
meta = {
homepage = "http://www.pps.univ-paris-diderot.fr/~jch/software/ahcp/";
description = "Autoconfiguration protocol for IPv6 and dual-stack IPv6/IPv4 networks";
- license = "MIT";
+ license = stdenv.lib.licenses.mit;
};
}
diff --git a/pkgs/tools/networking/aircrack-ng/default.nix b/pkgs/tools/networking/aircrack-ng/default.nix
index 475d6775cde2c549a90da622f3729af861bf99cb..ce2ded24f8236921354a9fcf431ba83ca5966465 100644
--- a/pkgs/tools/networking/aircrack-ng/default.nix
+++ b/pkgs/tools/networking/aircrack-ng/default.nix
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
meta = with stdenv.lib; {
description = "Wireless encryption crackign tools";
homepage = http://www.aircrack-ng.org/;
- license = "GPL2+";
+ license = stdenv.lib.licenses.gpl2Plus;
maintainers = [ maintainers.iElectric maintainers.viric maintainers.garbas maintainers.chaoflow ];
platforms = platforms.linux;
};
diff --git a/pkgs/tools/networking/babeld/default.nix b/pkgs/tools/networking/babeld/default.nix
index 34bdd153f3ab02bc3f355c5193f81aadedaf4a9c..cfd72098261c3dbf1ad64f03825b6643c7e68a35 100644
--- a/pkgs/tools/networking/babeld/default.nix
+++ b/pkgs/tools/networking/babeld/default.nix
@@ -15,6 +15,6 @@ stdenv.mkDerivation rec {
meta = {
homepage = "http://www.pps.univ-paris-diderot.fr/~jch/software/babel/";
description = "Loop-avoiding distance-vector routing protocol";
- license = "MIT";
+ license = stdenv.lib.licenses.mit;
};
}
diff --git a/pkgs/tools/networking/bud/default.nix b/pkgs/tools/networking/bud/default.nix
new file mode 100644
index 0000000000000000000000000000000000000000..34e1a3964f67be8b76a58d2fb6b705b5b5d64fb2
--- /dev/null
+++ b/pkgs/tools/networking/bud/default.nix
@@ -0,0 +1,34 @@
+{ stdenv, lib, fetchgit, python, gyp, utillinux }:
+
+stdenv.mkDerivation rec {
+ name = "bud-${version}";
+
+ version = "0.25.0";
+
+ src = fetchgit {
+ url = "https://github.com/indutny/bud.git";
+ rev = "f65b9c3531dac1a5b3c962e01f3bed1d41ab5621";
+ sha256 = "000wwc88hsf6ccz8wxjn2af6l0nxm6a2fcad71xw35ymmdp9n5xg";
+ };
+
+ buildInputs = [
+ python gyp
+ ] ++ lib.optional stdenv.isLinux utillinux;
+
+ buildPhase = ''
+ python ./gyp_bud -f make
+ make -C out
+ '';
+
+ installPhase = ''
+ ensureDir $out/bin
+ cp out/Release/bud $out/bin
+ '';
+
+ meta = with lib; {
+ description = "A TLS terminating proxy";
+ license = licenses.mit;
+ platforms = with platforms; linux;
+ maintainers = with maintainers; [ cstrahan ];
+ };
+}
diff --git a/pkgs/tools/networking/cadaver/default.nix b/pkgs/tools/networking/cadaver/default.nix
new file mode 100644
index 0000000000000000000000000000000000000000..83073df0a98f769a0fe287b5b006d5d3e8e52e3a
--- /dev/null
+++ b/pkgs/tools/networking/cadaver/default.nix
@@ -0,0 +1,18 @@
+{ stdenv, fetchurl }:
+
+stdenv.mkDerivation rec {
+ name = "cadaver-0.23.3";
+
+ src = fetchurl {
+ url = "http://www.webdav.org/cadaver/${name}.tar.gz";
+ sha256 = "1jizq69ifrjbjvz5y79wh1ny94gsdby4gdxwjad4bfih6a5fck7x";
+ };
+
+ meta = with stdenv.lib; {
+ description = "A command-line WebDAV client for Unix";
+ homepage = http://www.webdav.org/cadaver;
+ maintainers = with maintainers; [ ianwookim ];
+ license = licenses.gpl2;
+ platforms = platforms.unix;
+ };
+}
diff --git a/pkgs/tools/networking/dropbear/default.nix b/pkgs/tools/networking/dropbear/default.nix
index 00e747da7c7eac1ac2e3b7642e09d01c72222460..1f7c8a449f3d186be276d973926a660a5e4b524f 100644
--- a/pkgs/tools/networking/dropbear/default.nix
+++ b/pkgs/tools/networking/dropbear/default.nix
@@ -42,6 +42,6 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://matt.ucc.asn.au/dropbear/dropbear.html;
description = "An small footprint implementation of the SSH 2 protocol";
- license = "mit";
+ license = stdenv.lib.licenses.mit;
};
}
diff --git a/pkgs/tools/networking/filegive/default.nix b/pkgs/tools/networking/filegive/default.nix
index a47a0397bf5a6435392cfee2f75feb1c41ef77c0..35cd66761329564ea4a44543d1c6cf724e6dd438 100644
--- a/pkgs/tools/networking/filegive/default.nix
+++ b/pkgs/tools/networking/filegive/default.nix
@@ -42,7 +42,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://viric.name/cgi-bin/filegive;
description = "Easy p2p file sending program";
- license = "AGPLv3+";
+ license = stdenv.lib.licenses.agpl3Plus;
maintainers = with stdenv.lib.maintainers; [viric];
platforms = with stdenv.lib.platforms; linux;
};
diff --git a/pkgs/tools/networking/flvstreamer/default.nix b/pkgs/tools/networking/flvstreamer/default.nix
index c9bc05658d03c4b46bd1ec98aa63bc9a293c15fa..f932212961256558c5f172c8283802a0d80c38ac 100644
--- a/pkgs/tools/networking/flvstreamer/default.nix
+++ b/pkgs/tools/networking/flvstreamer/default.nix
@@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
stream audio or video content from all types of flash or rtmp servers.
'';
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
homepage = http://savannah.nongnu.org/projects/flvstreamer;
diff --git a/pkgs/tools/networking/gftp/default.nix b/pkgs/tools/networking/gftp/default.nix
index e6b5cd9daabfb5370f7bc54503c22d983b528b41..e7aabcd9755414a7c0475300888489fcfb21fd29 100644
--- a/pkgs/tools/networking/gftp/default.nix
+++ b/pkgs/tools/networking/gftp/default.nix
@@ -13,6 +13,6 @@ stdenv.mkDerivation {
meta = {
description = "GTK+-based FTP client";
homepage = http://www.gftp.org;
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
};
}
diff --git a/pkgs/tools/networking/hyenae/default.nix b/pkgs/tools/networking/hyenae/default.nix
index d0821a4f588131c5b76c8e6586d53202fe935ad3..557fce6d94b3d6d80d6a2590d70775fcb42a7775 100644
--- a/pkgs/tools/networking/hyenae/default.nix
+++ b/pkgs/tools/networking/hyenae/default.nix
@@ -15,7 +15,7 @@ stdenv.mkDerivation {
meta = {
description = "";
homepage = http://sourceforge.net/projects/hyenae/;
- license = "GPLv3";
+ license = stdenv.lib.licenses.gpl3;
maintainers = [stdenv.lib.maintainers.marcweber];
platforms = stdenv.lib.platforms.linux;
};
diff --git a/pkgs/tools/networking/imapproxy/default.nix b/pkgs/tools/networking/imapproxy/default.nix
index 7af7f73aad925b46df62330d8b85243b554427b0..29f09b8cc1973e9becd3d8a5b8da62a82414fa83 100644
--- a/pkgs/tools/networking/imapproxy/default.nix
+++ b/pkgs/tools/networking/imapproxy/default.nix
@@ -16,6 +16,6 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://imapproxy.org/;
description = "It proxies IMAP transactions caching server connections";
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
};
}
diff --git a/pkgs/tools/networking/imapsync/default.nix b/pkgs/tools/networking/imapsync/default.nix
index c2c1320988a7a79e5b16517f88075c130162769e..1418ad63385c76b62f0d3341b48a5de3ccb4d58d 100644
--- a/pkgs/tools/networking/imapsync/default.nix
+++ b/pkgs/tools/networking/imapsync/default.nix
@@ -19,6 +19,6 @@ stdenv.mkDerivation rec {
meta = {
homepage = "http://www.linux-france.org/prj/imapsync/";
description = "Mail folder synchronizer between IMAP servers";
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
};
}
diff --git a/pkgs/tools/networking/inadyn/default.nix b/pkgs/tools/networking/inadyn/default.nix
index 99bc848824828c9dd67f7078494b1e4e7b94982f..ce90bed30106a312d5a57c28fe98db9552e22f99 100644
--- a/pkgs/tools/networking/inadyn/default.nix
+++ b/pkgs/tools/networking/inadyn/default.nix
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://inadyn.sourceforge.net/;
description = "Free dynamic DNS client";
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
maintainers = with stdenv.lib.maintainers; [viric];
platforms = with stdenv.lib.platforms; all;
};
diff --git a/pkgs/tools/networking/inetutils/default.nix b/pkgs/tools/networking/inetutils/default.nix
index 295cb0bf1391ba900d47a8104bb13f0652a2c3f0..20ee6da8a30ceec8e85e441d28312c1060255e7b 100644
--- a/pkgs/tools/networking/inetutils/default.nix
+++ b/pkgs/tools/networking/inetutils/default.nix
@@ -39,7 +39,7 @@ stdenv.mkDerivation rec {
'';
homepage = http://www.gnu.org/software/inetutils/;
- license = "GPLv3+";
+ license = stdenv.lib.licenses.gpl3Plus;
maintainers = [ stdenv.lib.maintainers.ludo ];
platforms = stdenv.lib.platforms.gnu;
diff --git a/pkgs/tools/networking/jnettop/default.nix b/pkgs/tools/networking/jnettop/default.nix
index 132d1832a9d53aee4707a14173dd8e37fbb0aec4..49753d189d63380e2c727543ec971e44eb67100e 100644
--- a/pkgs/tools/networking/jnettop/default.nix
+++ b/pkgs/tools/networking/jnettop/default.nix
@@ -23,6 +23,6 @@ stdenv.mkDerivation rec {
'';
homepage = http://jnettop.kubs.info/;
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
};
}
diff --git a/pkgs/tools/networking/lsh/default.nix b/pkgs/tools/networking/lsh/default.nix
index ab43813f923bc21fba7b41e143eac520465c8b68..b7146342b9f17ca1e0d39d63057258a2c6038e3f 100644
--- a/pkgs/tools/networking/lsh/default.nix
+++ b/pkgs/tools/networking/lsh/default.nix
@@ -41,7 +41,7 @@ stdenv.mkDerivation rec {
'';
homepage = http://www.lysator.liu.se/~nisse/lsh/;
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
maintainers = [ stdenv.lib.maintainers.ludo ];
};
diff --git a/pkgs/tools/networking/megatools/default.nix b/pkgs/tools/networking/megatools/default.nix
index 25dbd634c8c09dfbbb6d83df34fbcfc7f1ee11f8..5c1910f1d6eb0d2dcaeef02ee1965aff4064d900 100644
--- a/pkgs/tools/networking/megatools/default.nix
+++ b/pkgs/tools/networking/megatools/default.nix
@@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
meta = {
description = "Command line client for Mega.co.nz";
homepage = http://megatools.megous.com/;
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
maintainers = [ stdenv.lib.maintainers.viric ];
platforms = stdenv.lib.platforms.linux;
};
diff --git a/pkgs/tools/networking/mosh/default.nix b/pkgs/tools/networking/mosh/default.nix
index e781af7c235af3e47e60f2d07d28f328575acb79..5209e58ff246deb9256f3d1a688380a1ee5407bc 100644
--- a/pkgs/tools/networking/mosh/default.nix
+++ b/pkgs/tools/networking/mosh/default.nix
@@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
Mosh is a replacement for SSH. It's more robust and responsive,
especially over Wi-Fi, cellular, and long-distance links.
'';
- license = "GPLv3+";
+ license = stdenv.lib.licenses.gpl3Plus;
maintainers = with stdenv.lib.maintainers; [viric];
platforms = stdenv.lib.platforms.unix;
};
diff --git a/pkgs/tools/networking/mu/default.nix b/pkgs/tools/networking/mu/default.nix
index 1055ef90b12403bb065cff3249e7bf6ef65ed9ab..87f0db1946b5a505ee5d8d4e550890f84812b09f 100644
--- a/pkgs/tools/networking/mu/default.nix
+++ b/pkgs/tools/networking/mu/default.nix
@@ -38,7 +38,7 @@ stdenv.mkDerivation rec {
meta = {
description = "A collection of utilties for indexing and searching Maildirs";
- license = "GPLv3+";
+ license = stdenv.lib.licenses.gpl3Plus;
homepage = "http://www.djcbsoftware.nl/code/mu/";
platforms = stdenv.lib.platforms.mesaPlatforms;
maintainers = with stdenv.lib.maintainers; [ antono the-kenny ];
diff --git a/pkgs/tools/networking/nbd/default.nix b/pkgs/tools/networking/nbd/default.nix
index b2943eb2aced5ad57fe2625dbe0361f2e6ea7129..dffafe5c81695a0f4e3d1ab651a87ebbf8d29637 100644
--- a/pkgs/tools/networking/nbd/default.nix
+++ b/pkgs/tools/networking/nbd/default.nix
@@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = "http://nbd.sourceforge.net";
description = "map arbitrary files as block devices over the network";
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
maintainers = [ stdenv.lib.maintainers.simons ];
platforms = stdenv.lib.platforms.unix;
};
diff --git a/pkgs/tools/networking/netkit/tftp/default.nix b/pkgs/tools/networking/netkit/tftp/default.nix
index 16b8a1159b6ae7b883717f36b56c97c6727e72da..5752ff2a63c11fd7b8a07ce7fc63acff2ffc7533 100644
--- a/pkgs/tools/networking/netkit/tftp/default.nix
+++ b/pkgs/tools/networking/netkit/tftp/default.nix
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
meta = {
description = "Netkit TFTP client and server";
homepage = "ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/";
- license = "BSD";
+ license = "BSD-Original";
maintainers = with stdenv.lib.maintainers; [viric];
platforms = with stdenv.lib.platforms; linux;
};
diff --git a/pkgs/tools/networking/ngrep/default.nix b/pkgs/tools/networking/ngrep/default.nix
index 361d44eaca75b465ba7eb1efebfc91602834bcae..5c7840034b7f0f0d83676f20a4515fb04ad9b4cf 100644
--- a/pkgs/tools/networking/ngrep/default.nix
+++ b/pkgs/tools/networking/ngrep/default.nix
@@ -32,7 +32,7 @@ stdenv.mkDerivation rec {
# /doc/README.txt says that ngrep itself is licensed under a
# 'BSD-like' license but that the 'regex' library (in the ngrep tarball) is
# GPLv2.
- license = "BSD-like";
+ license = "ngrep"; # Some custom BSD-style, see LICENSE.txt
platforms = platforms.linux;
maintainers = [ maintainers.bjornfor ];
};
diff --git a/pkgs/tools/networking/nss-mdns/default.nix b/pkgs/tools/networking/nss-mdns/default.nix
index 7ef5eb17dc1428ea6ce3be260f5c7141a6add835..b3d4ec95e06193cd2655fd22fe06d22d4aa338a2 100644
--- a/pkgs/tools/networking/nss-mdns/default.nix
+++ b/pkgs/tools/networking/nss-mdns/default.nix
@@ -31,7 +31,7 @@ stdenv.mkDerivation rec {
'';
homepage = http://0pointer.de/lennart/projects/nss-mdns/;
- license = "LGPLv2+";
+ license = stdenv.lib.licenses.lgpl2Plus;
# Supports both the GNU and FreeBSD NSS.
platforms = stdenv.lib.platforms.gnu ++ stdenv.lib.platforms.freebsd;
diff --git a/pkgs/tools/networking/ntop/default.nix b/pkgs/tools/networking/ntop/default.nix
index d5fa2deb68dc3b10ec2f1fc9ccfbd84fad85e42c..11e67ae63336cb4ab1a42ac29f54bd86a2866f06 100644
--- a/pkgs/tools/networking/ntop/default.nix
+++ b/pkgs/tools/networking/ntop/default.nix
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
meta = {
description = "Traffic analysis with NetFlow and sFlow support";
- license = "GLPv3+";
+ license = stdenv.lib.licenses.gpl3Plus;
homepage = http://www.ntop.org/products/ntop/;
platforms = stdenv.lib.platforms.linux;
broken = true;
diff --git a/pkgs/tools/networking/nzbget/default.nix b/pkgs/tools/networking/nzbget/default.nix
index c5386553f4f1cadc8199b598175dfb27acbd7683..a97406ac7ed82fa542face1ee33c3ab0e96233c8 100644
--- a/pkgs/tools/networking/nzbget/default.nix
+++ b/pkgs/tools/networking/nzbget/default.nix
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://nzbget.sourceforge.net/;
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
description = "A command line tool for downloading files from news servers";
};
}
diff --git a/pkgs/tools/networking/openresolv/default.nix b/pkgs/tools/networking/openresolv/default.nix
index 666f3ad8ba715e5a0ec162e8c064c14322e2de03..b81c46c0b616763b8c17ca517b7b06da5de5425f 100644
--- a/pkgs/tools/networking/openresolv/default.nix
+++ b/pkgs/tools/networking/openresolv/default.nix
@@ -32,7 +32,7 @@ stdenv.mkDerivation rec {
meta = {
description = "A program to manage /etc/resolv.conf";
homepage = http://roy.marples.name/projects/openresolv;
- license = "bsd";
+ license = stdenv.lib.licenses.bsd2;
maintainers = [ stdenv.lib.maintainers.eelco ];
platforms = stdenv.lib.platforms.linux;
};
diff --git a/pkgs/tools/networking/openssh/default.nix b/pkgs/tools/networking/openssh/default.nix
index ea94560219f0c14fd7199faf055bd9ca238e897e..fec6679a14b03292170731e4b43ad277cee9eabf 100644
--- a/pkgs/tools/networking/openssh/default.nix
+++ b/pkgs/tools/networking/openssh/default.nix
@@ -80,7 +80,7 @@ stdenv.mkDerivation rec {
meta = with stdenv.lib; {
homepage = "http://www.openssh.org/";
description = "An implementation of the SSH protocol";
- license = "bsd";
+ license = "bsd"; # multi BSD GPL-2
platforms = platforms.unix;
maintainers = with maintainers; [ eelco ];
broken = hpnSupport; # cf. https://github.com/NixOS/nixpkgs/pull/1640
diff --git a/pkgs/tools/networking/openvpn/default.nix b/pkgs/tools/networking/openvpn/default.nix
index f06a36a96f5d90b459031845b9c71f962ede6a17..591bf26ff0b6948f087ae8aaa7b3db8c84628d3e 100644
--- a/pkgs/tools/networking/openvpn/default.nix
+++ b/pkgs/tools/networking/openvpn/default.nix
@@ -40,7 +40,7 @@ stdenv.mkDerivation rec {
meta = {
description = "A robust and highly flexible tunneling application";
homepage = http://openvpn.net/;
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
maintainers = [ stdenv.lib.maintainers.viric ];
platforms = stdenv.lib.platforms.linux;
};
diff --git a/pkgs/tools/networking/p2p/amule/default.nix b/pkgs/tools/networking/p2p/amule/default.nix
index ac848b5d72e2b0f5c0b24ab63e28cafba5a9691a..45a7392475848a43e5beab8d1a513047ed5c4224 100644
--- a/pkgs/tools/networking/p2p/amule/default.nix
+++ b/pkgs/tools/networking/p2p/amule/default.nix
@@ -61,7 +61,7 @@ mkDerivation rec {
applications.
'';
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
platforms = stdenv.lib.platforms.gnu; # arbitrary choice
maintainers = [ stdenv.lib.maintainers.phreedom ];
diff --git a/pkgs/tools/networking/p2p/seeks/default.nix b/pkgs/tools/networking/p2p/seeks/default.nix
index 835744c600049620ca89800550efff33f07b8f42..8c707e2fcc72e9f40bc716475a0282123feb7fda 100644
--- a/pkgs/tools/networking/p2p/seeks/default.nix
+++ b/pkgs/tools/networking/p2p/seeks/default.nix
@@ -40,7 +40,7 @@ stdenv.mkDerivation {
web indexes as users can push content directly to search groups.
'';
- license = "AGPLv3+";
+ license = stdenv.lib.licenses.agpl3Plus;
homepage = http://www.seeks-project.info/;
diff --git a/pkgs/tools/networking/pdnsd/default.nix b/pkgs/tools/networking/pdnsd/default.nix
index 6058639e412ab431f4219dcdc52f9de1701b8c85..40d57cd65b6316f148a942c137da0c71e1077426 100644
--- a/pkgs/tools/networking/pdnsd/default.nix
+++ b/pkgs/tools/networking/pdnsd/default.nix
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
meta = {
description = "Permanent DNS caching";
homepage = http://www.phys.uu.nl/~rombouts/pdnsd.html;
- license = "GPLv3+";
+ license = stdenv.lib.licenses.gpl3Plus;
platforms = stdenv.lib.platforms.unix;
maintainers = with stdenv.lib.maintainers; [viric];
};
diff --git a/pkgs/tools/networking/pdsh/default.nix b/pkgs/tools/networking/pdsh/default.nix
index 7a5b6b6c440d2102e6c6ae4b7c979a06df259b5c..fa3fc4472f3bab7de51d5a600dc5584f71cf5428 100644
--- a/pkgs/tools/networking/pdsh/default.nix
+++ b/pkgs/tools/networking/pdsh/default.nix
@@ -36,7 +36,7 @@ stdenv.mkDerivation {
meta = {
homepage = "http://code.google.com/p/pdsh/";
description = "High-performance, parallel remote shell utility";
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
longDescription = ''
Pdsh is a high-performance, parallel remote shell utility. It has
diff --git a/pkgs/tools/networking/proxychains/default.nix b/pkgs/tools/networking/proxychains/default.nix
index 6778cf94907ecfbf97d5398f9e080ec0cd7ea061..2835c9016ab47e684b7d8f05d39141a7651bccd4 100644
--- a/pkgs/tools/networking/proxychains/default.nix
+++ b/pkgs/tools/networking/proxychains/default.nix
@@ -10,6 +10,6 @@ stdenv.mkDerivation {
meta = {
description = "Proxifier for SOCKS proxies";
homepage = http://proxychains.sourceforge.net;
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
};
}
diff --git a/pkgs/tools/networking/pwnat/default.nix b/pkgs/tools/networking/pwnat/default.nix
index 63919edd5054c67df8b2ac1a9d73ec8b6d9c60fe..e2da224cfdcce5b87a23f5b8fd0c2d997714a5e3 100644
--- a/pkgs/tools/networking/pwnat/default.nix
+++ b/pkgs/tools/networking/pwnat/default.nix
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://samy.pl/pwnat/;
description = "ICMP NAT to NAT client-server communication";
- license = "GPLv3+";
+ license = stdenv.lib.licenses.gpl3Plus;
maintainers = with stdenv.lib.maintainers; [viric];
platforms = with stdenv.lib.platforms; linux;
};
diff --git a/pkgs/tools/networking/reaver-wps/default.nix b/pkgs/tools/networking/reaver-wps/default.nix
index a057985b48ccbb0a5de49d9f87411272896e5600..0c290db78a77bc2130c19745f822213fe5926496 100644
--- a/pkgs/tools/networking/reaver-wps/default.nix
+++ b/pkgs/tools/networking/reaver-wps/default.nix
@@ -21,6 +21,6 @@ stdenv.mkDerivation rec {
meta = {
description = "Brute force attack against Wifi Protected Setup";
homepage = http://code.google.com/p/reaver-wps;
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
};
}
diff --git a/pkgs/tools/networking/s3sync/default.nix b/pkgs/tools/networking/s3sync/default.nix
index 48788d36884cb895105a9a33ba702e620bb5c750..8390c70a4d3b3f08dedcee0160bcbcbeb66fbd46 100644
--- a/pkgs/tools/networking/s3sync/default.nix
+++ b/pkgs/tools/networking/s3sync/default.nix
@@ -24,6 +24,6 @@ stdenv.mkDerivation {
meta = {
homepage = http://s3sync.net/;
description = "Command-line tools to manipulate Amazon S3 buckets";
- license = "free-non-copyleft";
+ license = "free-non-copyleft"; # some custom as-is in file headers
};
}
diff --git a/pkgs/tools/networking/smbldaptools/default.nix b/pkgs/tools/networking/smbldaptools/default.nix
index 74e8a530560c857c614fbdfd53dd334b273a8ce7..af1849565fe2df5002a0406614219685f8349e18 100644
--- a/pkgs/tools/networking/smbldaptools/default.nix
+++ b/pkgs/tools/networking/smbldaptools/default.nix
@@ -26,6 +26,6 @@ stdenv.mkDerivation {
meta = {
homepage = http://gna.org/projects/smbldap-tools/;
description = "SAMBA LDAP tools";
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
};
}
diff --git a/pkgs/tools/networking/socat/2.x.nix b/pkgs/tools/networking/socat/2.x.nix
index 74b9b1bdf6aae746e5d64b9ee3acd110ef5f6d40..fbd249463812400c89270b55125cdba0e31d9058 100644
--- a/pkgs/tools/networking/socat/2.x.nix
+++ b/pkgs/tools/networking/socat/2.x.nix
@@ -10,11 +10,13 @@ stdenv.mkDerivation rec {
buildInputs = [ openssl ];
+ configureFlags = stdenv.lib.optionalString stdenv.isDarwin "--disable-ip6";
+
meta = {
description = "A utility for bidirectional data transfer between two independent data channels";
homepage = http://www.dest-unreach.org/socat/;
repositories.git = git://repo.or.cz/socat.git;
- platforms = stdenv.lib.platforms.linux;
+ platforms = stdenv.lib.platforms.unix;
license = stdenv.lib.licenses.gpl2;
maintainers = stdenv.lib.maintainers.eelco;
};
diff --git a/pkgs/tools/networking/swec/default.nix b/pkgs/tools/networking/swec/default.nix
index bf0c2f80694cd7969fe56cb3a43b7807e15c2436..3e8f3ca3dc5924b79c89374259853ea799e1cb59 100644
--- a/pkgs/tools/networking/swec/default.nix
+++ b/pkgs/tools/networking/swec/default.nix
@@ -66,7 +66,7 @@ stdenv.mkDerivation rec {
(well, not exactly true, SWEC will ignore robots.txt).
'';
- license = "GPLv3+";
+ license = stdenv.lib.licenses.gpl3Plus;
maintainers = [ ];
};
diff --git a/pkgs/tools/networking/udptunnel/default.nix b/pkgs/tools/networking/udptunnel/default.nix
index 88ee926e40651201b27578d1d18fa3bbde98be21..36fdbfac72319278957b762f23f3ec8f23d8d40c 100644
--- a/pkgs/tools/networking/udptunnel/default.nix
+++ b/pkgs/tools/networking/udptunnel/default.nix
@@ -17,7 +17,7 @@ stdenv.mkDerivation {
meta = {
homepage = http://code.google.com/p/udptunnel/;
description = "Tunnels TCP over UDP packets";
- license = "GPLv3+";
+ license = stdenv.lib.licenses.gpl3Plus;
maintainers = with stdenv.lib.maintainers; [viric];
platforms = with stdenv.lib.platforms; linux;
};
diff --git a/pkgs/tools/networking/uwimap/default.nix b/pkgs/tools/networking/uwimap/default.nix
index 54390d4f9eee9358e700683b1a9ac6c96f0a9f61..1da9ca96984140f5f908830b9ac3911aa239577e 100644
--- a/pkgs/tools/networking/uwimap/default.nix
+++ b/pkgs/tools/networking/uwimap/default.nix
@@ -36,7 +36,7 @@ stdenv.mkDerivation {
meta = {
homepage = http://www.washington.edu/imap/;
description = "UW IMAP toolkit - IMAP-supporting software developed by the UW";
- license = "Apache2";
+ license = stdenv.lib.licenses.asl20;
platforms = with stdenv.lib.platforms; linux;
};
diff --git a/pkgs/tools/networking/vpnc/default.nix b/pkgs/tools/networking/vpnc/default.nix
index 8619cd95409049d6887f158fe98dd6d7a1eb6a44..1386f7133e54657c71ae76d9db2968eec18fa757 100644
--- a/pkgs/tools/networking/vpnc/default.nix
+++ b/pkgs/tools/networking/vpnc/default.nix
@@ -41,7 +41,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = "http://www.unix-ag.uni-kl.de/~massar/vpnc/";
description = "virtual private network (VPN) client for Cisco's VPN concentrators";
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
platforms = stdenv.lib.platforms.linux;
maintainers = [ stdenv.lib.maintainers.simons ];
diff --git a/pkgs/tools/networking/vtun/default.nix b/pkgs/tools/networking/vtun/default.nix
index 3f3a0dc89936af0314392c6de2fa953f49fa9950..e32ee43113eb448593bb393ebad916756cbfd0e0 100644
--- a/pkgs/tools/networking/vtun/default.nix
+++ b/pkgs/tools/networking/vtun/default.nix
@@ -20,6 +20,6 @@ stdenv.mkDerivation {
meta = {
description="Virtual Tunnels over TCP/IP with traffic shaping, compression and encryption";
homepage="http://vtun.sourceforge.net/";
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
};
}
diff --git a/pkgs/tools/networking/wakelan/default.nix b/pkgs/tools/networking/wakelan/default.nix
index 837ab3627faf78efdbe94cf7d01f47187e839fc8..4f8717e9a11e391d2c07f4abbb7fe328bb1b0a6e 100644
--- a/pkgs/tools/networking/wakelan/default.nix
+++ b/pkgs/tools/networking/wakelan/default.nix
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
power on.
'';
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
maintainers = [ stdenv.lib.maintainers.viric ];
platforms = stdenv.lib.platforms.linux;
diff --git a/pkgs/tools/networking/wget/default.nix b/pkgs/tools/networking/wget/default.nix
index c8698215525451c49b4425577e25cc459b1401e7..6ff5439c4bc627cca4129b146f8d1e8c7d202187 100644
--- a/pkgs/tools/networking/wget/default.nix
+++ b/pkgs/tools/networking/wget/default.nix
@@ -45,7 +45,7 @@ stdenv.mkDerivation rec {
scripts, cron jobs, terminals without X-Windows support, etc.
'';
- license = "GPLv3+";
+ license = stdenv.lib.licenses.gpl3Plus;
homepage = http://www.gnu.org/software/wget/;
diff --git a/pkgs/tools/package-management/disnix/DisnixWebService/default.nix b/pkgs/tools/package-management/disnix/DisnixWebService/default.nix
index 381cb21ec1b2fd23a289cdf6070c94de430a4fd4..291f7e36ce064d19cf840c5c9e1c66f23afeec83 100644
--- a/pkgs/tools/package-management/disnix/DisnixWebService/default.nix
+++ b/pkgs/tools/package-management/disnix/DisnixWebService/default.nix
@@ -21,7 +21,7 @@ stdenv.mkDerivation {
meta = {
description = "A SOAP interface and client for Disnix";
- license = "MIT";
+ license = stdenv.lib.licenses.mit;
maintainers = [ stdenv.lib.maintainers.sander ];
};
}
diff --git a/pkgs/tools/package-management/disnix/default.nix b/pkgs/tools/package-management/disnix/default.nix
index d89ab7667e82da8e68d4a111db163b2dbb41bca7..61e998fd545ef0051fde7987683ffa40b4990cf1 100644
--- a/pkgs/tools/package-management/disnix/default.nix
+++ b/pkgs/tools/package-management/disnix/default.nix
@@ -14,7 +14,7 @@ stdenv.mkDerivation {
meta = {
description = "A distributed deployment extension for Nix";
- license = "LGPLv2.1+";
+ license = stdenv.lib.licenses.lgpl21Plus;
maintainers = [ stdenv.lib.maintainers.sander ];
};
}
diff --git a/pkgs/tools/package-management/disnix/disnixos/default.nix b/pkgs/tools/package-management/disnix/disnixos/default.nix
index 7420353499f5bf59314a6f24c256f9bec3141cc5..65ae91f6e187fb84d922a29b163fff7f5a3f4ced 100644
--- a/pkgs/tools/package-management/disnix/disnixos/default.nix
+++ b/pkgs/tools/package-management/disnix/disnixos/default.nix
@@ -14,7 +14,7 @@ stdenv.mkDerivation {
meta = {
description = "Provides complementary NixOS infrastructure deployment to Disnix";
- license = "LGPLv2.1+";
+ license = stdenv.lib.licenses.lgpl21Plus;
maintainers = [ stdenv.lib.maintainers.sander ];
};
}
diff --git a/pkgs/tools/package-management/disnix/dysnomia/default.nix b/pkgs/tools/package-management/disnix/dysnomia/default.nix
index d2f3ae6468c70a970b6497e1e6933965b8640db3..a1914224dbdb4d8f6ada92e0592b1f40ec360fcf 100644
--- a/pkgs/tools/package-management/disnix/dysnomia/default.nix
+++ b/pkgs/tools/package-management/disnix/dysnomia/default.nix
@@ -47,7 +47,7 @@ stdenv.mkDerivation {
meta = {
description = "Automated deployment of mutable components and services for Disnix";
- license = "MIT";
+ license = stdenv.lib.licenses.mit;
maintainers = [ stdenv.lib.maintainers.sander ];
};
}
diff --git a/pkgs/tools/package-management/guix/default.nix b/pkgs/tools/package-management/guix/default.nix
index 7c4a098cad8a69a0c7dec05fa4985251cdfc8491..b4b3c98505e9041abdcad89b9afb1c688858f423 100644
--- a/pkgs/tools/package-management/guix/default.nix
+++ b/pkgs/tools/package-management/guix/default.nix
@@ -59,7 +59,7 @@ in stdenv.mkDerivation rec {
Guix is based on the Nix package manager.
'';
- license = "GPLv3+";
+ license = stdenv.lib.licenses.gpl3Plus;
maintainers = [ stdenv.lib.maintainers.ludo ];
platforms = stdenv.lib.platforms.linux;
diff --git a/pkgs/tools/package-management/nix/default.nix b/pkgs/tools/package-management/nix/default.nix
index 16a276273cc345bb6f3ac9bb82847e8e39df70f6..b2e86935b50df5082714375e41c8f0570579a5b2 100644
--- a/pkgs/tools/package-management/nix/default.nix
+++ b/pkgs/tools/package-management/nix/default.nix
@@ -68,7 +68,7 @@ stdenv.mkDerivation rec {
meta = {
description = "The Nix Deployment System";
homepage = http://nixos.org/;
- license = "LGPLv2+";
+ license = stdenv.lib.licenses.lgpl2Plus;
maintainers = [ stdenv.lib.maintainers.eelco ];
platforms = stdenv.lib.platforms.all;
};
diff --git a/pkgs/tools/package-management/nix/unstable.nix b/pkgs/tools/package-management/nix/unstable.nix
index 25a71a2d5073b7afbdf6480f17928e8754109464..8e60413413f9f85b88b485aec0fcf7982a9ccc0c 100644
--- a/pkgs/tools/package-management/nix/unstable.nix
+++ b/pkgs/tools/package-management/nix/unstable.nix
@@ -5,11 +5,11 @@
}:
stdenv.mkDerivation rec {
- name = "nix-1.8pre3679_f609eec";
+ name = "nix-1.8pre3711_45f9a91";
src = fetchurl {
- url = "http://hydra.nixos.org/build/12606291/download/5/${name}.tar.xz";
- sha256 = "d185c00db8c1ab977d37695da0130628290af8dc315b3e24aa24d3ee25cdf875";
+ url = "http://hydra.nixos.org/build/12967850/download/5/${name}.tar.xz";
+ sha256 = "826d2cc0f6a140b7b93bb31f4ef67cb04bda6423239c58d0e9c33d70434023eb";
};
nativeBuildInputs = [ perl pkgconfig ];
@@ -70,7 +70,7 @@ stdenv.mkDerivation rec {
meta = {
description = "The Nix Deployment System";
homepage = http://nixos.org/;
- license = "LGPLv2+";
+ license = stdenv.lib.licenses.lgpl2Plus;
maintainers = [ stdenv.lib.maintainers.eelco ];
platforms = stdenv.lib.platforms.all;
};
diff --git a/pkgs/tools/security/aespipe/default.nix b/pkgs/tools/security/aespipe/default.nix
index 96de0e0fbe4a07f38c147b19da4f230d648a3cd2..dbbdb8e57a66d94a962d064a87a001e33be5c544 100644
--- a/pkgs/tools/security/aespipe/default.nix
+++ b/pkgs/tools/security/aespipe/default.nix
@@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
meta = {
description = "AES encrypting or decrypting pipe";
homepage = http://loop-aes.sourceforge.net/aespipe.README;
- license = "GPL";
+ license = stdenv.lib.licenses.gpl2;
maintainers = stdenv.lib.maintainers.goibhniu;
platforms = stdenv.lib.platforms.linux;
};
diff --git a/pkgs/tools/security/ccid/default.nix b/pkgs/tools/security/ccid/default.nix
index 458111be4006fe106f5a6d131c69fe9b8d3286f5..42af2e0b57e8750bba1cae464a4dae1a2176ec79 100644
--- a/pkgs/tools/security/ccid/default.nix
+++ b/pkgs/tools/security/ccid/default.nix
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
meta = {
description = "ccid drivers for pcsclite";
homepage = http://pcsclite.alioth.debian.org/;
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
maintainers = with stdenv.lib.maintainers; [viric];
platforms = with stdenv.lib.platforms; linux;
};
diff --git a/pkgs/tools/security/ccrypt/default.nix b/pkgs/tools/security/ccrypt/default.nix
index 0d4841bf036b696e840d48cd203957cd1312f2d2..e6a63a2f288221beccb2e753e0ded470b3b7dbcd 100644
--- a/pkgs/tools/security/ccrypt/default.nix
+++ b/pkgs/tools/security/ccrypt/default.nix
@@ -13,7 +13,7 @@ stdenv.mkDerivation {
meta = {
homepage = http://ccrypt.sourceforge.net/;
description = "Utility for encrypting and decrypting files and streams with AES-256";
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
maintainers = with stdenv.lib.maintainers; [viric];
platforms = with stdenv.lib.platforms; all;
};
diff --git a/pkgs/tools/security/gnupg/git.nix b/pkgs/tools/security/gnupg/git.nix
index 3d7db862dce088f8d04eeae1db536da99ca39a5b..69a0a68319fd51dbad88f1a65a541bb0435346f6 100644
--- a/pkgs/tools/security/gnupg/git.nix
+++ b/pkgs/tools/security/gnupg/git.nix
@@ -52,6 +52,6 @@ stdenv.mkDerivation rec {
homepage = http://gnupg.org/;
- license = "GPLv3+";
+ license = stdenv.lib.licenses.gpl3Plus;
};
}
diff --git a/pkgs/tools/security/gnupg1/default.nix b/pkgs/tools/security/gnupg1/default.nix
index a25ae35b6cc99f3ac4576febb75fc33adf4831e5..53f784396a72a72bbf71f52a99ca87eb073ad9b0 100644
--- a/pkgs/tools/security/gnupg1/default.nix
+++ b/pkgs/tools/security/gnupg1/default.nix
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
meta = {
description = "free implementation of the OpenPGP standard for encrypting and signing data";
homepage = http://www.gnupg.org/;
- license = "GPLv3+";
+ license = stdenv.lib.licenses.gpl3Plus;
platforms = stdenv.lib.platforms.gnu; # arbitrary choice
};
}
diff --git a/pkgs/tools/security/meo/default.nix b/pkgs/tools/security/meo/default.nix
index 31736123a9f2a4c78624eae05995f27fd817e439..0a96dbadff750bf92dc9482fc8f3d051e3c02466 100644
--- a/pkgs/tools/security/meo/default.nix
+++ b/pkgs/tools/security/meo/default.nix
@@ -27,7 +27,7 @@ stdenv.mkDerivation {
meta = {
homepage = http://oss.stamfest.net/wordpress/meo-multiple-eyepairs-only;
description = "Tools to use cryptography for things like four-eyes principles";
- license = "AGPLv3+";
+ license = stdenv.lib.licenses.agpl3Plus;
maintainers = with stdenv.lib.maintainers; [viric];
platforms = with stdenv.lib.platforms; linux;
};
diff --git a/pkgs/tools/security/muscletool/default.nix b/pkgs/tools/security/muscletool/default.nix
index c9648fbe404d2286641616760e27e2f211dca19e..ac9ccc5920546e86ff71d29721867685f3123661 100644
--- a/pkgs/tools/security/muscletool/default.nix
+++ b/pkgs/tools/security/muscletool/default.nix
@@ -12,7 +12,7 @@ stdenv.mkDerivation {
meta = {
description = "Smart card applications for use with MUSCLE plugins";
homepage = http://muscleapps.alioth.debian.org/;
- license = "BSD";
+ license = "BSD"; # http://anonscm.debian.org/viewvc/muscleapps/trunk/muscleTool/COPYING?view=markup
maintainers = with stdenv.lib.maintainers; [viric];
platforms = with stdenv.lib.platforms; linux;
};
diff --git a/pkgs/tools/security/pinentry/default.nix b/pkgs/tools/security/pinentry/default.nix
index 4d1d55244c0bc3780a3d79210b8b2ea0020b4387..038044ad68101741630369ee5f541dcb9f169086 100644
--- a/pkgs/tools/security/pinentry/default.nix
+++ b/pkgs/tools/security/pinentry/default.nix
@@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = "http://gnupg.org/aegypten2/";
description = "GnuPG's interface to passphrase input";
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
longDescription = ''
Pinentry provides a console and a GTK+ GUI that allows users to
diff --git a/pkgs/tools/security/pius/default.nix b/pkgs/tools/security/pius/default.nix
index e693143e4c417f023ec8d68ee590051a07ccc32d..2a4995f45794aff9e5f75207f0fb382d27a38bde 100644
--- a/pkgs/tools/security/pius/default.nix
+++ b/pkgs/tools/security/pius/default.nix
@@ -38,7 +38,7 @@ stdenv.mkDerivation {
to the process.
'';
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
platforms = stdenv.lib.platforms.gnu;
maintainers = [ ];
diff --git a/pkgs/tools/security/tor/default.nix b/pkgs/tools/security/tor/default.nix
index 57c4a9c56621484ff1b106fb1d98155b561b5ff5..d71bbd891f916cf6abccd793a249c708ab76aeb1 100644
--- a/pkgs/tools/security/tor/default.nix
+++ b/pkgs/tools/security/tor/default.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, libevent, openssl, zlib }:
stdenv.mkDerivation rec {
- name = "tor-0.2.4.22";
+ name = "tor-0.2.4.23";
src = fetchurl {
url = "https://archive.torproject.org/tor-package-archive/${name}.tar.gz";
- sha256 = "0k39ppcvld6p08yaf4rpspb34z4f5863j0d605yrm4dqjcp99xvb";
+ sha256 = "0a8l6d82hk4wbn7nlphd3c1maxhgdli8338wbg5r9dk6zcy7k8q5";
};
buildInputs = [ libevent openssl zlib ];
diff --git a/pkgs/tools/security/tor/torsocks.nix b/pkgs/tools/security/tor/torsocks.nix
index 0254b143edfdcf251ff7d688fc4df64954f72cf4..f8e76c4e83b14d4ed95e8500e45e5e67ea0259b9 100644
--- a/pkgs/tools/security/tor/torsocks.nix
+++ b/pkgs/tools/security/tor/torsocks.nix
@@ -19,6 +19,6 @@ stdenv.mkDerivation rec {
description = "use socks-friendly applications with Tor";
homepage = http://code.google.com/p/torsocks/;
repositories.git = https://git.torproject.org/torsocks.git;
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
};
}
diff --git a/pkgs/tools/system/acct/default.nix b/pkgs/tools/system/acct/default.nix
index cd9519590cc4dc5be7c5f118e04a77183761cc33..071504368b7f2a63a8d0df1a7f9778d5ba6a98bd 100644
--- a/pkgs/tools/system/acct/default.nix
+++ b/pkgs/tools/system/acct/default.nix
@@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
execution statistics.
'';
- license = "GPLv3+";
+ license = stdenv.lib.licenses.gpl3Plus;
homepage = http://www.gnu.org/software/acct/;
diff --git a/pkgs/tools/system/ansible/default.nix b/pkgs/tools/system/ansible/default.nix
index 7d96092a3ceb92192e3eeaac343c1e8e1261346b..b3d40712926caa3d45374950307059c61a39bc62 100644
--- a/pkgs/tools/system/ansible/default.nix
+++ b/pkgs/tools/system/ansible/default.nix
@@ -1,13 +1,13 @@
{ stdenv, fetchurl, pythonPackages, python }:
pythonPackages.buildPythonPackage rec {
- version = "1.6.1";
+ version = "1.6.10";
name = "ansible-${version}";
namePrefix = "";
src = fetchurl {
url = "https://github.com/ansible/ansible/archive/v${version}.tar.gz";
- sha256 = "1iz1q2h0zll4qsxk0pndc59knasw663kv53sm21q57qz7lf30q9z";
+ sha256 = "0j133353skzb6ydrqqgfkzbkkj1zaibl1x8sgl0arnfma8qky1g1";
};
prePatch = ''
diff --git a/pkgs/tools/system/at/default.nix b/pkgs/tools/system/at/default.nix
index 252400bd7f46c3ef1c402d13c822fdd7997e0992..2964db34e1243104ff670876f245ac44fc8db394 100644
--- a/pkgs/tools/system/at/default.nix
+++ b/pkgs/tools/system/at/default.nix
@@ -1,12 +1,12 @@
{ fetchurl, stdenv, bison, flex, pam, ssmtp }:
stdenv.mkDerivation {
- name = "at-3.1.12";
+ name = "at-3.1.14";
src = fetchurl {
# Debian is apparently the last location where it can be found.
- url = mirror://debian/pool/main/a/at/at_3.1.12.orig.tar.gz;
- sha256 = "1wqqrj4lg2ix79ib5kz7lk4hbs1zpw72n6zkd2gdv2my9ymwcmbw";
+ url = mirror://debian/pool/main/a/at/at_3.1.14.orig.tar.gz;
+ sha256 = "cd092bf05d29c25b286f55a960ce8b8c3c5beb571d86ed8eb1dfb3b61291b3ae";
};
patches = [ ./install.patch ];
@@ -35,7 +35,7 @@ stdenv.mkDerivation {
meta = {
description = ''The classical Unix `at' job scheduling command'';
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
homepage = http://packages.qa.debian.org/at;
};
}
diff --git a/pkgs/tools/system/at/install.patch b/pkgs/tools/system/at/install.patch
index 9db336e9bfe31fd0277183b27992e72e0de407f3..0297d680aa46824fb8655783bdb0b404098a25f2 100644
--- a/pkgs/tools/system/at/install.patch
+++ b/pkgs/tools/system/at/install.patch
@@ -1,6 +1,6 @@
---- at-3.1.10.1/Makefile.in 2005-08-29 10:08:28.000000000 +0200
-+++ at-3.1.10.1/Makefile.in 2008-04-01 11:05:38.000000000 +0200
-@@ -88,35 +88,28 @@ atrun: atrun.in
+--- at-3.1.14/Makefile.in 2013-09-08 14:43:53.000000000 +0200
++++ at-3.1.14/Makefile.in 2014-07-27 20:42:04.017703443 +0200
+@@ -91,35 +91,28 @@
$(CC) -c $(CFLAGS) $(DEFS) $*.c
install: all
@@ -15,7 +15,7 @@
- chmod 600 $(IROOT)$(LFILE)
- chown $(DAEMON_USERNAME):$(DAEMON_GROUPNAME) $(IROOT)$(LFILE)
- test -f $(IROOT)$(etcdir)/at.allow || test -f $(IROOT)$(etcdir)/at.deny || $(INSTALL) -o root -g $(DAEMON_GROUPNAME) -m 640 at.deny $(IROOT)$(etcdir)/
-- $(INSTALL) -g $(DAEMON_GROUPNAME) -o $(DAEMON_USERNAME) -m 6755 -s at $(IROOT)$(bindir)
+- $(INSTALL) -g $(DAEMON_GROUPNAME) -o $(DAEMON_USERNAME) -m 6755 at $(IROOT)$(bindir)
+ $(INSTALL) -m 755 -d $(IROOT)$(bindir)
+ $(INSTALL) -m 755 -d $(IROOT)$(sbindir)
+ $(INSTALL) -m 755 -d $(IROOT)$(docdir)
@@ -27,7 +27,7 @@
- $(INSTALL) -d -o root -g root -m 755 $(IROOT)$(man1dir)
- $(INSTALL) -d -o root -g root -m 755 $(IROOT)$(man5dir)
- $(INSTALL) -d -o root -g root -m 755 $(IROOT)$(man8dir)
-- $(INSTALL) -g root -o root -m 755 -s atd $(IROOT)$(sbindir)
+- $(INSTALL) -g root -o root -m 755 atd $(IROOT)$(sbindir)
- $(INSTALL) -g root -o root -m 755 atrun $(IROOT)$(sbindir)
- $(INSTALL) -g root -o root -m 644 at.1 $(IROOT)$(man1dir)/
+ $(INSTALL) -m 755 batch $(IROOT)$(bindir)
@@ -44,12 +44,11 @@
- $(INSTALL) -g root -o root -m 644 tmpman $(IROOT)$(man8dir)/atrun.8
+ $(INSTALL) -m 644 tmpman $(IROOT)$(man8dir)/atrun.8
rm -f tmpman
-- $(INSTALL) -g root -o root -m 644 at_allow.5 $(IROOT)$(man5dir)/
-+ $(INSTALL) -m 644 at_allow.5 $(IROOT)$(man5dir)/
- cd $(IROOT)$(man5dir) && $(LN_S) -f at_allow.5 at_deny.5
+- $(INSTALL) -g root -o root -m 644 at.allow.5 $(IROOT)$(man5dir)/
++ $(INSTALL) -m 644 at.allow.5 $(IROOT)$(man5dir)/
+ cd $(IROOT)$(man5dir) && $(LN_S) -f at.allow.5 at.deny.5
- $(INSTALL) -g root -o root -m 644 $(DOCS) $(IROOT)$(atdocdir)
+ $(INSTALL) -m 644 $(DOCS) $(IROOT)$(atdocdir)
rm -f $(IROOT)$(mandir)/cat1/at.1* $(IROOT)$(mandir)/cat1/batch.1* \
$(IROOT)$(mandir)/cat1/atq.1*
rm -f $(IROOT)$(mandir)/cat1/atd.8*
-
diff --git a/pkgs/tools/system/collectd/default.nix b/pkgs/tools/system/collectd/default.nix
index bc4bca887c801338313d8c2ad10a9bce0457937f..4210a0a04a5aa5cd847a638806b6cf4b3f59f033 100644
--- a/pkgs/tools/system/collectd/default.nix
+++ b/pkgs/tools/system/collectd/default.nix
@@ -27,7 +27,7 @@
stdenv.mkDerivation rec {
name = "collectd-5.4.1";
-
+
src = fetchurl {
url = "http://collectd.org/files/${name}.tar.bz2";
sha256 = "1q365zx6d1wyhv7n97bagfxqnqbhj2j14zz552nhmjviy8lj2ibm";
diff --git a/pkgs/tools/system/ddrescue/default.nix b/pkgs/tools/system/ddrescue/default.nix
index d2ace27b1fd694eb223aa347ddda6db785e86c2f..8117906585cc92a55c1f78490a90138c7b747279 100644
--- a/pkgs/tools/system/ddrescue/default.nix
+++ b/pkgs/tools/system/ddrescue/default.nix
@@ -40,7 +40,7 @@ stdenv.mkDerivation rec {
homepage = http://www.gnu.org/software/ddrescue/ddrescue.html;
- license = "GPLv3+";
+ license = stdenv.lib.licenses.gpl3Plus;
platforms = stdenv.lib.platforms.all;
maintainers = with stdenv.lib.maintainers; [ iElectric ];
diff --git a/pkgs/tools/system/efibootmgr/default.nix b/pkgs/tools/system/efibootmgr/default.nix
index 81206a132965829fbf16198590b4927cecc2be96..67b97ea75b153db7e6160e4ef2a0aad28a4d04ed 100644
--- a/pkgs/tools/system/efibootmgr/default.nix
+++ b/pkgs/tools/system/efibootmgr/default.nix
@@ -27,4 +27,3 @@ stdenv.mkDerivation rec {
platforms = platforms.linux;
};
}
-
diff --git a/pkgs/tools/system/evemu/default.nix b/pkgs/tools/system/evemu/default.nix
new file mode 100644
index 0000000000000000000000000000000000000000..90833b83683d22d2dde6e2022eb90716d5851197
--- /dev/null
+++ b/pkgs/tools/system/evemu/default.nix
@@ -0,0 +1,37 @@
+{ stdenv, fetchgit, automake, autoconf, libtool, pkgconfig, pythonPackages
+, libevdev, linuxHeaders
+}:
+
+stdenv.mkDerivation rec {
+ name = "evemu-${version}";
+ version = "2.0.0";
+
+ # We could have downloaded a release tarball from cgit, but it changes hash
+ # each time it is downloaded :/
+ src = fetchgit {
+ url = git://git.freedesktop.org/git/evemu;
+ rev = "refs/tags/v${version}";
+ sha256 = "1509b524a2483054a45698c485968094dd8c0f857bba7333449e9d05acbfbd2c";
+ };
+
+ buildInputs = [
+ automake autoconf libtool pkgconfig pythonPackages.python
+ pythonPackages.evdev libevdev
+ ];
+
+ preConfigure = ''
+ ./autogen.sh --prefix=$out
+ '';
+
+ postPatch = ''
+ substituteInPlace src/make-event-names.py --replace "/usr/include/linux/input.h" "${linuxHeaders}/include/linux/input.h"
+ '';
+
+ meta = with stdenv.lib; {
+ description = "Records and replays device descriptions and events to emulate input devices through the kernel's input system";
+ homepage = http://www.freedesktop.org/wiki/Evemu/;
+ repositories.git = git://git.freedesktop.org/git/evemu;
+ license = licenses.gpl2;
+ maintainers = [ maintainers.amorsillo ];
+ };
+}
diff --git a/pkgs/tools/system/fakeroot/default.nix b/pkgs/tools/system/fakeroot/default.nix
index 1bf18ed867c302896fddcaf53e84b7f3778e92ce..9764ae6ce0e4e202a4c871595e44a9cdc6236d48 100644
--- a/pkgs/tools/system/fakeroot/default.nix
+++ b/pkgs/tools/system/fakeroot/default.nix
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://fakeroot.alioth.debian.org/;
description = "Give a fake root environment through LD_PRELOAD";
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
maintainers = with stdenv.lib.maintainers; [viric];
platforms = with stdenv.lib.platforms; linux;
};
diff --git a/pkgs/tools/system/fcron/default.nix b/pkgs/tools/system/fcron/default.nix
index 5a70843ff6bbb6bc51f65394d37038128b9a1f3e..f546cd8f5ffc6e34e5cde42c5393967ad3c1545c 100644
--- a/pkgs/tools/system/fcron/default.nix
+++ b/pkgs/tools/system/fcron/default.nix
@@ -52,7 +52,7 @@ stdenv.mkDerivation rec {
meta = {
description="A command scheduler with extended capabilities over cron and anacron";
homepage = http://fcron.free.fr;
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
platforms = stdenv.lib.platforms.all;
};
}
diff --git a/pkgs/tools/system/fdisk/default.nix b/pkgs/tools/system/fdisk/default.nix
index e72497cf7c4e0d49f06c4f6989ef2c0520f2b136..9a4ac260ecc751320cf04cc85963487d10a80f1c 100644
--- a/pkgs/tools/system/fdisk/default.nix
+++ b/pkgs/tools/system/fdisk/default.nix
@@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
cfdisk. It uses GNU Parted.
'';
- license = "GPLv3+";
+ license = stdenv.lib.licenses.gpl3Plus;
homepage = http://www.gnu.org/software/fdisk/;
diff --git a/pkgs/tools/system/fio/default.nix b/pkgs/tools/system/fio/default.nix
index b4ddca4371e6da6a98e5bb3edd33f496668a48e1..c408c0f34ea8ee69c79e457b04d02c49fb1d3479 100644
--- a/pkgs/tools/system/fio/default.nix
+++ b/pkgs/tools/system/fio/default.nix
@@ -18,6 +18,6 @@ stdenv.mkDerivation rec {
meta = {
homepage = "http://git.kernel.dk/?p=fio.git;a=summary";
description = "Flexible IO Tester - an IO benchmark tool";
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
};
}
diff --git a/pkgs/tools/system/freeipmi/default.nix b/pkgs/tools/system/freeipmi/default.nix
index 2bfa77164b81f33db78f7b35b0ba628d8894a51c..21a67dba305c7cae6d73bd036624348799b37796 100644
--- a/pkgs/tools/system/freeipmi/default.nix
+++ b/pkgs/tools/system/freeipmi/default.nix
@@ -31,7 +31,7 @@ stdenv.mkDerivation rec {
homepage = http://www.gnu.org/software/freeipmi/;
- license = "GPLv3+";
+ license = stdenv.lib.licenses.gpl3Plus;
maintainers = with stdenv.lib.maintainers; [ raskin ];
platforms = stdenv.lib.platforms.gnu; # arbitrary choice
diff --git a/pkgs/tools/system/gptfdisk/default.nix b/pkgs/tools/system/gptfdisk/default.nix
index 93dfab9a1a47ad4fcfbf8f98c48151e0bc7732b3..0fe4cbc986c1093a613877dcf84b697c32270bba 100644
--- a/pkgs/tools/system/gptfdisk/default.nix
+++ b/pkgs/tools/system/gptfdisk/default.nix
@@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
meta = {
description = "A set of text-mode partitioning tools for Globally Unique Identifier (GUID) Partition Table (GPT) disks";
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
homepage = http://www.rodsbooks.com/gdisk/;
@@ -32,4 +32,3 @@ stdenv.mkDerivation rec {
platforms = stdenv.lib.platforms.linux;
};
}
-
diff --git a/pkgs/tools/system/gt5/default.nix b/pkgs/tools/system/gt5/default.nix
index ab682c60921a8051daed428364b7cf84597f9f65..ea121b0e43c99a0fef5ed94db27d808445a1d390 100644
--- a/pkgs/tools/system/gt5/default.nix
+++ b/pkgs/tools/system/gt5/default.nix
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
meta = {
description = "A diff-capable 'du' browser";
homepage = http://gt5.sourceforge.net/;
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
maintainers = with stdenv.lib.maintainers; [viric];
platforms = with stdenv.lib.platforms; linux;
};
diff --git a/pkgs/tools/system/idle3tools/default.nix b/pkgs/tools/system/idle3tools/default.nix
index 1325b52b380892b4c7f04d77d0691ee737171de2..d1631776d3939a4c00419e845f211ae0764a472d 100644
--- a/pkgs/tools/system/idle3tools/default.nix
+++ b/pkgs/tools/system/idle3tools/default.nix
@@ -15,7 +15,7 @@ stdenv.mkDerivation {
meta = {
homepage = http://idle3-tools.sourceforge.net/;
description = "Tool to get/set the infamous idle3 timer in WD HDDs";
- license = "GPLv3";
+ license = stdenv.lib.licenses.gpl3;
maintainers = with stdenv.lib.maintainers; [viric];
platforms = with stdenv.lib.platforms; linux;
};
diff --git a/pkgs/tools/system/logcheck/default.nix b/pkgs/tools/system/logcheck/default.nix
index 208ff837b3460db6ac1fef7bd90f4db60f201bdd..88c9a4eecd1f4aa11f568aa255367149311e60d4 100644
--- a/pkgs/tools/system/logcheck/default.nix
+++ b/pkgs/tools/system/logcheck/default.nix
@@ -37,7 +37,7 @@ stdenv.mkDerivation rec {
Logcheck was part of the Abacus Project of security tools, but this version has been rewritten.
'';
homepage = http://logcheck.org;
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
maintainers = [ stdenv.lib.maintainers.bluescreen303 ];
platforms = stdenv.lib.platforms.all;
diff --git a/pkgs/tools/system/logrotate/default.nix b/pkgs/tools/system/logrotate/default.nix
index b623400960272c072ac4ae78f76f07eefceb48c9..964ee217108d0c74c6dc209d8a08c530ba808209 100644
--- a/pkgs/tools/system/logrotate/default.nix
+++ b/pkgs/tools/system/logrotate/default.nix
@@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = https://fedorahosted.org/releases/l/o/logrotate/;
description = "Rotates and compresses system logs";
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
maintainers = [ stdenv.lib.maintainers.viric ];
platforms = stdenv.lib.platforms.all;
};
diff --git a/pkgs/tools/system/mcron/default.nix b/pkgs/tools/system/mcron/default.nix
index 2b4f28fa868d4d3a22b8396c2f88522690353613..4bf958959961b80dcbd52b2bd47c169b65495686 100644
--- a/pkgs/tools/system/mcron/default.nix
+++ b/pkgs/tools/system/mcron/default.nix
@@ -27,6 +27,6 @@ stdenv.mkDerivation rec {
homepage = http://www.gnu.org/software/mcron/;
- license = "GPLv3+";
+ license = stdenv.lib.licenses.gpl3Plus;
};
}
diff --git a/pkgs/tools/system/monit/default.nix b/pkgs/tools/system/monit/default.nix
index 8e4848f2db62ff4c03936ee2bf111c72daa9414b..41a94ff2f2e3e6ad2672c5f703bb5aa839edbc25 100644
--- a/pkgs/tools/system/monit/default.nix
+++ b/pkgs/tools/system/monit/default.nix
@@ -20,6 +20,6 @@ stdenv.mkDerivation rec {
homepage = http://mmonit.com/monit/;
description = "Monitoring system";
license = stdenv.lib.licenses.agpl3;
- maintainer = with stdenv.lib.maintainers; [ raskin wmertens ];
+ maintainers = with stdenv.lib.maintainers; [ raskin wmertens ];
};
}
diff --git a/pkgs/tools/system/rsyslog/default.nix b/pkgs/tools/system/rsyslog/default.nix
index 3fe05e941b6cf9181dca1e5e15d47ac9577af042..d18c2737854ad174ce9b82c71e36f02c1701d62a 100644
--- a/pkgs/tools/system/rsyslog/default.nix
+++ b/pkgs/tools/system/rsyslog/default.nix
@@ -17,7 +17,7 @@ stdenv.mkDerivation {
meta = {
homepage = "http://www.rsyslog.com/";
description = "Enhanced syslog implementation";
- license = "GPLv3";
+ license = stdenv.lib.licenses.gpl3;
platforms = stdenv.lib.platforms.linux;
};
}
diff --git a/pkgs/tools/system/safecopy/default.nix b/pkgs/tools/system/safecopy/default.nix
index a6a5fced87943efbac1d293a2809924ee70a9e7f..304d8f21eb289f595d29989c04f41fc7211846b6 100644
--- a/pkgs/tools/system/safecopy/default.nix
+++ b/pkgs/tools/system/safecopy/default.nix
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
homepage = http://safecopy.sourceforge.net;
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
platforms = stdenv.lib.platforms.all;
maintainers = [ stdenv.lib.maintainers.bluescreen303 ];
diff --git a/pkgs/tools/system/storebrowse/default.nix b/pkgs/tools/system/storebrowse/default.nix
index 1a3bfa69d1adadd6fa8d3aac8915996e81a74896..dc30c601750ac991625b75ce8c5371614aa8d473 100644
--- a/pkgs/tools/system/storebrowse/default.nix
+++ b/pkgs/tools/system/storebrowse/default.nix
@@ -40,6 +40,6 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://viric.name/cgi-bin/storebrowse;
- license = "AGPLv3+";
+ license = stdenv.lib.licenses.agpl3Plus;
};
}
diff --git a/pkgs/tools/system/syslog-ng/default.nix b/pkgs/tools/system/syslog-ng/default.nix
index 9102482d3d636a48b7598d682aaacf60d0b713c9..89bf06886518cfd7744c29737f2a647575be1086 100644
--- a/pkgs/tools/system/syslog-ng/default.nix
+++ b/pkgs/tools/system/syslog-ng/default.nix
@@ -19,6 +19,6 @@ stdenv.mkDerivation {
meta = {
homepage = "http://www.balabit.com/network-security/syslog-ng/";
description = "Next-generation syslogd with advanced networking and filtering capabilities";
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
};
}
diff --git a/pkgs/tools/system/tree/default.nix b/pkgs/tools/system/tree/default.nix
index afb6073b539ebf0535c2d55b3be8cd6dd4d89bde..f14d4affae795468f700e48630c52e6686a7b3ca 100644
--- a/pkgs/tools/system/tree/default.nix
+++ b/pkgs/tools/system/tree/default.nix
@@ -43,7 +43,7 @@ stdenv.mkDerivation {
meta = {
homepage = "http://mama.indstate.edu/users/ice/tree/";
description = "command to produce a depth indented directory listing";
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
longDescription = ''
Tree is a recursive directory listing command that produces a
diff --git a/pkgs/tools/text/catdoc/default.nix b/pkgs/tools/text/catdoc/default.nix
index e056af26877c16b7cb4cf12c802b2b754cb2f8e7..2865e5b34826f58a3e58cdbe1486ebf0e4fc9b03 100644
--- a/pkgs/tools/text/catdoc/default.nix
+++ b/pkgs/tools/text/catdoc/default.nix
@@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
meta = with stdenv.lib; {
description = "MS-Word/Excel/PowerPoint to text converter";
platforms = platforms.all;
- license = "GPL2";
+ license = stdenv.lib.licenses.gpl2;
maintainers = [ maintainers.urkud ];
};
}
diff --git a/pkgs/tools/text/convertlit/default.nix b/pkgs/tools/text/convertlit/default.nix
index 05494e54a3ecf8c1151bbdcea3547c3c01b5b351..aaa458b05cb10bde1697d7e2c6fd4fb5c6201d57 100644
--- a/pkgs/tools/text/convertlit/default.nix
+++ b/pkgs/tools/text/convertlit/default.nix
@@ -28,6 +28,6 @@ stdenv.mkDerivation {
meta = {
homepage = http://www.convertlit.com/;
description = "A tool for converting Microsoft Reader ebooks to more open formats";
- license = "GPL";
+ license = stdenv.lib.licenses.gpl2;
};
}
diff --git a/pkgs/tools/text/dos2unix/default.nix b/pkgs/tools/text/dos2unix/default.nix
index dc61723e59776886576917baf6069ddecdb32989..a87901eb5eb916638906049beae553e759be12ea 100644
--- a/pkgs/tools/text/dos2unix/default.nix
+++ b/pkgs/tools/text/dos2unix/default.nix
@@ -17,7 +17,7 @@ stdenv.mkDerivation {
meta = {
homepage = http://waterlan.home.xs4all.nl/dos2unix.html;
description = "Tools to transform text files from dos to unix formats and vicervesa";
- license = "BSD";
+ license = stdenv.lib.licenses.bsd2;
maintainers = with stdenv.lib.maintainers; [viric];
platforms = with stdenv.lib.platforms; all;
};
diff --git a/pkgs/tools/text/enca/default.nix b/pkgs/tools/text/enca/default.nix
index 23223572bb2387bc439f9c1fd230b0a4b2dad87b..14014d06052d9c2754bb2a1b0af01f1b65ff03d5 100644
--- a/pkgs/tools/text/enca/default.nix
+++ b/pkgs/tools/text/enca/default.nix
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
Unicode variants, independently on language.
'';
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
platforms = stdenv.lib.platforms.all;
};
diff --git a/pkgs/tools/text/enscript/default.nix b/pkgs/tools/text/enscript/default.nix
index 7bb7060d5c2dac9e3aa4221f65df1f78ebbc1f55..df49e5788eb5157be2b444a344be15c1035efbbb 100644
--- a/pkgs/tools/text/enscript/default.nix
+++ b/pkgs/tools/text/enscript/default.nix
@@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
it has many options that can be used to customize printouts.
'';
- license = "GPLv3+";
+ license = stdenv.lib.licenses.gpl3Plus;
homepage = http://www.gnu.org/software/enscript/;
diff --git a/pkgs/tools/text/gawk/default.nix b/pkgs/tools/text/gawk/default.nix
index b231f2875c092aec7e48b6380316df94cbe03c0b..e8c5472d2cb8d6648d1cfb8ce4785caffaa76c07 100644
--- a/pkgs/tools/text/gawk/default.nix
+++ b/pkgs/tools/text/gawk/default.nix
@@ -38,7 +38,7 @@ stdenv.mkDerivation rec {
lines of code.
'';
- license = "GPLv3+";
+ license = stdenv.lib.licenses.gpl3Plus;
maintainers = [ stdenv.lib.maintainers.ludo ];
};
diff --git a/pkgs/tools/text/gnugrep/default.nix b/pkgs/tools/text/gnugrep/default.nix
index bdf19161e43120e01965ea40225b3e7662aeff3f..6e83bd357b2710e30c5ed8e0343f4c5432d420e7 100644
--- a/pkgs/tools/text/gnugrep/default.nix
+++ b/pkgs/tools/text/gnugrep/default.nix
@@ -35,7 +35,7 @@ stdenv.mkDerivation {
prints the matching lines.
'';
- license = "GPLv3+";
+ license = stdenv.lib.licenses.gpl3Plus;
maintainers = [ ];
platforms = stdenv.lib.platforms.all;
diff --git a/pkgs/tools/text/gnupatch/default.nix b/pkgs/tools/text/gnupatch/default.nix
index 1ad40a4a5fa01129d496fb1b3fc19455c468dbff..7b38227cfcc10308b2c860d8bec18b530067aff9 100644
--- a/pkgs/tools/text/gnupatch/default.nix
+++ b/pkgs/tools/text/gnupatch/default.nix
@@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
homepage = http://savannah.gnu.org/projects/patch;
- license = "GPLv3+";
+ license = stdenv.lib.licenses.gpl3Plus;
maintainers = [ ];
platforms = stdenv.lib.platforms.all;
diff --git a/pkgs/tools/text/gnused/default.nix b/pkgs/tools/text/gnused/default.nix
index cf30169acef14116c8b1babc59e08a48cded272e..b1c5910029dd791aeb2f96763fa658f45955dded 100644
--- a/pkgs/tools/text/gnused/default.nix
+++ b/pkgs/tools/text/gnused/default.nix
@@ -21,7 +21,7 @@ stdenv.mkDerivation {
multiple occurrences of a string within a file.
'';
- license = "GPLv3+";
+ license = stdenv.lib.licenses.gpl3Plus;
platforms = stdenv.lib.platforms.all;
maintainers = [ ];
diff --git a/pkgs/tools/text/groff/default.nix b/pkgs/tools/text/groff/default.nix
index f4d3169f2fae61dc3a990a2d87eab2005ed47eb5..97cc3c611733f0839ecce3e9d213bf1232accefa 100644
--- a/pkgs/tools/text/groff/default.nix
+++ b/pkgs/tools/text/groff/default.nix
@@ -31,7 +31,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = "http://www.gnu.org/software/groff/";
description = "GNU Troff, a typesetting package that reads plain text and produces formatted output";
- license = "GPLv3+";
+ license = stdenv.lib.licenses.gpl3Plus;
platforms = stdenv.lib.platforms.all;
longDescription = ''
diff --git a/pkgs/tools/text/html-tidy/default.nix b/pkgs/tools/text/html-tidy/default.nix
index ea06a6255508c959c8f8ae5bdbc55b5f405aae96..247cb67da56c8cbe10413e3c09186adcaeb1fe9d 100644
--- a/pkgs/tools/text/html-tidy/default.nix
+++ b/pkgs/tools/text/html-tidy/default.nix
@@ -32,7 +32,7 @@ let date = "2009-07-04"; in
used to validate and fix HTML data.
'';
- license = "MIT";
+ license = stdenv.lib.licenses.mit;
homepage = http://tidy.sourceforge.net/;
diff --git a/pkgs/tools/text/kdiff3/default.nix b/pkgs/tools/text/kdiff3/default.nix
index 52781ed37927e6aa0fe88111eab4d7da02b5078f..eeac7b7f63fadca142aaa646d13958cb93a0ef39 100644
--- a/pkgs/tools/text/kdiff3/default.nix
+++ b/pkgs/tools/text/kdiff3/default.nix
@@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://kdiff3.sourceforge.net/;
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
description = "Compares and merges 2 or 3 files or directories";
maintainers = with stdenv.lib.maintainers; [viric urkud];
platforms = with stdenv.lib.platforms; linux;
diff --git a/pkgs/tools/text/mairix/default.nix b/pkgs/tools/text/mairix/default.nix
index 551d0b9f74a96e15dad423066dd924b3cb5fdb28..97fcd0629847c27f3c7b32094b7b10a71300e668 100644
--- a/pkgs/tools/text/mairix/default.nix
+++ b/pkgs/tools/text/mairix/default.nix
@@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://www.rc0.org.uk/mairix;
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
description = "Program for indexing and searching email messages stored in maildir, MH or mbox";
maintainers = with stdenv.lib.maintainers; [viric];
platforms = with stdenv.lib.platforms; all;
diff --git a/pkgs/tools/text/multitran/data/default.nix b/pkgs/tools/text/multitran/data/default.nix
index dbf13a6332b5d3ad4888c77314dd5e0251b01331..d0e39add665ab201deeaa623e00d2988430ea2a0 100644
--- a/pkgs/tools/text/multitran/data/default.nix
+++ b/pkgs/tools/text/multitran/data/default.nix
@@ -19,6 +19,6 @@ stdenv.mkDerivation {
meta = {
homepage = http://multitran.sourceforge.net/;
description = "Multitran data english-russian";
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
};
}
diff --git a/pkgs/tools/text/multitran/libbtree/default.nix b/pkgs/tools/text/multitran/libbtree/default.nix
index 45dcf922d8e8081f25d74d0e57171a7bc83d3a19..3abe03b2a4eaa6fb68a5526f25860f160804a415 100644
--- a/pkgs/tools/text/multitran/libbtree/default.nix
+++ b/pkgs/tools/text/multitran/libbtree/default.nix
@@ -13,6 +13,6 @@ stdenv.mkDerivation {
meta = {
homepage = http://multitran.sourceforge.net/;
description = "Multitran lib: library for reading Multitran's BTREE database format";
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
};
}
diff --git a/pkgs/tools/text/multitran/libfacet/default.nix b/pkgs/tools/text/multitran/libfacet/default.nix
index 6dab8f86c32705dae8491354278127176502f90a..0f5032c4a175d7325697aeb6dc66f44a103e3e35 100644
--- a/pkgs/tools/text/multitran/libfacet/default.nix
+++ b/pkgs/tools/text/multitran/libfacet/default.nix
@@ -19,6 +19,6 @@ stdenv.mkDerivation {
meta = {
homepage = http://multitran.sourceforge.net/;
description = "Multitran lib: enchanced locale facets";
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
};
}
diff --git a/pkgs/tools/text/multitran/libmtquery/default.nix b/pkgs/tools/text/multitran/libmtquery/default.nix
index fe3e3b7317d295a75b15d8286889d11c3f6d7763..b3e5f12407d8168147c2c7ac7206cd412eb1ec47 100644
--- a/pkgs/tools/text/multitran/libmtquery/default.nix
+++ b/pkgs/tools/text/multitran/libmtquery/default.nix
@@ -21,6 +21,6 @@ stdenv.mkDerivation {
meta = {
homepage = http://multitran.sourceforge.net/;
description = "Multitran lib: main engine to query translations";
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
};
}
diff --git a/pkgs/tools/text/multitran/libmtsupport/default.nix b/pkgs/tools/text/multitran/libmtsupport/default.nix
index 3c77b50bee88f3fd682d20b0cf833e980fe77f12..e73ba43791a9b824d4db23895cebf2eed934decb 100644
--- a/pkgs/tools/text/multitran/libmtsupport/default.nix
+++ b/pkgs/tools/text/multitran/libmtsupport/default.nix
@@ -13,6 +13,6 @@ stdenv.mkDerivation {
meta = {
homepage = http://multitran.sourceforge.net/;
description = "Multitran lib: basic useful functions";
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
};
}
diff --git a/pkgs/tools/text/multitran/mtutils/default.nix b/pkgs/tools/text/multitran/mtutils/default.nix
index fb3856176d96d55add2f10f94765a3982ef3cc8f..b03b1b110c4b68daeeda8d464bd1510a9c4f29d5 100644
--- a/pkgs/tools/text/multitran/mtutils/default.nix
+++ b/pkgs/tools/text/multitran/mtutils/default.nix
@@ -25,7 +25,7 @@ stdenv.mkDerivation {
meta = {
homepage = http://multitran.sourceforge.net/;
description = "Multitran: simple command line utilities for dictionary maintainance";
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
maintainers = with stdenv.lib.maintainers; [viric];
platforms = with stdenv.lib.platforms; linux;
};
diff --git a/pkgs/tools/text/namazu/default.nix b/pkgs/tools/text/namazu/default.nix
index 21024c4aaad4db15976516be4bf9c94a9a8f680c..fba52b69fbafd1372394d6576f559f9f3aed600f 100644
--- a/pkgs/tools/text/namazu/default.nix
+++ b/pkgs/tools/text/namazu/default.nix
@@ -35,7 +35,7 @@ stdenv.mkDerivation rec {
but also as a personal search system for email or other files.
'';
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
homepage = http://namazu.org/;
platforms = stdenv.lib.platforms.gnu; # arbitrary choice
diff --git a/pkgs/tools/text/qshowdiff/default.nix b/pkgs/tools/text/qshowdiff/default.nix
index 7c76c7f1bca23856b3277b34e3a5461149bd6c60..a2d6e360a374f317de089b77524a19d852ce4f34 100644
--- a/pkgs/tools/text/qshowdiff/default.nix
+++ b/pkgs/tools/text/qshowdiff/default.nix
@@ -18,6 +18,6 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://qshowdiff.danfis.cz/;
description = "Colourful diff viewer";
- license = "GPLv3+";
+ license = stdenv.lib.licenses.gpl3Plus;
};
}
diff --git a/pkgs/tools/text/sgml/openjade/default.nix b/pkgs/tools/text/sgml/openjade/default.nix
index fc7ee9f6f0662e9be14b28ff950b7a27fcb0f206..a2920345afa73d572d061c10f06edf7d2325176a 100644
--- a/pkgs/tools/text/sgml/openjade/default.nix
+++ b/pkgs/tools/text/sgml/openjade/default.nix
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
meta = {
description = "An implementation of DSSSL, an ISO standard for formatting SGML (and XML) documents";
- license = "BSD";
+ license = stdenv.lib.licenses.mit;
homepage = http://openjade.sourceforge.net/;
};
}
diff --git a/pkgs/tools/text/sgml/opensp/default.nix b/pkgs/tools/text/sgml/opensp/default.nix
index e30567000dd1daba26b4de7c168154323f4e29ed..59b9b7bc13d134e6f7cd2776393115757252db38 100644
--- a/pkgs/tools/text/sgml/opensp/default.nix
+++ b/pkgs/tools/text/sgml/opensp/default.nix
@@ -19,7 +19,7 @@ stdenv.mkDerivation {
meta = {
description = "A suite of SGML/XML processing tools";
- license = "BSD";
+ license = stdenv.lib.licenses.mit;
homepage = http://openjade.sourceforge.net/;
};
}
diff --git a/pkgs/tools/text/source-highlight/default.nix b/pkgs/tools/text/source-highlight/default.nix
index 21a866cf87e8b7973a565be42c025c4b65f93706..a7d1ddb0f3b5d24e64577d5c5b0c8444f3eb22cf 100644
--- a/pkgs/tools/text/source-highlight/default.nix
+++ b/pkgs/tools/text/source-highlight/default.nix
@@ -23,7 +23,7 @@ stdenv.mkDerivation {
meta = {
description = "Source code renderer with syntax highlighting";
homepage = http://www.gnu.org/software/src-highlite/;
- license = "GPLv3+";
+ license = stdenv.lib.licenses.gpl3Plus;
platforms = stdenv.lib.platforms.linux;
longDescription =
''
diff --git a/pkgs/tools/text/uni2ascii/default.nix b/pkgs/tools/text/uni2ascii/default.nix
index c81e02b4399539eed59c232ddfdc49b6f0952655..9e62b2b3d59263bb9e5a2b3bf406a3002f26fd75 100644
--- a/pkgs/tools/text/uni2ascii/default.nix
+++ b/pkgs/tools/text/uni2ascii/default.nix
@@ -8,7 +8,7 @@ stdenv.mkDerivation rec {
};
meta = {
- license = "GPLv3";
+ license = stdenv.lib.licenses.gpl3;
homepage = http://billposer.org/Software/uni2ascii.html;
description = "Converts between UTF-8 and many 7-bit ASCII equivalents and back";
diff --git a/pkgs/tools/text/wdiff/default.nix b/pkgs/tools/text/wdiff/default.nix
index 3981f67aefb91cd946f88a9eb0a981bfae7b192d..e6fc3510cd40164e3f2d650ae32b93e7546bf69b 100644
--- a/pkgs/tools/text/wdiff/default.nix
+++ b/pkgs/tools/text/wdiff/default.nix
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://www.gnu.org/software/wdiff/;
description = "GNU wdiff, comparing files on a word by word basis";
- license = "GPLv3+";
+ license = stdenv.lib.licenses.gpl3Plus;
maintainers = [ stdenv.lib.maintainers.eelco ];
platforms = stdenv.lib.platforms.linux;
};
diff --git a/pkgs/tools/text/xml/html-xml-utils/default.nix b/pkgs/tools/text/xml/html-xml-utils/default.nix
index b8f2f4696aead730b6a0aa3a547fe3e3322e80d0..fd5a5dc5f8e5c66acd43eafd6740f036e61a5670 100644
--- a/pkgs/tools/text/xml/html-xml-utils/default.nix
+++ b/pkgs/tools/text/xml/html-xml-utils/default.nix
@@ -14,6 +14,6 @@ stdenv.mkDerivation rec {
meta = {
description = "Utilities for manipulating HTML and XML files";
homepage = http://www.w3.org/Tools/HTML-XML-utils/;
- license = "free-non-copyleft";
+ license = "free-non-copyleft"; #TODO W3C
};
}
diff --git a/pkgs/tools/text/xml/rxp/default.nix b/pkgs/tools/text/xml/rxp/default.nix
index ee66cf9237744612bdcb2b6f6b21ad53c2642f56..6ec9758ed3a244bdb6823d483f8a488159245cd8 100644
--- a/pkgs/tools/text/xml/rxp/default.nix
+++ b/pkgs/tools/text/xml/rxp/default.nix
@@ -13,7 +13,7 @@ stdenv.mkDerivation {
cp rxp $out/bin
'';
meta = {
- license = "GPL";
+ license = stdenv.lib.licenses.gpl2Plus;
description = "a validating XML parser written in C";
homepage = "http://www.cogsci.ed.ac.uk/~richard/rxp.html";
};
diff --git a/pkgs/tools/text/xml/xmlstarlet/default.nix b/pkgs/tools/text/xml/xmlstarlet/default.nix
index db7ebfbb77a88feee35dc312c643e202e37d2aae..aea3ab2bd9683599fe9439c92f77e7387c692737 100644
--- a/pkgs/tools/text/xml/xmlstarlet/default.nix
+++ b/pkgs/tools/text/xml/xmlstarlet/default.nix
@@ -26,6 +26,6 @@ stdenv.mkDerivation rec {
meta = {
description = "A command line tool for manipulating and querying XML data";
homepage = http://xmlstar.sourceforge.net/;
- license = "bsd";
+ license = stdenv.lib.licenses.mit;
};
}
diff --git a/pkgs/tools/typesetting/docbook2x/default.nix b/pkgs/tools/typesetting/docbook2x/default.nix
index d7d3f6f92a22b73df601b541fa162c93165a6edd..78dac0c6aa4eacd84d7684ec616de98a65e8fecd 100644
--- a/pkgs/tools/typesetting/docbook2x/default.nix
+++ b/pkgs/tools/typesetting/docbook2x/default.nix
@@ -52,7 +52,7 @@ stdenv.mkDerivation rec {
into the traditional Unix man page format and the GNU Texinfo
format.
'';
- license = "MIT-style";
+ license = stdenv.lib.licenses.mit;
homepage = http://docbook2x.sourceforge.net/;
};
}
diff --git a/pkgs/tools/typesetting/halibut/default.nix b/pkgs/tools/typesetting/halibut/default.nix
index 5a2c5fb2e067ea35a3f8a1b556bf52b3acbbb37b..48d1ebfc276257f10e40314a4198495c3ff497e9 100644
--- a/pkgs/tools/typesetting/halibut/default.nix
+++ b/pkgs/tools/typesetting/halibut/default.nix
@@ -27,6 +27,6 @@ stdenv.mkDerivation {
meta = {
description = "Documentation production system for software manuals";
homepage = http://www.chiark.greenend.org.uk/~sgtatham/halibut/;
- license = "free";
+ license = stdenv.lib.licenses.mit;
};
}
diff --git a/pkgs/tools/typesetting/lhs2tex/default.nix b/pkgs/tools/typesetting/lhs2tex/default.nix
index ce531a920223554c7eee92cc265bcef3af840c04..35e609b440ab1bf37b9060e94fe5ab8af84914e1 100644
--- a/pkgs/tools/typesetting/lhs2tex/default.nix
+++ b/pkgs/tools/typesetting/lhs2tex/default.nix
@@ -18,7 +18,7 @@ cabal.mkDerivation (self: {
meta = {
homepage = "http://www.andres-loeh.de/lhs2tex/";
description = "Preprocessor for typesetting Haskell sources with LaTeX";
- license = "GPL";
+ license = self.stdenv.lib.licenses.gpl2;
platforms = self.ghc.meta.platforms;
hydraPlatforms = self.stdenv.lib.platforms.linux;
maintainers = [ self.stdenv.lib.maintainers.andres ];
diff --git a/pkgs/tools/typesetting/lout/default.nix b/pkgs/tools/typesetting/lout/default.nix
index 61e94d4d6185a68148fe8c61e8b56f70e69e80fc..c0fc43362971591dcd2db36e7692fdde10580170 100644
--- a/pkgs/tools/typesetting/lout/default.nix
+++ b/pkgs/tools/typesetting/lout/default.nix
@@ -44,7 +44,7 @@ stdenv.mkDerivation rec {
# Wiki: http://lout.wiki.sourceforge.net/
homepage = http://savannah.nongnu.org/projects/lout/;
- license = "GPLv3+";
+ license = stdenv.lib.licenses.gpl3Plus;
platforms = stdenv.lib.platforms.all;
maintainers = [ stdenv.lib.maintainers.ludo ];
diff --git a/pkgs/tools/typesetting/pdftk/default.nix b/pkgs/tools/typesetting/pdftk/default.nix
index 28a43e69598c88a1cba12bf6cf85f2084b163f3c..c71bc3ba77c6b1a5d66e9d68e6844b089dc6d806 100644
--- a/pkgs/tools/typesetting/pdftk/default.nix
+++ b/pkgs/tools/typesetting/pdftk/default.nix
@@ -25,7 +25,7 @@ stdenv.mkDerivation {
meta = {
description = "Simple tool for doing everyday things with PDF documents";
homepage = http://www.accesspdf.com/pdftk/;
- license = "free";
+ license = stdenv.lib.licenses.gpl2;
maintainers = with stdenv.lib.maintainers; [viric];
platforms = with stdenv.lib.platforms; linux;
};
diff --git a/pkgs/tools/typesetting/rubber/default.nix b/pkgs/tools/typesetting/rubber/default.nix
index 054632533a1140c9205a08ef804c872a6338aa63..8344735606ca8a8e0d4e70c421fc82225f3d158b 100644
--- a/pkgs/tools/typesetting/rubber/default.nix
+++ b/pkgs/tools/typesetting/rubber/default.nix
@@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
of pdfLaTeX to produce PDF documents.
'';
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
homepage = http://www.pps.jussieu.fr/~beffara/soft/rubber/;
};
diff --git a/pkgs/tools/typesetting/tex/dblatex/default.nix b/pkgs/tools/typesetting/tex/dblatex/default.nix
index 6993158291c24fa260d27831e821e2dbb991da05..a68ab2d01b9ec2335973fa2d99b42ad2a4e04134 100644
--- a/pkgs/tools/typesetting/tex/dblatex/default.nix
+++ b/pkgs/tools/typesetting/tex/dblatex/default.nix
@@ -55,6 +55,6 @@ stdenv.mkDerivation rec {
meta = {
description = "A program to convert DocBook to DVI, PostScript or PDF via LaTeX or ConTeXt";
homepage = http://dblatex.sourceforge.net/;
- license = "GPL";
+ license = stdenv.lib.licenses.gpl2Plus;
};
}
diff --git a/pkgs/tools/typesetting/tex/tex4ht/default.nix b/pkgs/tools/typesetting/tex/tex4ht/default.nix
index f903ef5792f461fbb724a931f087e6e42fd934a3..69d02a275b3410797a49d3d828080ff19a128e82 100644
--- a/pkgs/tools/typesetting/tex/tex4ht/default.nix
+++ b/pkgs/tools/typesetting/tex/tex4ht/default.nix
@@ -30,6 +30,6 @@ stdenv.mkDerivation rec {
meta = {
homepage = "http://tug.org/tex4ht/";
description = "a system to convert (La)TeX documents to HTML and various other formats";
- license = "LPPL"; # LaTeX Project Public License
+ license = "LPPL-1.2"; # LaTeX Project Public License
};
}
diff --git a/pkgs/tools/typesetting/xmlto/default.nix b/pkgs/tools/typesetting/xmlto/default.nix
index bfc5efc7361448ef25633ab88fe8c3a9ee0da909..1b0602063e9eb40fff99929113a3b4fe24bffa8e 100644
--- a/pkgs/tools/typesetting/xmlto/default.nix
+++ b/pkgs/tools/typesetting/xmlto/default.nix
@@ -41,7 +41,7 @@ stdenv.mkDerivation rec {
necessary post-processing.
'';
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
homepage = https://fedorahosted.org/xmlto/;
};
}
diff --git a/pkgs/tools/video/dvgrab/default.nix b/pkgs/tools/video/dvgrab/default.nix
index e4c8e99efdb6ee3cefaa3487fb7937bce94799a5..faaea6aaffc41539ae49840b650d5aac5b1b252a 100644
--- a/pkgs/tools/video/dvgrab/default.nix
+++ b/pkgs/tools/video/dvgrab/default.nix
@@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
homepage = http://kinodv.org/;
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
platforms = stdenv.lib.platforms.gnu;
maintainers = [ ];
};
diff --git a/pkgs/tools/video/rtmpdump/default.nix b/pkgs/tools/video/rtmpdump/default.nix
index 2034331c8e0fa5e7f46466a55902706b77a8a8d1..156fac03d09cc56b994aba57a21a1cbd98bc9e6d 100644
--- a/pkgs/tools/video/rtmpdump/default.nix
+++ b/pkgs/tools/video/rtmpdump/default.nix
@@ -19,7 +19,7 @@ stdenv.mkDerivation {
meta = {
homepage = http://rtmpdump.mplayerhq.hu/;
description = "Toolkit for RTMP streams";
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
maintainers = with stdenv.lib.maintainers; [viric];
platforms = with stdenv.lib.platforms; all;
};
diff --git a/pkgs/tools/video/swfmill/default.nix b/pkgs/tools/video/swfmill/default.nix
index 8e7fbdaeaf33ee0503bd4008e3e26001ab6136c5..0f3b5f4d39db8a9301f6ef16d68ab9dc955acb89 100644
--- a/pkgs/tools/video/swfmill/default.nix
+++ b/pkgs/tools/video/swfmill/default.nix
@@ -15,7 +15,6 @@ stdenv.mkDerivation rec {
meta = {
description = "An xml2swf and swf2xml processor with import functionalities";
homepage = "http://swfmill.org";
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
};
}
-
diff --git a/pkgs/tools/video/swftools/default.nix b/pkgs/tools/video/swftools/default.nix
index 806a0b2109609bb20977674e6e3e853f4e8a379c..0a658a23e1cfbcc807d1630816366f963e25dcde 100644
--- a/pkgs/tools/video/swftools/default.nix
+++ b/pkgs/tools/video/swftools/default.nix
@@ -13,6 +13,6 @@ stdenv.mkDerivation {
meta = {
description = "Collection of SWF manipulation and creation utilities";
homepage = http://www.swftools.org/about.html;
- license = "GPLv2";
+ license = stdenv.lib.licenses.gpl2;
};
}
diff --git a/pkgs/tools/virtualization/aws/default.nix b/pkgs/tools/virtualization/aws/default.nix
index 27f4ce4476fd61da8989b893300ef51fe72626e2..123dbf647f0d71bfcce89a9f9a0b1f200cbaf7e9 100644
--- a/pkgs/tools/virtualization/aws/default.nix
+++ b/pkgs/tools/virtualization/aws/default.nix
@@ -22,6 +22,6 @@ stdenv.mkDerivation {
meta = {
homepage = http://www.timkay.com/aws/;
description = "Command-line utility for working with Amazon EC2, S3, SQS, ELB, IAM and SDB";
- license = "GPLv3+";
+ license = stdenv.lib.licenses.gpl3Plus;
};
}
diff --git a/pkgs/tools/virtualization/ec2-ami-tools/default.nix b/pkgs/tools/virtualization/ec2-ami-tools/default.nix
index e9b62886fce8d2a465cb122c094d3de3b81ab9cb..1f04229c2c82c0247d6fb3015649ad96c1691e90 100644
--- a/pkgs/tools/virtualization/ec2-ami-tools/default.nix
+++ b/pkgs/tools/virtualization/ec2-ami-tools/default.nix
@@ -36,7 +36,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://developer.amazonwebservices.com/connect/entry.jspa?externalID=368&categoryID=88;
description = "Command-line tools to create and manage Amazon EC2 virtual machine images";
- license = "unfree-redistributable";
+ license = "unfree-redistributable"; # Amazon || (Ruby GPL-2)
};
}
diff --git a/pkgs/tools/virtualization/ec2-api-tools/default.nix b/pkgs/tools/virtualization/ec2-api-tools/default.nix
index a80ad91c4c302eb2213449bd602f58d8d6b7ad2d..34cfa662c9167f0f0871a7c72d3b44545730f4e8 100644
--- a/pkgs/tools/virtualization/ec2-api-tools/default.nix
+++ b/pkgs/tools/virtualization/ec2-api-tools/default.nix
@@ -29,6 +29,6 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://developer.amazonwebservices.com/connect/entry.jspa?externalID=351;
description = "Command-line tools to create and manage Amazon EC2 virtual machines";
- license = "unfree-redistributable";
+ license = "unfree-redistributable"; #Amazon
};
}
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index 5d7c2173e21bcb9c1996a43d68ca6d7022dc5ac3..538a5ee72425eadbca51dcdb62971f48133c8d94 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -153,15 +153,16 @@ let
# Override system. This is useful to build i686 packages on x86_64-linux.
- forceSystem = system: (import ./all-packages.nix) {
+ forceSystem = system: kernel: (import ./all-packages.nix) {
inherit system;
+ platform = platform // { kernelArch = kernel; };
inherit bootStdenv noSysDirs gccWithCC gccWithProfiling config
- crossSystem platform;
+ crossSystem;
};
# Used by wine, firefox with debugging version of Flash, ...
- pkgsi686Linux = forceSystem "i686-linux";
+ pkgsi686Linux = forceSystem "i686-linux" "i386";
callPackage_i686 = lib.callPackageWith (pkgsi686Linux // pkgsi686Linux.xorg);
@@ -611,6 +612,8 @@ let
cv = callPackage ../tools/misc/cv { };
+ crawl = callPackage ../games/crawl { lua = lua5; };
+
ditaa = callPackage ../tools/graphics/ditaa { };
direnv = callPackage ../tools/misc/direnv { };
@@ -698,6 +701,10 @@ let
btar = callPackage ../tools/backup/btar { };
+ bud = callPackage ../tools/networking/bud {
+ inherit (pythonPackages) gyp;
+ };
+
bup = callPackage ../tools/backup/bup {
inherit (pythonPackages) pyxattr pylibacl setuptools fuse;
inherit (haskellPackages) pandoc;
@@ -712,6 +719,8 @@ let
cabextract = callPackage ../tools/archivers/cabextract { };
+ cadaver = callPackage ../tools/networking/cadaver { };
+
cantata = callPackage ../applications/audio/cantata { };
can-utils = callPackage ../os-specific/linux/can-utils { };
@@ -950,8 +959,16 @@ let
efivar = callPackage ../tools/system/efivar { };
+ evemu = callPackage ../tools/system/evemu { };
+
elasticsearch = callPackage ../servers/search/elasticsearch { };
+ elasticsearchPlugins = recurseIntoAttrs (
+ callPackage ../servers/search/elasticsearch/plugins.nix { }
+ );
+
+ emv = callPackage ../tools/misc/emv { };
+
enblendenfuse = callPackage ../tools/graphics/enblend-enfuse {
boost = boost149;
};
@@ -1088,6 +1105,10 @@ let
gawkInteractive = appendToName "interactive"
(gawk.override { readlineSupport = true; });
+ gbdfed = callPackage ../tools/misc/gbdfed {
+ gtk = gtk2;
+ };
+
gdmap = callPackage ../tools/system/gdmap { };
genext2fs = callPackage ../tools/filesystems/genext2fs { };
@@ -1150,6 +1171,8 @@ let
else stdenv;
};
+ gnuplot_qt = gnuplot.override { qt = qt4; };
+
# must have AquaTerm installed separately
gnuplot_aquaterm = gnuplot.override { aquaterm = true; };
@@ -1165,6 +1188,8 @@ let
gource = callPackage ../applications/version-management/gource {};
+ gpodder = callPackage ../applications/audio/gpodder { };
+
gptfdisk = callPackage ../tools/system/gptfdisk { };
grafana = callPackage ../development/tools/misc/grafana { };
@@ -1345,6 +1370,8 @@ let
kazam = callPackage ../applications/video/kazam { };
+ kalibrate-rtl = callPackage ../tools/misc/kalibrate-rtl { };
+
kexectools = callPackage ../os-specific/linux/kexectools { };
keychain = callPackage ../tools/misc/keychain { };
@@ -1397,6 +1424,8 @@ let
libestr = callPackage ../development/libraries/libestr { };
+ libevdev = callPackage ../development/libraries/libevdev { };
+
liboauth = callPackage ../development/libraries/liboauth { };
libtirpc = callPackage ../development/libraries/ti-rpc { };
@@ -1692,6 +1721,12 @@ let
openobex = callPackage ../tools/bluetooth/openobex { };
+ openopc = callPackage ../tools/misc/openopc {
+ pythonFull = python27Full.override {
+ extraLibs = [ python27Packages.pyro3 ];
+ };
+ };
+
openresolv = callPackage ../tools/networking/openresolv { };
opensc = callPackage ../tools/security/opensc { };
@@ -2423,6 +2458,8 @@ let
xdelta = callPackage ../tools/compression/xdelta { };
+ xdummy = callPackage ../tools/misc/xdummy { };
+
xfsprogs = callPackage ../tools/filesystems/xfsprogs { };
xmlroff = callPackage ../tools/typesetting/xmlroff {
@@ -2533,8 +2570,6 @@ let
clang_34 = wrapClang llvmPackages_34.clang;
clang_33 = wrapClang (clangUnwrapped llvm_33 ../development/compilers/llvm/3.3/clang.nix);
- clang_32 = wrapClang (clangUnwrapped llvm_32 ../development/compilers/llvm/3.2/clang.nix);
- clang_31 = wrapClang (clangUnwrapped llvm_31 ../development/compilers/llvm/3.1/clang.nix);
clangAnalyzer = callPackage ../development/tools/analysis/clang-analyzer {
clang = clang_34;
@@ -2604,22 +2639,6 @@ let
inherit fetchurl stdenv noSysDirs;
});
- # XXX: GCC 4.2 (and possibly others) misdetects `makeinfo' when
- # using Texinfo >= 4.10, just because it uses a stupid regexp that
- # expects a single digit after the dot. As a workaround, we feed
- # GCC with Texinfo 4.9. Stupid bug, hackish workaround.
-
- gcc42 = wrapGCC (makeOverridable (import ../development/compilers/gcc/4.2) {
- inherit fetchurl stdenv noSysDirs;
- profiledCompiler = false;
- });
-
- gcc43 = lowPrio (wrapGCC (makeOverridable (import ../development/compilers/gcc/4.3) {
- inherit stdenv fetchurl gmp mpfr noSysDirs;
- texinfo = texinfo4;
- profiledCompiler = true;
- }));
-
gcc48_realCross = lib.addMetaAttrs { hydraPlatforms = []; }
(callPackage ../development/compilers/gcc/4.8 {
inherit noSysDirs;
@@ -2782,24 +2801,6 @@ let
else null;
}));
- gcc49_multi =
- if system == "x86_64-linux" then lowPrio (
- wrapGCCWith (import ../build-support/gcc-wrapper) glibc_multi (gcc49.gcc.override {
- stdenv = overrideGCC stdenv (wrapGCCWith (import ../build-support/gcc-wrapper) glibc_multi gcc.gcc);
- profiledCompiler = false;
- enableMultilib = true;
- }))
- else throw "Multilib gcc not supported on ‘${system}’";
-
- gcc49_debug = lowPrio (wrapGCC (callPackage ../development/compilers/gcc/4.9 {
- stripped = false;
-
- inherit noSysDirs;
- cross = null;
- libcCross = null;
- binutilsCross = null;
- }));
-
gccApple =
assert stdenv.isDarwin;
wrapGCC (makeOverridable (import ../development/compilers/gcc/4.2-apple64) {
@@ -3091,8 +3092,6 @@ let
llvm_34 = llvmPackages_34.llvm;
llvm_33 = llvm_v ../development/compilers/llvm/3.3/llvm.nix;
- llvm_32 = llvm_v ../development/compilers/llvm/3.2;
- llvm_31 = llvm_v ../development/compilers/llvm/3.1;
llvm_v = path: callPackage path {
stdenv = if stdenv.isDarwin
@@ -3219,6 +3218,8 @@ let
menhir = callPackage ../development/ocaml-modules/menhir { };
+ merlin = callPackage ../development/tools/ocaml/merlin { };
+
mldonkey = callPackage ../applications/networking/p2p/mldonkey { };
mlgmp = callPackage ../development/ocaml-modules/mlgmp { };
@@ -3300,10 +3301,6 @@ let
ocamlnat = let callPackage = newScope pkgs.ocamlPackages_3_12_1; in callPackage ../development/ocaml-modules/ocamlnat { };
- opencxx = callPackage ../development/compilers/opencxx {
- gcc = gcc33;
- };
-
qcmm = callPackage ../development/compilers/qcmm {
lua = lua4;
ocaml = ocaml_3_08_0;
@@ -3311,7 +3308,11 @@ let
roadsend = callPackage ../development/compilers/roadsend { };
- rust = callPackage ../development/compilers/rust {};
+ rustc = callPackage ../development/compilers/rustc/0.11.nix {};
+ rustcMaster = callPackage ../development/compilers/rustc/head.nix {};
+
+ rust = rustc;
+
sbclBootstrap = callPackage ../development/compilers/sbcl/bootstrap.nix {};
sbcl = callPackage ../development/compilers/sbcl {
@@ -3659,12 +3660,10 @@ let
tcl = callPackage ../development/interpreters/tcl { };
- xulrunnerWrapper = {application, launcher}:
- import ../development/interpreters/xulrunner/wrapper {
- inherit stdenv application launcher xulrunner;
- };
-
- xulrunner = pkgs.firefoxPkgs.xulrunner;
+ xulrunner = callPackage ../development/interpreters/xulrunner {
+ inherit (gnome) libIDL;
+ inherit (pythonPackages) pysqlite;
+ };
### DEVELOPMENT / MISC
@@ -4015,9 +4014,9 @@ let
ltrace = callPackage ../development/tools/misc/ltrace { };
- lttngTools = callPackage ../development/tools/misc/lttng-tools { };
+ lttng-tools = callPackage ../development/tools/misc/lttng-tools { };
- lttngUst = callPackage ../development/tools/misc/lttng-ust { };
+ lttng-ust = callPackage ../development/tools/misc/lttng-ust { };
lttv = callPackage ../development/tools/misc/lttv { };
@@ -4445,6 +4444,10 @@ let
enginepkcs11 = callPackage ../development/libraries/enginepkcs11 { };
+ epoxy = callPackage ../development/libraries/epoxy {
+ inherit (xorg) utilmacros libX11;
+ };
+
esdl = callPackage ../development/libraries/esdl { };
exiv2 = callPackage ../development/libraries/exiv2 { };
@@ -4537,6 +4540,8 @@ let
freetype = callPackage ../development/libraries/freetype { };
+ frei0r = callPackage ../development/libraries/frei0r { };
+
fribidi = callPackage ../development/libraries/fribidi { };
funambol = callPackage ../development/libraries/funambol { };
@@ -5711,7 +5716,17 @@ let
mkvtoolnix = callPackage ../applications/video/mkvtoolnix { };
- mlt = callPackage ../development/libraries/mlt { };
+ mlt-qt4 = callPackage ../development/libraries/mlt {
+ qt = qt4;
+ SDL = SDL_pulseaudio;
+ };
+
+ mlt-qt5 = callPackage ../development/libraries/mlt {
+ qt = qt5;
+ SDL = SDL_pulseaudio;
+ };
+
+ movit = callPackage ../development/libraries/movit { };
mps = callPackage ../development/libraries/mps { };
@@ -5737,6 +5752,8 @@ let
muparser = callPackage ../development/libraries/muparser { };
+ mygpoclient = callPackage ../development/python-modules/mygpoclient { };
+
mygui = callPackage ../development/libraries/mygui {};
myguiSvn = callPackage ../development/libraries/mygui/svn.nix {};
@@ -5972,6 +5989,21 @@ let
qtLib = qt48Full;
};
+ qt53Full = qt53.override {
+ buildDocs = true;
+ buildExamples = true;
+ buildTests = true;
+ developerBuild = true;
+ };
+
+ qt53 = callPackage ../development/libraries/qt-5/qt-5.3.nix {
+ mesa = mesa_noglu;
+ cups = if stdenv.isLinux then cups else null;
+ # GNOME dependencies are not used unless gtkStyle == true
+ inherit (gnome) libgnomeui GConf gnome_vfs;
+ bison = bison2; # error: too few arguments to function 'int yylex(...
+ };
+
qt5 = callPackage ../development/libraries/qt-5 {
mesa = mesa_noglu;
cups = if stdenv.isLinux then cups else null;
@@ -6006,6 +6038,8 @@ let
rabbitmq-c = callPackage ../development/libraries/rabbitmq-c {};
+ rabbitmq-java-client = callPackage ../development/libraries/rabbitmq-java-client {};
+
raul = callPackage ../development/libraries/audio/raul { };
readline = readline6; # 6.2 works, 6.3 breaks python, parted
@@ -6080,6 +6114,9 @@ let
else stdenv;
};
+ # Fixes major problems with choppy sound in MLT / Kdenlive / Shotcut
+ SDL_pulseaudio = SDL.override { pulseaudioSupport = true; };
+
SDL_gfx = callPackage ../development/libraries/SDL_gfx { };
SDL_image = callPackage ../development/libraries/SDL_image {
@@ -7035,7 +7072,7 @@ let
alsaLib = callPackage ../os-specific/linux/alsa-lib { };
alsaPlugins = callPackage ../os-specific/linux/alsa-plugins {
- jackaudio = null;
+ jack2 = null;
};
alsaPluginWrapper = callPackage ../os-specific/linux/alsa-plugins/wrapper.nix { };
@@ -7309,15 +7346,6 @@ let
];
};
- linux_3_10_tuxonice = linux_3_10.override (attrs: {
- kernelPatches = attrs.kernelPatches ++ [
- kernelPatches.tuxonice_3_10
- ];
- extraConfig = ''
- TOI_CORE y
- '';
- });
-
linux_3_12 = makeOverridable (import ../os-specific/linux/kernel/linux-3.12.nix) {
inherit fetchurl stdenv perl buildLinux;
kernelPatches = lib.optionals ((platform.kernelArch or null) == "mips")
@@ -7419,7 +7447,7 @@ let
ktap = callPackage ../os-specific/linux/ktap { };
- lttngModules = callPackage ../os-specific/linux/lttng-modules { };
+ lttng-modules = callPackage ../os-specific/linux/lttng-modules { };
broadcom_sta = callPackage ../os-specific/linux/broadcom-sta/default.nix { };
@@ -7979,6 +8007,8 @@ let
oldstandard = callPackage ../data/fonts/oldstandard { };
+ opensans-ttf = callPackage ../data/fonts/opensans-ttf { };
+
poly = callPackage ../data/fonts/poly { };
posix_man_pages = callPackage ../data/documentation/man-pages-posix { };
@@ -8005,6 +8035,11 @@ let
sourceCodePro = callPackage ../data/fonts/source-code-pro {};
+ source-han-sans-japanese = callPackage ../data/fonts/source-han-sans/japanese.nix {};
+ source-han-sans-korean = callPackage ../data/fonts/source-han-sans/korean.nix {};
+ source-han-sans-simplified-chinese = callPackage ../data/fonts/source-han-sans/simplified-chinese.nix {};
+ source-han-sans-traditional-chinese = callPackage ../data/fonts/source-han-sans/traditional-chinese.nix {};
+
tango-icon-theme = callPackage ../data/icons/tango-icon-theme { };
themes = name: import (../data/misc/themes + ("/" + name + ".nix")) {
@@ -8355,24 +8390,6 @@ let
emacs = emacs24;
- emacs23 = callPackage ../applications/editors/emacs-23 {
- stdenv =
- if stdenv.isDarwin
- /* On Darwin, use Apple-GCC, otherwise:
- configure: error: C preprocessor "cc -E -no-cpp-precomp" fails sanity check */
- then overrideGCC stdenv gccApple
- else stdenv;
-
- # use override to select the appropriate gui toolkit
- libXaw = if stdenv.isDarwin then xlibs.libXaw else null;
- Xaw3d = null;
- gtk = if stdenv.isDarwin then null else gtk;
- # TODO: these packages don't build on Darwin.
- gconf = null /* if stdenv.isDarwin then null else gnome.GConf */;
- librsvg = null /* if stdenv.isDarwin then null else librsvg */;
- texinfo = texinfo4;
- };
-
emacs24 = callPackage ../applications/editors/emacs-24 {
# use override to enable additional features
libXaw = xlibs.libXaw;
@@ -8392,12 +8409,12 @@ let
withX = false;
}));
- emacs24Macport = callPackage ../applications/editors/emacs-24/macport.nix {
+ emacs24Macport = lowPrio (callPackage ../applications/editors/emacs-24/macport.nix {
# resolve unrecognised flag '-fconstant-cfstrings' errors
stdenv = if stdenv.isDarwin
then clangStdenv
else stdenv;
- };
+ });
emacsPackages = emacs: self: let callPackage = newScope self; in rec {
inherit emacs;
@@ -8406,6 +8423,8 @@ let
bbdb = callPackage ../applications/editors/emacs-modes/bbdb { };
+ bbdb3 = callPackage ../applications/editors/emacs-modes/bbdb/3.nix {};
+
cedet = callPackage ../applications/editors/emacs-modes/cedet { };
calfw = callPackage ../applications/editors/emacs-modes/calfw { };
@@ -8528,7 +8547,6 @@ let
xmlRpc = callPackage ../applications/editors/emacs-modes/xml-rpc { };
};
- emacs23Packages = emacsPackages emacs23 pkgs.emacs23Packages;
emacs24Packages = recurseIntoAttrs (emacsPackages emacs24 pkgs.emacs24Packages);
inherit (gnome3) empathy;
@@ -8639,27 +8657,18 @@ let
filezilla = callPackage ../applications/networking/ftp/filezilla { };
- firefox = pkgs.firefoxPkgs.firefox;
-
- firefox36Pkgs = callPackage ../applications/networking/browsers/firefox/3.6.nix {
- inherit (gnome) libIDL;
- };
-
- firefox36Wrapper = wrapFirefox { browser = firefox36Pkgs.firefox; };
-
firefox13Pkgs = callPackage ../applications/networking/browsers/firefox/13.0.nix {
inherit (gnome) libIDL;
};
firefox13Wrapper = wrapFirefox { browser = firefox13Pkgs.firefox; };
- firefoxPkgs = callPackage ../applications/networking/browsers/firefox {
+ firefox = callPackage ../applications/networking/browsers/firefox {
inherit (gnome) libIDL;
inherit (pythonPackages) pysqlite;
- libpng = libpng.override { apngSupport = true; };
};
- firefoxWrapper = wrapFirefox { browser = firefoxPkgs.firefox; };
+ firefoxWrapper = wrapFirefox { browser = pkgs.firefox; };
firefox-bin = callPackage ../applications/networking/browsers/firefox-bin {
gconf = pkgs.gnome.GConf;
@@ -8672,7 +8681,6 @@ let
flashplayer = callPackage ../applications/networking/browsers/mozilla-plugins/flashplayer-11 {
debug = config.flashplayer.debug or false;
- # !!! Fix the dependency on two different builds of nss.
};
freecad = callPackage ../applications/graphics/freecad {
@@ -8776,7 +8784,6 @@ let
gmu = callPackage ../applications/audio/gmu { };
gnash = callPackage ../applications/video/gnash {
- xulrunner = firefoxPkgs.xulrunner;
inherit (gnome) gtkglext;
};
@@ -9097,6 +9104,8 @@ let
lmms = callPackage ../applications/audio/lmms { };
+ lrzsz = callPackage ../tools/misc/lrzsz { };
+
lxdvdrip = callPackage ../applications/video/lxdvdrip { };
handbrake = callPackage ../applications/video/handbrake { };
@@ -9187,6 +9196,8 @@ let
mopidy-spotify = callPackage ../applications/audio/mopidy-spotify { };
+ mopidy-moped = callPackage ../applications/audio/mopidy-moped { };
+
mozilla = callPackage ../applications/networking/browsers/mozilla {
inherit (gnome) libIDL;
};
@@ -9272,6 +9283,8 @@ let
ruby_ncursesw_sup = callPackage ../development/libraries/ruby_ncursesw_sup { };
+ shotcut = callPackage ../applications/video/shotcut { mlt = mlt-qt5; };
+
smplayer = callPackage ../applications/video/smplayer { };
sup = with rubyLibs; callPackage ../applications/networking/mailreaders/sup {
@@ -9507,9 +9520,9 @@ let
qt = qt4;
};
- retroshare06 = callPackage ../applications/networking/p2p/retroshare/0.6.nix {
+ retroshare06 = lowPrio (callPackage ../applications/networking/p2p/retroshare/0.6.nix {
qt = qt4;
- };
+ });
rsync = callPackage ../applications/networking/sync/rsync {
enableACLs = !(stdenv.isDarwin || stdenv.isSunOS || stdenv.isFreeBSD);
@@ -9569,6 +9582,8 @@ let
slrn = callPackage ../applications/networking/newsreaders/slrn { };
+ spideroak = callPackage ../applications/networking/spideroak { };
+
ssvnc = callPackage ../applications/networking/remote/ssvnc { };
st = callPackage ../applications/misc/st {
@@ -9804,6 +9819,8 @@ let
uzbl = callPackage ../applications/networking/browsers/uzbl {
webkit = webkitgtk2;
};
+
+ uTox = callPackage ../applications/networking/instant-messengers/utox { };
vanitygen = callPackage ../applications/misc/vanitygen { };
@@ -9860,6 +9877,8 @@ let
flags = [ "python" "X11" ]; # only flag "X11" by now
});
+ vimpc = callPackage ../applications/audio/vimpc { };
+
virtviewer = callPackage ../applications/virtualization/virt-viewer {
gtkvnc = gtkvnc.override { enableGTK3 = true; };
spice_gtk = spice_gtk.override { enableGTK3 = true; };
@@ -10014,7 +10033,9 @@ let
xdotool = callPackage ../tools/X11/xdotool { };
- xen = callPackage ../applications/virtualization/xen { };
+ xen = callPackage ../applications/virtualization/xen {
+ stdenv = overrideGCC stdenv gcc45;
+ };
xfe = callPackage ../applications/misc/xfe {
fox = fox_1_6;
@@ -10103,6 +10124,8 @@ let
zathura = zathuraCollection.zathuraWrapper;
+ zed = callPackage ../applications/editors/zed { };
+
zeroc_ice = callPackage ../development/libraries/zeroc-ice { };
girara = callPackage ../applications/misc/girara {
@@ -10181,10 +10204,20 @@ let
};
};
+ dwarf_fortress_2014 = callPackage_i686 ../games/dwarf-fortress/df2014.nix {
+ SDL_image = pkgsi686Linux.SDL_image.override {
+ libpng = pkgsi686Linux.libpng12;
+ };
+ };
+
dwarf_fortress_modable = appendToName "moddable" (dwarf_fortress.override {
copyDataDirectory = true;
});
+ dwarf_fortress_2014_modable = appendToName "moddable" (dwarf_fortress_2014.override {
+ copyDataDirectory = true;
+ });
+
dwarf-therapist = callPackage ../games/dwarf-therapist { };
d1x_rebirth = callPackage ../games/d1x-rebirth { };
@@ -10197,10 +10230,7 @@ let
egoboo = callPackage ../games/egoboo { };
- exult = callPackage ../games/exult {
- stdenv = overrideGCC stdenv gcc42;
- libpng = libpng12;
- };
+ exult = callPackage ../games/exult { };
flightgear = callPackage ../games/flightgear { };
@@ -10572,7 +10602,7 @@ let
kdeconnect = callPackage ../applications/misc/kdeconnect { };
- kdenlive = callPackage ../applications/video/kdenlive { };
+ kdenlive = callPackage ../applications/video/kdenlive { mlt = mlt-qt4; };
kdesvn = callPackage ../applications/version-management/kdesvn { };
@@ -10706,7 +10736,6 @@ let
arb = callPackage ../applications/science/biology/arb {
lesstif = lesstif93;
- stdenv = overrideGCC stdenv gcc42;
};
archimedes = callPackage ../applications/science/electronics/archimedes { };
@@ -11064,9 +11093,9 @@ let
hplipWithPlugin = hplip.override { withPlugin = true; };
# using the new configuration style proposal which is unstable
- jack1d = callPackage ../misc/jackaudio/jack1.nix { };
+ jack1 = callPackage ../misc/jackaudio/jack1.nix { };
- jackaudio = callPackage ../misc/jackaudio { };
+ jack2 = callPackage ../misc/jackaudio { };
keynav = callPackage ../tools/X11/keynav { };
@@ -11385,6 +11414,8 @@ let
zsnes = callPackage_i686 ../misc/emulators/zsnes { };
+ snes9x-gtk = callPackage ../misc/emulators/snes9x-gtk { };
+
misc = import ../misc/misc.nix { inherit pkgs stdenv; };
bullet = callPackage ../development/libraries/bullet {};
@@ -11399,6 +11430,8 @@ let
# Attributes for backward compatibility.
adobeReader = adobe-reader;
asciidocFull = asciidoc-full; # added 2014-06-22
+ lttngTools = lttng-tools; # added 2014-07-31
+ lttngUst = lttng-ust; # added 2014-07-31
}; in self; in pkgs
diff --git a/pkgs/top-level/haskell-defaults.nix b/pkgs/top-level/haskell-defaults.nix
index a81f8cae90ad4f65b2321d6fc39d5d08ef0fd410..45c3ab9cb953ceae66b57590fd2cf2a57b56654d 100644
--- a/pkgs/top-level/haskell-defaults.nix
+++ b/pkgs/top-level/haskell-defaults.nix
@@ -21,8 +21,8 @@
};
ghc783Prefs = self : super : ghcHEADPrefs self super // {
- cabalInstall_1_20_0_3 = super.cabalInstall_1_20_0_3.override { Cabal = self.Cabal_1_20_0_1; };
- codex = super.codex.override { hackageDb = super.hackageDb.override { Cabal = self.Cabal_1_20_0_1; }; };
+ cabalInstall_1_20_0_3 = super.cabalInstall_1_20_0_3.override { Cabal = self.Cabal_1_20_0_2; };
+ codex = super.codex.override { hackageDb = super.hackageDb.override { Cabal = self.Cabal_1_20_0_2; }; };
mtl = self.mtl_2_1_2;
};
@@ -49,7 +49,6 @@
networkTransport = super.networkTransport.override { binary = self.binary_0_7_2_1; };
distributedProcess = super.distributedProcess.override { binary = self.binary_0_7_2_1; };
singletons = null; # requires base >= 4.7
- vty_5_1_1 = super.vty_5_1_1.override { cabal = self.cabal.override { Cabal = self.Cabal_1_18_1_3; }; };
transformers = self.transformers_0_3_0_0; # core packagen in ghc > 7.6.x
zipArchive = super.zipArchive_0_2_2_1; # works without binary 0.7.x
};
diff --git a/pkgs/top-level/haskell-packages.nix b/pkgs/top-level/haskell-packages.nix
index e01959d7a255487190f06a6e11ab1057c541ed6b..11102c27a590c4a16b09c636b73c19e7e36843d8 100644
--- a/pkgs/top-level/haskell-packages.nix
+++ b/pkgs/top-level/haskell-packages.nix
@@ -225,10 +225,14 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in
baseUnicodeSymbols = callPackage ../development/libraries/haskell/base-unicode-symbols {};
+ basePrelude = callPackage ../development/libraries/haskell/base-prelude {};
+
basicPrelude = callPackage ../development/libraries/haskell/basic-prelude {};
benchpress = callPackage ../development/libraries/haskell/benchpress {};
+ bencoding = callPackage ../development/libraries/haskell/bencoding {};
+
bert = callPackage ../development/libraries/haskell/bert {};
bifunctors = callPackage ../development/libraries/haskell/bifunctors {};
@@ -334,7 +338,7 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in
Cabal_1_14_0 = callPackage ../development/libraries/haskell/Cabal/1.14.0.nix {};
Cabal_1_16_0_3 = callPackage ../development/libraries/haskell/Cabal/1.16.0.3.nix {};
Cabal_1_18_1_3 = callPackage ../development/libraries/haskell/Cabal/1.18.1.3.nix {};
- Cabal_1_20_0_1 = callPackage ../development/libraries/haskell/Cabal/1.20.0.1.nix {};
+ Cabal_1_20_0_2 = callPackage ../development/libraries/haskell/Cabal/1.20.0.2.nix {};
Cabal = null; # core package since forever
cabalCargs = callPackage ../development/libraries/haskell/cabal-cargs {};
@@ -692,6 +696,8 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in
dyre = callPackage ../development/libraries/haskell/dyre {};
+ easyFile = callPackage ../development/libraries/haskell/easy-file {};
+
editDistance = callPackage ../development/libraries/haskell/edit-distance {};
editline_0_2_1_0 = callPackage ../development/libraries/haskell/editline/0.2.1.0.nix {};
@@ -727,7 +733,9 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in
entropy = callPackage ../development/libraries/haskell/entropy {};
- equivalence = callPackage ../development/libraries/haskell/equivalence {};
+ equivalence_0_2_3 = callPackage ../development/libraries/haskell/equivalence/0.2.3.nix {};
+ equivalence_0_2_5 = callPackage ../development/libraries/haskell/equivalence/0.2.5.nix {};
+ equivalence = self.equivalence_0_2_5;
erf = callPackage ../development/libraries/haskell/erf {};
@@ -830,11 +838,7 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in
free = callPackage ../development/libraries/haskell/free {};
- freeGame_1_0_5 = callPackage ../development/libraries/haskell/free-game/1.0.5.nix {
- boundingboxes = self.boundingboxes_0_1_1;
- };
- freeGame_1_1 = callPackage ../development/libraries/haskell/free-game/1.1.nix {};
- freeGame = self.freeGame_1_1;
+ freeGame = callPackage ../development/libraries/haskell/free-game {};
fsnotify = callPackage ../development/libraries/haskell/fsnotify {};
@@ -1048,8 +1052,6 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in
hasteCompiler = callPackage ../development/libraries/haskell/haste-compiler {};
- hastePerch = callPackage ../development/libraries/haskell/haste-perch {};
-
hcltest = callPackage ../development/libraries/haskell/hcltest {};
hedis = callPackage ../development/libraries/haskell/hedis {};
@@ -1260,6 +1262,8 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in
HUnit_1_2_5_2 = callPackage ../development/libraries/haskell/HUnit/1.2.5.2.nix {};
HUnit = self.HUnit_1_2_5_2;
+ HUnitApprox = callPackage ../development/libraries/haskell/HUnit-approx {};
+
hweblib = callPackage ../development/libraries/haskell/hweblib/default.nix {};
hxt = callPackage ../development/libraries/haskell/hxt {};
@@ -1745,9 +1749,8 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in
parsec = self.parsec_3_1_5;
parsers_0_10_3 = callPackage ../development/libraries/haskell/parsers/0.10.3.nix {};
- parsers_0_11_0_3 = callPackage ../development/libraries/haskell/parsers/0.11.0.3.nix {};
- parsers_0_12 = callPackage ../development/libraries/haskell/parsers/0.12.nix {};
- parsers = self.parsers_0_11_0_3; # the new version breaks trifecta
+ parsers_0_12_1 = callPackage ../development/libraries/haskell/parsers/0.12.1.nix {};
+ parsers = self.parsers_0_12_1;
parsimony = callPackage ../development/libraries/haskell/parsimony {};
@@ -1811,6 +1814,8 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in
placeholders = callPackage ../development/libraries/haskell/placeholders {};
+ plugins= callPackage ../development/libraries/haskell/plugins {};
+
polyparse = callPackage ../development/libraries/haskell/polyparse {};
pointed = callPackage ../development/libraries/haskell/pointed {};
@@ -2572,8 +2577,8 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in
void = callPackage ../development/libraries/haskell/void {};
vty_4_7_5 = callPackage ../development/libraries/haskell/vty/4.7.5.nix {};
- vty_5_1_1 = callPackage ../development/libraries/haskell/vty/5.1.1.nix {};
- vty = self.vty_4_7_5;
+ vty_5_1_4 = callPackage ../development/libraries/haskell/vty/5.1.4.nix {};
+ vty = self.vty_5_1_4;
vtyUi = callPackage ../development/libraries/haskell/vty-ui {};
@@ -2678,6 +2683,8 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in
xmlhtml = callPackage ../development/libraries/haskell/xmlhtml {};
+ xmlHtmlConduitLens = callPackage ../development/libraries/haskell/xml-html-conduit-lens {};
+
xmlLens = callPackage ../development/libraries/haskell/xml-lens {};
xmlTypes = callPackage ../development/libraries/haskell/xml-types {};
@@ -2755,17 +2762,14 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in
# Compilers.
Agda_2_3_2_2 = callPackage ../development/compilers/agda/2.3.2.2.nix {};
- Agda_2_4_0_1 = callPackage ../development/compilers/agda/2.4.0.1.nix {
- binary = self.binary_0_7_2_1;
- QuickCheck = self.QuickCheck_2_7_5;
- };
- Agda = self.Agda_2_4_0_1;
+ Agda_2_4_0_2 = callPackage ../development/compilers/agda/2.4.0.2.nix {};
+ Agda = self.Agda_2_4_0_2;
AgdaStdlib_0_7 = callPackage ../development/compilers/agda/stdlib-0.7.nix {
Agda = self.Agda_2_3_2_2;
};
AgdaStdlib_0_8 = callPackage ../development/compilers/agda/stdlib-0.8.nix {
- Agda = self.Agda_2_4_0_1;
+ Agda = self.Agda_2_4_0_2;
};
AgdaStdlib = self.AgdaStdlib_0_8;
@@ -2871,10 +2875,6 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in
darcs = callPackage ../applications/version-management/darcs {};
idris_plain = callPackage ../development/compilers/idris {
- parsers = self.parsers_0_10_3;
- trifecta = self.trifecta.override {
- parsers = self.parsers_0_10_3;
- };
llvmGeneral = self.llvmGeneral_3_3_8_2;
llvmGeneralPure = self.llvmGeneralPure_3_3_8_2;
};
@@ -2931,9 +2931,9 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in
cabalDelete = callPackage ../development/tools/haskell/cabal-delete {};
cabalBounds = callPackage ../development/tools/haskell/cabal-bounds {
- Cabal = self.Cabal_1_20_0_1;
+ Cabal = self.Cabal_1_20_0_2;
cabalLenses = self.cabalLenses.override {
- Cabal = self.Cabal_1_20_0_1;
+ Cabal = self.Cabal_1_20_0_2;
};
};
@@ -2950,7 +2950,7 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in
cabalInstall_0_14_0 = callPackage ../tools/package-management/cabal-install/0.14.0.nix {};
cabalInstall_1_16_0_2 = callPackage ../tools/package-management/cabal-install/1.16.0.2.nix { Cabal = self.Cabal_1_16_0_3; };
cabalInstall_1_18_0_3 = callPackage ../tools/package-management/cabal-install/1.18.0.3.nix { Cabal = self.Cabal_1_18_1_3; };
- cabalInstall_1_20_0_3 = callPackage ../tools/package-management/cabal-install/1.20.0.3.nix { Cabal = self.Cabal_1_20_0_1; };
+ cabalInstall_1_20_0_3 = callPackage ../tools/package-management/cabal-install/1.20.0.3.nix { Cabal = self.Cabal_1_20_0_2; };
cabalInstall = self.cabalInstall_1_20_0_3;
codex = callPackage ../development/tools/haskell/codex {};
diff --git a/pkgs/top-level/perl-packages.nix b/pkgs/top-level/perl-packages.nix
index 1e8433cec7f7d2b476e0c994f1f7a825c5f83f32..59da67e5294e8a8ef7afd461949564afef7df0e6 100644
--- a/pkgs/top-level/perl-packages.nix
+++ b/pkgs/top-level/perl-packages.nix
@@ -116,6 +116,19 @@ let self = _self // overrides; _self = with self; {
};
};
+ AnyEventI3 = buildPerlPackage rec {
+ name = "AnyEvent-I3-0.15";
+ src = fetchurl {
+ url = "mirror://cpan/authors/id/M/MS/MSTPLBG/${name}.tar.gz";
+ sha256 = "0x8zi06667bdgaxn7driqx0d71mp6021r51hdzmj5m5qbhi2hvqi";
+ };
+ propagatedBuildInputs = [ AnyEvent JSONXS ];
+ meta = {
+ description = "Communicate with the i3 window manager";
+ license = "perl";
+ };
+ };
+
AnyEventRabbitMQ = buildPerlPackage {
name = "AnyEvent-RabbitMQ-1.15";
src = fetchurl {
@@ -133,12 +146,12 @@ let self = _self // overrides; _self = with self; {
};
AnyMoose = buildPerlPackage rec {
- name = "Any-Moose-0.10";
+ name = "Any-Moose-0.24";
src = fetchurl {
- url = "mirror://cpan/authors/id/S/SA/SARTAK/${name}.tar.gz";
- sha256 = "1kgksln1vykh0xynawv3pc3nw1yp7kjwbxbb5lh2hm21a4l4h61x";
+ url = "mirror://cpan/authors/id/E/ET/ETHER/${name}.tar.gz";
+ sha256 = "0g4w11chpnspnksw80jbdn5wp2m5hqzcyjzcy2hsjz9rkk2ncdbk";
};
- propagatedBuildInputs = [Mouse];
+ propagatedBuildInputs = [ Mouse ];
};
ApacheLogFormatCompiler = buildPerlModule {
@@ -556,6 +569,18 @@ let self = _self // overrides; _self = with self; {
};
};
+ CarpAlways = buildPerlPackage rec {
+ name = "Carp-Always-0.13";
+ src = fetchurl {
+ url = "mirror://cpan/authors/id/F/FE/FERREIRA/${name}.tar.gz";
+ sha256 = "0i2rifkr7ybfcdsqana52487z7vxp2l5qdra0f6ik0ddhn6rzii1";
+ };
+ meta = {
+ description = "Warns and dies noisily with stack backtraces";
+ license = "perl";
+ };
+ };
+
CarpAssert = buildPerlPackage {
name = "Carp-Assert-0.20";
src = fetchurl {
@@ -612,6 +637,7 @@ let self = _self // overrides; _self = with self; {
meta = {
description = "Automated REST Method Dispatching";
license = "perl";
+ platforms = stdenv.lib.platforms.linux;
};
};
@@ -779,6 +805,7 @@ let self = _self // overrides; _self = with self; {
meta = {
description = "Request logging from within Catalyst";
license = "perl";
+ platforms = stdenv.lib.platforms.linux;
};
};
@@ -816,6 +843,7 @@ let self = _self // overrides; _self = with self; {
meta = {
description = "Role based authorization for Catalyst based on Catalyst::Plugin::Authentication";
license = "perl";
+ platforms = stdenv.lib.platforms.linux;
};
};
@@ -860,6 +888,7 @@ let self = _self // overrides; _self = with self; {
propagatedBuildInputs = [ CatalystRuntime CatalystPluginSession GDSecurityImage HTTPDate ];
meta = {
description = "Create and validate Captcha for Catalyst";
+ platforms = stdenv.lib.platforms.linux;
};
};
@@ -919,6 +948,9 @@ let self = _self // overrides; _self = with self; {
};
buildInputs = [ TestMockObject ];
propagatedBuildInputs = [ CatalystRuntime CatalystPluginSession ];
+ meta = {
+ platforms = stdenv.lib.platforms.linux;
+ };
};
CatalystPluginSessionStoreFastMmap = buildPerlPackage rec {
@@ -929,6 +961,9 @@ let self = _self // overrides; _self = with self; {
};
propagatedBuildInputs =
[ PathClass CatalystPluginSession CacheFastMmap MROCompat ];
+ meta = {
+ platforms = stdenv.lib.platforms.linux;
+ };
};
CatalystPluginStackTrace = buildPerlPackage {
@@ -979,6 +1014,7 @@ let self = _self // overrides; _self = with self; {
meta = {
description = "JSON view for your data";
license = "perl";
+ platforms = stdenv.lib.platforms.linux;
};
};
@@ -992,6 +1028,7 @@ let self = _self // overrides; _self = with self; {
meta = {
description = "Template View Class";
license = "perl";
+ platforms = stdenv.lib.platforms.linux;
};
};
@@ -1827,6 +1864,18 @@ let self = _self // overrides; _self = with self; {
makeMakerFlags = "--lib=${pkgs.openssl}/lib";
};
+ CwdGuard = buildPerlModule rec {
+ name = "Cwd-Guard-0.04";
+ src = fetchurl {
+ url = "mirror://cpan/authors/id/K/KA/KAZEBURO/${name}.tar.gz";
+ sha256 = "071k50n1yr48122jjjg50i1s2kwp06dmrisv35f3wjry8m6cqchm";
+ };
+ meta = {
+ description = "Temporary changing working directory (chdir)";
+ license = "perl";
+ };
+ };
+
DataClone = buildPerlPackage {
name = "Data-Clone-0.003";
src = fetchurl {
@@ -3077,6 +3126,9 @@ let self = _self // overrides; _self = with self; {
sha256 = "0ffmpqys7yph5lb28m2xan0zd837vywg8c6gjjd9p80dahpqknyx";
};
propagatedBuildInputs = [EmailSimple EmailAddress ModulePluggable ReturnValue];
+ meta = {
+ platforms = stdenv.lib.platforms.linux;
+ };
};
EmailSender = buildPerlPackage {
@@ -3390,6 +3442,19 @@ let self = _self // overrides; _self = with self; {
};
};
+ ExtUtilsPkgConfig = buildPerlPackage rec {
+ name = "ExtUtils-PkgConfig-1.15";
+ src = fetchurl {
+ url = "mirror://cpan/authors/id/X/XA/XAOC/${name}.tar.gz";
+ sha256 = "1cxh6w8vmyqmhl6afys2q6z6jkp1m6zvacpk70196zmk48p1kcv9";
+ };
+ propagatedBuildInputs = [ pkgs.pkgconfig ];
+ meta = {
+ description = "Simplistic interface to pkg-config";
+ license = stdenv.lib.licenses.lgpl21Plus;
+ };
+ };
+
# From CPAN[1]:
# This module exists merely as a compatibility wrapper around
# ExtUtils::Typemaps. In a nutshell, ExtUtils::Typemap was renamed to
@@ -3705,6 +3770,7 @@ let self = _self // overrides; _self = with self; {
meta = {
description = "Simple and Efficient Reading/Writing/Modifying of Complete Files";
license = "perl";
+ platforms = stdenv.lib.platforms.linux;
};
};
@@ -4376,6 +4442,7 @@ let self = _self // overrides; _self = with self; {
homepage = http://search.cpan.org/perldoc?CPAN::Meta::Spec;
description = "IO Interface to compressed data files/buffers";
license = "perl5";
+ platforms = stdenv.lib.platforms.linux;
};
doCheck = !stdenv.isDarwin;
};
@@ -4507,6 +4574,7 @@ let self = _self // overrides; _self = with self; {
homepage = http://search.cpan.org/perldoc?CPAN::Meta::Spec;
description = "System() and background procs w/ piping, redirs, ptys (Unix, Win32)";
license = "perl5";
+ platforms = stdenv.lib.platforms.linux;
};
};
@@ -4558,13 +4626,14 @@ let self = _self // overrides; _self = with self; {
};
Inline = buildPerlPackage rec {
- name = "Inline-0.45";
+ name = "Inline-0.64";
src = fetchurl {
- url = "mirror://cpan/authors/id/S/SI/SISYPHUS/${name}.tar.gz";
- sha256 = "1k5nrb3nh2y33bs944ri78m1ni60v4cl67ffhxx88azj542y5c9x";
+ url = "mirror://cpan/authors/id/E/ET/ETJ/${name}.tar.gz";
+ sha256 = "17n3gbc9jigpfwqfhgmxpvbgr9rkdrij8jayxqpzw611ixcxrplw";
};
+ buildInputs = [ TestWarn ];
propagatedBuildInputs = [ ParseRecDescent ];
meta = {
@@ -4583,6 +4652,28 @@ let self = _self // overrides; _self = with self; {
};
};
+ InlineC = buildPerlPackage rec {
+ name = "Inline-C-0.62";
+
+ src = fetchurl {
+ url = "mirror://cpan/authors/id/E/ET/ETJ/${name}.tar.gz";
+ sha256 = "0clggdpj5mmi35vm2991f9jsgv2a3s8r4f1bd88xxk8akv5b8i3r";
+ };
+
+ postPatch = ''
+ # this test will fail with chroot builds
+ rm -f t/08taint.t
+ '';
+
+ buildInputs = [ TestWarn FileCopyRecursive ];
+ propagatedBuildInputs = [ Inline ];
+
+ meta = {
+ description = "Write Perl Subroutines in C";
+ license = "perl";
+ };
+ };
+
InlineJava = buildPerlPackage rec {
name = "Inline-Java-0.52";
@@ -4682,6 +4773,7 @@ let self = _self // overrides; _self = with self; {
propagatedBuildInputs = [ CommonSense ];
meta = {
homepage = http://search.cpan.org/perldoc?CPAN::Meta::Spec;
+ platforms = stdenv.lib.platforms.linux;
};
};
@@ -4962,6 +5054,7 @@ let self = _self // overrides; _self = with self; {
meta = {
description = "The World-Wide Web library for Perl";
license = "perl";
+ platforms = stdenv.lib.platforms.linux;
};
};
@@ -4991,6 +5084,7 @@ let self = _self // overrides; _self = with self; {
meta = {
description = "Provide https support for LWP::UserAgent";
license = "perl5";
+ platforms = stdenv.lib.platforms.linux;
};
};
@@ -5350,6 +5444,19 @@ let self = _self // overrides; _self = with self; {
propagatedBuildInputs = [ ExtUtilsXSpp ExtUtilsCppGuess ];
};
+ ModuleBuildXSUtil = buildPerlModule rec {
+ name = "Module-Build-XSUtil-0.10";
+ src = fetchurl {
+ url = "mirror://cpan/authors/id/H/HI/HIDEAKIO/${name}.tar.gz";
+ sha256 = "1323vxp8vf5xdz66lbc1wfciaks93mrbqfsjgb9nz1w9bb21xj36";
+ };
+ buildInputs = [ FileCopyRecursive CwdGuard CaptureTiny ];
+ meta = {
+ description = "A Module::Build class for building XS modules";
+ license = "perl";
+ };
+ };
+
ModuleCoreList = buildPerlPackage {
name = "Module-CoreList-3.01";
src = fetchurl {
@@ -6156,14 +6263,30 @@ let self = _self // overrides; _self = with self; {
};
};
- Mouse = buildPerlPackage rec {
- name = "Mouse-0.26";
+ Mouse = buildPerlModule rec {
+ name = "Mouse-2.3.0";
src = fetchurl {
- url = "mirror://cpan/authors/id/B/BO/BOBTFISH/${name}.tar.gz";
- sha256 = "0dpf5qmf1vc8dq5nj6yiriz8v4wl8s9g519v1hnz4yf11n2lnr4x";
+ url = "mirror://cpan/authors/id/G/GF/GFUJI/${name}.tar.gz";
+ sha256 = "0ycl521mmc5989934502730rzsi9xqihdpnjihrkhflqmrzmaqwq";
+ };
+ buildInputs = [
+ ModuleBuildXSUtil TestException TestLeakTrace TestRequires TestOutput
+ TestFatal
+ ];
+ };
+
+ MouseXNativeTraits = buildPerlPackage rec {
+ name = "MouseX-NativeTraits-1.09";
+ src = fetchurl {
+ url = "mirror://cpan/authors/id/G/GF/GFUJI/${name}.tar.gz";
+ sha256 = "0pnbchkxfz9fwa8sniyjqp0mz75b3k2fafq9r09znbbh51dbz9gq";
+ };
+ buildInputs = [ TestFatal ];
+ propagatedBuildInputs = [ AnyMoose ];
+ meta = {
+ description = "Extend attribute interfaces for Mouse";
+ license = "perl";
};
- propagatedBuildInputs = [TestException];
- doCheck = false; # check can't find its own Mouse::Tiny module
};
MozillaCA = buildPerlPackage {
@@ -7168,6 +7291,9 @@ let self = _self // overrides; _self = with self; {
url = "mirror://cpan/authors/id/R/RO/ROODE/${name}.tar.gz";
sha256 = "1shkyxajh6l87nif47ygnfxjwvqf3d3kjpdvxaff4957vqanii2k";
};
+ meta = {
+ platforms = stdenv.lib.platforms.linux;
+ };
};
ReadonlyXS = buildPerlPackage rec {
@@ -7504,6 +7630,9 @@ let self = _self // overrides; _self = with self; {
};
buildInputs = [ TestException ];
propagatedBuildInputs = [ ClassAccessor ListMoreUtils RegexpCommon SQLTokenizer ];
+ meta = {
+ platforms = stdenv.lib.platforms.linux;
+ };
};
SQLTokenizer = buildPerlPackage rec {
@@ -7995,6 +8124,9 @@ let self = _self // overrides; _self = with self; {
sha256 = "0hy1225zg2yg11xhgj0wbiapzjyf6slx17ln36zqvfm07k6widlx";
};
doCheck = false; # no `hostname' in stdenv
+ meta = {
+ platforms = stdenv.lib.platforms.linux;
+ };
};
TAPParserSourceHandlerpgTAP = buildPerlModule {
@@ -8425,6 +8557,18 @@ let self = _self // overrides; _self = with self; {
};
};
+ TestLeakTrace = buildPerlPackage rec {
+ name = "Test-LeakTrace-0.14";
+ src = fetchurl {
+ url = "mirror://cpan/authors/id/G/GF/GFUJI/${name}.tar.gz";
+ sha256 = "06cn4g35l2gi9vbsdi2j49cxsji9fvfi7xp4xgdyxxds9vrxydia";
+ };
+ meta = {
+ description = "Traces memory leaks";
+ license = "perl";
+ };
+ };
+
TestLongString = buildPerlPackage rec {
name = "Test-LongString-0.15";
src = fetchurl {
@@ -9045,6 +9189,7 @@ let self = _self // overrides; _self = with self; {
homepage = http://www.shlomifish.org/open-source/projects/docmake/;
description = "Organize Data in Tables";
license = "bsd";
+ platforms = stdenv.lib.platforms.linux;
};
};
@@ -9590,6 +9735,41 @@ let self = _self // overrides; _self = with self; {
doCheck = false; # requires an X server
};
+ X11XCB = buildPerlPackage rec {
+ name = "X11-XCB-0.11";
+ src = fetchurl {
+ url = "mirror://cpan/authors/id/M/MS/MSTPLBG/${name}.tar.gz";
+ sha256 = "18i3z1fzw76kl9n5driys12r6vhp3r6rmb2pjn5nc7m9n4bwgh38";
+ };
+ AUTOMATED_TESTING = false;
+ buildInputs = [
+ ExtUtilsDepends ExtUtilsPkgConfig DataDump
+ XMLSimple XMLDescent TestDeep TestException
+ pkgs.xorg.libxcb pkgs.xorg.xcbproto pkgs.xorg.xcbutil pkgs.xorg.xcbutilwm
+ ];
+ propagatedBuildInputs = [ XSObjectMagic Mouse MouseXNativeTraits TryTiny ];
+ NIX_CFLAGS_LINK = [ "-lxcb" "-lxcb-util" "-lxcb-xinerama" "-lxcb-icccm" ];
+ doCheck = false; # requires an X server
+ meta = {
+ description = "XCB bindings for X";
+ license = "perl";
+ };
+ };
+
+ XMLDescent = buildPerlPackage rec {
+ name = "XML-Descent-1.04";
+ src = fetchurl {
+ url = "mirror://cpan/authors/id/A/AN/ANDYA/${name}.tar.gz";
+ sha256 = "0l5xmw2hd95ypppz3lyvp4sn02ccsikzjwacli3ydxfdz1bbh4d7";
+ };
+ buildInputs = [ TestDifferences ];
+ propagatedBuildInputs = [ XMLTokeParser ];
+ meta = {
+ description = "Recursive descent XML parsing";
+ license = "perl";
+ };
+ };
+
XMLDOM = buildPerlPackage {
name = "XML-DOM-1.44";
src = fetchurl {
@@ -9711,6 +9891,19 @@ let self = _self // overrides; _self = with self; {
propagatedBuildInputs = [XMLParser];
};
+ XMLTokeParser = buildPerlPackage rec {
+ name = "XML-TokeParser-0.05";
+ src = fetchurl {
+ url = "mirror://cpan/authors/id/P/PO/PODMASTER/${name}.tar.gz";
+ sha256 = "1hnpwb3lh6cbgwvjjgqzcp6jm4mp612qn6ili38adc9nhkwv8fc5";
+ };
+ propagatedBuildInputs = [ XMLParser ];
+ meta = {
+ description = "Simplified interface to XML::Parser";
+ license = "perl";
+ };
+ };
+
XMLTwig = buildPerlPackage {
name = "XML-Twig-3.44";
src = fetchurl {
@@ -9729,6 +9922,19 @@ let self = _self // overrides; _self = with self; {
};
};
+ XSObjectMagic = buildPerlPackage rec {
+ name = "XS-Object-Magic-0.04";
+ src = fetchurl {
+ url = "mirror://cpan/authors/id/F/FL/FLORA/${name}.tar.gz";
+ sha256 = "03fghj7hq0fiicmfdxhmzfm4mzv7s097pgkd32ji7jnljvhm9six";
+ };
+ buildInputs = [ ExtUtilsDepends TestFatal Testuseok ];
+ meta = {
+ description = "XS pointer backed objects using sv_magic";
+ license = "perl";
+ };
+ };
+
YAML = buildPerlPackage {
name = "YAML-0.90";
src = fetchurl {
diff --git a/pkgs/top-level/python-packages-generated.nix b/pkgs/top-level/python-packages-generated.nix
index ca980e3863730cef6e0d63e22d9bb948bf582892..e76cf4988d027ef220b2d13584bcf52060f042fd 100644
--- a/pkgs/top-level/python-packages-generated.nix
+++ b/pkgs/top-level/python-packages-generated.nix
@@ -142,7 +142,7 @@ in
BTree-based folder implementation with order support
'';
homepage = "http://pypi.python.org/pypi/plone.folder";
- license = "GPL version 2";
+ license = stdenv.lib.licenses.gpl2;
};
};
@@ -162,7 +162,7 @@ in
The Plone Content Management System (core)
'';
homepage = "http://plone.org/";
- license = "GPL version 2";
+ license = stdenv.lib.licenses.gpl2;
};
};
@@ -182,7 +182,7 @@ in
Waitress WSGI server
'';
homepage = "https://github.com/Pylons/waitress";
- license = "ZPL 2.1";
+ license = stdenv.lib.licenses.zpt21;
};
};
@@ -202,7 +202,7 @@ in
zope.deferredimport allows you to perform imports names that will only be resolved when used in the code.
'';
homepage = "http://pypi.python.org/pypi/zope.deferredimport";
- license = "ZPL 2.1";
+ license = stdenv.lib.licenses.zpt21;
};
};
@@ -222,7 +222,7 @@ in
Python 2 and 3 compatibility utilities
'';
homepage = "http://pypi.python.org/pypi/six/";
- license = "MIT";
+ license = stdenv.lib.licenses.mit;
};
};
@@ -242,7 +242,7 @@ in
Zope Deprecation Infrastructure
'';
homepage = "http://pypi.python.org/pypi/zope.deprecation";
- license = "ZPL 2.1";
+ license = stdenv.lib.licenses.zpt21;
};
};
@@ -262,7 +262,7 @@ in
Uid product for the Zope Content Management Framework
'';
homepage = "http://pypi.python.org/pypi/Products.CMFUid";
- license = "ZPL 2.1 (http://www.zope.org/Resources/License/ZPL-2.1)";
+ license = stdenv.lib.licenses.zpt21;
};
};
@@ -322,7 +322,7 @@ in
A referencebrowser implementation for Archetypes
'';
homepage = "http://pypi.python.org/pypi/archetypes.referencebrowserwidget";
- license = "ZPL 2.1";
+ license = stdenv.lib.licenses.zpt21;
};
};
@@ -342,7 +342,7 @@ in
An extension to zope.formlib, which allows to group fields into different fieldsets.
'';
homepage = "http://pypi.python.org/pypi/plone.fieldsets";
- license = "GPL version 2";
+ license = stdenv.lib.licenses.gpl2;
};
};
@@ -362,7 +362,7 @@ in
redirection tool
'';
homepage = "http://pypi.python.org/pypi/plone.app.redirector";
- license = "GPL version 2";
+ license = stdenv.lib.licenses.gpl2;
};
};
@@ -402,7 +402,7 @@ in
ZODB blob support for Plone
'';
homepage = "http://plone.org/products/plone.app.blob";
- license = "GPL version 2";
+ license = stdenv.lib.licenses.gpl2;
};
};
@@ -444,7 +444,7 @@ in
Programmable browser for functional black-box tests
'';
homepage = "http://pypi.python.org/pypi/zope.testbrowser";
- license = "ZPL 2.1";
+ license = stdenv.lib.licenses.zpt21;
};
};
@@ -464,7 +464,7 @@ in
Full text indexing for ZCatalog / Zope 2.
'';
homepage = "http://pypi.python.org/pypi/Products.ZCTextIndex";
- license = "ZPL 2.1";
+ license = stdenv.lib.licenses.zpt21;
};
};
@@ -504,7 +504,7 @@ in
Local registries for zope component architecture
'';
homepage = "http://pypi.python.org/pypi/zope.site";
- license = "ZPL 2.1";
+ license = stdenv.lib.licenses.zpt21;
};
};
@@ -524,7 +524,7 @@ in
Plone's content menu implementation
'';
homepage = "http://pypi.python.org/pypi/plone.app.contentmenu";
- license = "GPL version 2";
+ license = stdenv.lib.licenses.gpl2;
};
};
@@ -584,7 +584,7 @@ in
Structured Configuration Library
'';
homepage = "http://www.zope.org/Members/fdrake/zconfig/";
- license = "ZPL 2.1";
+ license = stdenv.lib.licenses.zpt21;
};
};
@@ -604,7 +604,7 @@ in
Zope Deprecation Infrastructure
'';
homepage = "http://pypi.python.org/pypi/zope.deprecation";
- license = "ZPL 2.1";
+ license = stdenv.lib.licenses.zpt21;
};
};
@@ -664,7 +664,7 @@ in
Very basic event publishing system
'';
homepage = "http://pypi.python.org/pypi/zope.event";
- license = "ZPL 2.1";
+ license = stdenv.lib.licenses.zpt21;
};
};
@@ -704,7 +704,7 @@ in
Generic Transparent Proxies
'';
homepage = "http://pypi.python.org/pypi/zope.proxy";
- license = "ZPL 2.1";
+ license = stdenv.lib.licenses.zpt21;
};
};
@@ -724,7 +724,7 @@ in
Component vocabularies
'';
homepage = "http://pypi.python.org/pypi/zope.componentvocabulary";
- license = "ZPL 2.1";
+ license = stdenv.lib.licenses.zpt21;
};
};
@@ -744,7 +744,7 @@ in
Zope Content Management Framework core components
'';
homepage = "http://pypi.python.org/pypi/Products.CMFCore";
- license = "ZPL 2.1 (http://www.zope.org/Resources/License/ZPL-2.1)";
+ license = stdenv.lib.licenses.zpt21;
};
};
@@ -824,7 +824,7 @@ in
Special MultiMapping objects used in Zope2.
'';
homepage = "http://pypi.python.org/pypi/MultiMapping";
- license = "ZPL 2.1";
+ license = stdenv.lib.licenses.zpt21;
};
};
@@ -844,7 +844,7 @@ in
SQL method support for Zope 2.
'';
homepage = "http://pypi.python.org/pypi/Products.ZSQLMethods";
- license = "ZPL 2.1";
+ license = stdenv.lib.licenses.zpt21;
};
};
@@ -906,7 +906,7 @@ in
Buildout recipe for creating a Zope 2 instance
'';
homepage = "http://pypi.python.org/pypi/plone.recipe.zope2instance";
- license = "ZPL 2.1";
+ license = stdenv.lib.licenses.zpt21;
};
};
@@ -926,7 +926,7 @@ in
Very basic event publishing system
'';
homepage = "http://pypi.python.org/pypi/zope.event";
- license = "ZPL 2.1";
+ license = stdenv.lib.licenses.zpt21;
};
};
@@ -966,7 +966,7 @@ in
Zope process lifetime events
'';
homepage = "http://pypi.python.org/pypi/zope.processlifetime";
- license = "ZPL 2.1";
+ license = stdenv.lib.licenses.zpt21;
};
};
@@ -986,7 +986,7 @@ in
Default product for the Zope Content Management Framework
'';
homepage = "http://pypi.python.org/pypi/Products.CMFDefault";
- license = "ZPL 2.1 (http://www.zope.org/Resources/License/ZPL-2.1)";
+ license = stdenv.lib.licenses.zpt21;
};
};
@@ -1006,7 +1006,7 @@ in
zope.formlib integration for Plone
'';
homepage = "http://pypi.python.org/pypi/plone.app.form";
- license = "GPL version 2";
+ license = stdenv.lib.licenses.gpl2;
};
};
@@ -1106,7 +1106,7 @@ in
Load, configure, and compose WSGI applications and servers
'';
homepage = "http://pythonpaste.org/deploy/";
- license = "MIT";
+ license = stdenv.lib.licenses.mit;
};
};
@@ -1126,7 +1126,7 @@ in
The default theme for Plone 4.
'';
homepage = "http://pypi.python.org/pypi/plonetheme.sunburst";
- license = "GPL version 2";
+ license = stdenv.lib.licenses.gpl2;
};
};
@@ -1166,7 +1166,7 @@ in
Sequence Sorting
'';
homepage = "http://cheeseshop.python.org/pypi/zope.sequencesort";
- license = "ZPL 2.1";
+ license = stdenv.lib.licenses.zpt21;
};
};
@@ -1206,7 +1206,7 @@ in
Interfaces for Python
'';
homepage = "http://pypi.python.org/pypi/zope.interface";
- license = "ZPL 2.1";
+ license = stdenv.lib.licenses.zpt21;
};
};
@@ -1226,7 +1226,7 @@ in
Zope publication
'';
homepage = "http://pypi.python.org/pypi/zope.app.publication";
- license = "ZPL 2.1";
+ license = stdenv.lib.licenses.zpt21;
};
};
@@ -1246,7 +1246,7 @@ in
Zope Component Architecture
'';
homepage = "http://pypi.python.org/pypi/zope.component";
- license = "ZPL 2.1";
+ license = stdenv.lib.licenses.zpt21;
};
};
@@ -1266,7 +1266,7 @@ in
Content Views for Plone
'';
homepage = "http://pypi.python.org/pypi/plone.app.content";
- license = "GPL version 2";
+ license = stdenv.lib.licenses.gpl2;
};
};
@@ -1306,7 +1306,7 @@ in
Zope External Editor
'';
homepage = "http://pypi.python.org/pypi/Products.ExternalEditor";
- license = "ZPL 2.1";
+ license = stdenv.lib.licenses.zpt21;
};
};
@@ -1386,7 +1386,7 @@ in
A source query widget for z3c.form.
'';
homepage = "http://pypi.python.org/pypi/z3c.formwidget.query";
- license = "ZPL 2.1";
+ license = stdenv.lib.licenses.zpt21;
};
};
@@ -1406,7 +1406,7 @@ in
DCWorkflow product for the Zope Content Management Framework
'';
homepage = "http://pypi.python.org/pypi/Products.DCWorkflow";
- license = "ZPL 2.1 (http://www.zope.org/Resources/License/ZPL-2.1)";
+ license = stdenv.lib.licenses.zpt21;
};
};
@@ -1470,7 +1470,7 @@ in
Zope Template Application Language Expression Syntax (TALES)
'';
homepage = "http://pypi.python.org/pypi/zope.tales";
- license = "ZPL 2.1";
+ license = stdenv.lib.licenses.zpt21;
};
};
@@ -1510,7 +1510,7 @@ in
This package provides a DateTime data type, as known from Zope 2.Unless you need to communicate with Zope 2 APIs, you're probablybetter off using Python's built-in datetime module.
'';
homepage = "http://pypi.python.org/pypi/DateTime";
- license = "ZPL 2.1";
+ license = stdenv.lib.licenses.zpt21;
};
};
@@ -1530,7 +1530,7 @@ in
Special Missing objects used in Zope2.
'';
homepage = "http://pypi.python.org/pypi/Missing";
- license = "ZPL 2.1";
+ license = stdenv.lib.licenses.zpt21;
};
};
@@ -1570,7 +1570,7 @@ in
World timezone definitions, modern and historical
'';
homepage = "http://pytz.sourceforge.net";
- license = "MIT";
+ license = stdenv.lib.licenses.mit;
};
};
@@ -1590,7 +1590,7 @@ in
Zope Configuration Markup Language (ZCML)
'';
homepage = "http://pypi.python.org/pypi/zope.configuration";
- license = "ZPL 2.1";
+ license = stdenv.lib.licenses.zpt21;
};
};
@@ -1610,7 +1610,7 @@ in
check-out/check-in staging for Plone
'';
homepage = "http://pypi.python.org/pypi/plone.app.iterate";
- license = "GPL version 2";
+ license = stdenv.lib.licenses.gpl2;
};
};
@@ -1670,7 +1670,7 @@ in
zope.sendmail integration for Zope 2.
'';
homepage = "http://pypi.python.org/pypi/Products.MailHost";
- license = "ZPL 2.1";
+ license = stdenv.lib.licenses.zpt21;
};
};
@@ -1690,7 +1690,7 @@ in
Zope Broken Object Interfaces
'';
homepage = "http://pypi.python.org/pypi/zope.broken";
- license = "ZPL 2.1";
+ license = stdenv.lib.licenses.zpt21;
};
};
@@ -1710,7 +1710,7 @@ in
Document Templating Markup Language (DTML)
'';
homepage = "http://pypi.python.org/pypi/DocumentTemplate";
- license = "ZPL 2.1";
+ license = stdenv.lib.licenses.zpt21;
};
};
@@ -1730,7 +1730,7 @@ in
Provides support for restricted execution of Python scripts in Zope 2.
'';
homepage = "http://pypi.python.org/pypi/Products.PythonScripts";
- license = "ZPL 2.1";
+ license = stdenv.lib.licenses.zpt21;
};
};
@@ -1810,7 +1810,7 @@ in
Formlib-based controlpanels for Plone.
'';
homepage = "http://pypi.python.org/pypi/plone.app.controlpanel";
- license = "GPL version 2";
+ license = stdenv.lib.licenses.gpl2;
};
};
@@ -1830,7 +1830,7 @@ in
Screen-scraping library
'';
homepage = "http://www.crummy.com/software/BeautifulSoup/bs4/";
- license = "MIT";
+ license = stdenv.lib.licenses.mit;
};
};
@@ -1850,7 +1850,7 @@ in
WSGI request and response object
'';
homepage = "http://webob.org/";
- license = "MIT";
+ license = stdenv.lib.licenses.mit;
};
};
@@ -1870,7 +1870,7 @@ in
An error reporting utility for Zope3
'';
homepage = "http://pypi.python.org/pypi/zope.error";
- license = "ZPL 2.1";
+ license = stdenv.lib.licenses.zpt21;
};
};
@@ -1890,7 +1890,7 @@ in
Plone OpenID authentication support
'';
homepage = "http://pypi.python.org/pypi/plone.app.openid";
- license = "GPL version 2";
+ license = stdenv.lib.licenses.gpl2;
};
};
@@ -1930,7 +1930,7 @@ in
Plone integration for the basic plone.portlets package
'';
homepage = "http://pypi.python.org/pypi/plone.app.portlets";
- license = "GPL version 2";
+ license = stdenv.lib.licenses.gpl2;
};
};
@@ -1990,7 +1990,7 @@ in
Persistent ExtensionClass
'';
homepage = "http://pypi.python.org/pypi/Persistence";
- license = "ZPL 2.1";
+ license = stdenv.lib.licenses.zpt21;
};
};
@@ -2030,7 +2030,7 @@ in
Flexible CMF content
'';
homepage = "http://code.google.com/p/dexterity";
- license = "GPL version 2";
+ license = stdenv.lib.licenses.gpl2;
};
};
@@ -2050,7 +2050,7 @@ in
Recipe for installing Python package distributions as eggs
'';
homepage = "http://cheeseshop.python.org/pypi/zc.recipe.egg";
- license = "ZPL 2.1";
+ license = stdenv.lib.licenses.zpt21;
};
};
@@ -2090,7 +2090,7 @@ in
Enhanced emailing handlers for the python logging package.
'';
homepage = "http://www.simplistix.co.uk/software/python/mailinglogger";
- license = "MIT";
+ license = stdenv.lib.licenses.mit;
};
};
@@ -2110,7 +2110,7 @@ in
A BTree based implementation for Zope 2's OFS.
'';
homepage = "http://pypi.python.org/pypi/Products.BTreeFolder2";
- license = "ZPL 2.1";
+ license = stdenv.lib.licenses.zpt21;
};
};
@@ -2130,7 +2130,7 @@ in
webdav locking support
'';
homepage = "http://pypi.python.org/pypi/plone.locking";
- license = "GPL version 2";
+ license = stdenv.lib.licenses.gpl2;
};
};
@@ -2150,7 +2150,7 @@ in
configurable viewlet manager
'';
homepage = "http://pypi.python.org/pypi/plone.app.viewletmanager";
- license = "GPL version 2";
+ license = stdenv.lib.licenses.gpl2;
};
};
@@ -2170,7 +2170,7 @@ in
Zope testing framework, including the testrunner script.
'';
homepage = "http://pypi.python.org/pypi/zope.testing";
- license = "ZPL 2.1";
+ license = stdenv.lib.licenses.zpt21;
};
};
@@ -2190,7 +2190,7 @@ in
Object life-cycle events
'';
homepage = "http://pypi.python.org/pypi/zope.lifecycleevent";
- license = "ZPL 2.1";
+ license = stdenv.lib.licenses.zpt21;
};
};
@@ -2210,7 +2210,7 @@ in
User-configurable, blob-aware image scaling for Plone.
'';
homepage = "http://pypi.python.org/pypi/plone.app.imaging";
- license = "GPL version 2";
+ license = stdenv.lib.licenses.gpl2;
};
};
@@ -2230,7 +2230,7 @@ in
Plone integration for plone.contentrules
'';
homepage = "http://pypi.python.org/pypi/plone.app.contentrules";
- license = "GPL version 2";
+ license = stdenv.lib.licenses.gpl2;
};
};
@@ -2270,7 +2270,7 @@ in
Zope Page Templates
'';
homepage = "http://pypi.python.org/pypi/zope.pagetemplate";
- license = "ZPL 2.1";
+ license = stdenv.lib.licenses.zpt21;
};
};
@@ -2290,7 +2290,7 @@ in
A package for all things users and groups related (specific to plone)
'';
homepage = "http://pypi.python.org/pypi/plone.app.users";
- license = "GPL version 2";
+ license = stdenv.lib.licenses.gpl2;
};
};
@@ -2310,7 +2310,7 @@ in
System for managing development buildouts
'';
homepage = "http://pypi.python.org/pypi/zc.buildout";
- license = "ZPL 2.1";
+ license = stdenv.lib.licenses.zpt21;
};
};
@@ -2350,7 +2350,7 @@ in
ZODB undo support for Zope2.
'';
homepage = "http://pypi.python.org/pypi/ZopeUndo";
- license = "ZPL 2.1";
+ license = stdenv.lib.licenses.zpt21;
};
};
@@ -2370,7 +2370,7 @@ in
Zope 3 Template Application Languate (TAL)
'';
homepage = "http://pypi.python.org/pypi/zope.tal";
- license = "ZPL 2.1";
+ license = stdenv.lib.licenses.zpt21;
};
};
@@ -2390,7 +2390,7 @@ in
General Zope 2 help screens.
'';
homepage = "http://pypi.python.org/pypi/Products.OFSP";
- license = "ZPL 2.1";
+ license = stdenv.lib.licenses.zpt21;
};
};
@@ -2452,7 +2452,7 @@ in
Zope Container
'';
homepage = "http://pypi.python.org/pypi/zope.container";
- license = "ZPL 2.1";
+ license = stdenv.lib.licenses.zpt21;
};
};
@@ -2492,7 +2492,7 @@ in
zope.interface extension for defining data schemas
'';
homepage = "http://pypi.python.org/pypi/zope.schema";
- license = "ZPL 2.1";
+ license = stdenv.lib.licenses.zpt21;
};
};
@@ -2512,7 +2512,7 @@ in
zope.interface extension for defining data schemas
'';
homepage = "http://pypi.python.org/pypi/zope.schema";
- license = "ZPL 2.1";
+ license = stdenv.lib.licenses.zpt21;
};
};
@@ -2532,7 +2532,7 @@ in
zExceptions contains common exceptions used in Zope2.
'';
homepage = "http://pypi.python.org/pypi/zExceptions";
- license = "ZPL 2.1";
+ license = stdenv.lib.licenses.zpt21;
};
};
@@ -2572,7 +2572,7 @@ in
The Zope publisher publishes Python objects on the web.
'';
homepage = "http://pypi.python.org/pypi/zope.publisher";
- license = "ZPL 2.1";
+ license = stdenv.lib.licenses.zpt21;
};
};
@@ -2592,7 +2592,7 @@ in
ZCML directives for configuring browser views for Zope.
'';
homepage = "http://pypi.python.org/pypi/zope.browserpage/";
- license = "ZPL 2.1";
+ license = stdenv.lib.licenses.zpt21;
};
};
@@ -2612,7 +2612,7 @@ in
Plone specific i18n extensions.
'';
homepage = "http://pypi.python.org/pypi/plone.app.i18n";
- license = "GPL version 2";
+ license = stdenv.lib.licenses.gpl2;
};
};
@@ -2632,7 +2632,7 @@ in
Zope Security Framework
'';
homepage = "http://pypi.python.org/pypi/zope.security";
- license = "ZPL 2.1";
+ license = stdenv.lib.licenses.zpt21;
};
};
@@ -2652,7 +2652,7 @@ in
Cache purging support for Zope 2 applications
'';
homepage = "http://pypi.python.org/pypi/plone.cachepurging";
- license = "GPL version 2";
+ license = stdenv.lib.licenses.gpl2;
};
};
@@ -2694,7 +2694,7 @@ in
Zope Component Architecture
'';
homepage = "http://pypi.python.org/pypi/zope.component";
- license = "ZPL 2.1";
+ license = stdenv.lib.licenses.zpt21;
};
};
@@ -2714,7 +2714,7 @@ in
Acquisition is a mechanism that allows objects to obtain attributes from the containment hierarchy they're in.
'';
homepage = "http://pypi.python.org/pypi/Acquisition";
- license = "ZPL 2.1";
+ license = stdenv.lib.licenses.zpt21;
};
};
@@ -2774,7 +2774,7 @@ in
Zope Viewlets
'';
homepage = "http://pypi.python.org/pypi/zope.viewlet";
- license = "ZPL 2.1";
+ license = stdenv.lib.licenses.zpt21;
};
};
@@ -2834,7 +2834,7 @@ in
Zope Internationalization Support
'';
homepage = "http://pypi.python.org/pypi/zope.i18n";
- license = "ZPL 2.1";
+ license = stdenv.lib.licenses.zpt21;
};
};
@@ -2876,7 +2876,7 @@ in
A backend for ZODB that stores pickles in a relational database.
'';
homepage = "http://pypi.python.org/pypi/RelStorage";
- license = "ZPL 2.1";
+ license = stdenv.lib.licenses.zpt21;
};
};
@@ -2896,7 +2896,7 @@ in
zope.formlib integration for Zope 2
'';
homepage = "http://pypi.python.org/pypi/five.formlib";
- license = "ZPL 2.1";
+ license = stdenv.lib.licenses.zpt21;
};
};
@@ -2978,7 +2978,7 @@ in
Upgrade machinery for Plone.
'';
homepage = "http://pypi.python.org/pypi/plone.app.upgrade";
- license = "GPL version 2";
+ license = stdenv.lib.licenses.gpl2;
};
};
@@ -3018,7 +3018,7 @@ in
Provides transforms from text/x-web-intelligent to text/html and vice versa.
'';
homepage = "http://pypi.python.org/pypi/plone.intelligenttext";
- license = "GPL version 2";
+ license = stdenv.lib.licenses.gpl2;
};
};
@@ -3038,7 +3038,7 @@ in
Zope contenttype
'';
homepage = "http://pypi.python.org/pypi/zope.contenttype";
- license = "ZPL 2.1";
+ license = stdenv.lib.licenses.zpt21;
};
};
@@ -3058,7 +3058,7 @@ in
Generic Transparent Proxies
'';
homepage = "http://pypi.python.org/pypi/zope.proxy";
- license = "ZPL 2.1";
+ license = stdenv.lib.licenses.zpt21;
};
};
@@ -3098,7 +3098,7 @@ in
Zope sendmail
'';
homepage = "http://pypi.python.org/pypi/zope.sendmail";
- license = "ZPL 2.1";
+ license = stdenv.lib.licenses.zpt21;
};
};
@@ -3118,7 +3118,7 @@ in
Object annotation mechanism
'';
homepage = "http://pypi.python.org/pypi/zope.annotation";
- license = "ZPL 2.1";
+ license = stdenv.lib.licenses.zpt21;
};
};
@@ -3138,7 +3138,7 @@ in
Integrate five.customerize into Plone.
'';
homepage = "http://pypi.python.org/pypi/plone.app.customerize/";
- license = "GPL version 2";
+ license = stdenv.lib.licenses.gpl2;
};
};
@@ -3218,7 +3218,7 @@ in
File-system Representation Interfaces
'';
homepage = "http://pypi.python.org/pypi/zope.filerepresentation";
- license = "ZPL 2.1";
+ license = stdenv.lib.licenses.zpt21;
};
};
@@ -3238,7 +3238,7 @@ in
Decorators for caching the values of functions and methods
'';
homepage = "http://pypi.python.org/pypi/plone.memoize";
- license = "GPL version 2";
+ license = stdenv.lib.licenses.gpl2;
};
};
@@ -3258,7 +3258,7 @@ in
Interfaces for Python
'';
homepage = "http://pypi.python.org/pypi/zope.interface";
- license = "ZPL 2.1";
+ license = stdenv.lib.licenses.zpt21;
};
};
@@ -3278,7 +3278,7 @@ in
Interfaces and simple adapter that give the size of an object
'';
homepage = "http://pypi.python.org/pypi/zope.size";
- license = "ZPL 2.1";
+ license = stdenv.lib.licenses.zpt21;
};
};
@@ -3298,7 +3298,7 @@ in
TTW customization of template-based Zope views
'';
homepage = "http://pypi.python.org/pypi/five.customerize";
- license = "ZPL 2.1";
+ license = stdenv.lib.licenses.zpt21;
};
};
@@ -3318,7 +3318,7 @@ in
Resolver for Python dotted names.
'';
homepage = "http://pypi.python.org/pypi/zope.dottedname";
- license = "ZPL 2.1";
+ license = stdenv.lib.licenses.zpt21;
};
};
@@ -3358,7 +3358,7 @@ in
Translation files for Plone
'';
homepage = "http://pypi.python.org/pypi/plone.app.locales";
- license = "GPL version 2";
+ license = stdenv.lib.licenses.gpl2;
};
};
@@ -3378,7 +3378,7 @@ in
z3c.form date and datetime widgets
'';
homepage = "https://github.com/collective/collective.z3cform.datetimewidget";
- license = "GPL version 2";
+ license = stdenv.lib.licenses.gpl2;
};
};
@@ -3398,7 +3398,7 @@ in
Listing of content for the Plone CMS
'';
homepage = "http://pypi.python.org/pypi/plone.app.contentlisting";
- license = "GPL version 2";
+ license = stdenv.lib.licenses.gpl2;
};
};
@@ -3418,7 +3418,7 @@ in
Zope2 application server / web framework
'';
homepage = "http://zope2.zope.org";
- license = "ZPL 2.1";
+ license = stdenv.lib.licenses.zpt21;
};
};
@@ -3458,7 +3458,7 @@ in
This package provides support for external Python methods within a Zope 2 environment.
'';
homepage = "http://pypi.python.org/pypi/Products.ExternalMethod";
- license = "ZPL 2.1";
+ license = stdenv.lib.licenses.zpt21;
};
};
@@ -3478,7 +3478,7 @@ in
Browser layer management for Zope 2 applications
'';
homepage = "http://pypi.python.org/pypi/plone.browserlayer";
- license = "GPL version 2";
+ license = stdenv.lib.licenses.gpl2;
};
};
@@ -3498,7 +3498,7 @@ in
workflow and security settings for Plone
'';
homepage = "http://pypi.python.org/pypi/plone.app.workflow";
- license = "GPL version 2";
+ license = stdenv.lib.licenses.gpl2;
};
};
@@ -3518,7 +3518,7 @@ in
Integration package for `plone.folder` into Plone
'';
homepage = "http://pypi.python.org/pypi/plone.app.folder/";
- license = "GPL version 2";
+ license = stdenv.lib.licenses.gpl2;
};
};
@@ -3538,7 +3538,7 @@ in
Basic inter-process locks
'';
homepage = "http://www.python.org/pypi/zc.lockfile";
- license = "ZPL 2.1";
+ license = stdenv.lib.licenses.zpt21;
};
};
@@ -3558,7 +3558,7 @@ in
Cache managers for Zope 2.
'';
homepage = "http://pypi.python.org/pypi/Products.StandardCacheManagers";
- license = "ZPL 2.1";
+ license = stdenv.lib.licenses.zpt21;
};
};
@@ -3578,7 +3578,7 @@ in
RestrictedPython provides a restricted execution environment for Python, e.g. for running untrusted code.
'';
homepage = "http://pypi.python.org/pypi/RestrictedPython";
- license = "ZPL 2.1";
+ license = stdenv.lib.licenses.zpt21;
};
};
@@ -3598,7 +3598,7 @@ in
Adaptable string interpolation
'';
homepage = "http://pypi.python.org/pypi/plone.stringinterp";
- license = "GPL version 2";
+ license = stdenv.lib.licenses.gpl2;
};
};
@@ -3618,7 +3618,7 @@ in
A RAM-based storage for ZODB
'';
homepage = "http://pypi.python.org/pypi/tempstorage";
- license = "ZPL 2.1";
+ license = stdenv.lib.licenses.zpt21;
};
};
@@ -3658,7 +3658,7 @@ in
Zope datetime
'';
homepage = "http://pypi.python.org/pypi/zope.datetime";
- license = "ZPL 2.1";
+ license = stdenv.lib.licenses.zpt21;
};
};
@@ -3698,7 +3698,7 @@ in
Zope Location
'';
homepage = "http://pypi.python.org/pypi/zope.location/";
- license = "ZPL 2.1";
+ license = stdenv.lib.licenses.zpt21;
};
};
@@ -3718,7 +3718,7 @@ in
UNKNOWN
'';
homepage = "https://github.com/gawel/WSGIProxy2/";
- license = "MIT";
+ license = stdenv.lib.licenses.mit;
};
};
@@ -3738,7 +3738,7 @@ in
Zope locale extraction and management utilities
'';
homepage = "http://pypi.python.org/pypi/zope.app.locales";
- license = "ZPL 2.1";
+ license = stdenv.lib.licenses.zpt21;
};
};
@@ -3778,7 +3778,7 @@ in
Zope Content Type
'';
homepage = "http://cheeseshop.python.org/pypi/zope.app.content";
- license = "ZPL 2.1";
+ license = stdenv.lib.licenses.zpt21;
};
};
@@ -3818,7 +3818,7 @@ in
MIMETools provides the <!--#mime--> tag for DocumentTemplate.
'';
homepage = "http://pypi.python.org/pypi/Products.MIMETools";
- license = "ZPL 2.1";
+ license = stdenv.lib.licenses.zpt21;
};
};
@@ -3878,7 +3878,7 @@ in
Advanced i18n/l10n features
'';
homepage = "http://pypi.python.org/pypi/plone.i18n";
- license = "GPL version 2";
+ license = stdenv.lib.licenses.gpl2;
};
};
@@ -3938,7 +3938,7 @@ in
Zope Object Database: object database and persistence
'';
homepage = "UNKNOWN";
- license = "ZPL 2.1";
+ license = stdenv.lib.licenses.zpt21;
};
};
@@ -3958,7 +3958,7 @@ in
jQuery integration for Plone
'';
homepage = "http://pypi.python.org/pypi/plone.app.jquery";
- license = "GPL version 2";
+ license = stdenv.lib.licenses.gpl2;
};
};
@@ -3998,7 +3998,7 @@ in
Plone ContentRules Engine
'';
homepage = "http://pypi.python.org/pypi/plone.contentrules";
- license = "GPL version 2";
+ license = stdenv.lib.licenses.gpl2;
};
};
@@ -4038,7 +4038,7 @@ in
Message Identifiers for internationalization
'';
homepage = "http://pypi.python.org/pypi/zope.i18nmessageid";
- license = "ZPL 2.1";
+ license = stdenv.lib.licenses.zpt21;
};
};
@@ -4058,7 +4058,7 @@ in
Transaction management for Python
'';
homepage = "http://www.zope.org/Products/ZODB";
- license = "ZPL 2.1";
+ license = stdenv.lib.licenses.zpt21;
};
};
@@ -4078,7 +4078,7 @@ in
Method and property caching decorators
'';
homepage = "http://pypi.python.org/pypi/zope.cachedescriptors";
- license = "ZPL 2.1";
+ license = stdenv.lib.licenses.zpt21;
};
};
@@ -4098,7 +4098,7 @@ in
Tools for managing themes in CMF and Plone sites
'';
homepage = "http://pypi.python.org/pypi/plone.theme";
- license = "GPL version 2";
+ license = stdenv.lib.licenses.gpl2;
};
};
@@ -4138,7 +4138,7 @@ in
Zope 2's indexing and search solution.
'';
homepage = "http://pypi.python.org/pypi/Products.ZCatalog";
- license = "ZPL 2.1";
+ license = stdenv.lib.licenses.zpt21;
};
};
@@ -4178,7 +4178,7 @@ in
Layout mechanisms for Plone
'';
homepage = "http://pypi.python.org/pypi/plone.app.layout";
- license = "GPL version 2";
+ license = stdenv.lib.licenses.gpl2;
};
};
@@ -4246,7 +4246,7 @@ in
Plone UI and default rules for plone.caching/z3c.caching
'';
homepage = "http://pypi.python.org/pypi/plone.app.caching";
- license = "GPL version 2";
+ license = stdenv.lib.licenses.gpl2;
};
};
@@ -4266,7 +4266,7 @@ in
Zope Exceptions
'';
homepage = "http://cheeseshop.python.org/pypi/zope.exceptions";
- license = "ZPL 2.1";
+ license = stdenv.lib.licenses.zpt21;
};
};
@@ -4286,7 +4286,7 @@ in
plone.z3cform is a library that allows use of z3c.form with Zope 2 and the CMF.
'';
homepage = "http://pypi.python.org/pypi/plone.z3cform";
- license = "ZPL 2.1";
+ license = stdenv.lib.licenses.zpt21;
};
};
@@ -4306,7 +4306,7 @@ in
Security framework for Zope2.
'';
homepage = "http://pypi.python.org/pypi/AccessControl";
- license = "ZPL 2.1";
+ license = stdenv.lib.licenses.zpt21;
};
};
@@ -4326,7 +4326,7 @@ in
Special Record objects used in Zope2.
'';
homepage = "http://pypi.python.org/pypi/Record";
- license = "ZPL 2.1";
+ license = stdenv.lib.licenses.zpt21;
};
};
@@ -4386,7 +4386,7 @@ in
Registry for managing CSS and JS
'';
homepage = "http://pypi.python.org/pypi/Products.ResourceRegistries";
- license = "GPL version 2";
+ license = stdenv.lib.licenses.gpl2;
};
};
@@ -4426,7 +4426,7 @@ in
Convenience uid/gid helper function used in Zope2.
'';
homepage = "http://pypi.python.org/pypi/initgroups";
- license = "ZPL 2.1";
+ license = stdenv.lib.licenses.zpt21;
};
};
@@ -4446,7 +4446,7 @@ in
Daemon process control library and tools for Unix-based systems
'';
homepage = "http://www.python.org/pypi/zdaemon";
- license = "ZPL 2.1";
+ license = stdenv.lib.licenses.zpt21;
};
};
@@ -4466,7 +4466,7 @@ in
UNKNOWN
'';
homepage = "http://pypi.python.org/pypi/plone.app.querystring";
- license = "GPL version 2";
+ license = stdenv.lib.licenses.gpl2;
};
};
@@ -4506,7 +4506,7 @@ in
Definition of authentication basics for the Zope Framework
'';
homepage = "http://pypi.python.org/pypi/zope.authentication";
- license = "ZPL 2.1";
+ license = stdenv.lib.licenses.zpt21;
};
};
@@ -4566,7 +4566,7 @@ in
A portlet that fetches results from a collection
'';
homepage = "http://pypi.python.org/pypi/plone.portlet.collection";
- license = "GPL version 2";
+ license = stdenv.lib.licenses.gpl2;
};
};
@@ -4586,7 +4586,7 @@ in
Shared Zope Toolkit browser components
'';
homepage = "http://pypi.python.org/pypi/zope.browser";
- license = "ZPL 2.1";
+ license = stdenv.lib.licenses.zpt21;
};
};
@@ -4606,7 +4606,7 @@ in
This package adds 'saved search' functionality to Plone.
'';
homepage = "http://pypi.python.org/pypi/plone.app.collection";
- license = "GPL version 2";
+ license = stdenv.lib.licenses.gpl2;
};
};
@@ -4626,7 +4626,7 @@ in
Calendar product for the Zope Content Management Framework
'';
homepage = "http://pypi.python.org/pypi/Products.CMFCalendar";
- license = "ZPL 2.1 (http://www.zope.org/Resources/License/ZPL-2.1)";
+ license = stdenv.lib.licenses.zpt21;
};
};
@@ -4648,7 +4648,7 @@ in
The Plone Content Management System
'';
homepage = "http://plone.org/";
- license = "GPL version 2";
+ license = stdenv.lib.licenses.gpl2;
};
};
@@ -4668,7 +4668,7 @@ in
Pluggable Zope2 authentication / authorization framework
'';
homepage = "http://pypi.python.org/pypi/Products.PluggableAuthService";
- license = "ZPL 2.1 (http://www.zope.org/Resources/License/ZPL-2.1)";
+ license = stdenv.lib.licenses.zpt21;
};
};
@@ -4708,7 +4708,7 @@ in
jQuery Tools integration for Plone plus overlay and AJAX form helpers.
'';
homepage = "http://pypi.python.org/pypi/plone.app.jquerytools";
- license = "GPL version 2";
+ license = stdenv.lib.licenses.gpl2;
};
};
@@ -4728,7 +4728,7 @@ in
Read Zope configuration state from profile dirs / tarballs
'';
homepage = "http://pypi.python.org/pypi/Products.GenericSetup";
- license = "ZPL 2.1 (http://www.zope.org/Resources/License/ZPL-2.1)";
+ license = stdenv.lib.licenses.zpt21;
};
};
@@ -4748,7 +4748,7 @@ in
Metaclass for subclassable extension types
'';
homepage = "http://pypi.python.org/pypi/ExtensionClass";
- license = "ZPL 2.1";
+ license = stdenv.lib.licenses.zpt21;
};
};
@@ -4788,7 +4788,7 @@ in
StructuredText parser
'';
homepage = "http://pypi.python.org/pypi/zope.structuredtext";
- license = "ZPL 2.1";
+ license = stdenv.lib.licenses.zpt21;
};
};
@@ -4808,7 +4808,7 @@ in
Zope RAM Cache
'';
homepage = "http://pypi.python.org/pypi/zope.ramcache";
- license = "ZPL 2.1";
+ license = stdenv.lib.licenses.zpt21;
};
};
@@ -4828,7 +4828,7 @@ in
Resolving paths in the object hierarchy
'';
homepage = "http://pypi.python.org/pypi/zope.traversing";
- license = "ZPL 2.1";
+ license = stdenv.lib.licenses.zpt21;
};
};
@@ -4848,7 +4848,7 @@ in
Content Provider Framework for Zope Templates
'';
homepage = "http://pypi.python.org/pypi/zope.contentprovider";
- license = "ZPL 2.1";
+ license = stdenv.lib.licenses.zpt21;
};
};
@@ -4868,7 +4868,7 @@ in
The classic Plone 3 default theme.
'';
homepage = "http://pypi.python.org/pypi/plonetheme.classic";
- license = "GPL version 2";
+ license = stdenv.lib.licenses.gpl2;
};
};
@@ -4908,7 +4908,7 @@ in
A simple static HTML portlet for Plone.
'';
homepage = "http://pypi.python.org/pypi/plone.portlet.static";
- license = "GPL version 2";
+ license = stdenv.lib.licenses.gpl2;
};
};
@@ -4948,7 +4948,7 @@ in
An extension of zope.viewlet to support dynamic portlets
'';
homepage = "http://pypi.python.org/pypi/plone.portlets";
- license = "GPL version 2";
+ license = stdenv.lib.licenses.gpl2;
};
};
@@ -4968,7 +4968,7 @@ in
Configure application plugins based on interfaces
'';
homepage = "http://pypi.python.org/pypi/Products.PluginRegistry";
- license = "ZPL 2.1 (http://www.zope.org/Resources/License/ZPL-2.1)";
+ license = stdenv.lib.licenses.zpt21;
};
};
@@ -5008,7 +5008,7 @@ in
A general logging facility
'';
homepage = "http://cheeseshop.python.org/pypi/zLOG";
- license = "ZPL 2.1";
+ license = stdenv.lib.licenses.zpt21;
};
};
@@ -5028,7 +5028,7 @@ in
Zope Location
'';
homepage = "http://pypi.python.org/pypi/zope.location/";
- license = "ZPL 2.1";
+ license = stdenv.lib.licenses.zpt21;
};
};
@@ -5068,7 +5068,7 @@ in
Form generation and validation library for Zope
'';
homepage = "http://pypi.python.org/pypi/zope.formlib";
- license = "ZPL 2.1";
+ license = stdenv.lib.licenses.zpt21;
};
};
@@ -5088,7 +5088,7 @@ in
Pluggable object copying mechanism
'';
homepage = "http://pypi.python.org/pypi/zope.copy";
- license = "ZPL 2.1";
+ license = stdenv.lib.licenses.zpt21;
};
};
@@ -5108,7 +5108,7 @@ in
A collection of generally useful vocabularies.
'';
homepage = "https://github.com/plone/plone.app.vocabularies";
- license = "GPL version 2";
+ license = stdenv.lib.licenses.gpl2;
};
};
@@ -5128,7 +5128,7 @@ in
UNKNOWN
'';
homepage = "http://pypi.python.org/pypi/archetypes.querywidget";
- license = "GPL version 2";
+ license = stdenv.lib.licenses.gpl2;
};
};
@@ -5168,7 +5168,7 @@ in
Zope catalog index for paths
'';
homepage = "http://pypi.python.org/pypi/Products.ExtendedPathIndex";
- license = "GPL version 2";
+ license = stdenv.lib.licenses.gpl2;
};
};
@@ -5188,7 +5188,7 @@ in
Subrequests for Zope2
'';
homepage = "http://pypi.python.org/pypi/plone.subrequest/";
- license = "GPL version 2";
+ license = stdenv.lib.licenses.gpl2;
};
};
@@ -5208,7 +5208,7 @@ in
An advanced form and widget framework for Zope 3
'';
homepage = "https://launchpad.net/z3c.form";
- license = "ZPL 2.1";
+ license = stdenv.lib.licenses.zpt21;
};
};
@@ -5228,7 +5228,7 @@ in
Action icons product for the Zope Content Management Framework
'';
homepage = "http://pypi.python.org/pypi/Products.CMFActionIcons";
- license = "ZPL 2.1 (http://www.zope.org/Resources/License/ZPL-2.1)";
+ license = stdenv.lib.licenses.zpt21;
};
};
@@ -5248,7 +5248,7 @@ in
Helper to test WSGI applications
'';
homepage = "http://webtest.pythonpaste.org/";
- license = "MIT";
+ license = stdenv.lib.licenses.mit;
};
};
@@ -5268,7 +5268,7 @@ in
Manage link integrity in Plone.
'';
homepage = "http://pypi.python.org/pypi/plone.app.linkintegrity";
- license = "GPL version 2";
+ license = stdenv.lib.licenses.gpl2;
};
};
@@ -5288,7 +5288,7 @@ in
The Original Zope 3 Form Framework
'';
homepage = "http://pypi.python.org/pypi/zope.app.form";
- license = "ZPL 2.1";
+ license = stdenv.lib.licenses.zpt21;
};
};
@@ -5308,10 +5308,9 @@ in
Local site manager implementation for Zope 2
'';
homepage = "http://pypi.python.org/pypi/five.localsitemanager";
- license = "ZPL 2.1";
+ license = stdenv.lib.licenses.zpt21;
};
};
}
-
diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix
index fccad5c81de441348d4b8a2b87290c51d6f5f4e3..066821a71f37e54bd70f6e9f681d2abeef61c7c9 100644
--- a/pkgs/top-level/python-packages.nix
+++ b/pkgs/top-level/python-packages.nix
@@ -474,7 +474,7 @@ rec {
meta = {
homepage = http://code.google.com/p/argparse/;
- license = "Apache License 2.0";
+ license = stdenv.lib.licenses.asl20;
description = "argparse: Python command line parser";
@@ -577,7 +577,7 @@ rec {
meta = {
homepage = https://github.com/botocore/bcdoc;
- license = "Apache License 2.0";
+ license = stdenv.lib.licenses.asl20;
description = "ReST document generation tools for botocore";
};
};
@@ -1582,7 +1582,7 @@ rec {
homepage = http://code.google.com/p/cssutils/;
- license = "LGPLv3+";
+ license = stdenv.lib.licenses.lgpl3Plus;
};
});
@@ -2654,7 +2654,7 @@ rec {
sed -i "/use_setuptools/d" setup.py
'';
- buildInputs = [ pkgs.alsaLib pkgs.jackaudio ];
+ buildInputs = [ pkgs.alsaLib pkgs.jack2 ];
meta = with stdenv.lib; {
description = "A Python wrapper for the RtMidi C++ library written with Cython";
@@ -2785,7 +2785,7 @@ rec {
meta = {
homepage = http://freedesktop.org/wiki/Software/pyxdg;
description = "Contains implementations of freedesktop.org standards";
- license = "LGPLv2";
+ license = stdenv.lib.licenses.lgpl2;
maintainers = [ stdenv.lib.maintainers.iElectric ];
};
};
@@ -2801,7 +2801,7 @@ rec {
meta = {
homepage = https://github.com/erikrose/chardet;
description = "Universal encoding detector";
- license = "LGPLv2";
+ license = stdenv.lib.licenses.lgpl2;
maintainers = [ stdenv.lib.maintainers.iElectric ];
};
};
@@ -3288,7 +3288,7 @@ rec {
'';
# See http://foolscap.lothar.com/trac/browser/LICENSE.
- license = "MIT";
+ license = stdenv.lib.licenses.mit;
maintainers = [ ];
};
@@ -4134,7 +4134,7 @@ rec {
meta = {
description = "Super-fast templating language.";
homepage = http://www.makotemplates.org;
- license = "MIT";
+ license = stdenv.lib.licenses.mit;
maintainers = [ stdenv.lib.maintainers.iElectric ];
};
};
@@ -4305,6 +4305,24 @@ rec {
};
};
+ minimock = buildPythonPackage rec {
+ version = "1.2.8";
+ name = "minimock-${version}";
+
+ src = fetchurl {
+ url = "https://bitbucket.org/jab/minimock/get/${version}.zip";
+ sha256 = "c88fa8a7120623f23990a7f086a9657f6ced09025a55e3be8649a30b4945441a";
+ };
+
+ buildInputs = [ nose ];
+
+ checkPhase = "./test";
+
+ meta = {
+ description = "A minimalistic mocking library for python";
+ homepage = https://pypi.python.org/pypi/MiniMock;
+ };
+ };
mitmproxy = buildPythonPackage rec {
baseName = "mitmproxy";
@@ -4368,7 +4386,7 @@ rec {
homepage = http://moinmo.in/;
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
};
});
@@ -4488,7 +4506,7 @@ rec {
meta = {
description = "Python multimedia tagging library";
homepage = http://code.google.com/p/mutagen;
- license = "LGPLv2";
+ license = stdenv.lib.licenses.lgpl2;
};
});
@@ -4507,7 +4525,7 @@ rec {
meta = {
description = "Utilities for use with console mail clients, like mutt";
homepage = http://www.blacktrash.org/hg/muttils;
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
};
});
@@ -4588,6 +4606,23 @@ rec {
});
+ nbxmpp = buildPythonPackage rec {
+ name = "nbxmpp-0.5";
+
+ src = fetchurl {
+ name = "${name}.tar.gz";
+ url = "https://python-nbxmpp.gajim.org/downloads/5";
+ sha256 = "0y270c9v4i9n58p4ghlm18h50qcfichmfkgcpqd3bypx4fkmdx90";
+ };
+
+ meta = {
+ homepage = "https://python-nbxmpp.gajim.org/";
+ description = "Non-blocking Jabber/XMPP module";
+ license = stdenv.lib.licenses.gpl3;
+ };
+ };
+
+
netaddr = buildPythonPackage rec {
name = "netaddr-0.7.5";
@@ -5199,6 +5234,28 @@ rec {
};
};
+ pbr = buildPythonPackage rec {
+ name = "pbr-0.9.0";
+
+ src = fetchurl {
+ url = "https://pypi.python.org/packages/source/p/pbr/${name}.tar.gz";
+ sha256 = "e5a57c434b1faa509a00bf458d2c7af965199d9cced3d05a547bff9880f7e8cb";
+ };
+
+ # pip depend on $HOME setting
+ preConfigure = "export HOME=$TMPDIR";
+
+ doCheck = false;
+
+ buildInputs = [ pip ];
+
+ meta = {
+ description = "Python Build Reasonableness";
+ homepage = "http://docs.openstack.org/developer/pbr/";
+ license = licenses.asl20;
+ };
+ };
+
pep8 = buildPythonPackage rec {
name = "pep8-${version}";
version = "1.5.7";
@@ -5231,7 +5288,7 @@ rec {
meta = {
homepage = "http://www.noah.org/wiki/Pexpect";
description = "Automate interactive console applications such as ssh, ftp, etc.";
- license = "MIT";
+ license = stdenv.lib.licenses.mit;
longDescription = ''
Pexpect is similar to the Don Libes "Expect" system, but Pexpect
@@ -5658,7 +5715,7 @@ rec {
description = "Python wrappers for the Crypto++ library";
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
maintainers = [ ];
platforms = stdenv.lib.platforms.linux;
@@ -5971,6 +6028,23 @@ rec {
};
});
+ pyro3 = buildPythonPackage (rec {
+ name = "Pyro-3.16";
+
+ src = fetchurl {
+ url = "http://pypi.python.org/packages/source/P/Pyro/${name}.tar.gz";
+ md5 = "59d4d3f4a8786776c9d7f9051b8f1a69";
+ };
+
+ meta = with stdenv.lib; {
+ description = "Distributed object middleware for Python (IPC/RPC)";
+ homepage = http://pythonhosted.org/Pyro/;
+ license = licenses.mit;
+ platforms = platforms.unix;
+ maintainers = [ maintainers.bjornfor ];
+ };
+ });
+
pyrss2gen = buildPythonPackage (rec {
name = "PyRSS2Gen-1.0.0";
@@ -6397,7 +6471,7 @@ rec {
homepage = http://allmydata.org/trac/pyutil;
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
};
});
@@ -6846,7 +6920,7 @@ rec {
meta = {
homepage = http://stuvel.eu/rsa;
- license = "Apache License 2.0";
+ license = stdenv.lib.licenses.asl20;
description = "A pure-Python RSA implementation";
};
};
@@ -7034,7 +7108,7 @@ rec {
homepage = http://code.google.com/p/simplejson/;
- license = "MIT";
+ license = stdenv.lib.licenses.mit;
};
});
@@ -7100,6 +7174,23 @@ rec {
};
};
+ stevedore = buildPythonPackage rec {
+ name = "stevedore-0.15";
+
+ src = fetchurl {
+ url = "http://pypi.python.org/packages/source/s/stevedore/${name}.tar.gz";
+ sha256 = "bec9269cbfa58de4f0849ec79bb7d54eeeed9df8b5fbfa1637fbc68062822847";
+ };
+
+ buildInputs = [ pbr pip ];
+
+ meta = {
+ description = "Manage dynamic plugins for Python applications";
+ homepage = "https://pypi.python.org/pypi/stevedore";
+ license = licenses.asl20;
+ };
+ };
+
pydns = buildPythonPackage rec {
name = "pydns-2.3.6";
@@ -7699,7 +7790,7 @@ rec {
meta = {
homepage = http://taskcoach.org/;
description = "Todo manager to keep track of personal tasks and todo lists";
- license = "GPLv3+";
+ license = stdenv.lib.licenses.gpl3Plus;
};
};
@@ -7984,7 +8075,7 @@ rec {
meta = {
homepage = "urlgrabber.baseurl.org";
- license = "LGPLv2+";
+ license = stdenv.lib.licenses.lgpl2Plus;
description = "Python module for downloading files";
maintainers = [ stdenv.lib.maintainers.qknight ];
};
@@ -8058,6 +8149,32 @@ rec {
};
};
+ virtualenvwrapper = buildPythonPackage (rec {
+ name = "virtualenvwrapper-4.3";
+
+ src = fetchurl {
+ url = "https://pypi.python.org/packages/source/v/virtualenvwrapper/${name}.tar.gz";
+ sha256 = "514cbc22218347bf7b54bdbe49e1a5f550d2d53b1ad2491c10e91ddf48fb528f";
+ };
+
+ # pip depend on $HOME setting
+ preConfigure = "export HOME=$TMPDIR";
+
+ buildInputs = [ pbr pip pkgs.which ];
+ propagatedBuildInputs = [ stevedore virtualenv virtualenv-clone ];
+
+ patchPhase = ''
+ substituteInPlace "virtualenvwrapper.sh" --replace "which" "${pkgs.which}/bin/which"
+ substituteInPlace "virtualenvwrapper_lazy.sh" --replace "which" "${pkgs.which}/bin/which"
+ '';
+
+ meta = {
+ description = "Enhancements to virtualenv";
+ homepage = "https://pypi.python.org/pypi/virtualenvwrapper";
+ license = licenses.mit;
+ };
+ });
+
waitress = buildPythonPackage rec {
name = "waitress-0.8.7";
@@ -8296,7 +8413,7 @@ rec {
homepage = http://python-xlib.sourceforge.net/;
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
};
});
@@ -8406,7 +8523,7 @@ rec {
and Haskell API.
'';
- license = "GPLv2+";
+ license = stdenv.lib.licenses.gpl2Plus;
};
});
@@ -8909,6 +9026,24 @@ rec {
};
+ tornadokick = buildPythonPackage rec {
+ name = "tornadokick-2014.07.23";
+
+ propagatedBuildInputs = [ tornado ];
+
+ src = fetchurl {
+ url = "https://pypi.python.org/packages/source/t/tornadokick/${name}.tar.gz";
+ md5 = "201d26de2993a554b16140af3b4ee1b6";
+ };
+
+ meta = {
+ description = "The TornadoKick Web Toolkit for Tornado Web Framework.";
+ homepage = http://github.com/multoncore/tornadokick;
+ license = stdenv.lib.licenses.asl20;
+ };
+ };
+
+
tarman = buildPythonPackage rec {
version = "0.1.3";
name = "tarman-${version}";
@@ -9487,7 +9622,7 @@ rec {
meta = {
description = "Cross-platform system power status information";
homepage = https://github.com/Kentzo/Power;
- license = "mit";
+ license = stdenv.lib.licenses.mit;
};
};
diff --git a/pkgs/top-level/release-small.nix b/pkgs/top-level/release-small.nix
index df0480bf82cb797d7070d441fa91878f0603048e..341f12cbe4746d21de77d8604a7349c0683d0adf 100644
--- a/pkgs/top-level/release-small.nix
+++ b/pkgs/top-level/release-small.nix
@@ -48,7 +48,6 @@ with import ./release-lib.nix { inherit supportedSystems; };
gcc = all;
gcc33 = linux;
gcc34 = linux;
- gcc42 = linux;
gcc44 = linux;
gcj = linux;
ghdl = linux;
diff --git a/pkgs/top-level/release.nix b/pkgs/top-level/release.nix
index 56cc49abac630adf132e03b04f380136d3ae24fd..fd94b405f6e43efa4533112c3669e2644846e1cb 100644
--- a/pkgs/top-level/release.nix
+++ b/pkgs/top-level/release.nix
@@ -98,7 +98,6 @@ let
drgeo = linux;
ejabberd = linux;
elinks = linux;
- emacs23 = gtkSupported;
enscript = all;
eprover = linux;
evince = linux;
@@ -116,7 +115,6 @@ let
gcc = linux;
gcc33 = linux;
gcc34 = linux;
- gcc42 = linux;
gcc44 = linux;
gcj = linux;
ghdl = linux;
@@ -342,17 +340,6 @@ let
zsh = linux;
zsnes = ["i686-linux"];
- emacs23Packages = {
- bbdb = linux;
- cedet = linux;
- emacsw3m = linux;
- emms = linux;
- jdee = linux;
- };
-
- firefox36Pkgs.firefox = linux;
- firefoxPkgs.firefox = linux;
-
gnome = {
gnome_panel = linux;
metacity = linux;