Merge master into staging-next

This commit is contained in:
Frederik Rietdijk 2018-07-28 12:31:35 +02:00
commit 8db716d9f3
81 changed files with 831 additions and 419 deletions

View File

@ -649,6 +649,8 @@ merge:"diff3"
imageDigest = "sha256:20d9485b25ecfd89204e843a962c1bd70e9cc6858d65d7f5fadc340246e2116b"; <co xml:id='ex-dockerTools-pullImage-2' /> imageDigest = "sha256:20d9485b25ecfd89204e843a962c1bd70e9cc6858d65d7f5fadc340246e2116b"; <co xml:id='ex-dockerTools-pullImage-2' />
finalImageTag = "1.11"; <co xml:id='ex-dockerTools-pullImage-3' /> finalImageTag = "1.11"; <co xml:id='ex-dockerTools-pullImage-3' />
sha256 = "0mqjy3zq2v6rrhizgb9nvhczl87lcfphq9601wcprdika2jz7qh8"; <co xml:id='ex-dockerTools-pullImage-4' /> sha256 = "0mqjy3zq2v6rrhizgb9nvhczl87lcfphq9601wcprdika2jz7qh8"; <co xml:id='ex-dockerTools-pullImage-4' />
os = "linux"; <co xml:id='ex-dockerTools-pullImage-5' />
arch = "x86_64"; <co xml:id='ex-dockerTools-pullImage-6' />
} }
</programlisting> </programlisting>
</example> </example>
@ -664,9 +666,15 @@ merge:"diff3"
<callout arearefs='ex-dockerTools-pullImage-2'> <callout arearefs='ex-dockerTools-pullImage-2'>
<para> <para>
<varname>imageDigest</varname> specifies the digest of the image to be <varname>imageDigest</varname> specifies the digest of the image to be
downloaded. Skopeo can be used to get the digest of an image downloaded. Skopeo can be used to get the digest of an image, with its
<varname>inspect</varname> subcommand. Since a given <varname>imageName</varname>
may transparently refer to a manifest list of images which support
multiple architectures and/or operating systems, supply the `--override-os`
and `--override-arch` arguments to specify exactly which image you
want. By default it will match the OS and architecture of the host the
command is run on.
<programlisting> <programlisting>
$ skopeo inspect docker://docker.io/nixos/nix:1.11 | jq -r '.Digest' $ nix-shell --packages skopeo jq --command "skopeo --override-os linux --override-arch x86_64 inspect docker://docker.io/nixos/nix:1.11 | jq -r '.Digest'"
sha256:20d9485b25ecfd89204e843a962c1bd70e9cc6858d65d7f5fadc340246e2116b sha256:20d9485b25ecfd89204e843a962c1bd70e9cc6858d65d7f5fadc340246e2116b
</programlisting> </programlisting>
This argument is required. This argument is required.
@ -686,6 +694,18 @@ merge:"diff3"
This argument is required. This argument is required.
</para> </para>
</callout> </callout>
<callout arearefs='ex-dockerTools-pullImage-5'>
<para>
<varname>os</varname>, if specified, is the operating system of the fetched image.
By default it's <literal>linux</literal>.
</para>
</callout>
<callout arearefs='ex-dockerTools-pullImage-6'>
<para>
<varname>arch</varname>, if specified, is the cpu architecture of the fetched image.
By default it's <literal>x86_64</literal>.
</para>
</callout>
</calloutlist> </calloutlist>
</section> </section>

View File

@ -231,6 +231,12 @@ lib.mapAttrs (n: v: v // { shortName = n; }) rec {
fullName = "Eiffel Forum License v2.0"; fullName = "Eiffel Forum License v2.0";
}; };
elastic = {
fullName = "ELASTIC LICENSE";
url = https://github.com/elastic/elasticsearch/blob/master/licenses/ELASTIC-LICENSE.txt;
free = false;
};
epl10 = spdx { epl10 = spdx {
spdxId = "EPL-1.0"; spdxId = "EPL-1.0";
fullName = "Eclipse Public License 1.0"; fullName = "Eclipse Public License 1.0";

View File

@ -70,7 +70,7 @@
<listitem> <listitem>
<para> <para>
<link xlink:href="https://github.com/NixOS/nixpkgs/compare/bdf161ed8d21...6b63c4616790"> <link xlink:href="https://github.com/NixOS/nixpkgs/compare/bdf161ed8d21...6b63c4616790">
Bump the <literal>system.nixos.defaultChannel</literal> attribute in Bump the <literal>system.defaultChannel</literal> attribute in
<literal>nixos/modules/misc/version.nix</literal> </link> <literal>nixos/modules/misc/version.nix</literal> </link>
</para> </para>
</listitem> </listitem>

View File

@ -433,9 +433,9 @@ system.autoUpgrade.enable = true;
default. If you have existing systems with such host keys and want to default. If you have existing systems with such host keys and want to
continue to use them, please set continue to use them, please set
<programlisting> <programlisting>
system.nixos.stateVersion = "14.12"; system.stateVersion = "14.12";
</programlisting> </programlisting>
The new option <option>system.nixos.stateVersion</option> ensures that The new option <option>system.stateVersion</option> ensures that
certain configuration changes that could break existing systems (such as certain configuration changes that could break existing systems (such as
the <command>sshd</command> host key setting) will maintain compatibility the <command>sshd</command> host key setting) will maintain compatibility
with the specified NixOS release. NixOps sets the state version of with the specified NixOS release. NixOps sets the state version of

View File

@ -32,5 +32,5 @@ with lib;
# Allow the user to log in as root without a password. # Allow the user to log in as root without a password.
users.users.root.initialHashedPassword = ""; users.users.root.initialHashedPassword = "";
system.nixos.stateVersion = mkDefault "18.03"; system.stateVersion = mkDefault "18.03";
} }

View File

@ -628,7 +628,7 @@ $bootLoaderConfig
# compatible, in order to avoid breaking some software such as database # compatible, in order to avoid breaking some software such as database
# servers. You should change this only after NixOS release notes say you # servers. You should change this only after NixOS release notes say you
# should. # should.
system.nixos.stateVersion = "${\(qw(@release@))}"; # Did you read the comment? system.stateVersion = "${\(qw(@release@))}"; # Did you read the comment?
} }
EOF EOF

View File

@ -21,5 +21,5 @@ with lib;
services.xserver.videoDrivers = mkOverride 40 [ "virtualbox" "vmware" "cirrus" "vesa" "modesetting" ]; services.xserver.videoDrivers = mkOverride 40 [ "virtualbox" "vmware" "cirrus" "vesa" "modesetting" ];
powerManagement.enable = false; powerManagement.enable = false;
system.nixos.stateVersion = mkDefault "18.03"; system.stateVersion = mkDefault "18.03";
} }

View File

@ -12,29 +12,29 @@ in
{ {
options.system.nixos = { options.system = {
version = mkOption { nixos.version = mkOption {
internal = true; internal = true;
type = types.str; type = types.str;
description = "The full NixOS version (e.g. <literal>16.03.1160.f2d4ee1</literal>)."; description = "The full NixOS version (e.g. <literal>16.03.1160.f2d4ee1</literal>).";
}; };
release = mkOption { nixos.release = mkOption {
readOnly = true; readOnly = true;
type = types.str; type = types.str;
default = trivial.release; default = trivial.release;
description = "The NixOS release (e.g. <literal>16.03</literal>)."; description = "The NixOS release (e.g. <literal>16.03</literal>).";
}; };
versionSuffix = mkOption { nixos.versionSuffix = mkOption {
internal = true; internal = true;
type = types.str; type = types.str;
default = trivial.versionSuffix; default = trivial.versionSuffix;
description = "The NixOS version suffix (e.g. <literal>1160.f2d4ee1</literal>)."; description = "The NixOS version suffix (e.g. <literal>1160.f2d4ee1</literal>).";
}; };
revision = mkOption { nixos.revision = mkOption {
internal = true; internal = true;
type = types.str; type = types.str;
default = if pathIsDirectory gitRepo then commitIdFromGitRepo gitRepo default = if pathIsDirectory gitRepo then commitIdFromGitRepo gitRepo
@ -43,7 +43,7 @@ in
description = "The Git revision from which this NixOS configuration was built."; description = "The Git revision from which this NixOS configuration was built.";
}; };
codeName = mkOption { nixos.codeName = mkOption {
readOnly = true; readOnly = true;
type = types.str; type = types.str;
description = "The NixOS release code name (e.g. <literal>Emu</literal>)."; description = "The NixOS release code name (e.g. <literal>Emu</literal>).";
@ -76,8 +76,8 @@ in
config = { config = {
warnings = lib.optional (options.system.nixos.stateVersion.highestPrio > 1000) warnings = lib.optional (options.system.stateVersion.highestPrio > 1000)
"You don't have `system.nixos.stateVersion` explicitly set. Expect things to break."; "You don't have `system.stateVersion` explicitly set. Expect things to break.";
system.nixos = { system.nixos = {
# These defaults are set here rather than up there so that # These defaults are set here rather than up there so that

View File

@ -34,7 +34,7 @@ with lib;
# Subscribe the root user to the NixOS channel by default. # Subscribe the root user to the NixOS channel by default.
if [ "$USER" = root -a ! -e "$HOME/.nix-channels" ]; then if [ "$USER" = root -a ! -e "$HOME/.nix-channels" ]; then
echo "${config.system.nixos.defaultChannel} nixos" > "$HOME/.nix-channels" echo "${config.system.defaultChannel} nixos" > "$HOME/.nix-channels"
fi fi
# Create the per-user garbage collector roots directory. # Create the per-user garbage collector roots directory.

View File

@ -4,6 +4,11 @@ with lib;
{ {
imports = [ imports = [
# !!! These were renamed the other way, but got reverted later.
# !!! Drop these before 18.09 is released.
(mkRenamedOptionModule [ "system" "nixos" "stateVersion" ] [ "system" "stateVersion" ])
(mkRenamedOptionModule [ "system" "nixos" "defaultChannel" ] [ "system" "defaultChannel" ])
(mkRenamedOptionModule [ "dysnomia" ] [ "services" "dysnomia" ]) (mkRenamedOptionModule [ "dysnomia" ] [ "services" "dysnomia" ])
(mkRenamedOptionModule [ "environment" "x11Packages" ] [ "environment" "systemPackages" ]) (mkRenamedOptionModule [ "environment" "x11Packages" ] [ "environment" "systemPackages" ])
(mkRenamedOptionModule [ "environment" "enableBashCompletion" ] [ "programs" "bash" "enableCompletion" ]) (mkRenamedOptionModule [ "environment" "enableBashCompletion" ] [ "programs" "bash" "enableCompletion" ])
@ -222,8 +227,6 @@ with lib;
(mkRenamedOptionModule [ "system" "nixosVersionSuffix" ] [ "system" "nixos" "versionSuffix" ]) (mkRenamedOptionModule [ "system" "nixosVersionSuffix" ] [ "system" "nixos" "versionSuffix" ])
(mkRenamedOptionModule [ "system" "nixosRevision" ] [ "system" "nixos" "revision" ]) (mkRenamedOptionModule [ "system" "nixosRevision" ] [ "system" "nixos" "revision" ])
(mkRenamedOptionModule [ "system" "nixosLabel" ] [ "system" "nixos" "label" ]) (mkRenamedOptionModule [ "system" "nixosLabel" ] [ "system" "nixos" "label" ])
(mkRenamedOptionModule [ "system" "stateVersion" ] [ "system" "nixos" "stateVersion" ])
(mkRenamedOptionModule [ "system" "defaultChannel" ] [ "system" "nixos" "defaultChannel" ])
# Users # Users
(mkAliasOptionModule [ "users" "extraUsers" ] [ "users" "users" ]) (mkAliasOptionModule [ "users" "extraUsers" ] [ "users" "users" ])

View File

@ -218,7 +218,7 @@ in
config = mkIf config.services.mysql.enable { config = mkIf config.services.mysql.enable {
services.mysql.dataDir = services.mysql.dataDir =
mkDefault (if versionAtLeast config.system.nixos.stateVersion "17.09" then "/var/lib/mysql" mkDefault (if versionAtLeast config.system.stateVersion "17.09" then "/var/lib/mysql"
else "/var/mysql"); else "/var/mysql");
users.users.mysql = { users.users.mysql = {

View File

@ -146,7 +146,7 @@ in
}; };
superUser = mkOption { superUser = mkOption {
type = types.str; type = types.str;
default= if versionAtLeast config.system.nixos.stateVersion "17.09" then "postgres" else "root"; default= if versionAtLeast config.system.stateVersion "17.09" then "postgres" else "root";
internal = true; internal = true;
description = '' description = ''
NixOS traditionally used 'root' as superuser, most other distros use 'postgres'. NixOS traditionally used 'root' as superuser, most other distros use 'postgres'.
@ -165,14 +165,14 @@ in
services.postgresql.package = services.postgresql.package =
# Note: when changing the default, make it conditional on # Note: when changing the default, make it conditional on
# system.nixos.stateVersion to maintain compatibility with existing # system.stateVersion to maintain compatibility with existing
# systems! # systems!
mkDefault (if versionAtLeast config.system.nixos.stateVersion "17.09" then pkgs.postgresql96 mkDefault (if versionAtLeast config.system.stateVersion "17.09" then pkgs.postgresql96
else if versionAtLeast config.system.nixos.stateVersion "16.03" then pkgs.postgresql95 else if versionAtLeast config.system.stateVersion "16.03" then pkgs.postgresql95
else pkgs.postgresql94); else pkgs.postgresql94);
services.postgresql.dataDir = services.postgresql.dataDir =
mkDefault (if versionAtLeast config.system.nixos.stateVersion "17.09" then "/var/lib/postgresql/${config.services.postgresql.package.psqlSchema}" mkDefault (if versionAtLeast config.system.stateVersion "17.09" then "/var/lib/postgresql/${config.services.postgresql.package.psqlSchema}"
else "/var/db/postgresql"); else "/var/db/postgresql");
services.postgresql.authentication = mkAfter services.postgresql.authentication = mkAfter

View File

@ -342,7 +342,7 @@ in {
}; };
database_type = mkOption { database_type = mkOption {
type = types.enum [ "sqlite3" "psycopg2" ]; type = types.enum [ "sqlite3" "psycopg2" ];
default = if versionAtLeast config.system.nixos.stateVersion "18.03" default = if versionAtLeast config.system.stateVersion "18.03"
then "psycopg2" then "psycopg2"
else "sqlite3"; else "sqlite3";
description = '' description = ''

View File

@ -14,7 +14,7 @@ let
(optionalString (cfg.defaultMode == "norouting") "--routing=none") (optionalString (cfg.defaultMode == "norouting") "--routing=none")
] ++ cfg.extraFlags); ] ++ cfg.extraFlags);
defaultDataDir = if versionAtLeast config.system.nixos.stateVersion "17.09" then defaultDataDir = if versionAtLeast config.system.stateVersion "17.09" then
"/var/lib/ipfs" else "/var/lib/ipfs" else
"/var/lib/ipfs/.ipfs"; "/var/lib/ipfs/.ipfs";

View File

@ -9,7 +9,7 @@ let
confFile = pkgs.writeText "radicale.conf" cfg.config; confFile = pkgs.writeText "radicale.conf" cfg.config;
# This enables us to default to version 2 while still not breaking configurations of people with version 1 # This enables us to default to version 2 while still not breaking configurations of people with version 1
defaultPackage = if versionAtLeast config.system.nixos.stateVersion "17.09" then { defaultPackage = if versionAtLeast config.system.stateVersion "17.09" then {
pkg = pkgs.radicale2; pkg = pkgs.radicale2;
text = "pkgs.radicale2"; text = "pkgs.radicale2";
} else { } else {
@ -35,7 +35,7 @@ in
defaultText = defaultPackage.text; defaultText = defaultPackage.text;
description = '' description = ''
Radicale package to use. This defaults to version 1.x if Radicale package to use. This defaults to version 1.x if
<literal>system.nixos.stateVersion &lt; 17.09</literal> and version 2.x <literal>system.stateVersion &lt; 17.09</literal> and version 2.x
otherwise. otherwise.
''; '';
}; };

View File

@ -25,18 +25,17 @@ let
${cfg.extraConf} ${cfg.extraConf}
''; '';
configDir = pkgs.buildEnv { configDir = cfg.dataDir + "/config";
name = "elasticsearch-config";
paths = [ elasticsearchYml = pkgs.writeTextFile {
(pkgs.writeTextDir "elasticsearch.yml" esConfig) name = "elasticsearch.yml";
(if es5 then (pkgs.writeTextDir "log4j2.properties" cfg.logging) text = esConfig;
else (pkgs.writeTextDir "logging.yml" cfg.logging)) };
];
postBuild = concatStringsSep "\n" (concatLists [ loggingConfigFilename = if es5 then "log4j2.properties" else "logging.yml";
# Elasticsearch 5.x won't start when the scripts directory does not exist loggingConfigFile = pkgs.writeTextFile {
(optional es5 "${pkgs.coreutils}/bin/mkdir -p $out/scripts") name = loggingConfigFilename;
(optional es6 "ln -s ${cfg.package}/config/jvm.options $out/jvm.options") text = cfg.logging;
]);
}; };
esPlugins = pkgs.buildEnv { esPlugins = pkgs.buildEnv {
@ -193,7 +192,24 @@ in {
ln -sfT ${esPlugins}/plugins ${cfg.dataDir}/plugins ln -sfT ${esPlugins}/plugins ${cfg.dataDir}/plugins
ln -sfT ${cfg.package}/lib ${cfg.dataDir}/lib ln -sfT ${cfg.package}/lib ${cfg.dataDir}/lib
ln -sfT ${cfg.package}/modules ${cfg.dataDir}/modules ln -sfT ${cfg.package}/modules ${cfg.dataDir}/modules
if [ "$(id -u)" = 0 ]; then chown -R elasticsearch ${cfg.dataDir}; fi
# elasticsearch needs to create the elasticsearch.keystore in the config directory
# so this directory needs to be writable.
mkdir -m 0700 -p ${configDir}
# Note that we copy config files from the nix store instead of symbolically linking them
# because otherwise X-Pack Security will raise the following exception:
# java.security.AccessControlException:
# access denied ("java.io.FilePermission" "/var/lib/elasticsearch/config/elasticsearch.yml" "read")
cp ${elasticsearchYml} ${configDir}/elasticsearch.yml
# Make sure the logging configuration for old elasticsearch versions is removed:
rm -f ${if es5 then "${configDir}/logging.yml" else "${configDir}/log4j2.properties"}
cp ${loggingConfigFile} ${configDir}/${loggingConfigFilename}
${optionalString es5 "mkdir -p ${configDir}/scripts"}
${optionalString es6 "cp ${cfg.package}/config/jvm.options ${configDir}/jvm.options"}
if [ "$(id -u)" = 0 ]; then chown -R elasticsearch:elasticsearch ${cfg.dataDir}; fi
''; '';
}; };

View File

@ -66,7 +66,7 @@ in {
description = "Caddy web server"; description = "Caddy web server";
after = [ "network-online.target" ]; after = [ "network-online.target" ];
wantedBy = [ "multi-user.target" ]; wantedBy = [ "multi-user.target" ];
environment = mkIf (versionAtLeast config.system.nixos.stateVersion "17.09") environment = mkIf (versionAtLeast config.system.stateVersion "17.09")
{ CADDYPATH = cfg.dataDir; }; { CADDYPATH = cfg.dataDir; };
serviceConfig = { serviceConfig = {
ExecStart = '' ExecStart = ''

View File

@ -127,7 +127,7 @@ with import ../../lib/qemu-flags.nix { inherit pkgs; };
services.xserver.displayManager.job.logToJournal = true; services.xserver.displayManager.job.logToJournal = true;
# set default stateVersion to avoid warnings during eval # set default stateVersion to avoid warnings during eval
system.nixos.stateVersion = mkDefault "18.03"; system.stateVersion = mkDefault "18.03";
}; };
} }

View File

@ -3,7 +3,7 @@
options = { options = {
ec2 = { ec2 = {
hvm = lib.mkOption { hvm = lib.mkOption {
default = lib.versionAtLeast config.system.nixos.stateVersion "17.03"; default = lib.versionAtLeast config.system.stateVersion "17.03";
internal = true; internal = true;
description = '' description = ''
Whether the EC2 instance is a HVM instance. Whether the EC2 instance is a HVM instance.

View File

@ -607,7 +607,7 @@ in
{ services.postgresql.enable = true; { services.postgresql.enable = true;
services.postgresql.package = pkgs.postgresql96; services.postgresql.package = pkgs.postgresql96;
system.nixos.stateVersion = "17.03"; system.stateVersion = "17.03";
}; };
}; };
} }

View File

@ -198,7 +198,7 @@ in rec {
modules = singleton ({ ... }: modules = singleton ({ ... }:
{ fileSystems."/".device = mkDefault "/dev/sda1"; { fileSystems."/".device = mkDefault "/dev/sda1";
boot.loader.grub.device = mkDefault "/dev/sda"; boot.loader.grub.device = mkDefault "/dev/sda";
system.nixos.stateVersion = mkDefault "18.03"; system.stateVersion = mkDefault "18.03";
}); });
}).config.system.build.toplevel; }).config.system.build.toplevel;
preferLocalBuild = true; preferLocalBuild = true;

View File

@ -18,7 +18,7 @@ import ./make-test.nix ({ pkgs, ...} : {
inherit (config.nixpkgs.localSystem) system; inherit (config.nixpkgs.localSystem) system;
modules = lib.singleton { modules = lib.singleton {
containers.foo.config = { containers.foo.config = {
system.nixos.stateVersion = "18.03"; system.stateVersion = "18.03";
}; };
}; };
}; };

View File

@ -21,7 +21,7 @@ import ./make-test.nix ({ pkgs, ...} : {
services.httpd.adminAddr = "foo@example.org"; services.httpd.adminAddr = "foo@example.org";
networking.firewall.allowedTCPPorts = [ 80 ]; networking.firewall.allowedTCPPorts = [ 80 ];
networking.firewall.allowPing = true; networking.firewall.allowPing = true;
system.nixos.stateVersion = "18.03"; system.stateVersion = "18.03";
}; };
}; };

View File

@ -1,4 +1,4 @@
{ system ? builtins.currentSystem }: { system ? builtins.currentSystem, enableUnfree ? false }:
with import ../lib/testing.nix { inherit system; }; with import ../lib/testing.nix { inherit system; };
with pkgs.lib; with pkgs.lib;
let let
@ -99,9 +99,16 @@ in mapAttrs mkElkTest {
logstash = pkgs.logstash5; logstash = pkgs.logstash5;
kibana = pkgs.kibana5; kibana = pkgs.kibana5;
}; };
"ELK-6" = { "ELK-6" =
if enableUnfree
then {
elasticsearch = pkgs.elasticsearch6; elasticsearch = pkgs.elasticsearch6;
logstash = pkgs.logstash6; logstash = pkgs.logstash6;
kibana = pkgs.kibana6; kibana = pkgs.kibana6;
}
else {
elasticsearch = pkgs.elasticsearch6-oss;
logstash = pkgs.logstash6-oss;
kibana = pkgs.kibana6-oss;
}; };
} }

View File

@ -43,7 +43,7 @@ in
}); });
}) })
]; ];
system.nixos.stateVersion = "17.03"; system.stateVersion = "17.03";
}; };
radicale1_export = lib.recursiveUpdate radicale1 { radicale1_export = lib.recursiveUpdate radicale1 {
services.radicale.extraArgs = [ services.radicale.extraArgs = [
@ -54,7 +54,7 @@ in
services.radicale.extraArgs = [ "--verify-storage" ]; services.radicale.extraArgs = [ "--verify-storage" ];
}; };
radicale2 = lib.recursiveUpdate (common args) { radicale2 = lib.recursiveUpdate (common args) {
system.nixos.stateVersion = "17.09"; system.stateVersion = "17.09";
}; };
}; };

View File

@ -94,6 +94,14 @@ self:
# Expects bash to be at /bin/bash # Expects bash to be at /bin/bash
helm-rtags = markBroken super.helm-rtags; helm-rtags = markBroken super.helm-rtags;
# Build same version as Haskell package
hindent = super.hindent.overrideAttrs (attrs: {
version = external.hindent.version;
src = external.hindent.src;
packageRequires = [ self.haskell-mode ];
propagatedUserEnvPkgs = [ external.hindent ];
});
# upstream issue: missing file header # upstream issue: missing file header
ido-complete-space-or-hyphen = markBroken super.ido-complete-space-or-hyphen; ido-complete-space-or-hyphen = markBroken super.ido-complete-space-or-hyphen;

View File

@ -108,6 +108,14 @@ self:
# Expects bash to be at /bin/bash # Expects bash to be at /bin/bash
helm-rtags = markBroken super.helm-rtags; helm-rtags = markBroken super.helm-rtags;
# Build same version as Haskell package
hindent = super.hindent.overrideAttrs (attrs: {
version = external.hindent.version;
src = external.hindent.src;
packageRequires = [ self.haskell-mode ];
propagatedUserEnvPkgs = [ external.hindent ];
});
# upstream issue: missing file header # upstream issue: missing file header
ido-complete-space-or-hyphen = markBroken super.ido-complete-space-or-hyphen; ido-complete-space-or-hyphen = markBroken super.ido-complete-space-or-hyphen;

View File

@ -3,8 +3,7 @@
with stdenv.lib; with stdenv.lib;
let patches' = if patches == null then [] else patches; stdenv.mkDerivation rec {
in stdenv.mkDerivation rec {
name = "st-0.8.1"; name = "st-0.8.1";
src = fetchurl { src = fetchurl {
@ -12,7 +11,7 @@ in stdenv.mkDerivation rec {
sha256 = "09k94v3n20gg32xy7y68p96x9dq5msl80gknf9gbvlyjp3i0zyy4"; sha256 = "09k94v3n20gg32xy7y68p96x9dq5msl80gknf9gbvlyjp3i0zyy4";
}; };
patches = patches'; inherit patches;
configFile = optionalString (conf!=null) (writeText "config.def.h" conf); configFile = optionalString (conf!=null) (writeText "config.def.h" conf);
preBuild = optionalString (conf!=null) "cp ${configFile} config.def.h"; preBuild = optionalString (conf!=null) "cp ${configFile} config.def.h";

View File

@ -138,10 +138,6 @@ let
# for updated patches and hints about build flags # for updated patches and hints about build flags
# (gentooPatch "<patch>" "0000000000000000000000000000000000000000000000000000000000000000") # (gentooPatch "<patch>" "0000000000000000000000000000000000000000000000000000000000000000")
./patches/fix-freetype.patch ./patches/fix-freetype.patch
] ++ optionals (versionRange "66" "68") [
./patches/nix_plugin_paths_52.patch
(githubPatch "4d10424f9e2a06978cdd6cdf5403fcaef18e49fc" "11la1jycmr5b5rw89mzcdwznmd2qh28sghvz9klr1qhmsmw1vzjc")
] ++ optionals (versionAtLeast version "68") [
./patches/nix_plugin_paths_68.patch ./patches/nix_plugin_paths_68.patch
] ++ optionals (versionRange "68" "69") [ ] ++ optionals (versionRange "68" "69") [
./patches/remove-webp-include-68.patch ./patches/remove-webp-include-68.patch

View File

@ -1,70 +0,0 @@
diff --git a/chrome/common/chrome_paths.cc b/chrome/common/chrome_paths.cc
index f4e119d..d9775bd 100644
--- a/chrome/common/chrome_paths.cc
+++ b/chrome/common/chrome_paths.cc
@@ -68,21 +68,14 @@ static base::LazyInstance<base::FilePath>
g_invalid_specified_user_data_dir = LAZY_INSTANCE_INITIALIZER;
// Gets the path for internal plugins.
-bool GetInternalPluginsDirectory(base::FilePath* result) {
-#if defined(OS_MACOSX)
- // If called from Chrome, get internal plugins from a subdirectory of the
- // framework.
- if (base::mac::AmIBundled()) {
- *result = chrome::GetFrameworkBundlePath();
- DCHECK(!result->empty());
- *result = result->Append("Internet Plug-Ins");
- return true;
- }
- // In tests, just look in the module directory (below).
-#endif
-
- // The rest of the world expects plugins in the module directory.
- return PathService::Get(base::DIR_MODULE, result);
+bool GetInternalPluginsDirectory(base::FilePath* result,
+ const std::string& ident) {
+ std::string full_env = std::string("NIX_CHROMIUM_PLUGIN_PATH_") + ident;
+ const char* value = getenv(full_env.c_str());
+ if (value == NULL)
+ return PathService::Get(base::DIR_MODULE, result);
+ else
+ *result = base::FilePath(value);
}
// Gets the path for bundled implementations of components. Note that these
@@ -272,7 +265,7 @@ bool PathProvider(int key, base::FilePath* result) {
create_dir = true;
break;
case chrome::DIR_INTERNAL_PLUGINS:
- if (!GetInternalPluginsDirectory(&cur))
+ if (!GetInternalPluginsDirectory(&cur, "ALL"))
return false;
break;
case chrome::DIR_COMPONENTS:
@@ -280,7 +273,7 @@ bool PathProvider(int key, base::FilePath* result) {
return false;
break;
case chrome::DIR_PEPPER_FLASH_PLUGIN:
- if (!GetInternalPluginsDirectory(&cur))
+ if (!GetInternalPluginsDirectory(&cur, "PEPPERFLASH"))
return false;
cur = cur.Append(kPepperFlashBaseDirectory);
break;
@@ -323,7 +316,7 @@ bool PathProvider(int key, base::FilePath* result) {
// We currently need a path here to look up whether the plugin is disabled
// and what its permissions are.
case chrome::FILE_NACL_PLUGIN:
- if (!GetInternalPluginsDirectory(&cur))
+ if (!GetInternalPluginsDirectory(&cur, "NACL"))
return false;
cur = cur.Append(kInternalNaClPluginFileName);
break;
@@ -358,7 +351,7 @@ bool PathProvider(int key, base::FilePath* result) {
cur = cur.DirName();
}
#else
- if (!GetInternalPluginsDirectory(&cur))
+ if (!GetInternalPluginsDirectory(&cur, "PNACL"))
return false;
#endif
cur = cur.Append(FILE_PATH_LITERAL("pnacl"));

View File

@ -1,18 +1,18 @@
# This file is autogenerated from update.sh in the same directory. # This file is autogenerated from update.sh in the same directory.
{ {
beta = { beta = {
sha256 = "0m82ag02mydq5xkd0pamk2nq035j7yzhl47hnwl1irm632rpnfb4"; sha256 = "193sz96jrygixgzkaxx1vrpkhmnr6c7yzhsvv4p1qn0jymh2xd57";
sha256bin64 = "0xx6kjaa13al1ka0rfcrz1aj0nwhdwzqakz533ghk8qyvhanypkp"; sha256bin64 = "0wwmfsxbphxqfw4g6jgxlr0p32vjf4h8yfd5zz36xpa79dryb8sv";
version = "68.0.3440.59"; version = "68.0.3440.68";
}; };
dev = { dev = {
sha256 = "1gpjf213ai3sjh894jsl5ziild15049p6bnh36z0r1f5w68pzakg"; sha256 = "102lqnl2m9cbcql6sghib1504fyicx7cgv0jkfx863jpzhrfrkcv";
sha256bin64 = "1slj3gj4786lqrypng48zy5030snar8pirqwm92b5pq25xd595j8"; sha256bin64 = "1y3iy25b3cck7kz5g913z64x1wdj1znqbn049g8h82x3krp76bgx";
version = "69.0.3486.0"; version = "69.0.3497.12";
}; };
stable = { stable = {
sha256 = "0am0q0wkmrvhidi4x07fvgb4ymv5q3agmwzgm808dj7ninfnnba5"; sha256 = "0hcmnn72xj9p3y77cb6cnr1vz81hiqmksdi6nw7xqfw5cwr7h5yw";
sha256bin64 = "06baih4wf88rpmw73vfhap4dxd61vjgmr256ix8qd937x2hv7qd3"; sha256bin64 = "0pa49yxj9s41mzhik7jixr4hwqanf31yzr1fsc6y5hkadbj7rwij";
version = "67.0.3396.99"; version = "68.0.3440.75";
}; };
} }

View File

@ -0,0 +1,48 @@
{ stdenv, fetchFromGitHub, makeWrapper, perl, perlPackages }: stdenv.mkDerivation rec {
name = "sieve-connect-${version}";
version = "0.89";
src = fetchFromGitHub {
owner = "philpennock";
repo = "sieve-connect";
rev = "v${version}";
sha256 = "0g7cv29wd5673inl4c87xb802k86bj6gcwh131xrbbg0a0g1c8fp";
};
buildInputs = [ perl ];
nativeBuildInputs = [ makeWrapper ];
preBuild = ''
# Fixes failing build when not building in git repo
mkdir .git
touch .git/HEAD
echo "${version}" > versionfile
echo "$(date +%Y-%m-%d)" > datefile
'';
buildFlags = [ "PERL5LIB=${stdenv.lib.makePerlPath [ perlPackages.FileSlurp ]}" "bin" "man" ];
installPhase = ''
mkdir -p $out/bin $out/share/man/man1
install -m 755 sieve-connect $out/bin
gzip -c sieve-connect.1 > $out/share/man/man1/sieve-connect.1.gz
wrapProgram $out/bin/sieve-connect \
--prefix PERL5LIB : "${stdenv.lib.makePerlPath (with perlPackages; [
AuthenSASL Socket6 IOSocketInet6 IOSocketSSL NetSSLeay NetDNS PodUsage
TermReadKey TermReadLineGnu ])}"
'';
meta = with stdenv.lib; {
description = "A client for the MANAGESIEVE Protocol";
longDescription = ''
This is sieve-connect. A client for the ManageSieve protocol,
as specifed in RFC 5804. Historically, this was MANAGESIEVE as
implemented by timsieved in Cyrus IMAP.
'';
homepage = https://github.com/philpennock/sieve-connect;
license = licenses.bsd3;
platforms = platforms.unix;
maintainers = with maintainers; [ das_j ];
};
}

View File

@ -9,7 +9,7 @@ assert enableGUI -> libGLU_combined != null && xorg != null && fltk != null;
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "${attr}-${version}"; name = "${attr}-${version}";
attr = if enableGUI then "giac-with-xcas" else "giac"; attr = if enableGUI then "giac-with-xcas" else "giac";
version = "1.4.9-59"; version = "1.4.9-59"; # TODO try to remove preCheck phase on upgrade
src = fetchurl { src = fetchurl {
url = "https://www-fourier.ujf-grenoble.fr/~parisse/debian/dists/stable/main/source/giac_${version}.tar.gz"; url = "https://www-fourier.ujf-grenoble.fr/~parisse/debian/dists/stable/main/source/giac_${version}.tar.gz";
@ -50,6 +50,14 @@ stdenv.mkDerivation rec {
outputs = [ "out" "doc" ]; outputs = [ "out" "doc" ];
doCheck = true; doCheck = true;
preCheck = ''
# One test in this file fails. That test just tests a part of the pari
# interface that isn't actually used in giac. Of course it would be better
# to only remove that one test, but that would require a patch.
# Removing the whole test set should be good enough for now.
# Upstream report: https://xcas.univ-grenoble-alpes.fr/forum/viewtopic.php?f=4&t=2102#p10326
echo > check/chk_fhan11
'';
enableParallelBuilding = true; enableParallelBuilding = true;

View File

@ -8,11 +8,11 @@ assert withThread -> libpthreadstubs != null;
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "pari-${version}"; name = "pari-${version}";
version = "2.9.5"; version = "2.11.0";
src = fetchurl { src = fetchurl {
url = "https://pari.math.u-bordeaux.fr/pub/pari/unix/${name}.tar.gz"; url = "https://pari.math.u-bordeaux.fr/pub/pari/unix/${name}.tar.gz";
sha256 = "05z6y5iwdzcdggbrkic9cy9vy9wmk5qxc21cb4lqnbqxnhjihibb"; sha256 = "18f9yj8ffn3dxignbxj1x36771zbxy4js0r18mv6831ymb6cld9q";
}; };
buildInputs = [ buildInputs = [
@ -67,8 +67,8 @@ stdenv.mkDerivation rec {
run 3 or 4 times faster.) gp2c currently only understands a subset run 3 or 4 times faster.) gp2c currently only understands a subset
of the GP language. of the GP language.
''; '';
homepage = "http://pari.math.u-bordeaux.fr/"; homepage = http://pari.math.u-bordeaux.fr;
downloadPage = "http://pari.math.u-bordeaux.fr/download.html"; downloadPage = http://pari.math.u-bordeaux.fr/download.html;
license = licenses.gpl2Plus; license = licenses.gpl2Plus;
maintainers = with maintainers; [ ertes raskin AndersonTorres ]; maintainers = with maintainers; [ ertes raskin AndersonTorres ];
platforms = platforms.linux ++ platforms.darwin; platforms = platforms.linux ++ platforms.darwin;

View File

@ -36,10 +36,11 @@ rec {
in in
{ imageName { imageName
# To find the digest of an image, you can use skopeo: # To find the digest of an image, you can use skopeo:
# skopeo inspect docker://docker.io/nixos/nix:1.11 | jq -r '.Digest' # see doc/functions.xml
# sha256:20d9485b25ecfd89204e843a962c1bd70e9cc6858d65d7f5fadc340246e2116b
, imageDigest , imageDigest
, sha256 , sha256
, os ? "linux"
, arch ? "x86_64"
# This used to set a tag to the pulled image # This used to set a tag to the pulled image
, finalImageTag ? "latest" , finalImageTag ? "latest"
, name ? fixName "docker-image-${imageName}-${finalImageTag}.tar" , name ? fixName "docker-image-${imageName}-${finalImageTag}.tar"
@ -59,7 +60,7 @@ rec {
sourceURL = "docker://${imageName}@${imageDigest}"; sourceURL = "docker://${imageName}@${imageDigest}";
destNameTag = "${imageName}:${finalImageTag}"; destNameTag = "${imageName}:${finalImageTag}";
} '' } ''
skopeo copy "$sourceURL" "docker-archive://$out:$destNameTag" skopeo --override-os ${os} --override-arch ${arch} copy "$sourceURL" "docker-archive://$out:$destNameTag"
''; '';
# We need to sum layer.tar, not a directory, hence tarsum instead of nix-hash. # We need to sum layer.tar, not a directory, hence tarsum instead of nix-hash.

View File

@ -13,7 +13,7 @@ with lib;
/* /*
ename: Original Emacs package name, possibly containing special symbols. ename: Original Emacs package name, possibly containing special symbols.
*/ */
, ename ? pname , ename ? null
, version , version
, recipe , recipe
, meta ? {} , meta ? {}
@ -30,6 +30,11 @@ in
import ./generic.nix { inherit lib stdenv emacs texinfo; } ({ import ./generic.nix { inherit lib stdenv emacs texinfo; } ({
ename =
if isNull(ename)
then pname
else ename;
melpa = fetchFromGitHub { melpa = fetchFromGitHub {
owner = "melpa"; owner = "melpa";
repo = "melpa"; repo = "melpa";

View File

@ -1,5 +1,5 @@
{ lowPrio, newScope, stdenv, cmake, libstdcxxHook { lowPrio, newScope, pkgs, stdenv, cmake, libstdcxxHook
, libxml2, python2, isl, fetchurl, overrideCC, wrapCCWith , libxml2, python, isl, fetchurl, overrideCC, wrapCCWith
, buildLlvmTools # tools, but from the previous stage, for cross , buildLlvmTools # tools, but from the previous stage, for cross
, targetLlvmLibraries # libraries, but from the next stage, for cross , targetLlvmLibraries # libraries, but from the next stage, for cross
}: }:
@ -16,25 +16,28 @@ let
compiler-rt_src = fetch "compiler-rt" "0h5lpv1z554szi4r4blbskhwrkd78ir50v3ng8xvk1s86fa7gj53"; compiler-rt_src = fetch "compiler-rt" "0h5lpv1z554szi4r4blbskhwrkd78ir50v3ng8xvk1s86fa7gj53";
clang-tools-extra_src = fetch "clang-tools-extra" "1dhmp7ccfpr42bmvk3kp37ngjpf3a9m5d4kkpsn7d00hzi7fdl9m"; clang-tools-extra_src = fetch "clang-tools-extra" "1dhmp7ccfpr42bmvk3kp37ngjpf3a9m5d4kkpsn7d00hzi7fdl9m";
# Add man output without introducing extra dependencies.
overrideManOutput = drv:
let drv-manpages = drv.override { enableManpages = true; }; in
drv // { man = drv-manpages.out; /*outputs = drv.outputs ++ ["man"];*/ };
tools = stdenv.lib.makeExtensible (tools: let tools = stdenv.lib.makeExtensible (tools: let
callPackage = newScope (tools // { inherit stdenv cmake libxml2 python2 isl release_version version fetch; }); callPackage = newScope (tools // { inherit stdenv cmake libxml2 python isl release_version version fetch; });
in { in {
llvm = overrideManOutput (callPackage ./llvm.nix { llvm = callPackage ./llvm.nix {
inherit compiler-rt_src; inherit compiler-rt_src;
}); };
clang-unwrapped = overrideManOutput (callPackage ./clang { clang-unwrapped = callPackage ./clang {
inherit clang-tools-extra_src; inherit clang-tools-extra_src;
};
llvm-manpages = lowPrio (tools.llvm.override {
enableManpages = true;
python = pkgs.python; # don't use python-boot
});
clang-manpages = lowPrio (tools.clang-unwrapped.override {
enableManpages = true;
python = pkgs.python; # don't use python-boot
}); });
libclang = tools.clang-unwrapped.lib; libclang = tools.clang-unwrapped.lib;
llvm-manpages = lowPrio tools.llvm.man;
clang-manpages = lowPrio tools.clang-unwrapped.man;
clang = if stdenv.cc.isGNU then tools.libstdcxxClang else tools.libcxxClang; clang = if stdenv.cc.isGNU then tools.libstdcxxClang else tools.libcxxClang;
@ -54,7 +57,7 @@ let
}); });
libraries = stdenv.lib.makeExtensible (libraries: let libraries = stdenv.lib.makeExtensible (libraries: let
callPackage = newScope (libraries // buildLlvmTools // { inherit stdenv cmake libxml2 python2 isl release_version version fetch; }); callPackage = newScope (libraries // buildLlvmTools // { inherit stdenv cmake libxml2 python isl release_version version fetch; });
in { in {
stdenv = overrideCC stdenv buildLlvmTools.clang; stdenv = overrideCC stdenv buildLlvmTools.clang;

View File

@ -13,7 +13,7 @@
, compiler-rt_src , compiler-rt_src
, debugVersion ? false , debugVersion ? false
, enableManpages ? false , enableManpages ? false
, enableSharedLibraries ? true , enableSharedLibraries ? !enableManpages
}: }:
let let

View File

@ -1,5 +1,5 @@
{ lowPrio, newScope, stdenv, cmake, libstdcxxHook { lowPrio, newScope, pkgs, stdenv, cmake, libstdcxxHook
, libxml2, python2, isl, fetchurl, overrideCC, wrapCCWith , libxml2, python, isl, fetchurl, overrideCC, wrapCCWith
, buildLlvmTools # tools, but from the previous stage, for cross , buildLlvmTools # tools, but from the previous stage, for cross
, targetLlvmLibraries # libraries, but from the next stage, for cross , targetLlvmLibraries # libraries, but from the next stage, for cross
}: }:
@ -15,13 +15,8 @@ let
clang-tools-extra_src = fetch "clang-tools-extra" "018b3fiwah8f8br5i26qmzh6sjvzchpn358sn8v079m49f2jldm3"; clang-tools-extra_src = fetch "clang-tools-extra" "018b3fiwah8f8br5i26qmzh6sjvzchpn358sn8v079m49f2jldm3";
# Add man output without introducing extra dependencies.
overrideManOutput = drv:
let drv-manpages = drv.override { enableManpages = true; }; in
drv // { man = drv-manpages.out; /*outputs = drv.outputs ++ ["man"];*/ };
tools = stdenv.lib.makeExtensible (tools: let tools = stdenv.lib.makeExtensible (tools: let
callPackage = newScope (tools // { inherit stdenv cmake libxml2 python2 isl release_version version fetch; }); callPackage = newScope (tools // { inherit stdenv cmake libxml2 python isl release_version version fetch; });
mkExtraBuildCommands = cc: '' mkExtraBuildCommands = cc: ''
rsrc="$out/resource-root" rsrc="$out/resource-root"
mkdir "$rsrc" mkdir "$rsrc"
@ -33,15 +28,23 @@ let
''; '';
in { in {
llvm = overrideManOutput (callPackage ./llvm.nix { }); llvm = callPackage ./llvm.nix { };
clang-unwrapped = overrideManOutput (callPackage ./clang { clang-unwrapped = callPackage ./clang {
inherit clang-tools-extra_src; inherit clang-tools-extra_src;
};
llvm-manpages = lowPrio (tools.llvm.override {
enableManpages = true;
python = pkgs.python; # don't use python-boot
});
clang-manpages = lowPrio (tools.clang-unwrapped.override {
enableManpages = true;
python = pkgs.python; # don't use python-boot
}); });
libclang = tools.clang-unwrapped.lib; libclang = tools.clang-unwrapped.lib;
llvm-manpages = lowPrio tools.llvm.man;
clang-manpages = lowPrio tools.clang-unwrapped.man;
clang = if stdenv.cc.isGNU then tools.libstdcxxClang else tools.libcxxClang; clang = if stdenv.cc.isGNU then tools.libstdcxxClang else tools.libcxxClang;
@ -70,7 +73,7 @@ let
}); });
libraries = stdenv.lib.makeExtensible (libraries: let libraries = stdenv.lib.makeExtensible (libraries: let
callPackage = newScope (libraries // buildLlvmTools // { inherit stdenv cmake libxml2 python2 isl release_version version fetch; }); callPackage = newScope (libraries // buildLlvmTools // { inherit stdenv cmake libxml2 python isl release_version version fetch; });
in { in {
compiler-rt = callPackage ./compiler-rt.nix {}; compiler-rt = callPackage ./compiler-rt.nix {};

View File

@ -12,7 +12,7 @@
, libcxxabi , libcxxabi
, debugVersion ? false , debugVersion ? false
, enableManpages ? false , enableManpages ? false
, enableSharedLibraries ? true , enableSharedLibraries ? !enableManpages
}: }:
let let

View File

@ -1,5 +1,5 @@
{ lowPrio, newScope, stdenv, cmake, libstdcxxHook { lowPrio, newScope, pkgs, stdenv, cmake, libstdcxxHook
, libxml2, python2, isl, fetchurl, overrideCC, wrapCCWith , libxml2, python, isl, fetchurl, overrideCC, wrapCCWith
, buildLlvmTools # tools, but from the previous stage, for cross , buildLlvmTools # tools, but from the previous stage, for cross
, targetLlvmLibraries # libraries, but from the next stage, for cross , targetLlvmLibraries # libraries, but from the next stage, for cross
}: }:
@ -15,13 +15,8 @@ let
clang-tools-extra_src = fetch "clang-tools-extra" "1w8ml7fyn4vyxmy59n2qm4r1k1kgwgwkaldp6m45fdv4g0kkfbhd"; clang-tools-extra_src = fetch "clang-tools-extra" "1w8ml7fyn4vyxmy59n2qm4r1k1kgwgwkaldp6m45fdv4g0kkfbhd";
# Add man output without introducing extra dependencies.
overrideManOutput = drv:
let drv-manpages = drv.override { enableManpages = true; }; in
drv // { man = drv-manpages.out; /*outputs = drv.outputs ++ ["man"];*/ };
tools = stdenv.lib.makeExtensible (tools: let tools = stdenv.lib.makeExtensible (tools: let
callPackage = newScope (tools // { inherit stdenv cmake libxml2 python2 isl release_version version fetch; }); callPackage = newScope (tools // { inherit stdenv cmake libxml2 python isl release_version version fetch; });
mkExtraBuildCommands = cc: '' mkExtraBuildCommands = cc: ''
rsrc="$out/resource-root" rsrc="$out/resource-root"
mkdir "$rsrc" mkdir "$rsrc"
@ -33,15 +28,23 @@ let
''; '';
in { in {
llvm = overrideManOutput (callPackage ./llvm.nix { }); llvm = callPackage ./llvm.nix { };
clang-unwrapped = overrideManOutput (callPackage ./clang { clang-unwrapped = callPackage ./clang {
inherit clang-tools-extra_src; inherit clang-tools-extra_src;
};
llvm-manpages = lowPrio (tools.llvm.override {
enableManpages = true;
python = pkgs.python; # don't use python-boot
});
clang-manpages = lowPrio (tools.clang-unwrapped.override {
enableManpages = true;
python = pkgs.python; # don't use python-boot
}); });
libclang = tools.clang-unwrapped.lib; libclang = tools.clang-unwrapped.lib;
llvm-manpages = lowPrio tools.llvm.man;
clang-manpages = lowPrio tools.clang-unwrapped.man;
clang = if stdenv.cc.isGNU then tools.libstdcxxClang else tools.libcxxClang; clang = if stdenv.cc.isGNU then tools.libstdcxxClang else tools.libcxxClang;
@ -70,7 +73,7 @@ let
}); });
libraries = stdenv.lib.makeExtensible (libraries: let libraries = stdenv.lib.makeExtensible (libraries: let
callPackage = newScope (libraries // buildLlvmTools // { inherit stdenv cmake libxml2 python2 isl release_version version fetch; }); callPackage = newScope (libraries // buildLlvmTools // { inherit stdenv cmake libxml2 python isl release_version version fetch; });
in { in {
compiler-rt = callPackage ./compiler-rt.nix {}; compiler-rt = callPackage ./compiler-rt.nix {};

View File

@ -3,15 +3,15 @@
let param = let param =
{ {
"8.6" = { "8.6" = {
version = "20171214"; version = "20180709";
rev = "babf9c013506da1dbd67171e4a3ae87fdb7e9d00"; rev = "3b9ba7b26a64d49a55e8b6ccea570a7f32c11ead";
sha256 = "16fsf4cggx9s9fkijnpi4g614nmdb2yx7inzqqn070f8p959qcrd"; sha256 = "0f2nr8dgn1ab7hr7jrdmr1zla9g9h8216q4yf4wnff9qkln8sbbs";
}; };
"8.7" = { "8.7" = {
version = "20171214"; version = "20180709";
rev = "babf9c013506da1dbd67171e4a3ae87fdb7e9d00"; rev = "3b9ba7b26a64d49a55e8b6ccea570a7f32c11ead";
sha256 = "16fsf4cggx9s9fkijnpi4g614nmdb2yx7inzqqn070f8p959qcrd"; sha256 = "0f2nr8dgn1ab7hr7jrdmr1zla9g9h8216q4yf4wnff9qkln8sbbs";
}; };
}."${coq.coq-version}" }."${coq.coq-version}"

View File

@ -249,14 +249,6 @@ self: super: {
# doJailbreak: Can be removed once https://github.com/haskell-nix/hnix/pull/329 is in (5.2 probably) # doJailbreak: Can be removed once https://github.com/haskell-nix/hnix/pull/329 is in (5.2 probably)
# This is due to hnix currently having an upper bound of <0.5 on deriving-compat, works just fine with our current version 0.5.1 though # This is due to hnix currently having an upper bound of <0.5 on deriving-compat, works just fine with our current version 0.5.1 though
hnix = dontCheck (doJailbreak (overrideCabal super.hnix (old: { hnix = dontCheck (doJailbreak (overrideCabal super.hnix (old: {
patches = old.patches or [] ++ [
# should land in hnix-5.2
(pkgs.fetchpatch {
url = "https://github.com/haskell-nix/hnix/commit/9cfe060a9dbe9e7c64867956a0523eed9661803a.patch";
sha256 = "0ci4n7nw2pzqw0gkmkp4szzvxjyb143a4znjm39jmb0s397a68sh";
name = "disable-hpack-test-by-default.patch";
})
];
testHaskellDepends = old.testHaskellDepends or [] ++ [ pkgs.nix ]; testHaskellDepends = old.testHaskellDepends or [] ++ [ pkgs.nix ];
}))); })));

View File

@ -17,7 +17,7 @@ let
, ldapSupport ? config.php.ldap or true , ldapSupport ? config.php.ldap or true
, mhashSupport ? config.php.mhash or true , mhashSupport ? config.php.mhash or true
, mysqlSupport ? (config.php.mysql or true) && (!php7) , mysqlSupport ? (config.php.mysql or true) && (!php7)
, mysqlndSupport ? config.php.mysqlnd or false , mysqlndSupport ? config.php.mysqlnd or true
, mysqliSupport ? config.php.mysqli or true , mysqliSupport ? config.php.mysqli or true
, pdo_mysqlSupport ? config.php.pdo_mysql or true , pdo_mysqlSupport ? config.php.pdo_mysql or true
, libxml2Support ? config.php.libxml2 or true , libxml2Support ? config.php.libxml2 or true

View File

@ -75,6 +75,8 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true; enableParallelBuilding = true;
passthru.pkgs = builtins.throw "python-boot does not support packages, this package is only intended for bootstrapping." {};
meta = { meta = {
homepage = http://python.org; homepage = http://python.org;
description = "A high-level dynamically-typed programming language"; description = "A high-level dynamically-typed programming language";

View File

@ -35,20 +35,20 @@
}: }:
let let
version = "3.4.1"; version = "3.4.2";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "opencv"; owner = "opencv";
repo = "opencv"; repo = "opencv";
rev = version; rev = version;
sha256 = "08yahgf427d2qbs2mw02xww6bv5yjkfc1hihihh7fhqgfz0jnj1h"; sha256 = "0q752s1ir6iyqbp3pn425fi215fi7bzjl4aa3arvgh6sridda9lx";
}; };
contribSrc = fetchFromGitHub { contribSrc = fetchFromGitHub {
owner = "opencv"; owner = "opencv";
repo = "opencv_contrib"; repo = "opencv_contrib";
rev = version; rev = version;
sha256 = "00x1x53qv2pnc7i56244b5nf44wm2mp77hj486i5697r6hikk8n3"; sha256 = "1fbgbf9xdby9a5yy6bmnkzchdsfii0jagfd373y015cjpr1mrlvz";
}; };
# Contrib must be built in order to enable Tesseract support: # Contrib must be built in order to enable Tesseract support:
@ -59,16 +59,16 @@ let
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "opencv"; owner = "opencv";
repo = "opencv_3rdparty"; repo = "opencv_3rdparty";
rev = "dfe3162c237af211e98b8960018b564bc209261d"; rev = "bdb7bb85f34a8cb0d35e40a81f58da431aa1557a";
sha256 = "1k5xiwdi5r2y3fs5g70lpknxqi4pj32w6l311gfwng3q1cb2crif"; sha256 = "1ys9mshfpm8iy8h4ml792gnqrq959dsrcv26axx14niivxyjbji8";
} + "/ippicv"; } + "/ippicv";
files = let name = platform : "ippicv_2017u3_${platform}_general_20170822.tgz"; in files = let name = platform : "ippicv_2017u3_${platform}_general_20180518.tgz"; in
if stdenv.system == "x86_64-linux" then if stdenv.system == "x86_64-linux" then
{ ${name "lnx_intel64"} = "4e0352ce96473837b1d671ce87f17359"; } { ${name "lnx_intel64"} = "b7cc351267db2d34b9efa1cd22ff0572"; }
else if stdenv.system == "i686-linux" then else if stdenv.system == "i686-linux" then
{ ${name "lnx_ia32"} = "dcdb0ba4b123f240596db1840cd59a76"; } { ${name "lnx_ia32"} = "ea72de74dae3c604eb6348395366e78e"; }
else if stdenv.system == "x86_64-darwin" then else if stdenv.system == "x86_64-darwin" then
{ ${name "mac_intel64"} = "c1ebb5dfa5b7f54b0c44e1917805a463"; } { ${name "mac_intel64"} = "3ae52b9be0fe73dd45bc5e9429cd3732"; }
else else
throw "ICV is not available for this platform (or not yet supported by this package)"; throw "ICV is not available for this platform (or not yet supported by this package)";
dst = ".cache/ippicv"; dst = ".cache/ippicv";
@ -132,17 +132,6 @@ let
ln -s "${extra.src}/${name}" "${extra.dst}/${md5}-${name}" ln -s "${extra.src}/${name}" "${extra.dst}/${md5}-${name}"
'') extra.files); '') extra.files);
# See opencv_contrib/modules/dnn_modern/CMakeLists.txt
tinyDnn = rec {
src = fetchurl {
url = "https://github.com/tiny-dnn/tiny-dnn/archive/${name}";
sha256 = "12x1b984cn0psn6kz1fy75zljgzqvkdyjy8i292adfnyqpl1rip2";
};
name = "v1.0.0a3.tar.gz";
md5 = "adb1c512e09ca2c7a6faef36f9c53e59";
dst = ".cache/tiny_dnn";
};
opencvFlag = name: enabled: "-DWITH_${name}=${printEnabled enabled}"; opencvFlag = name: enabled: "-DWITH_${name}=${printEnabled enabled}";
printEnabled = enabled : if enabled then "ON" else "OFF"; printEnabled = enabled : if enabled then "ON" else "OFF";
@ -156,6 +145,11 @@ stdenv.mkDerivation rec {
cp --no-preserve=mode -r "${contribSrc}/modules" "$NIX_BUILD_TOP/opencv_contrib" cp --no-preserve=mode -r "${contribSrc}/modules" "$NIX_BUILD_TOP/opencv_contrib"
''; '';
# TODO: remove the following patch once commit
# https://github.com/opencv/opencv/commit/e2b5d112909b9dfd764f14833b82e38e4bc2f81f
# is released.
patches = [ ./fix-dnn.patch ];
# This prevents cmake from using libraries in impure paths (which # This prevents cmake from using libraries in impure paths (which
# causes build failure on non NixOS) # causes build failure on non NixOS)
# Also, work around https://github.com/NixOS/nixpkgs/issues/26304 with # Also, work around https://github.com/NixOS/nixpkgs/issues/26304 with
@ -174,9 +168,6 @@ stdenv.mkDerivation rec {
${installExtraFiles vgg} ${installExtraFiles vgg}
${installExtraFiles boostdesc} ${installExtraFiles boostdesc}
${installExtraFiles face} ${installExtraFiles face}
mkdir -p "${tinyDnn.dst}"
ln -s "${tinyDnn.src}" "${tinyDnn.dst}/${tinyDnn.md5}-${tinyDnn.name}"
''); '');
buildInputs = buildInputs =
@ -243,9 +234,6 @@ stdenv.mkDerivation rec {
] ++ lib.optionals stdenv.isDarwin [ ] ++ lib.optionals stdenv.isDarwin [
"-DWITH_OPENCL=OFF" "-DWITH_OPENCL=OFF"
"-DWITH_LAPACK=OFF" "-DWITH_LAPACK=OFF"
# On OS X the tiny-dnn-1.0.0a3 dependency of dnn_modern fails to build.
"-DBUILD_opencv_dnn_modern=OFF"
]; ];
enableParallelBuilding = true; enableParallelBuilding = true;
@ -273,11 +261,11 @@ stdenv.mkDerivation rec {
passthru = lib.optionalAttrs enablePython { pythonPath = []; }; passthru = lib.optionalAttrs enablePython { pythonPath = []; };
meta = { meta = with stdenv.lib; {
description = "Open Computer Vision Library with more than 500 algorithms"; description = "Open Computer Vision Library with more than 500 algorithms";
homepage = https://opencv.org/; homepage = https://opencv.org/;
license = with stdenv.lib.licenses; if enableUnfree then unfree else bsd3; license = with licenses; if enableUnfree then unfree else bsd3;
maintainers = with stdenv.lib.maintainers; [viric mdaiter basvandijk]; maintainers = with maintainers; [viric mdaiter basvandijk];
platforms = with stdenv.lib.platforms; linux ++ darwin; platforms = with platforms; linux ++ darwin;
}; };
} }

View File

@ -0,0 +1,13 @@
diff --git a/modules/dnn/src/caffe/caffe_io.cpp b/modules/dnn/src/caffe/caffe_io.cpp
index 730c752ce..abbce0453 100644
--- a/modules/dnn/src/caffe/caffe_io.cpp
+++ b/modules/dnn/src/caffe/caffe_io.cpp
@@ -1120,7 +1120,7 @@ bool ReadProtoFromTextFile(const char* filename, Message* proto) {
std::ifstream fs(filename, std::ifstream::in);
CHECK(fs.is_open()) << "Can't open \"" << filename << "\"";
IstreamInputStream input(&fs);
- return google::protobuf::TextFormat::Parser(true).Parse(&input, proto);
+ return google::protobuf::TextFormat::Parser().Parse(&input, proto);
}
bool ReadProtoFromBinaryFile(const char* filename, Message* proto) {

View File

@ -2,7 +2,7 @@
let let
version = "2.6.0.1"; version = "2.6.4.0";
in stdenv.mkDerivation rec { in stdenv.mkDerivation rec {
@ -11,7 +11,7 @@ in stdenv.mkDerivation rec {
src = fetchgit { src = fetchgit {
url = "git://git.skarnet.org/skalibs"; url = "git://git.skarnet.org/skalibs";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
sha256 = "0skdv3wff1i78hb0y771apw0cak5rzxbwbh6l922snfm01z9k1ws"; sha256 = "13icrwxxb7k3cj37dl07h0apk6lwyrg1qrwjwh4l82i8f32bnjz2";
}; };
outputs = [ "lib" "dev" "doc" "out" ]; outputs = [ "lib" "dev" "doc" "out" ];

View File

@ -0,0 +1,32 @@
{ stdenv, fetchFromGitHub, buildPythonPackage,
lxml, tzlocal, python-dateutil, pygments, future, requests-kerberos,
defusedxml, cached-property, isodate, requests_ntlm, dnspython,
psutil, requests-mock, pyyaml
}:
buildPythonPackage rec {
pname = "exchangelib";
version = "1.11.4";
# tests are not present in the PyPI version
src = fetchFromGitHub {
owner = "ecederstrand";
repo = pname;
rev = "v${version}";
sha256 = "1fpbnjnmqm62vll3m2ys1naikch70kqm26hz86f1cl0r2l2afbab";
};
# one test is failing due to it trying to send a request to example.com
patches = [ ./skip_failing_test.patch ];
checkInputs = [ psutil requests-mock pyyaml ];
propagatedBuildInputs = [
lxml tzlocal python-dateutil pygments requests-kerberos
future defusedxml cached-property isodate requests_ntlm dnspython ];
meta = with stdenv.lib; {
description = "Client for Microsoft Exchange Web Services (EWS)";
homepage = "https://github.com/ecederstrand/exchangelib";
license = licenses.bsd2;
maintainers = with maintainers; [ catern ];
};
}

View File

@ -0,0 +1,18 @@
--- ./tests/__init__.py 1980-01-02 00:00:00.000000000 +0000
+++ ./tests/__init__.py 1980-01-02 00:00:00.000000000 +0000
@@ -301,6 +301,7 @@
self.assertEqual(id(base_p.thread_pool), id(p.thread_pool))
self.assertEqual(id(base_p._session_pool), id(p._session_pool))
+ @unittest.skip("no network connection inside the Nix sandbox")
def test_close(self):
proc = psutil.Process()
ip_addresses = {info[4][0] for info in socket.getaddrinfo(
@@ -1257,6 +1258,7 @@
)
+@unittest.skip("no network connection inside the Nix sandbox")
class EWSTest(unittest.TestCase):
@classmethod
def setUpClass(cls):

View File

@ -0,0 +1,22 @@
{ stdenv, fetchPypi, buildPythonPackage, krb5 }:
buildPythonPackage rec {
pname = "pykerberos";
version = "1.2.1";
src = fetchPypi {
inherit pname version;
sha256 = "0v47p840myqgc7hr4lir72xshcfpa0w8j9n077h3njpqyn6wlbag";
};
buildInputs = [ krb5 ];
# there are no tests
doCheck = false;
meta = with stdenv.lib; {
description = "High-level interface to Kerberos";
license = licenses.asl20;
maintainers = with maintainers; [ catern ];
};
}

View File

@ -0,0 +1,27 @@
{ stdenv, fetchFromGitHub, buildPythonPackage, requests, pykerberos, mock }:
buildPythonPackage rec {
pname = "requests-kerberos";
version = "0.12.0";
# tests are not present in the PyPI version
src = fetchFromGitHub {
owner = "requests";
repo = pname;
rev = "v${version}";
sha256 = "1qw96aw84nljh9cip372mfv50p1yyirfgigavvavgpc3c5g278s6";
};
checkInputs = [ mock ];
propagatedBuildInputs = [ requests pykerberos ];
# they have a setup.py which mentions a test suite that doesn't exist...
patches = [ ./fix_setup.patch ];
meta = with stdenv.lib; {
description = "An authentication handler for using Kerberos with Python Requests.";
homepage = "https://github.com/requests/requests-kerberos";
license = licenses.isc;
maintainers = with maintainers; [ catern ];
};
}

View File

@ -0,0 +1,9 @@
--- ./setup.py 1980-01-02 00:00:00.000000000 +0000
+++ ./setup.py 1980-01-02 00:00:00.000000000 +0000
@@ -56,6 +56,5 @@
':sys_platform=="win32"': ['winkerberos>=0.5.0'],
':sys_platform!="win32"': ['pykerberos>=1.1.8,<2.0.0'],
},
- test_suite='test_requests_kerberos',
tests_require=['mock'],
)

View File

@ -0,0 +1,22 @@
{ lib, buildPythonPackage, fetchPypi }:
buildPythonPackage rec {
pname = "sabyenc";
version = "3.3.5";
src = fetchPypi {
inherit pname version;
sha256 = "0fpvd5mckf1kbn0bhc5ybm08y41ps7sc5f9khz08qyjbikbcww85";
};
# tests are not included in pypi distribution
doCheck = false;
meta = {
description = "Python yEnc package optimized for use within SABnzbd";
homepage = "https://github.com/sabnzbd/sabyenc/";
license = lib.licenses.lgpl3;
maintainers = [ lib.maintainers.georgewhewell ];
};
}

View File

@ -26,7 +26,7 @@ let
in in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
version = "0.15.1"; version = "0.15.2";
meta = with stdenv.lib; { meta = with stdenv.lib; {
homepage = "https://github.com/bazelbuild/bazel/"; homepage = "https://github.com/bazelbuild/bazel/";
@ -40,7 +40,7 @@ stdenv.mkDerivation rec {
src = fetchurl { src = fetchurl {
url = "https://github.com/bazelbuild/bazel/releases/download/${version}/bazel-${version}-dist.zip"; url = "https://github.com/bazelbuild/bazel/releases/download/${version}/bazel-${version}-dist.zip";
sha256 = "0v7wdwbxy4bcx488lm1glf4iv3wfdwbkg8fh6kmmmfn1lhgkaay6"; sha256 = "1w83zi6d9npi1jmiy022v92xp1cwdvn2qqgghlnl2v9sprryqlxz";
}; };
sourceRoot = "."; sourceRoot = ".";
@ -128,10 +128,10 @@ stdenv.mkDerivation rec {
buildPhase = '' buildPhase = ''
export TMPDIR=/tmp/.bazel-$UID export TMPDIR=/tmp/.bazel-$UID
./compile.sh ./compile.sh
./output/bazel --output_user_root=$TMPDIR/.bazel build //scripts:bash_completion \ scripts/generate_bash_completion.sh \
--spawn_strategy=standalone \ --bazel=./output/bazel \
--genrule_strategy=standalone --output=output/bazel-complete.bash \
cp bazel-bin/scripts/bazel-complete.bash output/ --prepend=scripts/bazel-complete-template.bash
''; '';
# Build the CPP and Java examples to verify that Bazel works. # Build the CPP and Java examples to verify that Bazel works.
@ -149,7 +149,7 @@ stdenv.mkDerivation rec {
mv output/bazel $out/bin mv output/bazel $out/bin
wrapProgram "$out/bin/bazel" --set JAVA_HOME "${jdk}" wrapProgram "$out/bin/bazel" --set JAVA_HOME "${jdk}"
mkdir -p $out/share/bash-completion/completions $out/share/zsh/site-functions mkdir -p $out/share/bash-completion/completions $out/share/zsh/site-functions
mv output/bazel-complete.bash $out/share/bash-completion/completions/ mv output/bazel-complete.bash $out/share/bash-completion/completions/bazel
cp scripts/zsh_completion/_bazel $out/share/zsh/site-functions/ cp scripts/zsh_completion/_bazel $out/share/zsh/site-functions/
''; '';

View File

@ -1,4 +1,13 @@
{ stdenv, makeWrapper, fetchurl, elk6Version, nodejs, coreutils, which }: { elk6Version
, enableUnfree ? true
, stdenv
, makeWrapper
, fetchzip
, fetchurl
, nodejs
, coreutils
, which
}:
with stdenv.lib; with stdenv.lib;
let let
@ -6,12 +15,31 @@ let
info = splitString "-" stdenv.system; info = splitString "-" stdenv.system;
arch = elemAt info 0; arch = elemAt info 0;
plat = elemAt info 1; plat = elemAt info 1;
shas = { shas =
"x86_64-linux" = "1br9nvwa3i5sfcbnrxp2x3dxxnsbs9iavz6zwgw0jlh5ngf5vysk"; if enableUnfree
"x86_64-darwin" = "1w4dck02i0rrl8m18kvy2zz02cb7bb9a2pdhkd1jfy1qz4ssnhii"; then {
"x86_64-linux" = "1kk97ggpzmblhqm6cfd2sv5940f58h323xcyg6rba1njj7lzanv0";
"x86_64-darwin" = "1xvwffk8d8br92h0laf4b1m76kvki6cj0pbgcvirfcj1r70vk6c3";
}
else {
"x86_64-linux" = "0m81ki1v61gpwb3s6zf84azqrirlm9pdfx65g3xmvdp3d3wii5ly";
"x86_64-darwin" = "0zh9p6vsq1d0gh6ks7z6bh8sbhn6rm4jshjcfp3c9k7n2qa8vv9b";
}; };
# For the correct phantomjs version see:
# https://github.com/elastic/kibana/blob/master/x-pack/plugins/reporting/server/browsers/phantom/paths.js
phantomjs = rec {
name = "phantomjs-${version}-linux-x86_64";
version = "2.1.1";
src = fetchzip {
inherit name;
url = "https://github.com/Medium/phantomjs/releases/download/v${version}/${name}.tar.bz2";
sha256 = "0g2dqjzr2daz6rkd6shj6rrlw55z4167vqh7bxadl8jl6jk7zbfv";
};
};
in stdenv.mkDerivation rec { in stdenv.mkDerivation rec {
name = "kibana-${version}"; name = "kibana-${optionalString (!enableUnfree) "oss-"}${version}";
version = elk6Version; version = elk6Version;
src = fetchurl { src = fetchurl {
@ -28,12 +56,19 @@ in stdenv.mkDerivation rec {
makeWrapper $out/libexec/kibana/bin/kibana $out/bin/kibana \ makeWrapper $out/libexec/kibana/bin/kibana $out/bin/kibana \
--prefix PATH : "${stdenv.lib.makeBinPath [ nodejs coreutils which ]}" --prefix PATH : "${stdenv.lib.makeBinPath [ nodejs coreutils which ]}"
sed -i 's@NODE=.*@NODE=${nodejs}/bin/node@' $out/libexec/kibana/bin/kibana sed -i 's@NODE=.*@NODE=${nodejs}/bin/node@' $out/libexec/kibana/bin/kibana
'' +
# phantomjs is needed in the unfree version. When phantomjs doesn't exist in
# $out/libexec/kibana/data kibana will try to download and unpack it during
# runtime which will fail because the nix store is read-only. So we make sure
# it already exist in the nix store.
optionalString enableUnfree ''
ln -s ${phantomjs.src} $out/libexec/kibana/data/${phantomjs.name}
''; '';
meta = { meta = {
description = "Visualize logs and time-stamped data"; description = "Visualize logs and time-stamped data";
homepage = http://www.elasticsearch.org/overview/kibana; homepage = http://www.elasticsearch.org/overview/kibana;
license = licenses.asl20; license = if enableUnfree then licenses.elastic else licenses.asl20;
maintainers = with maintainers; [ offline rickynils basvandijk ]; maintainers = with maintainers; [ offline rickynils basvandijk ];
platforms = with platforms; unix; platforms = with platforms; unix;
}; };

View File

@ -28,7 +28,7 @@ buildGoPackage rec {
excludedPackages = "integration"; excludedPackages = "integration";
nativeBuildInputs = [ pkgconfig (lib.getBin go-md2man) ]; nativeBuildInputs = [ pkgconfig (lib.getBin go-md2man) ];
buildInputs = [ gpgme libgpgerror lvm2 btrfs-progs ostree libselinux ]; buildInputs = [ gpgme ] ++ lib.optionals stdenv.isLinux [ libgpgerror lvm2 btrfs-progs ostree libselinux ];
buildFlagsArray = '' buildFlagsArray = ''
-ldflags= -ldflags=
@ -37,8 +37,8 @@ buildGoPackage rec {
''; '';
preBuild = '' preBuild = ''
export CGO_CFLAGS="-I${getDev gpgme}/include -I${getDev libgpgerror}/include -I${getDev lvm2}/include -I${getDev btrfs-progs}/include" export CGO_CFLAGS="$CFLAGS"
export CGO_LDFLAGS="-L${getLib gpgme}/lib -L${getLib libgpgerror}/lib -L${getLib lvm2}/lib" export CGO_LDFLAGS="$LDFLAGS"
''; '';
postBuild = '' postBuild = ''

View File

@ -8,7 +8,7 @@ let beat = package : extraArgs : buildGoPackage (rec {
owner = "elastic"; owner = "elastic";
repo = "beats"; repo = "beats";
rev = "v${version}"; rev = "v${version}";
sha256 = "194z3j9zwlbc6j97iy1m1cl0xqks3ws2bjp2xrgy8cwpi7fclaw2"; sha256 = "0ymg6y6v0mdhs1rs11fn33xdp3r6v85563z0f4p7s22j1kd3nd6r";
}; };
goPackagePath = "github.com/elastic/beats"; goPackagePath = "github.com/elastic/beats";

View File

@ -32,7 +32,7 @@ let
# Documentation & usage see vim-utils.nix. # Documentation & usage see vim-utils.nix.
# attribute names should be the same as used by vim-pi to make dependency # attribute names should be the same as used by vim-pi to make dependency
# resolution work # resolution work
self = rec { self = rec {
# This is not a plugin, it provides bin/vim-open-buffer-with-plugins-derivations # This is not a plugin, it provides bin/vim-open-buffer-with-plugins-derivations
# which recreates this the following derivations based on ./vim-plugin-names # which recreates this the following derivations based on ./vim-plugin-names
pluginnames2nix = vimUtils.pluginnames2Nix { pluginnames2nix = vimUtils.pluginnames2Nix {
@ -454,17 +454,6 @@ let
}; };
deoplete-nvim = buildVimPluginFrom2Nix { # created by nix#NixDerivation
name = "deoplete-nvim-2018-07-19";
src = fetchgit {
url = "https://github.com/Shougo/deoplete.nvim";
rev = "0f1921799644cd662cb0a3393ba71096e5e56115";
sha256 = "0xbi6zac45fr8ipz1vqafl6ljh7bpdhbz7dfdyv8z04aqvn621s2";
};
dependencies = [];
};
ultisnips = buildVimPluginFrom2Nix { # created by nix#NixDerivation ultisnips = buildVimPluginFrom2Nix { # created by nix#NixDerivation
name = "ultisnips-2018-04-30"; name = "ultisnips-2018-04-30";
src = fetchgit { src = fetchgit {
@ -609,11 +598,11 @@ let
}; };
clighter8 = buildVimPluginFrom2Nix { # created by nix#NixDerivation clighter8 = buildVimPluginFrom2Nix { # created by nix#NixDerivation
name = "clighter8-2018-04-15"; name = "clighter8-2018-07-25";
src = fetchgit { src = fetchgit {
url = "https://github.com/bbchung/clighter8"; url = "https://github.com/bbchung/clighter8";
rev = "6d325abd043fd1bc31bea821f751996541bfc944"; rev = "839993b60dc4a19a58e4c7e7db1df04d911bb181";
sha256 = "1kmk6q1hca97052dif1m3ygcr9zrnc3i2lrvkzlmsqb159mgfsgq"; sha256 = "01r92idbym2p1hiqszrprrl1hrqzz2yhzv8n08m8gycd7m227cwg";
}; };
dependencies = []; dependencies = [];
preFixup = '' preFixup = ''
@ -623,11 +612,11 @@ let
}; };
neomake = buildVimPluginFrom2Nix { # created by nix#NixDerivation neomake = buildVimPluginFrom2Nix { # created by nix#NixDerivation
name = "neomake-2018-07-16"; name = "neomake-2018-07-23";
src = fetchgit { src = fetchgit {
url = "https://github.com/benekastah/neomake"; url = "https://github.com/benekastah/neomake";
rev = "f26a31a315f60150fd42682df911306b4d795dd8"; rev = "b24cac5f6aa1d8f8e8bcfae52ed255f277f4f163";
sha256 = "1rxlzypzwlr6j84llg30d122142la621nai1f7735i58kvmzk51w"; sha256 = "00hmbip0r3l0h6fk0bxs9rqbfj0vn246804s2s7shdjsvn6a3pa0";
}; };
dependencies = []; dependencies = [];
@ -876,11 +865,11 @@ let
}; };
vim = buildVimPluginFrom2Nix { # created by nix#NixDerivation vim = buildVimPluginFrom2Nix { # created by nix#NixDerivation
name = "vim-2018-07-07"; name = "vim-2018-07-23";
src = fetchgit { src = fetchgit {
url = "https://github.com/dracula/vim"; url = "https://github.com/dracula/vim";
rev = "a88e82a94f0ff41e84e51fe501635f0f64d1bb33"; rev = "d329d61c1752807059aef388c4e9629296760a35";
sha256 = "1ld7vbh6dxrf3wqbya9pvvzwp7qgv2pdj74g5w7yjn1bdi597vnm"; sha256 = "06f5jg194w1fzh4bfj7cbibn94a1zx987f8iiaylkqzj3h0fn3fm";
}; };
dependencies = []; dependencies = [];
@ -920,11 +909,11 @@ let
}; };
editorconfig-vim = buildVimPluginFrom2Nix { # created by nix#NixDerivation editorconfig-vim = buildVimPluginFrom2Nix { # created by nix#NixDerivation
name = "editorconfig-vim-2017-10-14"; name = "editorconfig-vim-2018-07-25";
src = fetchgit { src = fetchgit {
url = "https://github.com/editorconfig/editorconfig-vim"; url = "https://github.com/editorconfig/editorconfig-vim";
rev = "0abb0634a8bf3c760a283e9e7475594b83869a46"; rev = "2c3e5323609d97ad7bda6fc22ae1f7746caab3d4";
sha256 = "1wazl37ivn9nhsy296g1ncvvwc78930lbp8arhwavr52mzpfji21"; sha256 = "0a1nszrhxh9ixp5n47w89ijkvjk3rf29ypiz5blf4pnja39r336x";
}; };
dependencies = []; dependencies = [];
@ -986,11 +975,11 @@ let
}; };
vim-localvimrc = buildVimPluginFrom2Nix { # created by nix#NixDerivation vim-localvimrc = buildVimPluginFrom2Nix { # created by nix#NixDerivation
name = "vim-localvimrc-2018-04-05"; name = "vim-localvimrc-2018-07-23";
src = fetchgit { src = fetchgit {
url = "https://github.com/embear/vim-localvimrc"; url = "https://github.com/embear/vim-localvimrc";
rev = "736f9712dd2eb8a7a3ae15d61611db9b5a66c648"; rev = "a3cb22a68625e022df1da402361801cc817bcec5";
sha256 = "09r8hvvm8fdr5rlrgfwnhjkk967dfmis8vgi3d45c9svhsybhkja"; sha256 = "0n3fl4wh5bhppxwkpd69jmnck2js08dgzfxcpfqrvx22zr22m8kc";
}; };
dependencies = []; dependencies = [];
@ -1041,16 +1030,30 @@ let
}; };
vim-go = buildVimPluginFrom2Nix { # created by nix#NixDerivation vim-go = buildVimPluginFrom2Nix { # created by nix#NixDerivation
name = "vim-go-2018-07-18"; name = "vim-go-2018-07-22";
src = fetchgit { src = fetchgit {
url = "https://github.com/fatih/vim-go"; url = "https://github.com/fatih/vim-go";
rev = "2c909e71e184de6ea23e3f8adc7d199856c2806b"; rev = "5e26ce6bfa9400f645aaa5898f802f46275b9585";
sha256 = "0v42yrgnd3hi8s2i9ij7ldgyvs75jkikw1kpqblysdim9cfbbqfk"; sha256 = "1m380n3sdsqydn5dbjj1cafslbr1426ihz1a7rxr980z5jd43hj1";
}; };
dependencies = []; dependencies = [];
}; };
vim-isort = buildVimPluginFrom2Nix { # created by nix#NixDerivation
name = "vim-isort-2017-03-12";
src = fetchgit {
url = "https://github.com/fisadev/vim-isort";
rev = "65bd9fecd5412c8c127de86f8dcf6cfe4dd70fda";
sha256 = "0d9r2p557czrqhn3z35jsrzp3iw6n0vjhxcgkk6l0y79ni3dar1m";
};
dependencies = [];
postPatch = ''
substituteInPlace ftplugin/python_vimisort.vim \
--replace 'import vim' 'import vim; import sys; sys.path.append("${pythonPackages.isort}/${python.sitePackages}")'
'';
};
vim-colorschemes = buildVimPluginFrom2Nix { # created by nix#NixDerivation vim-colorschemes = buildVimPluginFrom2Nix { # created by nix#NixDerivation
name = "vim-colorschemes-2017-08-22"; name = "vim-colorschemes-2017-08-22";
src = fetchgit { src = fetchgit {
@ -1349,11 +1352,11 @@ let
}; };
vim-orgmode = buildVimPluginFrom2Nix { # created by nix#NixDerivation vim-orgmode = buildVimPluginFrom2Nix { # created by nix#NixDerivation
name = "vim-orgmode-2017-11-17"; name = "vim-orgmode-2018-07-25";
src = fetchgit { src = fetchgit {
url = "https://github.com/jceb/vim-orgmode"; url = "https://github.com/jceb/vim-orgmode";
rev = "ce17a40108a7d5051a3909bd7c5c94b0b5660637"; rev = "35e94218c12a0c063b4b3a9b48e7867578e1e13c";
sha256 = "0ni99a5zylb0sbmik2xydia87qlv1xcl18j92nwxg8d6wxsnywb9"; sha256 = "0j6zfqqysnky4z54413l87q7wxbskg0zb221zbz48ry4l1anilhx";
}; };
dependencies = []; dependencies = [];
@ -1371,11 +1374,11 @@ let
}; };
tslime-vim = buildVimPluginFrom2Nix { # created by nix#NixDerivation tslime-vim = buildVimPluginFrom2Nix { # created by nix#NixDerivation
name = "tslime-vim-2016-06-14"; name = "tslime-vim-2018-07-23";
src = fetchgit { src = fetchgit {
url = "https://github.com/jgdavey/tslime.vim"; url = "https://github.com/jgdavey/tslime.vim";
rev = "c980c76bbfc9a523fcf1edf08580d0d3a486e8f2"; rev = "28e9eba642a791c6a6b044433dce8e5451b26fb0";
sha256 = "0gifyxwlspfnkni886adwn9kc0dckanjk0097y8pwxh7qbwfydf1"; sha256 = "1y5xikryv6851d0rjk9c64agawshp5208mwym6ma9ngs7s3s1l4x";
}; };
dependencies = []; dependencies = [];
@ -1448,11 +1451,11 @@ let
}; };
fzf-vim = buildVimPluginFrom2Nix { # created by nix#NixDerivation fzf-vim = buildVimPluginFrom2Nix { # created by nix#NixDerivation
name = "fzf-vim-2018-07-11"; name = "fzf-vim-2018-07-22";
src = fetchgit { src = fetchgit {
url = "https://github.com/junegunn/fzf.vim"; url = "https://github.com/junegunn/fzf.vim";
rev = "8d56bdd6ade7899f0b0a10cfc219804b4ccbc109"; rev = "6ce58caad320be3cf9ff5d275191f88524edf326";
sha256 = "0m3p2gp42hshxb7hrgw63fp155a5l1x9fjr2k21dv22xqlaqy9hj"; sha256 = "02s6ky1mnb18iy91p6syy3qnp55zwg2d52ybm6cic2gwvj1az1sf";
}; };
dependencies = []; dependencies = [];
@ -1580,11 +1583,11 @@ let
}; };
swift-vim = buildVimPluginFrom2Nix { # created by nix#NixDerivation swift-vim = buildVimPluginFrom2Nix { # created by nix#NixDerivation
name = "swift-vim-2018-04-20"; name = "swift-vim-2018-07-21";
src = fetchgit { src = fetchgit {
url = "https://github.com/keith/swift.vim"; url = "https://github.com/keith/swift.vim";
rev = "404df978f9830d9cf0a1f5002cb02f594e3e8996"; rev = "40d53b215fd455e4b7fd413eaf14d1a028a504ab";
sha256 = "03xhzljzcfm0678d6i8j5493pi5knav1hx0jldgn3hish892pfr3"; sha256 = "1lbxi0n5x5xnskfylbcpazch00lxbfhnc2h70x196yc4fhwz9153";
}; };
dependencies = []; dependencies = [];
@ -1679,11 +1682,11 @@ let
}; };
vimtex = buildVimPluginFrom2Nix { # created by nix#NixDerivation vimtex = buildVimPluginFrom2Nix { # created by nix#NixDerivation
name = "vimtex-2018-07-13"; name = "vimtex-2018-07-25";
src = fetchgit { src = fetchgit {
url = "https://github.com/lervag/vimtex"; url = "https://github.com/lervag/vimtex";
rev = "e3dabe0a369dac556508ac5d1132979d654bc753"; rev = "5c5cd72b680bca8c3b5b45ee790f3f6f5890e77c";
sha256 = "10wkfh106xc89bk72n0xc2xa7iva74p4pj0n9wfd3dbspagrf9j2"; sha256 = "1pahrkf536ay56jdiqdda1bq0q5d788bvf099r0wvxwgqk77hr6n";
}; };
dependencies = []; dependencies = [];
@ -1870,22 +1873,22 @@ let
}; };
vim-signify = buildVimPluginFrom2Nix { # created by nix#NixDerivation vim-signify = buildVimPluginFrom2Nix { # created by nix#NixDerivation
name = "vim-signify-2018-07-08"; name = "vim-signify-2018-07-25";
src = fetchgit { src = fetchgit {
url = "https://github.com/mhinz/vim-signify"; url = "https://github.com/mhinz/vim-signify";
rev = "9303070b022c4a642a8d35361e3680622c525144"; rev = "a9fc705b9bdffaac46f13e47d6565c904102dedc";
sha256 = "0was67gn22dn361jg1qc4iscdkm0cg65dprfyd7r6ifhi6v01jmz"; sha256 = "0hk24anfhh1v62zn03cbqrf8c260q6g5cka8dpq8c5943v6kln59";
}; };
dependencies = []; dependencies = [];
}; };
vim-startify = buildVimPluginFrom2Nix { # created by nix#NixDerivation vim-startify = buildVimPluginFrom2Nix { # created by nix#NixDerivation
name = "vim-startify-2018-07-03"; name = "vim-startify-2018-07-21";
src = fetchgit { src = fetchgit {
url = "https://github.com/mhinz/vim-startify"; url = "https://github.com/mhinz/vim-startify";
rev = "7bbc46e1c2eb9e2e6e4e5a34a634b40d85eb1bde"; rev = "8cde338d1f35057fd64146090c960a55b953dcd9";
sha256 = "1q5gxyd85xfhl4i8gzw23dq36bg14lld5i91vnz8xys25idzjs1s"; sha256 = "01aali5s946589cxy8k5qb0qzhxwlgwv4grri3x60h2520fc1z29";
}; };
dependencies = []; dependencies = [];
@ -2094,11 +2097,11 @@ let
}; };
python-mode = buildVimPluginFrom2Nix { # created by nix#NixDerivation python-mode = buildVimPluginFrom2Nix { # created by nix#NixDerivation
name = "python-mode-2018-06-13"; name = "python-mode-2018-07-23";
src = fetchgit { src = fetchgit {
url = "https://github.com/python-mode/python-mode"; url = "https://github.com/python-mode/python-mode";
rev = "bb746d0d0cba9adedbac856429e37a0dbfc599c6"; rev = "d241974f40e8d206f9970e51fb0069951862ba35";
sha256 = "1zlzlfz4arb2gi9ba5mdkpfkirhyk21g18cwx1f150b14baq734f"; sha256 = "1cjhlbk71785zy0g0lf2bmsdsnvqwx03v8lxq7i7j2qazalszxci";
}; };
dependencies = []; dependencies = [];
@ -2334,11 +2337,22 @@ let
}; };
denite-nvim = buildVimPluginFrom2Nix { # created by nix#NixDerivation denite-nvim = buildVimPluginFrom2Nix { # created by nix#NixDerivation
name = "denite-nvim-2018-07-19"; name = "denite-nvim-2018-07-22";
src = fetchgit { src = fetchgit {
url = "https://github.com/shougo/denite.nvim"; url = "https://github.com/shougo/denite.nvim";
rev = "0cab5543d755be4a6c9d331672b07235f8473f1f"; rev = "93d8eb0bf21eb6db3f6a0bf6a84a98bd578176c8";
sha256 = "1r9a29fjmab7r10f5c39xdmbpq14jc6lwyj7d63b5p2dnlva2wr0"; sha256 = "0bhvg9rynqr2nkj7h2h8ws6mm1s7wmgif8avwbirq4pxby5j5f8r";
};
dependencies = [];
};
deoplete-nvim = buildVimPluginFrom2Nix { # created by nix#NixDerivation
name = "deoplete-nvim-2018-07-22";
src = fetchgit {
url = "https://github.com/shougo/deoplete.nvim";
rev = "59fbd61d492b0a1728f34b8958d8e4dbce165c73";
sha256 = "06x46dhyy9bix0svl2c0jxxk7rs8ahzl18yq6hmfb1j45jlv5qiz";
}; };
dependencies = []; dependencies = [];
@ -2484,6 +2498,17 @@ let
''; '';
}; };
fugitive-gitlab-vim = buildVimPluginFrom2Nix { # created by nix#NixDerivation
name = "fugitive-gitlab-vim-2018-07-04";
src = fetchgit {
url = "https://github.com/shumphrey/fugitive-gitlab.vim";
rev = "b8e7b6986c5d13f3e2de2163816af06f74a6f838";
sha256 = "1lvll9hjqsm79f0ls84d8b8s12043b9p5qa4i6iwf3v1qbq7kb8d";
};
dependencies = [];
};
gundo-vim = buildVimPluginFrom2Nix { # created by nix#NixDerivation gundo-vim = buildVimPluginFrom2Nix { # created by nix#NixDerivation
name = "gundo-vim-2017-05-09"; name = "gundo-vim-2017-05-09";
src = fetchgit { src = fetchgit {
@ -2495,6 +2520,17 @@ let
}; };
splice-vim = buildVimPluginFrom2Nix { # created by nix#NixDerivation
name = "splice-vim-2017-09-03";
src = fetchgit {
url = "https://github.com/sjl/splice.vim";
rev = "b31cb25eea8a92a037e9da9a98b2e6147294c37d";
sha256 = "0mqnrmkyms2z5lqy90cy076x3fr9xmd63962wd8n6n6mbin97ihx";
};
dependencies = [];
};
last256 = buildVimPluginFrom2Nix { # created by nix#NixDerivation last256 = buildVimPluginFrom2Nix { # created by nix#NixDerivation
name = "last256-2017-06-11"; name = "last256-2017-06-11";
src = fetchgit { src = fetchgit {
@ -2660,6 +2696,17 @@ let
}; };
vim-abolish = buildVimPluginFrom2Nix { # created by nix#NixDerivation
name = "vim-abolish-2017-03-10";
src = fetchgit {
url = "https://github.com/tpope/vim-abolish";
rev = "b6a8b49e2173ba5a1b34d00e68e0ed8addac3ebd";
sha256 = "0i9q3l7r5p8mk4in3c1j4x0jbln7ir9lg1cqjxci0chjjzfzc53m";
};
dependencies = [];
};
vim-commentary = buildVimPluginFrom2Nix { # created by nix#NixDerivation vim-commentary = buildVimPluginFrom2Nix { # created by nix#NixDerivation
name = "vim-commentary-2018-07-11"; name = "vim-commentary-2018-07-11";
src = fetchgit { src = fetchgit {
@ -2672,11 +2719,11 @@ let
}; };
vim-dispatch = buildVimPluginFrom2Nix { # created by nix#NixDerivation vim-dispatch = buildVimPluginFrom2Nix { # created by nix#NixDerivation
name = "vim-dispatch-2018-07-18"; name = "vim-dispatch-2018-07-25";
src = fetchgit { src = fetchgit {
url = "https://github.com/tpope/vim-dispatch"; url = "https://github.com/tpope/vim-dispatch";
rev = "43760f9d8469d59fd629a97e19dce4491192cca6"; rev = "dbb9320d000caa56dfada5f99fe0b5209ef0590b";
sha256 = "16kziq3y4v0nksilrblryf2vham87w9c3y133xm6zznyjsjp2x90"; sha256 = "1yqc8fwyf66jckvjf8z8h62399kzgfdzcbnnd9ax8q3wjyk3lfsh";
}; };
dependencies = []; dependencies = [];
@ -2693,12 +2740,23 @@ let
}; };
vim-flagship = buildVimPluginFrom2Nix { # created by nix#NixDerivation
name = "vim-flagship-2018-07-24";
src = fetchgit {
url = "https://github.com/tpope/vim-flagship";
rev = "5e70829913900eb3a37dd6c055ac660c33fa6bff";
sha256 = "1v2kaisydi1vjfy66bwq2whllbickr3ppp9wqxjqv2qhfsnqny8f";
};
dependencies = [];
};
vim-fugitive = buildVimPluginFrom2Nix { # created by nix#NixDerivation vim-fugitive = buildVimPluginFrom2Nix { # created by nix#NixDerivation
name = "vim-fugitive-2018-07-18"; name = "vim-fugitive-2018-07-25";
src = fetchgit { src = fetchgit {
url = "https://github.com/tpope/vim-fugitive"; url = "https://github.com/tpope/vim-fugitive";
rev = "9b9a81b170040ab0061ebd5beec1f5e2e1177056"; rev = "6bab1a0c398a9a6aaef607a5361709393eba79ac";
sha256 = "189w34rjh67j1hs77284xaxq8xlhc0zrk4nnk3qnprwg5qfr4plz"; sha256 = "1rsiha7a0k7ib455dvxrl46zl7x386i70rhwnbmy8lk6wa32mz7v";
}; };
dependencies = []; dependencies = [];
@ -2715,6 +2773,17 @@ let
}; };
vim-projectionist = buildVimPluginFrom2Nix { # created by nix#NixDerivation
name = "vim-projectionist-2018-07-24";
src = fetchgit {
url = "https://github.com/tpope/vim-projectionist";
rev = "873e492b4bb92834beb186028fbf6d4e5edfca5a";
sha256 = "0np7vm97y5ga8gz6qma15awcmgxi41hljp50bgy49sz62z8h0psz";
};
dependencies = [];
};
vim-repeat = buildVimPluginFrom2Nix { # created by nix#NixDerivation vim-repeat = buildVimPluginFrom2Nix { # created by nix#NixDerivation
name = "vim-repeat-2018-07-02"; name = "vim-repeat-2018-07-02";
src = fetchgit { src = fetchgit {
@ -2727,11 +2796,22 @@ let
}; };
vim-rhubarb = buildVimPluginFrom2Nix { # created by nix#NixDerivation vim-rhubarb = buildVimPluginFrom2Nix { # created by nix#NixDerivation
name = "vim-rhubarb-2018-07-19"; name = "vim-rhubarb-2018-07-21";
src = fetchgit { src = fetchgit {
url = "https://github.com/tpope/vim-rhubarb"; url = "https://github.com/tpope/vim-rhubarb";
rev = "186bf27e05ab8713193b1d1210cd3c79f392445a"; rev = "848841083d5d4550b5ebbd3bd67dfb3e5146b64a";
sha256 = "127gv59dkw1z7lpspxk7by2pf1mqqb6jxc58g359m76lfqpkcvvv"; sha256 = "19b36lbsry994y78lnnnjl83q2laz7j6xvk6h6xbl8kj10v6m4l9";
};
dependencies = [];
};
vim-scriptease = buildVimPluginFrom2Nix { # created by nix#NixDerivation
name = "vim-scriptease-2018-07-18";
src = fetchgit {
url = "https://github.com/tpope/vim-scriptease";
rev = "baea08bb5fff63cd2adf6e46429cad1f75bc7300";
sha256 = "01xfnda5paywfsb6ziq00zcgia7ls0v2924i1mcnvnqg4md890x4";
}; };
dependencies = []; dependencies = [];
@ -2771,11 +2851,22 @@ let
}; };
vim-surround = buildVimPluginFrom2Nix { # created by nix#NixDerivation vim-surround = buildVimPluginFrom2Nix { # created by nix#NixDerivation
name = "vim-surround-2018-06-15"; name = "vim-surround-2018-07-23";
src = fetchgit { src = fetchgit {
url = "https://github.com/tpope/vim-surround"; url = "https://github.com/tpope/vim-surround";
rev = "aa1f120ad3a29c27cc41d581cda3751c59343cce"; rev = "597068870b8f093a8b2d11536c62ff31222ee8d0";
sha256 = "1vblmvmbl9k2fzm0fjlbvvbb5izyljaxg187s29cp6p4xm0frcql"; sha256 = "080kcgb5ayxs49q1p1cms6k1byf2fzzy8bglnspr511m9fql5a9x";
};
dependencies = [];
};
vim-tbone = buildVimPluginFrom2Nix { # created by nix#NixDerivation
name = "vim-tbone-2018-06-27";
src = fetchgit {
url = "https://github.com/tpope/vim-tbone";
rev = "8bc7348f658c32bea57365aa6acf3a7dde12e737";
sha256 = "17s2b66xxkvv17pzf3xrw6ba7y9awpd2k2d21v0pag924c5hi6d4";
}; };
dependencies = []; dependencies = [];
@ -2848,11 +2939,11 @@ let
}; };
youcompleteme = buildVimPluginFrom2Nix { # created by nix#NixDerivation youcompleteme = buildVimPluginFrom2Nix { # created by nix#NixDerivation
name = "youcompleteme-2018-07-24"; name = "youcompleteme-2018-07-25";
src = fetchgit { src = fetchgit {
url = "https://github.com/valloric/youcompleteme"; url = "https://github.com/valloric/youcompleteme";
rev = "459b3e620e45191b15c48c66b02ff89f1a0674db"; rev = "15362d9cb8ec054c929e9a202252825eabe47e58";
sha256 = "0s4sndx0mm13xcb559agfcqqdwhp2sr7kpp4ksc9gx41k7626rdr"; sha256 = "0nk3wqlz15pvm6hbla8shd3sskbdmwd1x9cq85la223h6s138hwy";
}; };
dependencies = []; dependencies = [];
buildPhase = '' buildPhase = ''
@ -2874,11 +2965,11 @@ let
}; };
vim-airline = buildVimPluginFrom2Nix { # created by nix#NixDerivation vim-airline = buildVimPluginFrom2Nix { # created by nix#NixDerivation
name = "vim-airline-2018-07-13"; name = "vim-airline-2018-07-24";
src = fetchgit { src = fetchgit {
url = "https://github.com/vim-airline/vim-airline"; url = "https://github.com/vim-airline/vim-airline";
rev = "4cc255a3849c15484f7da5b5039d73f1a567a7e2"; rev = "59f3669a42728406da6d1b948608cae120d1453f";
sha256 = "124pl87zwfg4fnb3il5jy5dz03bq5vzyk10z60dvkfw4cr57hlfw"; sha256 = "12rgvaqfqh0mfv85qdqpr5zn3q3v6npbk11al62fzpa9s55q0025";
}; };
dependencies = []; dependencies = [];
@ -2896,11 +2987,11 @@ let
}; };
vim-pandoc = buildVimPluginFrom2Nix { # created by nix#NixDerivation vim-pandoc = buildVimPluginFrom2Nix { # created by nix#NixDerivation
name = "vim-pandoc-2018-01-11"; name = "vim-pandoc-2018-07-23";
src = fetchgit { src = fetchgit {
url = "https://github.com/vim-pandoc/vim-pandoc"; url = "https://github.com/vim-pandoc/vim-pandoc";
rev = "3a686781ab5ea622616798475deb394e48d3cc48"; rev = "0060e5c6ac9e4a2391e8a36359dcbbb5827978cb";
sha256 = "1nvz8v52jydkvnlid5w8dkjmr548ryla2vaxnlgj125aamkvmgn3"; sha256 = "0y0ppy1imy4kjkyflxwh5hfp6vcs93xia6myyd5sc6l3gbcg1lrk";
}; };
dependencies = []; dependencies = [];
@ -3127,33 +3218,33 @@ let
}; };
vimwiki = buildVimPluginFrom2Nix { # created by nix#NixDerivation vimwiki = buildVimPluginFrom2Nix { # created by nix#NixDerivation
name = "vimwiki-2018-06-12"; name = "vimwiki-2018-07-21";
src = fetchgit { src = fetchgit {
url = "https://github.com/vimwiki/vimwiki"; url = "https://github.com/vimwiki/vimwiki";
rev = "9f8b0082dbd99e706cc18de2076f7a66c2ca0a90"; rev = "9f797f6ad9fd2a5e943bc99b5f9cd44b2cbd0fb4";
sha256 = "0q9ik2shvg9lcavds2y7ffsj34zl5ichprm2sylz2bfhjcqgsslw"; sha256 = "0snqxbfpc9jy9zy3n0g2xc01kgxznnnd0g00v2nb17vs3m1b7arc";
}; };
dependencies = []; dependencies = [];
}; };
dhall-vim = buildVimPluginFrom2Nix { # created by nix#NixDerivation dhall-vim = buildVimPluginFrom2Nix { # created by nix#NixDerivation
name = "dhall-vim-2018-07-15"; name = "dhall-vim-2018-07-23";
src = fetchgit { src = fetchgit {
url = "https://github.com/vmchale/dhall-vim"; url = "https://github.com/vmchale/dhall-vim";
rev = "a17c1ebb1487f2a69dd5230e9d4b8a247b50e2ae"; rev = "5bdddb86e660f172841109a28e2a98efb76448ce";
sha256 = "1xrlzvi626bhxh8rs0gz4hjkx7qc0f6bb0vl6ainnkjqafb310qw"; sha256 = "0rkzgn5ny84624q7phc8wdm4nvkq2ypkq5lkbmahhm26cxvlkqlq";
}; };
dependencies = []; dependencies = [];
}; };
ale = buildVimPluginFrom2Nix { # created by nix#NixDerivation ale = buildVimPluginFrom2Nix { # created by nix#NixDerivation
name = "ale-2018-07-17"; name = "ale-2018-07-25";
src = fetchgit { src = fetchgit {
url = "https://github.com/w0rp/ale"; url = "https://github.com/w0rp/ale";
rev = "5453e0e1a43302226da1d1d753e162af0231f9d3"; rev = "79ffdde267323a206a96227904549c370f27decf";
sha256 = "0zcgfjssvfcc30ksgp42khc9s91gxymkz3dzdhnvwkm0vx90mjlp"; sha256 = "02np0jnz50qs3fl6n0wh1xfzgq8lbfgagf2mw8cbj8a4gmzx67fg";
}; };
dependencies = []; dependencies = [];

View File

@ -52,6 +52,7 @@
"github:esneider/YUNOcommit.vim" "github:esneider/YUNOcommit.vim"
"github:fatih/vim-go" "github:fatih/vim-go"
"github:FelikZ/ctrlp-py-matcher" "github:FelikZ/ctrlp-py-matcher"
"github:fisadev/vim-isort"
"github:flazz/vim-colorschemes" "github:flazz/vim-colorschemes"
"github:floobits/floobits-neovim" "github:floobits/floobits-neovim"
"github:frigoeu/psc-ide-vim" "github:frigoeu/psc-ide-vim"
@ -194,7 +195,7 @@
"github:sheerun/vim-polyglot" "github:sheerun/vim-polyglot"
"github:shougo/context_filetype.vim" "github:shougo/context_filetype.vim"
"github:shougo/denite.nvim" "github:shougo/denite.nvim"
"github:Shougo/deoplete.nvim" "github:shougo/deoplete.nvim"
"github:shougo/echodoc.vim" "github:shougo/echodoc.vim"
"github:shougo/neco-syntax" "github:shougo/neco-syntax"
"github:shougo/neco-vim" "github:shougo/neco-vim"
@ -207,8 +208,10 @@
"github:shougo/tabpagebuffer.vim" "github:shougo/tabpagebuffer.vim"
"github:shougo/unite.vim" "github:shougo/unite.vim"
"github:shougo/vimproc.vim" "github:shougo/vimproc.vim"
"github:shumphrey/fugitive-gitlab.vim"
"github:SirVer/ultisnips" "github:SirVer/ultisnips"
"github:sjl/gundo.vim" "github:sjl/gundo.vim"
"github:sjl/splice.vim"
"github:sk1418/last256" "github:sk1418/last256"
"github:slashmili/alchemist.vim" "github:slashmili/alchemist.vim"
"github:t9md/vim-smalls" "github:t9md/vim-smalls"
@ -224,17 +227,22 @@
"github:tomasr/molokai" "github:tomasr/molokai"
"github:tomlion/vim-solidity" "github:tomlion/vim-solidity"
"github:tomtom/tlib_vim" "github:tomtom/tlib_vim"
"github:tpope/vim-abolish"
"github:tpope/vim-commentary" "github:tpope/vim-commentary"
"github:tpope/vim-dispatch" "github:tpope/vim-dispatch"
"github:tpope/vim-eunuch" "github:tpope/vim-eunuch"
"github:tpope/vim-flagship"
"github:tpope/vim-fugitive" "github:tpope/vim-fugitive"
"github:tpope/vim-pathogen" "github:tpope/vim-pathogen"
"github:tpope/vim-projectionist"
"github:tpope/vim-repeat" "github:tpope/vim-repeat"
"github:tpope/vim-rhubarb" "github:tpope/vim-rhubarb"
"github:tpope/vim-scriptease"
"github:tpope/vim-sensible" "github:tpope/vim-sensible"
"github:tpope/vim-sleuth" "github:tpope/vim-sleuth"
"github:tpope/vim-speeddating" "github:tpope/vim-speeddating"
"github:tpope/vim-surround" "github:tpope/vim-surround"
"github:tpope/vim-tbone"
"github:tpope/vim-vinegar" "github:tpope/vim-vinegar"
"github:travitch/hasksyn" "github:travitch/hasksyn"
"github:twinside/vim-haskellconceal" "github:twinside/vim-haskellconceal"

View File

@ -0,0 +1,4 @@
postPatch = ''
substituteInPlace ftplugin/python_vimisort.vim \
--replace 'import vim' 'import vim; import sys; sys.path.append("${pythonPackages.isort}/${python.sitePackages}")'
'';

View File

@ -85,6 +85,7 @@ let
--replace 'LDFLAGS :=' 'LDFLAGS := -ltls -lssl -lcrypto' --replace 'LDFLAGS :=' 'LDFLAGS := -ltls -lssl -lcrypto'
''; '';
separateDebugInfo = true;
enableParallelBuilding = true; enableParallelBuilding = true;
makeFlags = [ "all" "fdb_java" ] makeFlags = [ "all" "fdb_java" ]
@ -92,7 +93,9 @@ let
# it gets statically linked in # it gets statically linked in
++ lib.optional (!lib.versionAtLeast version "6.0") [ "fdb_c" ] ++ lib.optional (!lib.versionAtLeast version "6.0") [ "fdb_c" ]
# Needed environment overrides # Needed environment overrides
++ [ "KVRELEASE=1" ]; ++ [ "KVRELEASE=1"
"NOSTRIP=1"
];
# on 6.0 and later, we can specify all this information manually # on 6.0 and later, we can specify all this information manually
configurePhase = lib.optionalString (lib.versionAtLeast version "6.0") '' configurePhase = lib.optionalString (lib.versionAtLeast version "6.0") ''
@ -152,9 +155,9 @@ in with builtins; {
}; };
foundationdb60 = makeFdb rec { foundationdb60 = makeFdb rec {
version = "6.0.2pre2430_${substring 0 8 rev}"; version = "6.0.3pre2446_${substring 0 8 rev}";
branch = "release-6.0"; branch = "release-6.0";
rev = "7938d247a5eaf886a176575de6592b76374df58c"; rev = "dd5481fb60ee1652986b2a028b31dcbb6cb171b5";
sha256 = "0g8h2zs0f3aacs7x4hyjh0scybv33gjj6dqfb789h4n6r4gd7d9h"; sha256 = "0mhlb728badk1h3410jbhy7f48m3jjnjna26wwyw5680xz72d6dm";
}; };
} }

View File

@ -26,13 +26,13 @@ let
}; };
in pythonPackages.buildPythonApplication rec { in pythonPackages.buildPythonApplication rec {
name = "matrix-synapse-${version}"; name = "matrix-synapse-${version}";
version = "0.31.2"; version = "0.33.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "matrix-org"; owner = "matrix-org";
repo = "synapse"; repo = "synapse";
rev = "v${version}"; rev = "v${version}";
sha256 = "15nfdq5s0d4bv1in6vymhq70hpz48p0nlzx25wxpibbrix630h8q"; sha256 = "1immk6k0wgiks1s39dhyjg79n6rgans9zy85r5wmkp4dlc3r5rx6";
}; };
patches = [ patches = [
@ -45,7 +45,7 @@ in pythonPackages.buildPythonApplication rec {
signedjson systemd twisted ujson unpaddedbase64 pyyaml prometheus_client signedjson systemd twisted ujson unpaddedbase64 pyyaml prometheus_client
matrix-angular-sdk bleach netaddr jinja2 psycopg2 matrix-angular-sdk bleach netaddr jinja2 psycopg2
psutil msgpack-python lxml matrix-synapse-ldap3 psutil msgpack-python lxml matrix-synapse-ldap3
phonenumbers jsonschema affinity bcrypt phonenumbers jsonschema affinity bcrypt sortedcontainers
]; ];
# Checks fail because of Tox. # Checks fail because of Tox.
@ -59,6 +59,6 @@ in pythonPackages.buildPythonApplication rec {
homepage = https://matrix.org; homepage = https://matrix.org;
description = "Matrix reference homeserver"; description = "Matrix reference homeserver";
license = licenses.asl20; license = licenses.asl20;
maintainers = [ maintainers.ralith maintainers.roblabla ]; maintainers = with maintainers; [ ralith roblabla ekleog ];
}; };
} }

View File

@ -1,7 +1,7 @@
{stdenv, fetchFromGitHub, python2, par2cmdline, unzip, unrar, p7zip, makeWrapper}: {stdenv, fetchFromGitHub, python2, par2cmdline, unzip, unrar, p7zip, makeWrapper}:
let let
pythonEnv = python2.withPackages(ps: with ps; [ cryptography cheetah yenc ]); pythonEnv = python2.withPackages(ps: with ps; [ cryptography cheetah yenc sabyenc ]);
path = stdenv.lib.makeBinPath [ par2cmdline unrar unzip p7zip ]; path = stdenv.lib.makeBinPath [ par2cmdline unrar unzip p7zip ];
in stdenv.mkDerivation rec { in stdenv.mkDerivation rec {
version = "2.3.3"; version = "2.3.3";

View File

@ -1,14 +1,26 @@
{ stdenv, fetchurl, elk6Version, makeWrapper, jre_headless, utillinux }: { elk6Version
, enableUnfree ? true
, stdenv
, fetchurl
, makeWrapper
, jre_headless
, utillinux
, autoPatchelfHook
, zlib
}:
with stdenv.lib; with stdenv.lib;
stdenv.mkDerivation rec { stdenv.mkDerivation (rec {
version = elk6Version; version = elk6Version;
name = "elasticsearch-${version}"; name = "elasticsearch-${optionalString (!enableUnfree) "oss-"}${version}";
src = fetchurl { src = fetchurl {
url = "https://artifacts.elastic.co/downloads/elasticsearch/${name}.tar.gz"; url = "https://artifacts.elastic.co/downloads/elasticsearch/${name}.tar.gz";
sha256 = "13hf00khq33yw6zv022vcrsf6vm43isx40x7ww8r1lqx3vmg3rli"; sha256 =
if enableUnfree
then "0960ak602pm95p2mha9cb1mrwdky8pfw3y89r2v4zpr5n730hmnh"
else "1i4i1ai75bf8k0zd1qf8x0bavrm8rcw13xdim443zza09w95ypk4";
}; };
patches = [ ./es-home-6.x.patch ]; patches = [ ./es-home-6.x.patch ];
@ -32,10 +44,22 @@ stdenv.mkDerivation rec {
wrapProgram $out/bin/elasticsearch-plugin --set JAVA_HOME "${jre_headless}" wrapProgram $out/bin/elasticsearch-plugin --set JAVA_HOME "${jre_headless}"
''; '';
passthru = { inherit enableUnfree; };
meta = { meta = {
description = "Open Source, Distributed, RESTful Search Engine"; description = "Open Source, Distributed, RESTful Search Engine";
license = licenses.asl20; license = if enableUnfree then licenses.elastic else licenses.asl20;
platforms = platforms.unix; platforms = platforms.unix;
maintainers = with maintainers; [ apeschar basvandijk ]; maintainers = with maintainers; [ apeschar basvandijk ];
}; };
} } // optionalAttrs enableUnfree {
dontPatchELF = true;
nativeBuildInputs = [ autoPatchelfHook ];
runtimeDependencies = [ zlib ];
postFixup = ''
for exe in $(find $out/modules/x-pack/x-pack-ml/platform/linux-x86_64/bin -executable -type f); do
echo "patching $exe..."
patchelf --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" "$exe"
done
'';
})

View File

@ -2476,6 +2476,7 @@ let
}; };
nativeBuildInputs = [ pkgconfig ]; nativeBuildInputs = [ pkgconfig ];
buildInputs = [ libX11 xproto ]; buildInputs = [ libX11 xproto ];
configureFlags = [ "--with-xkb-rules-symlink=xorg" ];
meta.platforms = stdenv.lib.platforms.unix; meta.platforms = stdenv.lib.platforms.unix;
}) // {inherit libX11 xproto ;}; }) // {inherit libX11 xproto ;};

View File

@ -339,15 +339,7 @@ in rec {
llvmPackages_5 = super.llvmPackages_5 // (let llvmPackages_5 = super.llvmPackages_5 // (let
tools = super.llvmPackages_5.tools.extend (_: super: { tools = super.llvmPackages_5.tools.extend (_: super: {
# Build man pages with final stdenv not before inherit (llvmPackages_5) llvm clang-unwrapped;
llvm = lib.extendDerivation
true
{ inherit (super.llvm) man; }
llvmPackages_5.llvm;
clang-unwrapped = lib.extendDerivation
true
{ inherit (super.clang-unwrapped) man; }
llvmPackages_5.clang-unwrapped;
}); });
libraries = super.llvmPackages_5.libraries.extend (_: _: { libraries = super.llvmPackages_5.libraries.extend (_: _: {
inherit (llvmPackages_5) compiler-rt libcxx libcxxabi; inherit (llvmPackages_5) compiler-rt libcxx libcxxabi;
@ -384,9 +376,8 @@ in rec {
initialPath = import ../common-path.nix { inherit pkgs; }; initialPath = import ../common-path.nix { inherit pkgs; };
shell = "${pkgs.bash}/bin/bash"; shell = "${pkgs.bash}/bin/bash";
# Hack to avoid man pages in stdenv, building bootstrap python
cc = pkgs.llvmPackages.libcxxClang.override { cc = pkgs.llvmPackages.libcxxClang.override {
cc = builtins.removeAttrs pkgs.llvmPackages.clang-unwrapped [ "man" ]; cc = pkgs.llvmPackages.clang-unwrapped;
}; };
extraNativeBuildInputs = []; extraNativeBuildInputs = [];

View File

@ -0,0 +1,27 @@
{ lib, stdenv, fetchFromGitHub, cmake, fuse, readline, pkgconfig, qtbase }:
stdenv.mkDerivation rec {
name = "android-file-transfer-${version}";
version = "3.4";
src = fetchFromGitHub {
owner = "whoozle";
repo = "android-file-transfer-linux";
rev = "v${version}";
sha256 = "1xwl0vk57174gdjhgqkzrirwzd2agdm84q30dq9q376ixgxjrifc";
};
buildInputs = [ cmake fuse readline pkgconfig qtbase ];
buildPhase = ''
cmake .
make
'';
installPhase = ''
make install
'';
meta = with stdenv.lib; {
description = "Reliable MTP client with minimalistic UI";
homepage = http://whoozle.github.io/android-file-transfer-linux/;
license = licenses.lgpl21;
maintainers = [ maintainers.xaverdh ];
platforms = platforms.linux;
};
}

View File

@ -2,7 +2,7 @@
let let
version = "2.3.0.3"; version = "2.5.0.0";
in stdenv.mkDerivation rec { in stdenv.mkDerivation rec {
@ -11,7 +11,7 @@ in stdenv.mkDerivation rec {
src = fetchgit { src = fetchgit {
url = "git://git.skarnet.org/execline"; url = "git://git.skarnet.org/execline";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
sha256 = "1q0izb8ajzxl36fjpy4rn63sz01055r9s33fga99jprdmkkfzz6x"; sha256 = "19vd8252g5bmzm4i9gybpj7i2mhsflcgfl4ns5k3g1vv7f69i1dn";
}; };
outputs = [ "bin" "lib" "dev" "doc" "out" ]; outputs = [ "bin" "lib" "dev" "doc" "out" ];

View File

@ -19,7 +19,8 @@ stdenv.mkDerivation {
''; '';
postInstall = '' postInstall = ''
ln -s $out/games/fortune $out/bin/fortune mv $out/games/fortune $out/bin/fortune
rmdir $out/games
''; '';
meta = { meta = {

View File

@ -42,8 +42,8 @@ buildGoPackage rec {
cp $src/bin/fzf-tmux $bin/bin cp $src/bin/fzf-tmux $bin/bin
mkdir -p $man/share/man mkdir -p $man/share/man
cp -r $src/man/man1 $man/share/man cp -r $src/man/man1 $man/share/man
mkdir -p $out/share/vim-plugins mkdir -p $out/share/vim-plugins/${name}
ln -s $out/share/go/src/github.com/junegunn/fzf $out/share/vim-plugins/${name} cp -r $src/plugin $out/share/vim-plugins/${name}
cp -R $src/shell $bin/share/fzf cp -R $src/shell $bin/share/fzf
cat <<SCRIPT > $bin/bin/fzf-share cat <<SCRIPT > $bin/bin/fzf-share

View File

@ -1,12 +1,23 @@
{ stdenv, fetchurl, elk6Version, makeWrapper, jre }: { elk6Version
, enableUnfree ? true
, stdenv
, fetchurl
, makeWrapper
, jre
}:
with stdenv.lib;
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
version = elk6Version; version = elk6Version;
name = "logstash-${version}"; name = "logstash-${optionalString (!enableUnfree) "oss-"}${version}";
src = fetchurl { src = fetchurl {
url = "https://artifacts.elastic.co/downloads/logstash/${name}.tar.gz"; url = "https://artifacts.elastic.co/downloads/logstash/${name}.tar.gz";
sha256 = "07j3jjg5ik4gjgvcx15qqqas9p1m3815jml82a5r1ip9l6vc4h20"; sha256 =
if enableUnfree
then "0yx9hpiav4d5z1b52x2h5i0iknqs9lmxy8vmz0wkb23mjiz8njdr"
else "1ir8pbq706mxr56k5cgc9ajn2jp603zrqj66dimx6xxf2nfamw0w";
}; };
dontBuild = true; dontBuild = true;
@ -35,7 +46,7 @@ stdenv.mkDerivation rec {
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Logstash is a data pipeline that helps you process logs and other event data from a variety of systems"; description = "Logstash is a data pipeline that helps you process logs and other event data from a variety of systems";
homepage = https://www.elastic.co/products/logstash; homepage = https://www.elastic.co/products/logstash;
license = licenses.asl20; license = if enableUnfree then licenses.elastic else licenses.asl20;
platforms = platforms.unix; platforms = platforms.unix;
maintainers = with maintainers; [ wjlroe offline basvandijk ]; maintainers = with maintainers; [ wjlroe offline basvandijk ];
}; };

View File

@ -2,7 +2,7 @@
let let
version = "2.2.0.1"; version = "2.3.0.0";
in stdenv.mkDerivation rec { in stdenv.mkDerivation rec {
@ -11,7 +11,7 @@ in stdenv.mkDerivation rec {
src = fetchgit { src = fetchgit {
url = "git://git.skarnet.org/s6-dns"; url = "git://git.skarnet.org/s6-dns";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
sha256 = "10qvkh608nsx8gqs3pj4pb8aivwpshbmjw2766grgmrb35d31brl"; sha256 = "1hczdg3dzi9z6f0wicm2qa2239fiax915zp66xspdz6qd23nqrxb";
}; };
outputs = [ "bin" "lib" "dev" "doc" "out" ]; outputs = [ "bin" "lib" "dev" "doc" "out" ];

View File

@ -1,10 +1,25 @@
{ stdenv, execline, fetchgit, s6, s6-dns, skalibs }: { stdenv, execline, fetchgit, s6, s6-dns, skalibs
# Whether to build the TLS/SSL tools and what library to use
# acceptable values: "libressl", false
# TODO: add bearssl
, sslSupport ? "libressl" , libressl
}:
let let
inherit (stdenv) lib;
version = "2.3.0.2"; version = "2.3.0.2";
in stdenv.mkDerivation rec { sslSupportEnabled = sslSupport != false;
sslLibs = {
"libressl" = libressl;
};
in
assert sslSupportEnabled -> sslLibs ? ${sslSupport};
stdenv.mkDerivation rec {
name = "s6-networking-${version}"; name = "s6-networking-${version}";
@ -41,7 +56,12 @@ in stdenv.mkDerivation rec {
"--with-dynlib=${s6.out}/lib" "--with-dynlib=${s6.out}/lib"
"--with-dynlib=${s6-dns.lib}/lib" "--with-dynlib=${s6-dns.lib}/lib"
] ]
++ (stdenv.lib.optional stdenv.isDarwin "--build=${stdenv.system}"); ++ (lib.optionals sslSupportEnabled [
"--enable-ssl=${sslSupport}"
"--with-include=${lib.getDev sslLibs.${sslSupport}}/include"
"--with-lib=${lib.getLib sslLibs.${sslSupport}}/lib"
])
++ (lib.optional stdenv.isDarwin "--build=${stdenv.system}");
postInstall = '' postInstall = ''
mkdir -p $doc/share/doc/s6-networking/ mkdir -p $doc/share/doc/s6-networking/
@ -51,8 +71,8 @@ in stdenv.mkDerivation rec {
meta = { meta = {
homepage = http://www.skarnet.org/software/s6-networking/; homepage = http://www.skarnet.org/software/s6-networking/;
description = "A suite of small networking utilities for Unix systems"; description = "A suite of small networking utilities for Unix systems";
platforms = stdenv.lib.platforms.all; platforms = lib.platforms.all;
license = stdenv.lib.licenses.isc; license = lib.licenses.isc;
maintainers = with stdenv.lib.maintainers; [ pmahoney Profpatsch ]; maintainers = with stdenv.lib.maintainers; [ pmahoney Profpatsch ];
}; };

View File

@ -2,7 +2,7 @@
let let
version = "0.3.0.0"; version = "0.4.0.1";
in stdenv.mkDerivation rec { in stdenv.mkDerivation rec {
@ -11,7 +11,7 @@ in stdenv.mkDerivation rec {
src = fetchgit { src = fetchgit {
url = "git://git.skarnet.org/s6-rc"; url = "git://git.skarnet.org/s6-rc";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
sha256 = "174a3l92nkhxrx8gq36xmb5a7krj40iz1xdiii25nxwjfiw5ynfb"; sha256 = "10gkkdbvkb4s2yshx425v9diwm7vvbl320a2bm0c3wz71xr94wsw";
}; };
outputs = [ "bin" "lib" "dev" "doc" "out" ]; outputs = [ "bin" "lib" "dev" "doc" "out" ];

View File

@ -2,7 +2,7 @@
let let
version = "2.6.1.1"; version = "2.7.1.1";
in stdenv.mkDerivation rec { in stdenv.mkDerivation rec {
@ -11,7 +11,7 @@ in stdenv.mkDerivation rec {
src = fetchgit { src = fetchgit {
url = "git://git.skarnet.org/s6"; url = "git://git.skarnet.org/s6";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
sha256 = "162hng8xcwjp8pr4d78zq3f82lm9c6ldbcfll0mjsmnxdds5hrsg"; sha256 = "0dncw3h9wc4cgc9q8zjwicgbcqcn6722yhk8g9bvrhs7h4fkfqav";
}; };
# NOTE lib: cannot split lib from bin at the moment, # NOTE lib: cannot split lib from bin at the moment,

View File

@ -313,6 +313,7 @@ mapAliases ({
# added 2018-07-16 # added 2018-07-16
forceSystem = system: _: forceSystem = system: _:
(import self.path { localSystem = { inherit system; }; }); (import self.path { localSystem = { inherit system; }; });
callPackage_i686 = pkgsi686Linux.callPackage;
inherit (ocaml-ng) # added 2016-09-14 inherit (ocaml-ng) # added 2016-09-14
ocamlPackages_3_10_0 ocamlPackages_3_11_2 ocamlPackages_3_12_1 ocamlPackages_3_10_0 ocamlPackages_3_11_2 ocamlPackages_3_12_1

View File

@ -2254,12 +2254,15 @@ with pkgs;
# The latest version used by elasticsearch, logstash, kibana and the the beats from elastic. # The latest version used by elasticsearch, logstash, kibana and the the beats from elastic.
elk5Version = "5.6.9"; elk5Version = "5.6.9";
elk6Version = "6.2.4"; elk6Version = "6.3.2";
elasticsearch = callPackage ../servers/search/elasticsearch { }; elasticsearch = callPackage ../servers/search/elasticsearch { };
elasticsearch2 = callPackage ../servers/search/elasticsearch/2.x.nix { }; elasticsearch2 = callPackage ../servers/search/elasticsearch/2.x.nix { };
elasticsearch5 = callPackage ../servers/search/elasticsearch/5.x.nix { }; elasticsearch5 = callPackage ../servers/search/elasticsearch/5.x.nix { };
elasticsearch6 = callPackage ../servers/search/elasticsearch/6.x.nix { }; elasticsearch6 = callPackage ../servers/search/elasticsearch/6.x.nix { };
elasticsearch6-oss = callPackage ../servers/search/elasticsearch/6.x.nix {
enableUnfree = false;
};
elasticsearchPlugins = recurseIntoAttrs ( elasticsearchPlugins = recurseIntoAttrs (
callPackage ../servers/search/elasticsearch/plugins.nix { } callPackage ../servers/search/elasticsearch/plugins.nix { }
@ -3364,6 +3367,9 @@ with pkgs;
kibana = callPackage ../development/tools/misc/kibana { }; kibana = callPackage ../development/tools/misc/kibana { };
kibana5 = callPackage ../development/tools/misc/kibana/5.x.nix { }; kibana5 = callPackage ../development/tools/misc/kibana/5.x.nix { };
kibana6 = callPackage ../development/tools/misc/kibana/6.x.nix { }; kibana6 = callPackage ../development/tools/misc/kibana/6.x.nix { };
kibana6-oss = callPackage ../development/tools/misc/kibana/6.x.nix {
enableUnfree = false;
};
kismet = callPackage ../applications/networking/sniffers/kismet { }; kismet = callPackage ../applications/networking/sniffers/kismet { };
@ -3443,6 +3449,9 @@ with pkgs;
logstash = callPackage ../tools/misc/logstash { }; logstash = callPackage ../tools/misc/logstash { };
logstash5 = callPackage ../tools/misc/logstash/5.x.nix { }; logstash5 = callPackage ../tools/misc/logstash/5.x.nix { };
logstash6 = callPackage ../tools/misc/logstash/6.x.nix { }; logstash6 = callPackage ../tools/misc/logstash/6.x.nix { };
logstash6-oss = callPackage ../tools/misc/logstash/6.x.nix {
enableUnfree = false;
};
logstash-contrib = callPackage ../tools/misc/logstash/contrib.nix { }; logstash-contrib = callPackage ../tools/misc/logstash/contrib.nix { };
@ -5065,6 +5074,8 @@ with pkgs;
siege = callPackage ../tools/networking/siege {}; siege = callPackage ../tools/networking/siege {};
sieve-connect = callPackage ../applications/networking/sieve-connect {};
sigal = callPackage ../applications/misc/sigal { sigal = callPackage ../applications/misc/sigal {
inherit (pythonPackages) buildPythonApplication fetchPypi; inherit (pythonPackages) buildPythonApplication fetchPypi;
}; };
@ -6211,6 +6222,7 @@ with pkgs;
}; };
clang = llvmPackages.clang; clang = llvmPackages.clang;
clang-manpages = llvmPackages.clang-manpages;
clang-sierraHack = clang.override { clang-sierraHack = clang.override {
name = "clang-wrapper-with-reexport-hack"; name = "clang-wrapper-with-reexport-hack";
@ -6843,6 +6855,7 @@ with pkgs;
lldb_6 = llvmPackages_6.lldb; lldb_6 = llvmPackages_6.lldb;
llvm = llvmPackages.llvm; llvm = llvmPackages.llvm;
llvm-manpages = llvmPackages.llvm-manpages;
llvm_6 = llvmPackages_6.llvm; llvm_6 = llvmPackages_6.llvm;
llvm_5 = llvmPackages_5.llvm; llvm_5 = llvmPackages_5.llvm;
@ -18251,7 +18264,7 @@ with pkgs;
st = callPackage ../applications/misc/st { st = callPackage ../applications/misc/st {
conf = config.st.conf or null; conf = config.st.conf or null;
patches = config.st.patches or null; patches = config.st.patches or [];
extraLibs = config.st.extraLibs or []; extraLibs = config.st.extraLibs or [];
}; };
@ -21012,6 +21025,8 @@ with pkgs;
### MISC ### MISC
android-file-transfer = libsForQt5.callPackage ../tools/filesystems/android-file-transfer { };
antimicro = libsForQt5.callPackage ../tools/misc/antimicro { }; antimicro = libsForQt5.callPackage ../tools/misc/antimicro { };
atari800 = callPackage ../misc/emulators/atari800 { }; atari800 = callPackage ../misc/emulators/atari800 { };

View File

@ -298,23 +298,6 @@ let
helm-words = callPackage ../applications/editors/emacs-modes/helm-words { }; helm-words = callPackage ../applications/editors/emacs-modes/helm-words { };
hindent = melpaBuild rec {
pname = "hindent";
version = external.hindent.version;
src = external.hindent.src;
packageRequires = [ haskell-mode ];
propagatedUserEnvPkgs = [ external.hindent ];
recipe = writeText "recipe" ''
(hindent
:repo "commercialhaskell/hindent" :fetcher github
:files ("elisp/*.el"))
'';
meta = {
description = "Indent haskell code using the \"hindent\" program";
license = bsd3;
};
};
icicles = callPackage ../applications/editors/emacs-modes/icicles { }; icicles = callPackage ../applications/editors/emacs-modes/icicles { };
redshank = callPackage ../applications/editors/emacs-modes/redshank { }; redshank = callPackage ../applications/editors/emacs-modes/redshank { };

View File

@ -4,7 +4,7 @@ with pkgs;
runCommand "nixpkgs-metrics" runCommand "nixpkgs-metrics"
{ buildInputs = [ nix time ]; { buildInputs = [ nix time ];
requiredSystemFeatures = [ "benchmark" ]; # requiredSystemFeatures = [ "benchmark" ]; # TODO: a 1-job machine for this on Hydra?
} }
'' ''
export NIX_DB_DIR=$TMPDIR export NIX_DB_DIR=$TMPDIR

View File

@ -256,6 +256,8 @@ in {
ewmh = callPackage ../development/python-modules/ewmh { }; ewmh = callPackage ../development/python-modules/ewmh { };
exchangelib = callPackage ../development/python-modules/exchangelib { };
dbus-python = callPackage ../development/python-modules/dbus { dbus-python = callPackage ../development/python-modules/dbus {
dbus = pkgs.dbus; dbus = pkgs.dbus;
}; };
@ -415,6 +417,8 @@ in {
inherit (pkgs.llvmPackages) openmp; inherit (pkgs.llvmPackages) openmp;
}; };
pykerberos = callPackage ../development/python-modules/pykerberos { };
pynisher = callPackage ../development/python-modules/pynisher { }; pynisher = callPackage ../development/python-modules/pynisher { };
pyparser = callPackage ../development/python-modules/pyparser { }; pyparser = callPackage ../development/python-modules/pyparser { };
@ -475,6 +479,8 @@ in {
rx = callPackage ../development/python-modules/rx { }; rx = callPackage ../development/python-modules/rx { };
sabyenc = callPackage ../development/python-modules/sabyenc { };
salmon-mail = callPackage ../development/python-modules/salmon-mail { }; salmon-mail = callPackage ../development/python-modules/salmon-mail { };
seekpath = callPackage ../development/python-modules/seekpath { }; seekpath = callPackage ../development/python-modules/seekpath { };
@ -2050,6 +2056,8 @@ in {
requests-cache = callPackage ../development/python-modules/requests-cache { }; requests-cache = callPackage ../development/python-modules/requests-cache { };
requests-kerberos = callPackage ../development/python-modules/requests-kerberos { };
requests-unixsocket = callPackage ../development/python-modules/requests-unixsocket {}; requests-unixsocket = callPackage ../development/python-modules/requests-unixsocket {};
howdoi = callPackage ../development/python-modules/howdoi {}; howdoi = callPackage ../development/python-modules/howdoi {};