Merge branch 'master' into staging

Mass rebuilds incoming.  The mass-rebuild situation got really messy
this weekend.
This commit is contained in:
Vladimír Čunát 2017-07-09 18:07:00 +02:00
commit bfb7ef86f3
No known key found for this signature in database
GPG key ID: E747DF1F9575A3AA
131 changed files with 2629 additions and 1960 deletions

View file

@ -37,8 +37,9 @@
</para>
<para>
In Nixpkgs, these three platforms are defined as attribute sets under the names <literal>buildPlatform</literal>, <literal>hostPlatform</literal>, and <literal>targetPlatform</literal>.
All three are always defined at the top level, so one can get at them just like a dependency in a function that is imported with <literal>callPackage</literal>:
<programlisting>{ stdenv, buildPlatform, hostPlatform, fooDep, barDep, .. }: ...</programlisting>
All three are always defined as attributes in the standard environment, and at the top level. That means one can get at them just like a dependency in a function that is imported with <literal>callPackage</literal>:
<programlisting>{ stdenv, buildPlatform, hostPlatform, fooDep, barDep, .. }: ...buildPlatform...</programlisting>, or just off <varname>stdenv</varname>:
<programlisting>{ stdenv, fooDep, barDep, .. }: ...stdenv.buildPlatform...</programlisting>.
</para>
<variablelist>
<varlistentry>

View file

@ -477,4 +477,12 @@ rec {
*/
subtractLists = e: filter (x: !(elem x e));
/* Test if two lists have no common element.
It should be slightly more efficient than (intersectLists a b == [])
*/
mutuallyExclusive = a: b:
(builtins.length a) == 0 ||
(!(builtins.elem (builtins.head a) b) &&
mutuallyExclusive (builtins.tail a) b);
}

View file

@ -43,6 +43,7 @@
andrewrk = "Andrew Kelley <superjoe30@gmail.com>";
andsild = "Anders Sildnes <andsild@gmail.com>";
aneeshusa = "Aneesh Agrawal <aneeshusa@gmail.com>";
ankhers = "Justin Wood <justin.k.wood@gmail.com>";
antono = "Antono Vasiljev <self@antono.info>";
apeschar = "Albert Peschar <albert@peschar.net>";
apeyroux = "Alexandre Peyroux <alex@px.io>";
@ -62,6 +63,7 @@
bachp = "Pascal Bach <pascal.bach@nextrem.ch>";
badi = "Badi' Abdul-Wahid <abdulwahidc@gmail.com>";
balajisivaraman = "Balaji Sivaraman<sivaraman.balaji@gmail.com>";
barrucadu = "Michael Walker <mike@barrucadu.co.uk>";
basvandijk = "Bas van Dijk <v.dijk.bas@gmail.com>";
Baughn = "Svein Ove Aas <sveina@gmail.com>";
bcarrell = "Brandon Carrell <brandoncarrell@gmail.com>";
@ -155,6 +157,7 @@
drewkett = "Andrew Burkett <burkett.andrew@gmail.com>";
dsferruzza = "David Sferruzza <david.sferruzza@gmail.com>";
dtzWill = "Will Dietz <nix@wdtz.org>";
dywedir = "Vladyslav M. <dywedir@protonmail.ch>";
e-user = "Alexander Kahl <nixos@sodosopa.io>";
ebzzry = "Rommel Martinez <ebzzry@gmail.com>";
edanaher = "Evan Danaher <nixos@edanaher.net>";
@ -224,6 +227,7 @@
havvy = "Ryan Scheel <ryan.havvy@gmail.com>";
hbunke = "Hendrik Bunke <bunke.hendrik@gmail.com>";
hce = "Hans-Christian Esperer <hc@hcesperer.org>";
hectorj = "Hector Jusforgues <hector.jusforgues+nixos@gmail.com>";
heel = "Sergii Paryzhskyi <parizhskiy@gmail.com>";
henrytill = "Henry Till <henrytill@gmail.com>";
hinton = "Tom Hinton <t@larkery.com>";
@ -315,6 +319,7 @@
luispedro = "Luis Pedro Coelho <luis@luispedro.org>";
lukego = "Luke Gorrie <luke@snabb.co>";
lw = "Sergey Sofeychuk <lw@fmap.me>";
lyt = "Tim Liou <wheatdoge@gmail.com>";
m3tti = "Mathaeus Sander <mathaeus.peter.sander@gmail.com>";
ma27 = "Maximilian Bosch <maximilian@mbosch.me>";
madjar = "Georges Dubus <georges.dubus@compiletoi.net>";
@ -564,6 +569,7 @@
tv = "Tomislav Viljetić <tv@shackspace.de>";
tvestelind = "Tomas Vestelind <tomas.vestelind@fripost.org>";
tvorog = "Marsel Zaripov <marszaripov@gmail.com>";
tweber = "Thorsten Weber <tw+nixpkgs@360vier.de>";
twey = "James Twey Kay <twey@twey.co.uk>";
uralbash = "Svintsov Dmitry <root@uralbash.ru>";
utdemir = "Utku Demir <me@utdemir.com>";

View file

@ -250,7 +250,7 @@ trap cleanup EXIT
# If --repair is given, don't try to use the Nix daemon, because the
# flag can only be used directly.
if [ -z "$repair" ] && systemctl show nix-daemon.socket nix-daemon.service | grep -q ActiveState=active; then
export NIX_REMOTE=${NIX_REMOTE:-daemon}
export NIX_REMOTE=${NIX_REMOTE-daemon}
fi

View file

@ -42,6 +42,10 @@ in
};
config = mkIf cfg.enable {
# Prevent zsh from overwriting oh-my-zsh's prompt
programs.zsh.promptInit = mkDefault "";
environment.systemPackages = with pkgs; [ oh-my-zsh ];
programs.zsh.interactiveShellInit = with pkgs; with builtins; ''

View file

@ -97,45 +97,6 @@ in
config = mkIf cfg.enable {
programs.zsh = {
shellInit = ''
. ${config.system.build.setEnvironment}
${cfge.shellInit}
'';
loginShellInit = cfge.loginShellInit;
interactiveShellInit = ''
# history defaults
SAVEHIST=2000
HISTSIZE=2000
HISTFILE=$HOME/.zsh_history
setopt HIST_IGNORE_DUPS SHARE_HISTORY HIST_FCNTL_LOCK
# Tell zsh how to find installed completions
for p in ''${(z)NIX_PROFILES}; do
fpath+=($p/share/zsh/site-functions $p/share/zsh/$ZSH_VERSION/functions $p/share/zsh/vendor-completions)
done
${if cfg.enableCompletion then "autoload -U compinit && compinit" else ""}
${optionalString (cfg.enableAutosuggestions)
"source ${pkgs.zsh-autosuggestions}/share/zsh-autosuggestions/zsh-autosuggestions.zsh"
}
${zshAliases}
${cfg.promptInit}
${cfge.interactiveShellInit}
HELPDIR="${pkgs.zsh}/share/zsh/$ZSH_VERSION/help"
'';
};
environment.etc."zshenv".text =
''
# /etc/zshenv: DO NOT EDIT -- this file has been generated automatically.
@ -146,6 +107,10 @@ in
if [ -n "$__ETC_ZSHENV_SOURCED" ]; then return; fi
export __ETC_ZSHENV_SOURCED=1
. ${config.system.build.setEnvironment}
${cfge.shellInit}
${cfg.shellInit}
# Read system-wide modifications.
@ -163,6 +128,8 @@ in
if [ -n "$__ETC_ZPROFILE_SOURCED" ]; then return; fi
__ETC_ZPROFILE_SOURCED=1
${cfge.loginShellInit}
${cfg.loginShellInit}
# Read system-wide modifications.
@ -182,8 +149,34 @@ in
. /etc/zinputrc
# history defaults
SAVEHIST=2000
HISTSIZE=2000
HISTFILE=$HOME/.zsh_history
setopt HIST_IGNORE_DUPS SHARE_HISTORY HIST_FCNTL_LOCK
HELPDIR="${pkgs.zsh}/share/zsh/$ZSH_VERSION/help"
${optionalString cfg.enableCompletion "autoload -U compinit && compinit"}
${optionalString (cfg.enableAutosuggestions)
"source ${pkgs.zsh-autosuggestions}/share/zsh-autosuggestions/zsh-autosuggestions.zsh"
}
${zshAliases}
${cfge.interactiveShellInit}
${cfg.interactiveShellInit}
${cfg.promptInit}
# Tell zsh how to find installed completions
for p in ''${(z)NIX_PROFILES}; do
fpath+=($p/share/zsh/site-functions $p/share/zsh/$ZSH_VERSION/functions $p/share/zsh/vendor-completions)
done
# Read system-wide modifications.
if test -f /etc/zshrc.local; then
. /etc/zshrc.local

View file

@ -44,6 +44,16 @@ in {
'';
};
startWhenNeeded = mkOption {
type = types.bool;
default = false;
description = ''
If set, <command>mpd</command> is socket-activated; that
is, instead of having it permanently running as a daemon,
systemd will start it on the first incoming connection.
'';
};
musicDirectory = mkOption {
type = types.path;
default = "${cfg.dataDir}/music";
@ -123,10 +133,23 @@ in {
config = mkIf cfg.enable {
systemd.sockets.mpd = mkIf cfg.startWhenNeeded {
description = "Music Player Daemon Socket";
wantedBy = [ "sockets.target" ];
listenStreams = [
"${optionalString (cfg.network.listenAddress != "any") "${cfg.network.listenAddress}:"}${toString cfg.network.port}"
];
socketConfig = {
Backlog = 5;
KeepAlive = true;
PassCredentials = true;
};
};
systemd.services.mpd = {
after = [ "network.target" "sound.target" ];
description = "Music Player Daemon";
wantedBy = [ "multi-user.target" ];
wantedBy = optional (!cfg.startWhenNeeded) "multi-user.target";
preStart = ''
mkdir -p "${cfg.dataDir}" && chown -R ${cfg.user}:${cfg.group} "${cfg.dataDir}"
@ -136,6 +159,16 @@ in {
User = "${cfg.user}";
PermissionsStartOnly = true;
ExecStart = "${pkgs.mpd}/bin/mpd --no-daemon ${mpdConf}";
Type = "notify";
LimitRTPRIO = 50;
LimitRTTIME = "infinity";
ProtectSystem = true;
NoNewPrivileges = true;
ProtectKernelTunables = true;
ProtectControlGroups = true;
ProtectKernelModules = true;
RestrictAddressFamilies = "AF_INET AF_INET6 AF_UNIX AF_NETLINK";
RestrictNamespaces = true;
};
};

View file

@ -225,11 +225,7 @@ in {
User = cfg.user;
Group = cfg.group;
WorkingDirectory = cfg.home;
Environment = "PYTHONPATH=${cfg.package}/lib/python2.7/site-packages:${pkgs.buildbot-plugins.www}/lib/python2.7/site-packages:${pkgs.buildbot-plugins.waterfall-view}/lib/python2.7/site-packages:${pkgs.buildbot-plugins.console-view}/lib/python2.7/site-packages:${pkgs.python27Packages.future}/lib/python2.7/site-packages:${pkgs.python27Packages.dateutil}/lib/python2.7/site-packages:${pkgs.python27Packages.six}/lib/python2.7/site-packages:${pkgs.python27Packages.sqlalchemy}/lib/python2.7/site-packages:${pkgs.python27Packages.jinja2}/lib/python2.7/site-packages:${pkgs.python27Packages.markupsafe}/lib/python2.7/site-packages:${pkgs.python27Packages.sqlalchemy_migrate}/lib/python2.7/site-packages:${pkgs.python27Packages.tempita}/lib/python2.7/site-packages:${pkgs.python27Packages.decorator}/lib/python2.7/site-packages:${pkgs.python27Packages.sqlparse}/lib/python2.7/site-packages:${pkgs.python27Packages.txaio}/lib/python2.7/site-packages:${pkgs.python27Packages.autobahn}/lib/python2.7/site-packages:${pkgs.python27Packages.pyjwt}/lib/python2.7/site-packages:${pkgs.python27Packages.distro}/lib/python2.7/site-packages:${pkgs.python27Packages.pbr}/lib/python2.7/site-packages:${pkgs.python27Packages.urllib3}/lib/python2.7/site-packages";
# NOTE: call twistd directly with stdout logging for systemd
#ExecStart = "${cfg.package}/bin/buildbot start --nodaemon ${cfg.buildbotDir}";
ExecStart = "${pkgs.python27Packages.twisted}/bin/twistd -n -l - -y ${cfg.buildbotDir}/buildbot.tac";
ExecStart = "${cfg.package}/bin/buildbot start --nodaemon ${cfg.buildbotDir}";
};
};

View file

@ -9,11 +9,16 @@ let
# /var/lib/misc is for dnsmasq.leases.
stateDirs = "/var/lib/NetworkManager /var/lib/dhclient /var/lib/misc";
dns =
if cfg.useDnsmasq then "dnsmasq"
else if config.services.resolved.enable then "systemd-resolved"
else "default";
configFile = writeText "NetworkManager.conf" ''
[main]
plugins=keyfile
dhcp=${cfg.dhcp}
dns=${if cfg.useDnsmasq then "dnsmasq" else "default"}
dns=${dns}
[keyfile]
${optionalString (cfg.unmanaged != [])

View file

@ -29,6 +29,40 @@ in
description = "The config directory, for the access keys and other settings.";
};
accessKey = mkOption {
default = "";
type = types.str;
description = ''
Access key of 5 to 20 characters in length that clients use to access the server.
This overrides the access key that is generated by minio on first startup and stored inside the
<literal>configDir</literal> directory.
'';
};
secretKey = mkOption {
default = "";
type = types.str;
description = ''
Specify the Secret key of 8 to 40 characters in length that clients use to access the server.
This overrides the secret key that is generated by minio on first startup and stored inside the
<literal>configDir</literal> directory.
'';
};
region = mkOption {
default = "us-east-1";
type = types.str;
description = ''
The physical location of the server. By default it is set to us-east-1, which is same as AWS S3's and Minio's default region.
'';
};
browser = mkOption {
default = true;
type = types.bool;
description = "Enable or disable access to web UI.";
};
package = mkOption {
default = pkgs.minio;
defaultText = "pkgs.minio";
@ -57,6 +91,14 @@ in
Group = "minio";
LimitNOFILE = 65536;
};
environment = {
MINIO_REGION = "${cfg.region}";
MINIO_BROWSER = "${if cfg.browser then "on" else "off"}";
} // optionalAttrs (cfg.accessKey != "") {
MINIO_ACCESS_KEY = "${cfg.accessKey}";
} // optionalAttrs (cfg.secretKey != "") {
MINIO_SECRET_KEY = "${cfg.secretKey}";
};
};
users.extraUsers.minio = {

20
nixos/tests/ammonite.nix Normal file
View file

@ -0,0 +1,20 @@
import ./make-test.nix ({ pkgs, ...} : {
name = "ammonite";
meta = with pkgs.stdenv.lib.maintainers; {
maintainers = [ nequissimus ];
};
nodes = {
amm =
{ config, pkgs, ... }:
{
environment.systemPackages = [ pkgs.ammonite ];
};
};
testScript = ''
startAll;
$amm->succeed("amm -c 'val foo = 21; println(foo * 2)' | grep 42")
'';
})

View file

@ -4,8 +4,15 @@ import ./make-test.nix ({ pkgs, ...} : {
maintainers = [ bachp ];
};
machine = { config, pkgs, ... }: {
services.minio.enable = true;
nodes = {
machine = { config, pkgs, ... }: {
services.minio = {
enable = true;
accessKey = "BKIKJAA5BMMU2RHO6IBB";
secretKey = "V7f1CwQqAcwo80UEIJEjc5gVQUSSx5ohQ9GSrr12";
};
environment.systemPackages = [ pkgs.minio-client ];
};
};
testScript =
@ -14,6 +21,12 @@ import ./make-test.nix ({ pkgs, ...} : {
$machine->waitForUnit("minio.service");
$machine->waitForOpenPort(9000);
$machine->succeed("curl --fail http://localhost:9000/minio/index.html");
# Create a test bucket on the server
$machine->succeed("mc config host add minio http://localhost:9000 BKIKJAA5BMMU2RHO6IBB V7f1CwQqAcwo80UEIJEjc5gVQUSSx5ohQ9GSrr12 S3v4");
$machine->succeed("mc mb minio/test-bucket");
$machine->succeed("mc ls minio") =~ /test-bucket/ or die;
$machine->shutdown;
'';
})

View file

@ -1,31 +1,20 @@
{ stdenv, lib, go, fetchgit }:
{ stdenv, lib, clang, buildGoPackage, fetchgit }:
stdenv.mkDerivation rec {
buildGoPackage rec {
name = "go-ethereum-${version}";
version = "1.4.7";
version = "1.6.6";
rev = "refs/tags/v${version}";
goPackagePath = "github.com/ethereum/go-ethereum";
buildInputs = [ go ];
buildInputs = [ clang ];
preBuild = "export CC=clang";
src = fetchgit {
inherit rev;
url = "https://${goPackagePath}";
sha256 = "19q518kxkvrr44cvsph4wv3lr6ivqsckz1f22r62932s3sq6gyd8";
sha256 = "066s7fp9pbyq670xwnib4p7zaxs941r9kpvj2hm6bkr28yrpvp1a";
};
buildPhase = ''
export GOROOT=$(mktemp -d --suffix=-goroot)
ln -sv ${go}/share/go/* $GOROOT
ln -svf ${go}/bin $GOROOT
make all
'';
installPhase = ''
mkdir -p $out/bin
cp -v build/bin/* $out/bin
'';
meta = {
homepage = "https://ethereum.github.io/go-ethereum/";
description = "Official golang implementation of the Ethereum protocol";

View file

@ -1,22 +1,22 @@
{ stdenv, makeWrapper, lib, fetchFromGitHub
, bc, coreutils, curl, ethabi, git, gnused, jshon, solc, which }:
, bc, coreutils, curl, ethabi, git, gnused, jshon, perl, solc, which }:
stdenv.mkDerivation rec {
name = "seth-${version}";
version = "0.5.1";
version = "0.5.6";
src = fetchFromGitHub {
owner = "dapphub";
repo = "seth";
rev = "v${version}";
sha256 = "1qph1gldj24r8l6aswb1w133lrm8zsxmmxl4krjik0a73bm4ghdm";
sha256 = "1zl70xy7njjwy4k4g84v7lpf9a2nnnbxh4mkpw7jzqfs2mr636z6";
};
nativeBuildInputs = [makeWrapper];
buildPhase = "true";
makeFlags = ["prefix=$(out)"];
postInstall = let path = lib.makeBinPath [
bc coreutils curl ethabi git gnused jshon solc which
bc coreutils curl ethabi git gnused jshon perl solc which
]; in ''
wrapProgram "$out/bin/seth" --prefix PATH : "${path}"
'';

View file

@ -95,10 +95,10 @@
ahungry-theme = callPackage ({ elpaBuild, emacs, fetchurl, lib }:
elpaBuild {
pname = "ahungry-theme";
version = "1.3.0";
version = "1.4.0";
src = fetchurl {
url = "https://elpa.gnu.org/packages/ahungry-theme-1.3.0.tar";
sha256 = "1p2zaq0s4bbl5cx6wyab24wamw7m0mysb0v47dqjmnvfc25z84rq";
url = "https://elpa.gnu.org/packages/ahungry-theme-1.4.0.tar";
sha256 = "1n8k12mfn01f20j0pyd7ycj77x0y3a008xc94frklaaqjc0v26s4";
};
packageRequires = [ emacs ];
meta = {
@ -821,10 +821,10 @@
gited = callPackage ({ cl-lib ? null, elpaBuild, emacs, fetchurl, lib }:
elpaBuild {
pname = "gited";
version = "0.2.5";
version = "0.3.1";
src = fetchurl {
url = "https://elpa.gnu.org/packages/gited-0.2.5.tar";
sha256 = "186cyay7nk2khnhilrwzjipb3syxl0s4n96b48j9plaba48azz11";
url = "https://elpa.gnu.org/packages/gited-0.3.1.tar";
sha256 = "14ng63hxd6l76r8m54gzqq9j66cqz48ad1zaamn100h4b2rzf2q8";
};
packageRequires = [ cl-lib emacs ];
meta = {
@ -1445,10 +1445,10 @@
}) {};
org = callPackage ({ elpaBuild, fetchurl, lib }: elpaBuild {
pname = "org";
version = "20170622";
version = "20170703";
src = fetchurl {
url = "https://elpa.gnu.org/packages/org-20170622.tar";
sha256 = "0922lcbr2r7bkswljqzbm5y3ny1n67qfrmf7h7z9hsw2wy0505dp";
url = "https://elpa.gnu.org/packages/org-20170703.tar";
sha256 = "04rg2fldbsxizq84xl6613s8xnwyp8iwmxm167v69bc85xaf7s9s";
};
packageRequires = [];
meta = {
@ -1651,10 +1651,10 @@
}) {};
rnc-mode = callPackage ({ elpaBuild, fetchurl, lib }: elpaBuild {
pname = "rnc-mode";
version = "0.1";
version = "0.2";
src = fetchurl {
url = "https://elpa.gnu.org/packages/rnc-mode-0.1.el";
sha256 = "18hm9g05ld8i1apr28dmd9ccq6dc0w6rdqhi0k7ka95jxxdr9m6d";
url = "https://elpa.gnu.org/packages/rnc-mode-0.2.el";
sha256 = "0xhvcfqjkb010wc7r218xcjidv1c8597vayyv09vk97z4qxqkrbd";
};
packageRequires = [];
meta = {

File diff suppressed because it is too large Load diff

View file

@ -884,12 +884,12 @@
add-hooks = callPackage ({ fetchFromGitHub, fetchurl, lib, melpaBuild }:
melpaBuild {
pname = "add-hooks";
version = "3.0.0";
version = "3.1.0";
src = fetchFromGitHub {
owner = "nickmccurdy";
repo = "add-hooks";
rev = "9b1bdb91c59ea9c2cc0aba48262c49069273d856";
sha256 = "1jzgyfcr6m64q79qibnbqa41sbpivslwk2hygbk9yp46l5vgj1hc";
rev = "edd4cb032a509b576d88f4cc0521ebfe66a9e6c7";
sha256 = "1qg1ifkds84xv07ibz4sqp34ks60w4c7dvrq9dch4gvg040hal82";
};
recipeFile = fetchurl {
url = "https://raw.githubusercontent.com/milkypostman/melpa/901f846aef46d512dc0a1770bab7f07c0ae330cd/recipes/add-hooks";
@ -1052,12 +1052,12 @@
ahungry-theme = callPackage ({ emacs, fetchFromGitHub, fetchurl, lib, melpaBuild }:
melpaBuild {
pname = "ahungry-theme";
version = "1.3.0";
version = "1.4.0";
src = fetchFromGitHub {
owner = "ahungry";
repo = "color-theme-ahungry";
rev = "3ce72cf77cf5958d91b65bc4867cbacff968da74";
sha256 = "0wiwxh6k2s48gpklhd9abbsr0ll73jzggwgq1lvm7gha203ji5v4";
rev = "e3d7e22cb10582a443b0e245be68aca936cd6abf";
sha256 = "0fsip64bxs55kkqmpfcg4nr391b6wsd8hiq4fxvwww7n52lwsn5s";
};
recipeFile = fetchurl {
url = "https://raw.githubusercontent.com/milkypostman/melpa/520295978fd7de3f4266dd69cc30d0b4fdf09db0/recipes/ahungry-theme";
@ -6141,15 +6141,16 @@
homepage = "https://melpa.org/#/darcula-theme";
license = lib.licenses.free;
};
}) {};
darktooth-theme = callPackage ({ autothemer, fetchFromGitHub, fetchurl, lib, melpaBuild }:
melpaBuild {
pname = "darktooth-theme";
version = "0.3.5";
version = "0.3.7";
src = fetchFromGitHub {
owner = "emacsfodder";
repo = "emacs-theme-darktooth";
rev = "dde50661210d8610cd03526a6c9a922bb0e494a6";
sha256 = "1mab28rm175ylg17ziha2kndcqb9a23f8wrpydypa8k7iirhadp6";
rev = "fb66992286c009e594eb7bb9ee2f1cdc3bebb555";
sha256 = "0n7qgnyl4rdvgwjb7gz6m1c22mxwg8bp08r7lz27z0b1bcyw94sc";
};
recipeFile = fetchurl {
url = "https://raw.githubusercontent.com/milkypostman/melpa/b7f62ac1566ced7332e83253f79078dc30cb7889/recipes/darktooth-theme";
@ -6162,7 +6163,6 @@
license = lib.licenses.free;
};
}) {};
}) {};
dart-mode = callPackage ({ cl-lib ? null, dash, fetchFromGitHub, fetchurl, flycheck, lib, melpaBuild }:
melpaBuild {
pname = "dart-mode";
@ -6334,12 +6334,12 @@
decide = callPackage ({ fetchFromGitHub, fetchurl, lib, melpaBuild }:
melpaBuild {
pname = "decide";
version = "0.5";
version = "0.7";
src = fetchFromGitHub {
owner = "lifelike";
repo = "decide-mode";
rev = "ce0cd15e8e42d458d86cbf4c1effd03cefec33bd";
sha256 = "0wm24ndiyhrayg1gz456s0s1ddlpcvg4vp555g4zzl3zcpsy94bg";
rev = "90133687118c236142b8110571c463304b3192f9";
sha256 = "04yakjnh9c165ssmcwkkm03lnlhgfx5bnk0v3cm73kmwdmfd2q7s";
};
recipeFile = fetchurl {
url = "https://raw.githubusercontent.com/milkypostman/melpa/6adcd300e2ac2c718989cf855fd7b3eef654df00/recipes/decide";
@ -8310,12 +8310,12 @@
el-patch = callPackage ({ emacs, fetchFromGitHub, fetchurl, lib, melpaBuild }:
melpaBuild {
pname = "el-patch";
version = "1.1.1";
version = "1.1.2";
src = fetchFromGitHub {
owner = "raxod502";
repo = "el-patch";
rev = "0cbcbc0ddf2f65ce02a4b0b027990d7131828a9b";
sha256 = "1nzzjb5q58f5p0jpa3rg9mmnkmnlbs19ws993sn5fcb1161hhg7r";
rev = "ad6a64e9f24f6b58f0a08e11f76b5152da46c74c";
sha256 = "0n0zrjij9mcbv08x1m5hjbz6hcwy0c0j2d03swywnhl4c00pwfkp";
};
recipeFile = fetchurl {
url = "https://raw.githubusercontent.com/milkypostman/melpa/2f4f57e0edbae35597aa4a7744d22d2f971d5de5/recipes/el-patch";
@ -9634,12 +9634,12 @@
erlang = callPackage ({ emacs, fetchFromGitHub, fetchurl, lib, melpaBuild }:
melpaBuild {
pname = "erlang";
version = "20.0";
version = "20.0.1";
src = fetchFromGitHub {
owner = "erlang";
repo = "otp";
rev = "040bdce67f88d833bfb59adae130a4ffb4c180f0";
sha256 = "12dbay254ivnakwknjn5h55wndb0a0wqx55p156h8hwjhykj2kn0";
rev = "a01de6873844ba510084090abec734c4166d71fa";
sha256 = "0bni9rchblp3n7lh07wq3rpf5xykh79jm6bl6f2dk2j24wwrhjqs";
};
recipeFile = fetchurl {
url = "https://raw.githubusercontent.com/milkypostman/melpa/d9cd526f43981e0826af59cdc4bb702f644781d9/recipes/erlang";
@ -11015,22 +11015,22 @@
license = lib.licenses.free;
};
}) {};
exwm-x = callPackage ({ cl-lib ? null, exwm, fetchFromGitHub, fetchurl, lib, melpaBuild, swiper, switch-window }:
exwm-x = callPackage ({ bind-key, cl-lib ? null, exwm, fetchFromGitHub, fetchurl, lib, melpaBuild, swiper, switch-window }:
melpaBuild {
pname = "exwm-x";
version = "1.5";
version = "1.6.4";
src = fetchFromGitHub {
owner = "tumashu";
repo = "exwm-x";
rev = "1ab5ce73fd9aca5267416b998084e1a8e96122a7";
sha256 = "1ncnsqlnqikm1fv9ahv6jrmdp02czhcbmln346llwzwrpw31ly78";
rev = "6e6c4c3ce5f65c71ba08565edbec2dfb0cf64e0c";
sha256 = "1r6d6sb9ylfqidcbrr7f75m68s1cpm220pnb4hl0qv5n6hr8h5gi";
};
recipeFile = fetchurl {
url = "https://raw.githubusercontent.com/milkypostman/melpa/a0e6e23bcffdcd1e17c70599c563609050e5de40/recipes/exwm-x";
sha256 = "1d9q57vz63sk3h1g5gvp9xnmqkpa73wppmiy2bv8mxk11whl6xa3";
name = "exwm-x";
};
packageRequires = [ cl-lib exwm swiper switch-window ];
packageRequires = [ bind-key cl-lib exwm swiper switch-window ];
meta = {
homepage = "https://melpa.org/#/exwm-x";
license = lib.licenses.free;
@ -15408,12 +15408,12 @@
guix = callPackage ({ bui, dash, emacs, fetchFromGitHub, fetchurl, geiser, lib, magit-popup, melpaBuild }:
melpaBuild {
pname = "guix";
version = "0.3.1";
version = "0.3.2";
src = fetchFromGitHub {
owner = "alezost";
repo = "guix.el";
rev = "35c1506bec0cb43629d30cae8be6cd7f793fff8b";
sha256 = "1dlh4ppnbliv2ipfysdrnpix5kg6nwjc0468whi3w758nwpkamzc";
rev = "6d4ccb3f7376d6326b58b25f3c94ab546418a030";
sha256 = "13n8k5ak3y1x6i27x47sji49kdbqhnc3ywqkn4xwmxcnrs28kr25";
};
recipeFile = fetchurl {
url = "https://raw.githubusercontent.com/milkypostman/melpa/b3d8c73e8a946b8265487a0825d615d80aa3337d/recipes/guix";
@ -21270,12 +21270,12 @@
logview = callPackage ({ datetime, emacs, fetchFromGitHub, fetchurl, lib, melpaBuild }:
melpaBuild {
pname = "logview";
version = "0.8";
version = "0.8.1";
src = fetchFromGitHub {
owner = "doublep";
repo = "logview";
rev = "b5cafd1145f22e7beff8ef8ed742bf10af1e6e1c";
sha256 = "08is4fg94a6am7c2j0d5qd1nkrnik5vpzg3pqkimyxgy5czj764b";
rev = "134b41557ab539219d9e3a1b3c8939df93676726";
sha256 = "1jfdm64r6rj7pl6270v084fvaga5csa4snvbfjdlhs5bshn1d0v2";
};
recipeFile = fetchurl {
url = "https://raw.githubusercontent.com/milkypostman/melpa/1df3c11ed7738f32e6ae457647e62847701c8b19/recipes/logview";
@ -22250,12 +22250,12 @@
meghanada = callPackage ({ company, emacs, fetchFromGitHub, fetchurl, flycheck, lib, melpaBuild, yasnippet }:
melpaBuild {
pname = "meghanada";
version = "0.8.1";
version = "0.8.2";
src = fetchFromGitHub {
owner = "mopemope";
repo = "meghanada-emacs";
rev = "77bc1c735b41acb6d43692dc3dcb60f323656cb5";
sha256 = "0b33bbmj7c62zn882max569wyybb9b04plb47sg55amv3nv8c8fr";
rev = "b507fc0e6fa4b6f1b05c46ecf563ad0af69e263a";
sha256 = "0kiib5wchqhxm8rsxp3mfp3zdbgg57gbn8y70j5msa2sxdz26mm7";
};
recipeFile = fetchurl {
url = "https://raw.githubusercontent.com/milkypostman/melpa/4c75c69b2f00be9a93144f632738272c1e375785/recipes/meghanada";
@ -23614,12 +23614,12 @@
neon-mode = callPackage ({ fetchFromGitHub, fetchurl, lib, melpaBuild }:
melpaBuild {
pname = "neon-mode";
version = "1.2.1";
version = "1.2.2";
src = fetchFromGitHub {
owner = "Fuco1";
repo = "neon-mode";
rev = "d0f8f003840081b57d4f372d9ff41c057422b1a1";
sha256 = "135b7h5vx0w7p6k2f5d8lcqxd5w199089wcar3kk0frb9vrk3xss";
rev = "044040df9e83a015ddfe58940b503b6197fc29ce";
sha256 = "0cxfn1v3jww8ih4yn77jw4lp8kjlc19m2vffwm8jli0dg8fzrfqa";
};
recipeFile = fetchurl {
url = "https://raw.githubusercontent.com/milkypostman/melpa/c6b2a4898bf21413c4d9e6714af129bbb0a23e1a/recipes/neon-mode";
@ -23782,12 +23782,12 @@
no-littering = callPackage ({ cl-lib ? null, fetchFromGitHub, fetchurl, lib, melpaBuild }:
melpaBuild {
pname = "no-littering";
version = "0.5.7";
version = "0.5.9";
src = fetchFromGitHub {
owner = "tarsius";
repo = "no-littering";
rev = "e041942cb0f4f02d00cf30afb956208496562ba4";
sha256 = "00d6fz5kg2k6py5mj2h9rzbqa4gkiv02h9ba55psfgbnmak6ip0v";
rev = "8b689a1e16d4825d0221f4a41756b63bbc361c82";
sha256 = "02cb5m1r5k1f6il79yv8fa5yiyz2m37awlbjjxmkv1av06kl0abn";
};
recipeFile = fetchurl {
url = "https://raw.githubusercontent.com/milkypostman/melpa/cf5d2152c91b7c5c38181b551db3287981657ce3/recipes/no-littering";
@ -24510,15 +24510,15 @@
license = lib.licenses.free;
};
}) {};
omnisharp = callPackage ({ auto-complete, cl-lib ? null, csharp-mode, dash, emacs, fetchFromGitHub, fetchurl, flycheck, lib, melpaBuild, popup, s, shut-up }:
omnisharp = callPackage ({ auto-complete, cl-lib ? null, csharp-mode, dash, emacs, f, fetchFromGitHub, fetchurl, flycheck, lib, melpaBuild, popup, s, shut-up }:
melpaBuild {
pname = "omnisharp";
version = "4.0";
src = fetchFromGitHub {
owner = "OmniSharp";
repo = "omnisharp-emacs";
rev = "7070f2a64de65e0446536fb974c940399a4097a3";
sha256 = "1hf93rm0vi37rmcgbf1w1a3gqvzszhs979fa8yhk905wl8zhz08a";
rev = "d16b03158778fad4e3329e4f260f1604ddfa3c35";
sha256 = "0ikf2dpbaflzvpnf9lvs4cya6l4pbbnc700j24zv3mxawjxk1nr5";
};
recipeFile = fetchurl {
url = "https://raw.githubusercontent.com/milkypostman/melpa/e327c483be04de32638b420c5b4e043d12a2cd01/recipes/omnisharp";
@ -24531,6 +24531,7 @@
csharp-mode
dash
emacs
f
flycheck
popup
s
@ -25027,12 +25028,12 @@
org-journal = callPackage ({ fetchFromGitHub, fetchurl, lib, melpaBuild }:
melpaBuild {
pname = "org-journal";
version = "1.12.0";
version = "1.12.1";
src = fetchFromGitHub {
owner = "bastibe";
repo = "org-journal";
rev = "24313870fa682a53e7f3f916b0e853a731868886";
sha256 = "0nc3jl7sgqc8swi89rdk1yapmqxp8vaxm7390iqxy7a1sng4jydh";
rev = "d9b5512994c54ebcbc0dcccbf1c779fbb8a89d3d";
sha256 = "0s1b6lgr841iifznbwqn8r0chbfd0vph5v8n6cc0grak8n6nqgxr";
};
recipeFile = fetchurl {
url = "https://raw.githubusercontent.com/milkypostman/melpa/7fabdb05de9b8ec18a3a566f99688b50443b6b44/recipes/org-journal";
@ -29502,12 +29503,12 @@
resize-window = callPackage ({ cl-lib ? null, emacs, fetchFromGitHub, fetchurl, lib, melpaBuild }:
melpaBuild {
pname = "resize-window";
version = "0.6";
version = "0.7";
src = fetchFromGitHub {
owner = "dpsutton";
repo = "resize-window";
rev = "274a96e9754b606d85c9dd62cfed628ff4f736df";
sha256 = "0ax18sflqh9wg938gaz9m5r1i45761qym7r1lyqqxp24jzp4wa6j";
rev = "dcbbd30f4f4435070a66a22c5a169b752ca9f904";
sha256 = "0x2kkf7bdj9s3993kdz74igi80rqma0w3hi7aggf0zwllqdcnzvk";
};
recipeFile = fetchurl {
url = "https://raw.githubusercontent.com/milkypostman/melpa/601a8d8f9046db6c4d50af983a11fa2501304028/recipes/resize-window";
@ -30991,12 +30992,12 @@
shx = callPackage ({ emacs, fetchFromGitHub, fetchurl, lib, melpaBuild }:
melpaBuild {
pname = "shx";
version = "0.0.6";
version = "0.0.7";
src = fetchFromGitHub {
owner = "riscy";
repo = "shx-for-emacs";
rev = "23d6d213a90e031dec8dbbaaeac5ddbe2cf050de";
sha256 = "0y96l6m7lnw2wsi5zbla88xgxmw3zksblnk36bgr153bik14waxf";
rev = "3adbfe7c03d509538a6e43bafda27ea290298a14";
sha256 = "17r5gaxqn91iylg3llg13kqrxy12cvi34rvi26wyzlysdfrfxl9k";
};
recipeFile = fetchurl {
url = "https://raw.githubusercontent.com/milkypostman/melpa/7a2ff78ae3c4289ebf9e06cdfd8f8082c395a16f/recipes/shx";
@ -31030,6 +31031,27 @@
license = lib.licenses.free;
};
}) {};
silkworm-theme = callPackage ({ emacs, fetchFromGitHub, fetchurl, lib, melpaBuild }:
melpaBuild {
pname = "silkworm-theme";
version = "0.1";
src = fetchFromGitHub {
owner = "mswift42";
repo = "silkworm-theme";
rev = "7951b53e5caf9daf6a5a15a57ae3a668cb78bd7b";
sha256 = "1q21886qsam8y3s60zlfh48w0jl67q14qg9pzda7j2jcbj1q6r91";
};
recipeFile = fetchurl {
url = "https://raw.githubusercontent.com/milkypostman/melpa/9451d247693c3e991f79315868c73808c0a664d4/recipes/silkworm-theme";
sha256 = "1zbrjqmhf80qs3i910sixirrv42rxkqdrg2z03gnz1g885gpcn13";
name = "silkworm-theme";
};
packageRequires = [ emacs ];
meta = {
homepage = "https://melpa.org/#/silkworm-theme";
license = lib.licenses.free;
};
}) {};
simple-bookmarks = callPackage ({ cl-lib ? null, fetchFromGitHub, fetchurl, lib, melpaBuild }:
melpaBuild {
pname = "simple-bookmarks";
@ -31369,12 +31391,12 @@
slstats = callPackage ({ cl-lib ? null, emacs, fetchFromGitHub, fetchurl, lib, melpaBuild }:
melpaBuild {
pname = "slstats";
version = "1.8";
version = "1.9";
src = fetchFromGitHub {
owner = "davep";
repo = "slstats.el";
rev = "7488623cbe406eaafccc36d293e8c42bbd308085";
sha256 = "1q3zm9qfivbd1k9kjilwvzhlcbzv6dwnd78bfzzkrppbjcpkxz3n";
rev = "3c22a8e5cf022d4eca840fefe7960d7ae6dcf167";
sha256 = "0ay7319ijqqcan1ijycrz4006r1a50wpnss37rrbiq23nkzjmks4";
};
recipeFile = fetchurl {
url = "https://raw.githubusercontent.com/milkypostman/melpa/fe7c8c241cc6920bbedb6711db63ea28ed633327/recipes/slstats";
@ -32626,12 +32648,12 @@
suggest = callPackage ({ dash, emacs, f, fetchFromGitHub, fetchurl, lib, loop, melpaBuild, s }:
melpaBuild {
pname = "suggest";
version = "0.2";
version = "0.3";
src = fetchFromGitHub {
owner = "Wilfred";
repo = "suggest.el";
rev = "588ec8b9476c8d7f5f16018a7aaf90ee828fb4f5";
sha256 = "1ckvsckqlbdcw6nbsrh9xizbpkr7r88ks39av8dhn5n412c5jm4g";
rev = "26e8b0615def4f0531682b8a849f55d330616ac1";
sha256 = "0ql9ab6wnpww033jnfa3iwvz73h4szbwyfjvfavjlllzwk0f38np";
};
recipeFile = fetchurl {
url = "https://raw.githubusercontent.com/milkypostman/melpa/b9fd27e812549587dc2ec26bb58974177ff263ff/recipes/suggest";
@ -32878,12 +32900,12 @@
switch-window = callPackage ({ cl-lib ? null, fetchFromGitHub, fetchurl, lib, melpaBuild }:
melpaBuild {
pname = "switch-window";
version = "1.5.0";
version = "1.5.1";
src = fetchFromGitHub {
owner = "dimitri";
repo = "switch-window";
rev = "8d37f5660666516ab6c9e6ec1da748ea1669ed4b";
sha256 = "19bszzslzz8rprch0z3h6xa6pjhrwik7j53i4kj33w306d58gi3f";
rev = "f4e3fde4d4717b75716f287577e84b7ee4f33d8d";
sha256 = "15ks1x62rn0q8lgy4x749mizvanzl9lkzgrsasrdx0v4ydmj3n7c";
};
recipeFile = fetchurl {
url = "https://raw.githubusercontent.com/milkypostman/melpa/7d2204e3b53ade1e400e143ac219f3c7ab63a1e9/recipes/switch-window";
@ -34772,12 +34794,12 @@
vhdl-tools = callPackage ({ emacs, fetchFromGitHub, fetchurl, ggtags, helm, lib, melpaBuild, outshine }:
melpaBuild {
pname = "vhdl-tools";
version = "5.5";
version = "5.6";
src = fetchFromGitHub {
owner = "csantosb";
repo = "vhdl-tools";
rev = "af4ff24ae4489e0a3bfbbddf6bc934f66b0af527";
sha256 = "1z88wy7m6rj028dqxzyyyf67gw4jqd72dgsvlr8inwimds2iplbv";
rev = "c08343904835cbae12f48e0758b0a6a014d76a74";
sha256 = "1skh9p5s9nbl6jvljj9bfn19fdzjx8lvx1q6rzldld07xwaif4qb";
};
recipeFile = fetchurl {
url = "https://raw.githubusercontent.com/milkypostman/melpa/69fe2f8fb98ac1af1d3185f62ae1c89e646cfebf/recipes/vhdl-tools";

View file

@ -1,10 +1,10 @@
{ callPackage }: {
org = callPackage ({ elpaBuild, fetchurl, lib }: elpaBuild {
pname = "org";
version = "20170622";
version = "20170703";
src = fetchurl {
url = "http://orgmode.org/elpa/org-20170622.tar";
sha256 = "0z4ypv6q4nx4icir69xchzn58xzndnxlkg0v4pb62gqghdxng6vy";
url = "http://orgmode.org/elpa/org-20170703.tar";
sha256 = "0l590ygknlbz3r0w9zzljwqn8vasz5w82wsivi9bi60lf0d0hx58";
};
packageRequires = [];
meta = {
@ -14,10 +14,10 @@
}) {};
org-plus-contrib = callPackage ({ elpaBuild, fetchurl, lib }: elpaBuild {
pname = "org-plus-contrib";
version = "20170622";
version = "20170703";
src = fetchurl {
url = "http://orgmode.org/elpa/org-plus-contrib-20170622.tar";
sha256 = "0ix4gmr6y9nrna9sc9cy30533mxlnvlfnf25492ky6dkssbxb10s";
url = "http://orgmode.org/elpa/org-plus-contrib-20170703.tar";
sha256 = "0l7hsz6rbq1zw6wdlm3ryxb60md44rvx0waii98hww89zpdi0gmw";
};
packageRequires = [];
meta = {

View file

@ -50,7 +50,7 @@ stdenv.mkDerivation rec {
mkdir -p $out/share/leo-editor
mv * $out/share/leo-editor
makeWrapper ${python3Packages.python}/bin/python3.5m $out/bin/leo \
makeWrapper ${python3Packages.python.interpreter} $out/bin/leo \
--set PYTHONPATH "$PYTHONPATH:$out/share/leo-editor" \
--add-flags "-O $out/share/leo-editor/launchLeo.py"
'';

View file

@ -6,11 +6,11 @@ with stdenv.lib;
stdenv.mkDerivation rec {
name = "feh-${version}";
version = "2.18.2";
version = "2.19";
src = fetchurl {
url = "http://feh.finalrewind.org/${name}.tar.bz2";
sha256 = "09f5rfzls4h5jcrp7ylwbiljp5qzc2nbw9p2csv0pnlaixj69gil";
sha256 = "1sfhr6628xpj9p6bqihdq35y139x2gmrpydjlrwsl1rs77c2bgnf";
};
outputs = [ "out" "man" "doc" ];

View file

@ -2,13 +2,13 @@
stdenv.mkDerivation (rec {
name = "pqiv-${version}";
version = "2.8.3";
version = "2.9";
src = fetchFromGitHub {
owner = "phillipberndt";
repo = "pqiv";
rev = version;
sha256 = "0fhmqa1q1y5y0ivrgx9xv864zqvd5dk4fiqi4bgi1ybdfx7vv2fy";
sha256 = "1xncf6aq52zpxpmz3ikmlkinz7y3nmbpgfxjb7q40sqs00n0mfsd";
};
nativeBuildInputs = [ pkgconfig ];

View file

@ -1,8 +1,7 @@
{ stdenv, pythonPackages, fetchFromGitHub,
}:
{ stdenv, pythonPackages, fetchFromGitHub }:
with pythonPackages; buildPythonApplication rec {
version = "3.0";
version = "3.0"; # When updating to 3.1, make sure to remove the marked line in preCheck
name = "buku-${version}";
src = fetchFromGitHub {
@ -12,6 +11,13 @@ with pythonPackages; buildPythonApplication rec {
sha256 = "1a33x3197vi5s8rq5fvhy021jdlsc8ww8zc4kysss6r9mvdlk7ax";
};
nativeBuildInputs = [
pytestcov
pytest-catchlog
hypothesis
pytest
];
propagatedBuildInputs = [
cryptography
beautifulsoup4
@ -19,13 +25,28 @@ with pythonPackages; buildPythonApplication rec {
urllib3
];
phases = [ "unpackPhase" "installPhase" "fixupPhase" ];
preCheck = ''
# Fixes two tests for wrong encoding
export PYTHONIOENCODING=utf-8
### Remove this for 3.1 ###
# See https://github.com/jarun/Buku/pull/167 (merged)
substituteInPlace setup.py \
--replace "hypothesis==3.7.0" "hypothesis>=3.7.0"
# Disables a test which requires internet
substituteInPlace tests/test_bukuDb.py \
--replace "@pytest.mark.slowtest" "@unittest.skip('skipping')"
'';
installPhase = ''
make install PREFIX=$out
'';
doCheck = false;
mkdir -p $out/share/zsh/site-functions $out/share/bash-completion/completions $out/share/fish/vendor_completions.d
cp auto-completion/zsh/* $out/share/zsh/site-functions
cp auto-completion/bash/* $out/share/bash-completion/completions
cp auto-completion/fish/* $out/share/fish/vendor_completions.d
'';
meta = with stdenv.lib; {
description = "Private cmdline bookmark manager";

View file

@ -5,12 +5,12 @@
}:
stdenv.mkDerivation rec {
version = "3.1.1";
version = "3.3.0";
name = "calibre-${version}";
src = fetchurl {
url = "https://download.calibre-ebook.com/${version}/${name}.tar.xz";
sha256 = "1lh1gz0915r49igfhy1icz79qx36s3d8m32qlih0g3zn7jahp86g";
sha256 = "1zq3aihnyxdczdz8b0w02xfw4b0l9i23f6ljpmsmm69jyh4j3m0c";
};
patches = [
@ -36,7 +36,7 @@ stdenv.mkDerivation rec {
# Remove unneeded files and libs
rm -rf resources/calibre-portable.* \
src/{chardet,cherrypy,html5lib,odf,routes}
src/{chardet,cherrypy,odf,routes}
'';
dontUseQmakeConfigure = true;
@ -53,7 +53,7 @@ stdenv.mkDerivation rec {
python pyqt5 sip
regex msgpack
# the following are distributed with calibre, but we use upstream instead
chardet cherrypy html5lib_0_9999999 odfpy routes
chardet cherrypy odfpy routes
]);
installPhase = ''

View file

@ -2,7 +2,7 @@
buildGoPackage rec {
name = "hugo-${version}";
version = "0.24.1";
version = "0.25";
goPackagePath = "github.com/gohugoio/hugo";
@ -10,7 +10,7 @@ buildGoPackage rec {
owner = "gohugoio";
repo = "hugo";
rev = "v${version}";
sha256 = "0zphxi11rny6wh1ysz7508fdrsbxj3n138q2bkkqaz0rrdab710a";
sha256 = "01p063nsyhavf13cva3sdqdcc7s42gi7iry4v857f1c2i402f0zk";
};
goDeps = ./deps.nix;

View file

@ -359,6 +359,15 @@
sha256 = "0kyf8km2pz259jmfqk5xcd7gnj9l98kjz12zrvq26n1c4043bmkz";
};
}
{
goPackagePath = "golang.org/x/image";
fetch = {
type = "git";
url = "https://go.googlesource.com/image";
rev = "426cfd8eeb6e08ab1932954e09e3c2cb2bc6e36d";
sha256 = "0zbqvkn7amq9bnq38pxjqyn1xggphrisaw98x7diw3i0a5phk93r";
};
}
{
goPackagePath = "golang.org/x/net";
fetch = {

View file

@ -1,7 +1,7 @@
{
mkDerivation, fetchurl, lib,
extra-cmake-modules, kdoctools, wrapGAppsHook,
kconfig, kinit, kparts
karchive, kconfig, kcrash, kguiaddons, kinit, kparts, kwindowsystem
}:
let
@ -23,5 +23,5 @@ in mkDerivation rec {
};
nativeBuildInputs = [ extra-cmake-modules kdoctools wrapGAppsHook ];
propagatedBuildInputs = [ kconfig kinit kparts ];
propagatedBuildInputs = [ karchive kconfig kcrash kguiaddons kinit kparts kwindowsystem ];
}

View file

@ -5,14 +5,14 @@
, preferQWebView ? false }:
mkDerivation rec {
version = "0.5.7";
version = "0.5.8";
name = "qsyncthingtray-${version}";
src = fetchFromGitHub {
owner = "sieren";
repo = "QSyncthingTray";
rev = "${version}";
sha256 = "0crrdpdmlc4ahkvp5znzc4zhfwsdih655q1kfjf0g231mmynxhvq";
sha256 = "1n9g4j7qznvg9zl6x163pi9f7wsc3x6q76i33psnm7x2v1i22x5w";
};
buildInputs = [ qtbase qtwebengine ] ++ lib.optional preferQWebView qtwebkit;

View file

@ -8,6 +8,7 @@
, google_talk_plugin, fribid, gnome3/*.gnome_shell*/
, esteidfirefoxplugin
, vlc_npapi
, libudev
}:
## configurability of the wrapper itself
@ -46,7 +47,7 @@ let
);
libs = (if ffmpegSupport then [ ffmpeg ] else with gst_all; [ gstreamer gst-plugins-base ])
++ lib.optionals (cfg.enableQuakeLive or false)
(with xorg; [ stdenv.cc libX11 libXxf86dga libXxf86vm libXext libXt alsaLib zlib ])
(with xorg; [ stdenv.cc libX11 libXxf86dga libXxf86vm libXext libXt alsaLib zlib libudev ])
++ lib.optional (enableAdobeFlash && (cfg.enableAdobeFlashDRM or false)) hal-flash
++ lib.optional (config.pulseaudio or false) libpulseaudio;
gst-plugins = with gst_all; [ gst-plugins-base gst-plugins-good gst-plugins-bad gst-plugins-ugly gst-ffmpeg ];

View file

@ -1,5 +1,5 @@
{ stdenv, lib, fetchurl, unzip, buildPythonApplication, makeWrapper, wrapGAppsHook
, qtbase, pyqt5, jinja2, pygments, pyyaml, pypeg2, cssutils, glib_networking
, qtbase, pyqt5, jinja2, pygments, pyyaml, pypeg2, pyopengl, cssutils, glib_networking
, asciidoc, docbook_xml_dtd_45, docbook_xsl, libxml2, libxslt
, gst-plugins-base, gst-plugins-good, gst-plugins-bad, gst-plugins-ugly, gst-libav
, qtwebkit-plugins
@ -26,12 +26,12 @@ let
in buildPythonApplication rec {
name = "qutebrowser-${version}";
version = "0.10.1";
version = "0.11.0";
namePrefix = "";
src = fetchurl {
url = "https://github.com/The-Compiler/qutebrowser/releases/download/v${version}/${name}.tar.gz";
sha256 = "57f4915f0f2b1509f3aa1cb9c47117fdaad35b4c895e9223c4eb0a6e8af51917";
sha256 = "13ihx66jm1dd6vx8px7pm0kbzf2sf9x43hhivc1rp17kahnxxdyv";
};
# Needs tox
@ -48,7 +48,7 @@ in buildPythonApplication rec {
];
propagatedBuildInputs = [
pyyaml pyqt5 jinja2 pygments pypeg2 cssutils
pyyaml pyqt5 jinja2 pygments pypeg2 cssutils pyopengl
];
postPatch = ''

View file

@ -4,11 +4,10 @@ let
then "linux-amd64"
else "darwin-amd64";
checksum = if stdenv.isLinux
then "0vjkcilxzwvkgcczcbq58nl2j17ddqiysxm5yl13agnmxzvxw6r2"
else "1ga9gxzji48vhbaa0pkxd03h89zgjsbikbki9xla1qbvyvqjnw5g";
then "12dp2ggcjaqls4vrms21mvbphj8a8w156wmlqm19dppf6zsnxqxd"
else "1s3rhxfz663d255xc5ph6ndhb4x82baich8scyrgi84d7dxjx7mj";
pname = "helm";
version = "2.4.1";
version = "2.5.0";
in
stdenv.mkDerivation {
name = "${pname}-${version}";

View file

@ -2,7 +2,7 @@
buildGoPackage rec {
name = "kops-${version}";
version = "1.6.0";
version = "1.6.2";
goPackagePath = "k8s.io/kops";
@ -10,7 +10,7 @@ buildGoPackage rec {
rev = version;
owner = "kubernetes";
repo = "kops";
sha256 = "1z890kjgsdnghg71v4sp7lljvw14dhzr23m2qjmk6wndyssscykr";
sha256 = "0bxknjhzj9xiws6sjw9knwqma3fjh496vnm90skl766bk4pafq9l";
};
buildInputs = [go-bindata];

View file

@ -3,14 +3,14 @@
, glib_networking }:
stdenv.mkDerivation rec {
version = "1.5";
version = "1.5.1";
name = "corebird-${version}";
src = fetchFromGitHub {
owner = "baedert";
repo = "corebird";
rev = version;
sha256 = "0nll3ns1riylxg33w6myz5x8h6ai39k5fw2bkf96g5rgmi6zsjma";
sha256 = "1qajb4xms3vsfm5sg91z9ka0nrzgfi0fjgjxqm7snhkfgxlkph7w";
};
preConfigure = ''

View file

@ -1,14 +1,20 @@
{stdenv, fetchurl, ocaml, zlib, bzip2, ncurses, file, gd, libpng, libjpeg }:
{ stdenv, fetchurl, ocamlPackages, zlib, bzip2, ncurses, file, gd, libpng, libjpeg }:
stdenv.mkDerivation (rec {
name = "mldonkey-3.1.5";
name = "mldonkey-3.1.6";
src = fetchurl {
url = "mirror://sourceforge/mldonkey/${name}.tar.bz2";
sha256 = "1jqik6b09p27ckssppfiqpph7alxbgpnf9w1s0lalmi3qyyd9ybl";
url = https://github.com/ygrek/mldonkey/releases/download/release-3-1-6/mldonkey-3.1.6.tar.bz2;
sha256 = "0g84islkj72ymp0zzppcj9n4r21h0vlghnq87hv2wg580mybadhv";
};
buildInputs = [ ocaml zlib ncurses bzip2 file gd libpng libjpeg ];
preConfigure = stdenv.lib.optionalString (ocamlPackages.camlp4 != null) ''
substituteInPlace Makefile --replace '+camlp4' \
'${ocamlPackages.camlp4}/lib/ocaml/${ocamlPackages.ocaml.version}/site-lib/camlp4'
'';
buildInputs = [ zlib ncurses bzip2 file gd libpng libjpeg ] ++
(with ocamlPackages; [ ocaml camlp4 ]);
configureFlags = [ "--disable-gui" ];
meta = {
@ -17,7 +23,7 @@ stdenv.mkDerivation (rec {
license = stdenv.lib.licenses.gpl2;
platforms = stdenv.lib.platforms.unix;
};
} // (if !ocaml.nativeCompilers then
} // (if !ocamlPackages.ocaml.nativeCompilers then
{
# Byte code compilation (the ocaml opt compiler is not supported in some platforms)
buildPhase = "make mlnet.byte";

View file

@ -1,42 +1,42 @@
{ stdenv, fetchurl, ocaml, findlib, dypgen, bolt, ansiterminal, camlp4,
{ stdenv, fetchurl, ocamlPackages,
buildBytecode ? true,
buildNative ? true,
installExamples ? true,
installEmacsMode ? true }:
let inherit (stdenv.lib) getVersion versionAtLeast
let inherit (stdenv.lib) versionAtLeast
optionals optionalString; in
assert versionAtLeast (getVersion ocaml) "3.07";
assert versionAtLeast (getVersion dypgen) "20080925";
assert versionAtLeast (getVersion bolt) "1.4";
let inherit (ocamlPackages) ocaml camlp4; in
assert buildBytecode || buildNative;
stdenv.mkDerivation {
name = "acgtk-1.1";
name = "acgtk-1.3.1";
src = fetchurl {
url = "http://www.loria.fr/equipes/calligramme/acg/software/acg-1.1-20140905.tar.gz";
sha256 = "1k1ldqg34bwmgdpmi9gry9czlsk85ycjxnkd25fhlf3mmgg4n9p6";
url = http://calligramme.loria.fr/acg/software/acg-1.3.1-20170303.tar.gz;
sha256 = "1hhrf6bx2x2wbv5ldn4fnxhpr9lyrj3zh1vcnx8wf8f06ih4rzfq";
};
buildInputs = [ ocaml findlib dypgen bolt ansiterminal camlp4 ];
buildInputs = with ocamlPackages; [
ocaml findlib camlp4 ansiterminal biniou bolt ocaml_cairo2 dypgen easy-format ocf yojson
];
patches = [ ./install-emacs-to-site-lisp.patch
./use-nix-ocaml-byteflags.patch ];
postPatch = stdenv.lib.optionalString (camlp4 != null) ''
substituteInPlace src/Makefile.master.in \
--replace "+camlp4" "${camlp4}/lib/ocaml/${getVersion ocaml}/site-lib/camlp4/"
--replace "+camlp4" "${camlp4}/lib/ocaml/${ocaml.version}/site-lib/camlp4/"
'';
# The bytecode executable is dependent on the dynamic library provided by
# ANSITerminal. We can use the -dllpath flag of ocamlc (analogous to
# -rpath) to make sure that ocamlrun is able to link the library at
# runtime and that Nix detects a runtime dependency.
NIX_OCAML_BYTEFLAGS = "-dllpath ${ansiterminal}/lib/ocaml/${getVersion ocaml}/site-lib/ANSITerminal";
NIX_OCAML_BYTEFLAGS = "-dllpath ${ocamlPackages.ansiterminal}/lib/ocaml/${ocaml.version}/site-lib/ANSITerminal";
buildFlags = optionalString buildBytecode "byte"
+ " "

View file

@ -1,13 +0,0 @@
Index: Makefile
===================================================================
--- a/Makefile (révision 199)
+++ b/Makefile (copie de travail)
@@ -59,7 +59,7 @@
then cp pa_j_3.1x_6.02.1.ml pa_j.ml; \
else if test ${CAMLP5_VERSION} = "6.02.2" -o ${CAMLP5_VERSION} = "6.02.3" -o ${CAMLP5_VERSION} = "6.03" -o ${CAMLP5_VERSION} = "6.04" -o ${CAMLP5_VERSION} = "6.05" -o ${CAMLP5_VERSION} = "6.06" ; \
then cp pa_j_3.1x_6.02.2.ml pa_j.ml; \
- else if test ${CAMLP5_VERSION} = "6.06" -o ${CAMLP5_VERSION} = "6.07" -o ${CAMLP5_VERSION} = "6.08" -o ${CAMLP5_VERSION} = "6.09" -o ${CAMLP5_VERSION} = "6.10" -o ${CAMLP5_VERSION} = "6.11" -o ${CAMLP5_VERSION} = "6.12" -o ${CAMLP5_VERSION} = "6.13" -o ${CAMLP5_VERSION} = "6.14" -o ${CAMLP5_VERSION} = "6.15" -o ${CAMLP5_VERSION} = "6.16" ; \
+ else if test ${CAMLP5_VERSION} = "6.06" -o ${CAMLP5_VERSION} = "6.07" -o ${CAMLP5_VERSION} = "6.08" -o ${CAMLP5_VERSION} = "6.09" -o ${CAMLP5_VERSION} = "6.10" -o ${CAMLP5_VERSION} = "6.11" -o ${CAMLP5_VERSION} = "6.12" -o ${CAMLP5_VERSION} = "6.13" -o ${CAMLP5_VERSION} = "6.14" -o ${CAMLP5_VERSION} = "6.15" -o ${CAMLP5_VERSION} = "6.16" -o ${CAMLP5_VERSION} = "6.17" ; \
then cp pa_j_3.1x_6.11.ml pa_j.ml; \
else cp pa_j_3.1x_${CAMLP5_BINARY_VERSION}.xx.ml pa_j.ml; \
fi \

View file

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, writeScript, ocaml, camlp5 }:
{ stdenv, fetchFromGitHub, fetchpatch, writeScript, ocaml, camlp5 }:
let
start_script = ''
@ -9,18 +9,24 @@ let
in
stdenv.mkDerivation {
name = "hol_light-2016-07-23";
name = "hol_light-2017-07-06";
src = fetchFromGitHub {
owner = "jrh13";
repo = "hol-light";
rev = "67cff936dda719f0e0ee57ab9d07c779ff664660";
sha256 = "0r85ifdvsvk2cdv7s4a0kf9ha6jdznqmz7swvp577f8r182klr28";
rev = "0ad8cbdb4de08a38dac600f352555e8454499faa";
sha256 = "0px9hl1b0mkyqv84j0si1zdq4066ffdrhzp27p2iah9l8ynbvpaq";
};
buildInputs = [ ocaml camlp5 ];
patches = [ ./Makefile.patch ];
patches = [ (fetchpatch {
url = https://github.com/girving/hol-light/commit/f80524bad61fd6f6facaa42153b2e29d1eab4658.patch;
sha256 = "1563wp597vakhmsgg8940dpirzzfvvxqp75x3dnx20rvmi2n2xw0";
})
];
postPatch = "cp pa_j_3.1x_{6,7}.xx.ml";
installPhase = ''
mkdir -p "$out/lib/hol_light" "$out/bin"

View file

@ -0,0 +1,22 @@
{stdenv, fetchurl, gmp, cmake, python}:
let version = "0.1.3";
in
stdenv.mkDerivation {
name = "libpoly-${version}";
src = fetchurl {
url = "https://github.com/SRI-CSL/libpoly/archive/v${version}.tar.gz";
sha256 = "0nd90585imnznyp04vg6a5ixxkd3bavhv1437397aj2k3dfc0y2k";
};
buildInputs = [ cmake gmp python ];
meta = with stdenv.lib; {
homepage = https://github.com/SRI-CSL/libpoly;
description = "C library for manipulating polynomials";
license = licenses.lgpl3;
platforms = platforms.all;
};
}

View file

@ -1,12 +1,12 @@
{ stdenv, fetchurl, gmp-static, gperf, autoreconfHook }:
{ stdenv, fetchurl, gmp-static, gperf, autoreconfHook, libpoly }:
stdenv.mkDerivation rec {
name = "yices-${version}";
version = "2.5.1";
src = fetchurl {
url = "http://yices.csl.sri.com/cgi-bin/yices2-newnewdownload.cgi?file=yices-${version}-src.tar.gz&accept=I+Agree";
name = "yices-${version}-src.tar.gz";
url = "http://yices.csl.sri.com/cgi-bin/yices2-newnewdownload.cgi?file=${name}-src.tar.gz&accept=I+Agree";
name = "${name}-src.tar.gz";
sha256 = "1wfq6hcm54h0mqmbs1ip63i0ywlwnciav86sbzk3gafxyzg1nd0c";
};
@ -14,13 +14,19 @@ stdenv.mkDerivation rec {
configureFlags = [ "--with-static-gmp=${gmp-static.out}/lib/libgmp.a"
"--with-static-gmp-include-dir=${gmp-static.dev}/include"
"--enable-mcsat"
];
buildInputs = [ gmp-static gperf autoreconfHook ];
buildInputs = [ gmp-static gperf autoreconfHook libpoly ];
enableParallelBuilding = true;
doCheck = true;
installPhase = ''make install LDCONFIG=true'';
# Includes a fix for the embedded soname being libyices.so.2.5, but
# only installing the libyices.so.2.5.1 file.
installPhase = ''
make install LDCONFIG=true
(cd $out/lib && ln -s -f libyices.so.2.5.1 libyices.so.2.5)
'';
meta = with stdenv.lib; {
description = "A high-performance theorem prover and SMT solver";

View file

@ -2,15 +2,15 @@
, tcllib, withJson ? true}:
stdenv.mkDerivation rec {
name = "fossil-1.36";
name = "fossil-2.2";
src = fetchurl {
urls =
[
https://fossil-scm.org/index.html/uv/download/fossil-src-1.36.tar.gz
https://www.fossil-scm.org/index.html/uv/fossil-src-2.2.tar.gz
];
name = "${name}.tar.gz";
sha256 = "04px1mnq5dlc6gaihxj5nj6k7ac43wfryzifaairjh74qmgc6xi6";
sha256 = "0wfgacfg29dkl0c3l1rp5ji0kraa64gcbg5lh8p4m7mqdqcq53wv";
};
buildInputs = [ zlib openssl readline sqlite which ed ]

View file

@ -1,11 +1,11 @@
{ stdenv, fetchurl, qmake, qtscript }:
stdenv.mkDerivation rec {
name = "smplayer-17.6.0";
name = "smplayer-17.7.0";
src = fetchurl {
url = "mirror://sourceforge/smplayer/${name}.tar.bz2";
sha256 = "0kgrkn50sgr79jfj66p59wka17prnxibf7fbfpg5m0n95kdkr7rg";
sha256 = "1g35h8xqs2bdwjdibzgs1ab2z2lmwgj8h53a7vqydv3j3crxx9wk";
};
buildInputs = [ qtscript ];

View file

@ -1,85 +1,72 @@
{ fetchurl, stdenv, which, pkgconfig, makeWrapper, libxcb, xcbutilkeysyms
, xcbutil, xcbutilwm, xcbutilxrm, libstartup_notification, libX11, pcre, libev
, yajl, xcb-util-cursor, coreutils, perl, pango, perlPackages, libxkbcommon
, xorgserver, xvfb_run, symlinkJoin, configFile ? null }:
, xorgserver, xvfb_run }:
let
stdenv.mkDerivation rec {
name = "i3-${version}";
version = "4.13";
i3 = stdenv.mkDerivation rec {
name = "i3-${version}";
src = fetchurl {
url = "http://i3wm.org/downloads/${name}.tar.bz2";
sha256 = "12ngz32swh9n85xy0cz1lq16aqi9ys5hq19v589q9a97wn1k3hcl";
};
nativeBuildInputs = [ which pkgconfig makeWrapper ];
buildInputs = [
libxcb xcbutilkeysyms xcbutil xcbutilwm xcbutilxrm libxkbcommon
libstartup_notification libX11 pcre libev yajl xcb-util-cursor perl pango
perlPackages.AnyEventI3 perlPackages.X11XCB perlPackages.IPCRun
perlPackages.ExtUtilsPkgConfig perlPackages.TestMore perlPackages.InlineC
xorgserver xvfb_run
];
configureFlags = [ "--disable-builddir" ];
enableParallelBuilding = true;
postPatch = ''
patchShebangs .
'';
# Tests have been failing (at least for some people in some cases)
# and have been disabled until someone wants to fix them. Some
# initial digging uncovers that the tests call out to `git`, which
# they shouldn't, and then even once that's fixed have some
# perl-related errors later on. For more, see
# https://github.com/NixOS/nixpkgs/issues/7957
doCheck = false; # stdenv.system == "x86_64-linux";
checkPhase = stdenv.lib.optionalString (stdenv.system == "x86_64-linux")
''
(cd testcases && xvfb-run ./complete-run.pl -p 1 --keep-xserver-output)
! grep -q '^not ok' testcases/latest/complete-run.log
'';
postInstall = ''
wrapProgram "$out/bin/i3-save-tree" --prefix PERL5LIB ":" "$PERL5LIB"
for program in $out/bin/i3-sensible-*; do
sed -i 's/which/command -v/' $program
done
'';
separateDebugInfo = true;
meta = with stdenv.lib; {
description = "A tiling window manager";
homepage = "http://i3wm.org";
maintainers = with maintainers; [ garbas modulistic fpletz ];
license = licenses.bsd3;
platforms = platforms.all;
longDescription = ''
A tiling window manager primarily targeted at advanced users and
developers. Based on a tree as data structure, supports tiling,
stacking, and tabbing layouts, handled dynamically, as well as
floating windows. Configured via plain text file. Multi-monitor.
UTF-8 clean.
'';
};
src = fetchurl {
url = "http://i3wm.org/downloads/${name}.tar.bz2";
sha256 = "12ngz32swh9n85xy0cz1lq16aqi9ys5hq19v589q9a97wn1k3hcl";
};
in if configFile == null then i3 else symlinkJoin {
name = "i3-with-config-${version}";
paths = [ i3 ];
buildInputs = [ makeWrapper ];
nativeBuildInputs = [ which pkgconfig makeWrapper ];
postBuild = ''
wrapProgram $out/bin/i3 \
--add-flags "-c ${configFile}"
buildInputs = [
libxcb xcbutilkeysyms xcbutil xcbutilwm xcbutilxrm libxkbcommon
libstartup_notification libX11 pcre libev yajl xcb-util-cursor perl pango
perlPackages.AnyEventI3 perlPackages.X11XCB perlPackages.IPCRun
perlPackages.ExtUtilsPkgConfig perlPackages.TestMore perlPackages.InlineC
xorgserver xvfb_run
];
configureFlags = [ "--disable-builddir" ];
enableParallelBuilding = true;
postPatch = ''
patchShebangs .
'';
# Tests have been failing (at least for some people in some cases)
# and have been disabled until someone wants to fix them. Some
# initial digging uncovers that the tests call out to `git`, which
# they shouldn't, and then even once that's fixed have some
# perl-related errors later on. For more, see
# https://github.com/NixOS/nixpkgs/issues/7957
doCheck = false; # stdenv.system == "x86_64-linux";
checkPhase = stdenv.lib.optionalString (stdenv.system == "x86_64-linux")
''
(cd testcases && xvfb-run ./complete-run.pl -p 1 --keep-xserver-output)
! grep -q '^not ok' testcases/latest/complete-run.log
'';
postInstall = ''
wrapProgram "$out/bin/i3-save-tree" --prefix PERL5LIB ":" "$PERL5LIB"
for program in $out/bin/i3-sensible-*; do
sed -i 's/which/command -v/' $program
done
'';
separateDebugInfo = true;
meta = with stdenv.lib; {
description = "A tiling window manager";
homepage = "http://i3wm.org";
maintainers = with maintainers; [ garbas modulistic fpletz ];
license = licenses.bsd3;
platforms = platforms.all;
longDescription = ''
A tiling window manager primarily targeted at advanced users and
developers. Based on a tree as data structure, supports tiling,
stacking, and tabbing layouts, handled dynamically, as well as
floating windows. Configured via plain text file. Multi-monitor.
UTF-8 clean.
'';
};
}

View file

@ -22,12 +22,14 @@ assert !nativeTools ->
assert !(nativeLibc && noLibc);
assert (noLibc || nativeLibc) == (libc == null);
assert targetPlatform != hostPlatform -> runCommand != null;
assert stdenv.targetPlatform != stdenv.hostPlatform -> runCommand != null;
# For ghdl (the vhdl language provider to gcc) we need zlib in the wrapper.
assert cc.langVhdl or false -> zlib != null;
let
inherit (stdenv) hostPlatform targetPlatform;
# Prefix for binaries. Customarily ends with a dash separator.
#
# TODO(@Ericson2314) Make unconditional, or optional but always true by

View file

@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
name = "iosevka-${version}";
version = "1.13.0";
version = "1.13.1";
buildInputs = [ unzip ];
src = fetchurl {
url = "https://github.com/be5invis/Iosevka/releases/download/v${version}/iosevka-pack-${version}.zip";
sha256 = "03jc8a10177wk35gyp0n317azakyy5qzc6vbh331552asawckswr";
sha256 = "05nnzbhv0sidbzzamz10nlh3j974m95p3dmd66165y4wxyhs989i";
};
sourceRoot = ".";

View file

@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
sha256 = "c3cb690c2935123035a0b1f3bfdd9511c282dab489cd423e161a47c592edf188";
};
buildInputs = [unzip];
nativeBuildInputs = [ unzip ];
installPhase = ''
for i in *.ttf; do
@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
install -Dm 644 "$i" "$out/share/fonts/truetype/$destname"
done
install -Dm 644 COPYING "$out/share/doc/COPYING"
install -Dm 644 COPYING "$out/share/doc/terminus-font-ttf/COPYING"
'';
meta = with stdenv.lib; {
@ -29,6 +29,6 @@ stdenv.mkDerivation rec {
homepage = http://files.ax86.net/terminus-ttf;
license = licenses.ofl;
maintainers = with maintainers; [ okasu ];
platforms = platforms.linux;
platforms = platforms.unix;
};
}

View file

@ -0,0 +1,30 @@
{ stdenv, fetchurl, unzip }:
let
pname = "ttf-envy-code-r";
version = "PR7";
in
stdenv.mkDerivation rec {
name = "${pname}-0.${version}";
src = fetchurl {
url = "http://download.damieng.com/fonts/original/EnvyCodeR-${version}.zip";
sha256 = "9f7e9703aaf21110b4e1a54d954d57d4092727546348598a5a8e8101e4597aff";
};
buildInputs = [unzip];
installPhase = ''
for f in *.ttf; do
install -Dm 644 "$f" "$out/share/fonts/truetype/$f"
done
install -Dm 644 Read\ Me.txt "$out/share/doc/${pname}/readme.txt"
'';
meta = with stdenv.lib; {
homepage = http://damieng.com/blog/tag/envy-code-r;
description = "Free scalable coding font by DamienG";
license = licenses.unfree;
platforms = platforms.unix;
maintainers = [ maintainers.lyt ];
};
}

View file

@ -2,16 +2,16 @@
stdenv.mkDerivation rec {
name = "unifont-${version}";
version = "10.0.01";
version = "10.0.02";
ttf = fetchurl {
url = "mirror://gnu/unifont/${name}/${name}.ttf";
sha256 = "0yfz5y4vidb7h6csv6k8h0mx808psdn4vx4842bnyz0fkyhr9h3y";
sha256 = "1g7iaw2vx7yq8d3z625p6ainkn35wpfsimbl75lyj3d8206fhx0z";
};
pcf = fetchurl {
url = "mirror://gnu/unifont/${name}/${name}.pcf.gz";
sha256 = "0shlr5804knh14qnv270yzsyfndw6na5ajbx4kvx20gfyxzcsi76";
sha256 = "1l2cnkshpsg3mw5ps1ghzqm2a1nr7jfdn2bxqyvw7d0l5xyxvg3d";
};
buildInputs = [ mkfontscale mkfontdir ];

View file

@ -16,7 +16,7 @@ let
in
import ./hex-packages.nix {
inherit pkgs stdenv callPackage;
} // {
} // rec {
inherit callPackage erlang;
beamPackages = self;
@ -37,9 +37,23 @@ let
buildMix = callPackage ./build-mix.nix {};
# BEAM-based languages.
elixir = if versionAtLeast (lib.getVersion erlang) "18"
then callPackage ../interpreters/elixir { debugInfo = true; }
else throw "Elixir requires at least Erlang/OTP R18.";
elixir = elixir_1_4;
elixir_1_5_rc = lib.callElixir ../interpreters/elixir/1.5.nix {
inherit rebar erlang;
debugInfo = true;
};
elixir_1_4 = lib.callElixir ../interpreters/elixir/1.4.nix {
inherit rebar erlang;
debugInfo = true;
};
elixir_1_3 = lib.callElixir ../interpreters/elixir/1.3.nix {
inherit rebar erlang;
debugInfo = true;
};
lfe = callPackage ../interpreters/lfe { };
# Non hex packages

View file

@ -12,15 +12,6 @@ rec {
callPackage = callPackageWith pkgs;
/* Erlang/OTP-specific version retrieval, returns 19 for OTP R19 */
getVersion = x:
let
parse = drv: (builtins.parseDrvName drv).version;
in builtins.replaceStrings ["B" "-"] ["." "."] (
if builtins.isString x
then parse x
else x.version or (parse x.name));
/* Uses generic-builder to evaluate provided drv containing OTP-version
specific data.
@ -43,4 +34,26 @@ rec {
mkDerivation = pkgs.makeOverridable builder;
};
/* Uses generic-builder to evaluate provided drv containing Elixir version
specific data.
drv: package containing version-specific args;
builder: generic builder for all Erlang versions;
args: arguments merged into version-specific args, used mostly to customize
dependencies;
Arguments passed to the generic-builder are overridable.
Please note that "mkDerivation" defined here is the one called from 1.4.nix
and similar files.
*/
callElixir = drv: args:
let
inherit (stdenv.lib) versionAtLeast;
builder = callPackage ../interpreters/elixir/generic-builder.nix args;
in
callPackage drv {
mkDerivation = pkgs.makeOverridable builder;
};
}

View file

@ -0,0 +1,41 @@
{ stdenv, fetchurl, autoconf, ... }:
stdenv.mkDerivation rec {
name = "gambit-bootstrap-${version}";
version = "4.8.8";
tarball_version = "v4_8_8";
src = fetchurl {
url = "http://www.iro.umontreal.ca/~gambit/download/gambit/v4.8/source/gambit-${tarball_version}-devel.tgz";
sha256 = "075k2z04d6svxqf9paj3xvp0mm0xzy0vbma1y61s0lkywdim8xjz";
};
buildInputs = [ autoconf ];
configurePhase = ''
./configure --prefix=$out --enable-single-host
'';
buildPhase = ''
# Copy the (configured) sources now, not later, so we don't have to filter out
# all the intermediate build products.
mkdir -p $out ; cp -rp . $out/
# build the gsc-boot* compiler
make bootstrap
'';
installPhase = ''
cp -fa ./ $out/
'';
forceShare = [ "info" ];
meta = {
description = "Optimizing Scheme to C compiler, bootstrap step";
homepage = "http://gambitscheme.org";
license = stdenv.lib.licenses.lgpl2;
platforms = stdenv.lib.platforms.linux;
maintainers = with stdenv.lib.maintainers; [ thoughtpolice raskin fare ];
};
}

View file

@ -1,31 +1,75 @@
{ stdenv, fetchurl, openssl }:
{ stdenv, fetchurl, fetchgit, git, openssl, autoconf, pkgs }:
stdenv.mkDerivation rec {
name = "gambit-${version}";
version = "4.8.6";
devver = "4_8_6";
version = "4.8.8-f3ffeb6";
bootstrap = import ./bootstrap.nix ( pkgs );
src = fetchurl {
url = "http://www.iro.umontreal.ca/~gambit/download/gambit/v4.8/source/gambit-v${devver}-devel.tgz";
sha256 = "0j3ka76cfb007rlcc3nv5p1s6vh31cwp87hwwabawf16vs1jb7bl";
# devver = "4_8_8";
# src = fetchurl {
# url = "http://www.iro.umontreal.ca/~gambit/download/gambit/v4.8/source/gambit-v${version}-devel.tgz";
# sha256 = "0j3ka76cfb007rlcc3nv5p1s6vh31cwp87hwwabawf16vs1jb7bl";
# };
src = fetchgit {
url = "https://github.com/feeley/gambit.git";
rev = "f3ffeb695aeea80c18c1b9ef276b57898c780dca";
sha256 = "1lqixsrgk9z2gj6z1nkys0pfd3m5zjxrp3gvqn2wpr9h7hjb8x06";
};
configureFlags = [
"--enable-single-host"
"--enable-shared"
"--enable-absolute-shared-libs"
"--enable-c-opt=-O6" "--enable-gcc-opts" "--enable-inline-jumps"
"--enable-thread-system=posix" "--enable-dynamic-tls"
"--enable-openssl"
];
buildInputs = [ openssl git autoconf bootstrap ];
buildInputs = [ openssl ];
configurePhase = ''
options=(
--prefix=$out
--enable-single-host
--enable-c-opt=-O2
--enable-gcc-opts
--enable-shared
--enable-absolute-shared-libs # Yes, NixOS will want an absolute path, and fix it.
--enable-poll
--enable-openssl
#--enable-multiple-versions # Nope, NixOS already does version multiplexing
#--enable-guide
#--enable-track-scheme
#--enable-high-res-timing
#--enable-max-processors=4
#--enable-multiple-vms
#--enable-dynamic-tls
#--enable-multiple-vms
#--enable-multiple-threaded-vms ## when SMP branch is merged in
#--enable-thread-system=posix ## default when --enable-multiple-vms is on.
#--enable-profile
#--enable-coverage
#--enable-inline-jumps
#--enable-char-size=1" ; default is 4
)
./configure ''${options[@]}
'';
buildPhase = ''
# Make bootstrap compiler, from release bootstrap
mkdir -p boot/wip-compiler &&
cp -rp ${bootstrap}/. boot/wip-compiler/. &&
chmod -R u+w boot &&
cd boot/wip-compiler && \
cp ../../gsc/makefile.in ../../gsc/*.scm gsc && \
(cd gsc && make bootclean ) &&
make bootstrap &&
cd ../.. &&
cp boot/wip-compiler/gsc/gsc gsc-boot &&
# Now use the bootstrap compiler to build the real thing!
make -j2 from-scratch
'';
doCheck = true;
meta = {
description = "Optimizing Scheme to C compiler";
homepage = "http://gambitscheme.org";
license = stdenv.lib.licenses.lgpl2;
platforms = stdenv.lib.platforms.linux;
maintainers = with stdenv.lib.maintainers; [ thoughtpolice raskin ];
maintainers = with stdenv.lib.maintainers; [ thoughtpolice raskin fare ];
};
}

View file

@ -1,15 +1,22 @@
{ stdenv, fetchurl, fetchgit, gambit, openssl, zlib, coreutils, rsync, bash }:
{ stdenv, fetchurl, fetchgit, gambit,
coreutils, rsync, bash,
openssl, zlib, sqlite, libxml2, libyaml, libmysql, lmdb, leveldb }:
stdenv.mkDerivation rec {
name = "gerbil-${version}";
version = "0.11";
src = fetchurl {
url = "https://github.com/vyzo/gerbil/archive/v${version}.tar.gz";
sha256 = "0mqg6cqdcf5qr7vk79x5zkls7z2wm8i3lhwn0b7i0g1m6yyyyff7";
version = "0.12-DEV";
src = fetchgit {
url = "https://github.com/vyzo/gerbil.git";
rev = "3657b6e940ea248e0b312f276590e38ff68997e7";
sha256 = "11ys7082ghkm4yikz4qxmv3jpxcr42jfi0jhjw1mpzbqdg6004w2";
};
buildInputs = [ gambit openssl zlib coreutils rsync bash ];
buildInputs = [
gambit openssl
coreutils rsync bash
zlib openssl zlib sqlite libxml2 libyaml libmysql lmdb leveldb
];
postPatch = ''
patchShebangs .
@ -21,7 +28,13 @@ stdenv.mkDerivation rec {
buildPhase = ''
runHook preBuild
# Enable all optional libraries
substituteInPlace "src/std/build-features.ss" --replace '#f' '#t'
# Build, replacing make by build.sh
( cd src && sh build.sh )
runHook postBuild
'';

View file

@ -9,8 +9,8 @@
let
inherit (bootPkgs) ghc;
version = "8.2.1-rc2";
preReleaseName = "ghc-8.2.0.20170507";
version = "8.2.1-rc3";
preReleaseName = "ghc-8.2.0.20170704";
commonBuildInputs = [ alex autoconf automake ghc happy hscolour perl python3 sphinx ];
commonPreConfigure = ''
sed -i -e 's|-isysroot /Developer/SDKs/MacOSX10.5.sdk||' configure
@ -27,7 +27,7 @@ in stdenv.mkDerivation (rec {
src = fetchurl {
url = "https://downloads.haskell.org/~ghc/${version}/${preReleaseName}-src.tar.xz";
sha256 = "1hy3l6nzkyhzwy9mii4zs51jv048zwvdqk1q3188jznz35392zrn";
sha256 = "0ccfybbjrmd8yzqbfdqvb6clz2kd005wi8sx3mfjmbkmxv0l4jry";
};
postPatch = "patchShebangs .";

View file

@ -113,6 +113,7 @@ stdenv.mkDerivation rec {
patches = [
./remove-tools-1.5.patch
./creds-test.patch
./fix-systime-1.6.patch
# This test checks for the wrong thing with recent tzdata. It's been fixed in master but the patch
# actually works on old versions too.

View file

@ -0,0 +1,45 @@
diff --git a/src/runtime/sys_darwin_amd64.s b/src/runtime/sys_darwin_amd64.s
index e09b906ba5..fa8ff2f65c 100644
--- a/src/runtime/sys_darwin_amd64.s
+++ b/src/runtime/sys_darwin_amd64.s
@@ -157,6 +157,7 @@ systime:
// Fall back to system call (usually first call in this thread).
MOVQ SP, DI
MOVQ $0, SI
+ MOVQ $0, DX // required as of Sierra; Issue 16570
MOVL $(0x2000000+116), AX
SYSCALL
CMPQ AX, $0
diff --git a/src/syscall/syscall_darwin_amd64.go b/src/syscall/syscall_darwin_amd64.go
index 70b53b87f4..79083117b6 100644
--- a/src/syscall/syscall_darwin_amd64.go
+++ b/src/syscall/syscall_darwin_amd64.go
@@ -26,14 +26,21 @@ func NsecToTimeval(nsec int64) (tv Timeval) {
}
//sysnb gettimeofday(tp *Timeval) (sec int64, usec int32, err error)
-func Gettimeofday(tv *Timeval) (err error) {
- // The tv passed to gettimeofday must be non-nil
- // but is otherwise unused. The answers come back
- // in the two registers.
+func Gettimeofday(tv *Timeval) error {
+ // The tv passed to gettimeofday must be non-nil.
+ // Before macOS Sierra (10.12), tv was otherwise unused and
+ // the answers came back in the two registers.
+ // As of Sierra, gettimeofday return zeros and populates
+ // tv itself.
sec, usec, err := gettimeofday(tv)
- tv.Sec = sec
- tv.Usec = usec
- return err
+ if err != nil {
+ return err
+ }
+ if sec != 0 || usec != 0 {
+ tv.Sec = sec
+ tv.Usec = usec
+ }
+ return nil
}
func SetKevent(k *Kevent_t, fd, mode, flags int) {

View file

@ -2,6 +2,6 @@
callPackage ./generic-cmake.nix (rec {
inherit Foundation libobjc;
version = "5.0.0.48";
sha256 = "13n20wmijkhd7vm41lzz1n774rna67d94prl33bz1lly0idsciq0";
version = "5.0.1.1";
sha256 = "064pgsmanpybpbhpam9jv9n8aicx6mlyb7a91yzh3kcksmqsxmj8";
})

View file

@ -37,7 +37,7 @@ stdenv.mkDerivation rec {
];
configurePhase = ''
substituteInPlace ./autogen.sh --replace "/usr/bin/env sh" "${stdenv.shell}"
patchShebangs ./
./autogen.sh --prefix $out
'';
@ -56,7 +56,6 @@ stdenv.mkDerivation rec {
# LLVM path to point into the Mono LLVM build, since it's private anyway.
preBuild = ''
makeFlagsArray=(INSTALL=`type -tp install`)
patchShebangs ./
substituteInPlace mcs/class/corlib/System/Environment.cs --replace /usr/share "$out/share"
'' + stdenv.lib.optionalString withLLVM ''
substituteInPlace mono/mini/aot-compiler.c --replace "llvm_path = g_strdup (\"\")" "llvm_path = g_strdup (\"${llvm}/bin/\")"

View file

@ -1,8 +1,8 @@
import ./generic.nix {
major_version = "4";
minor_version = "04";
patch_version = "1";
sha256 = "11f2kcldpad9h5ihi1crad5lvv2501iccb2g4c8m197fnjac8b12";
patch_version = "2";
sha256 = "0bhgjzi78l10824qga85nlh18jg9lb6aiamf9dah1cs6jhzfsn6i";
# If the executable is stipped it does not work
dontStrip = true;

View file

@ -1,28 +1,30 @@
{ stdenv, fetchzip, fetchgit, boost, cmake }:
let jsoncpp = fetchzip {
url = https://github.com/open-source-parsers/jsoncpp/archive/1.7.7.tar.gz;
sha256 = "0jz93zv17ir7lbxb3dv8ph2n916rajs8i96immwx9vb45pqid3n0";
}; in
let
version = "0.4.12";
rev = "194ff033ae44944ac59aa7bd3da89ba94ec5893c";
sha256 = "0gkg3nay0625qmhxxxax1d1c4dl554ri3pkwd12qfg6g1w6j04w7";
jsoncppURL = https://github.com/open-source-parsers/jsoncpp/archive/1.7.7.tar.gz;
jsoncpp = fetchzip {
url = jsoncppURL;
sha256 = "0jz93zv17ir7lbxb3dv8ph2n916rajs8i96immwx9vb45pqid3n0";
};
in
let commit = "68ef5810593e7c8092ed41d5f474dd43141624eb"; in
stdenv.mkDerivation rec {
version = "0.4.11";
stdenv.mkDerivation {
name = "solc-${version}";
# Cannot use `fetchFromGitHub' because of submodules
src = fetchgit {
url = "https://github.com/ethereum/solidity";
rev = commit;
sha256 = "13zycybf23yvf3hkf9zgw9gbc1y4ifzxaf7sll69bsn24fcyq961";
inherit rev sha256;
};
patchPhase = ''
echo >commit_hash.txt ${commit}
echo >commit_hash.txt '${rev}'
echo >prerelease.txt
substituteInPlace deps/jsoncpp.cmake \
--replace https://github.com/open-source-parsers/jsoncpp/archive/1.7.7.tar.gz ${jsoncpp}
--replace '${jsoncppURL}' ${jsoncpp}
substituteInPlace cmake/EthCompilerSettings.cmake \
--replace 'add_compile_options(-Werror)' ""
'';

View file

@ -5462,6 +5462,23 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
"FontyFruity_0_5_3_3" = callPackage
({ mkDerivation, base, binary, bytestring, containers, deepseq
, directory, filepath, text, vector, xml
}:
mkDerivation {
pname = "FontyFruity";
version = "0.5.3.3";
sha256 = "0p02w0v93y11f7rzsc1im2rvld6h0pgrhmd827ypzamibry6xl5h";
libraryHaskellDepends = [
base binary bytestring containers deepseq directory filepath text
vector xml
];
description = "A true type file format loader";
license = stdenv.lib.licenses.bsd3;
hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"ForSyDe" = callPackage
({ mkDerivation, array, base, containers, directory, filepath, mtl
, old-time, parameterized-data, pretty, process, random
@ -37571,8 +37588,8 @@ self: {
}:
mkDerivation {
pname = "cabal-debian";
version = "4.35.6";
sha256 = "1pp4wyii4gb585nvy8zzylpaxbmhxw6r0v28qdsm825kqldhvy4f";
version = "4.35.9";
sha256 = "1d7xd9v8gc0ahyx557470dw01s3zs6vz594a4hy95bgx5d45s357";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@ -42405,12 +42422,16 @@ self: {
}) {};
"clash-multisignal" = callPackage
({ mkDerivation, base, clash-prelude, QuickCheck }:
({ mkDerivation, base, clash-prelude, deepseq
, ghc-typelits-knownnat, QuickCheck
}:
mkDerivation {
pname = "clash-multisignal";
version = "0.1.0.0";
sha256 = "0hb9pxggdw8sg5g4227sghf366b2psl7l83c9mcy5dcxlng3znl4";
libraryHaskellDepends = [ base clash-prelude QuickCheck ];
version = "0.2.0.0";
sha256 = "0jqlz3h226ql641z4kzwf921f5sb0zf9zh2c9gli4bbw7csn93nd";
libraryHaskellDepends = [
base clash-prelude deepseq ghc-typelits-knownnat QuickCheck
];
homepage = "https://github.com/ra1u/clash-multisignal";
license = stdenv.lib.licenses.bsd3;
hydraPlatforms = stdenv.lib.platforms.none;
@ -51835,8 +51856,8 @@ self: {
}:
mkDerivation {
pname = "data-basic";
version = "0.2.0.1";
sha256 = "16j5jvry7hfgnyz4bsi1a2kja7q7a0sfafswa942pqby6dzcgxz1";
version = "0.2.0.3";
sha256 = "0xmc9cj22nw90c4l9ava7da14d2y3pvip81admgjx8cqgz93255k";
libraryHaskellDepends = [
aeson base binary bytestring cases containers hssqlppp lens
lens-aeson mtl overload postgresql-simple simple-effects
@ -52225,8 +52246,8 @@ self: {
({ mkDerivation, base, containers, ghc-prim, hspec, lens, tagged }:
mkDerivation {
pname = "data-diverse";
version = "0.4.0.0";
sha256 = "0jqyn4jwdvzijqwrb5j0052h95vxdwgixfb5a7cgwa574yipks09";
version = "0.5.0.0";
sha256 = "0cr67dpfbzayw2hhg8zf4yqwgbkjn5dislh7r96fjz1mkif6m0zz";
libraryHaskellDepends = [ base containers ghc-prim lens tagged ];
testHaskellDepends = [ base hspec lens tagged ];
homepage = "https://github.com/louispan/data-diverse#readme";
@ -58514,6 +58535,24 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
"dlist_0_8_0_3" = callPackage
({ mkDerivation, base, Cabal, deepseq, QuickCheck
, quickcheck-instances
}:
mkDerivation {
pname = "dlist";
version = "0.8.0.3";
sha256 = "0brgai4vs7xz29p06kd6gzg5bpa8iy3k7yzgcc44izspd74q4rw7";
libraryHaskellDepends = [ base deepseq ];
testHaskellDepends = [
base Cabal QuickCheck quickcheck-instances
];
homepage = "https://github.com/spl/dlist";
description = "Difference lists";
license = stdenv.lib.licenses.bsd3;
hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"dlist-instances" = callPackage
({ mkDerivation, base, dlist, semigroups }:
mkDerivation {
@ -64534,8 +64573,8 @@ self: {
}:
mkDerivation {
pname = "eventloop";
version = "0.8.2.4";
sha256 = "01zzvd751bxy1mbfimqxn5ck172cc54lp7ch7p0yxln9ss2ngzj2";
version = "0.8.2.5";
sha256 = "0vl9kc0grhp72rlx922khvf5833qshyx4danismf8n5r3i9f7qr0";
libraryHaskellDepends = [
aeson base bytestring concurrent-utilities deepseq network stm
suspend text timers websockets
@ -66128,13 +66167,13 @@ self: {
}:
mkDerivation {
pname = "fast-tagsoup";
version = "1.0.13";
sha256 = "11h9d9a3wk87vw1xwc309cxhind1xbwhbvrqx6648dxf3nj5h1i5";
version = "1.0.14";
sha256 = "08vxz22iilai542h4g5c8xdawib9b0r7jlfmiga8ys7aq7nvgcsj";
libraryHaskellDepends = [
base bytestring containers tagsoup text text-icu
];
homepage = "https://github.com/vshabanov/fast-tagsoup";
description = "Fast parser for tagsoup package";
description = "Fast parsing and extracting information from (possibly malformed) HTML/XML documents";
license = stdenv.lib.licenses.bsd3;
}) {};
@ -69017,8 +69056,8 @@ self: {
}:
mkDerivation {
pname = "fltkhs";
version = "0.5.3.3";
sha256 = "0rl6zwamkwdjnlmn2rr0mh16idci5xqgr70qsvqarj34h1ax2idb";
version = "0.5.3.4";
sha256 = "066czbpbjk893q3npghmz94w9pqd0k89p8xxrmgd4g8gqqr1fii6";
isLibrary = true;
isExecutable = true;
setupHaskellDepends = [ base Cabal directory filepath ];
@ -92963,6 +93002,8 @@ self: {
pname = "heap";
version = "1.0.3";
sha256 = "00plmd5b8dlgb8324h1dbd168apfcx3hkv65rhi463a8lff7xmcv";
revision = "1";
editedCabalFile = "0j1f0xl3y2vqiyh3m9w5vssxyi62s6qic3zmpkm429vawyh4yad5";
libraryHaskellDepends = [ base ];
testHaskellDepends = [ base QuickCheck ];
description = "Heaps in Haskell";
@ -97567,8 +97608,8 @@ self: {
}:
mkDerivation {
pname = "hnormalise";
version = "0.4.1.1";
sha256 = "0q25mds552c87f2xs7s82b749drg3r41qswy0k8jmyz5dsc9wcir";
version = "0.4.2.0";
sha256 = "1h38qr8d8dbn81bghh3imb7jink6b06wadbpyg4axfr39s21xvkg";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@ -119093,8 +119134,8 @@ self: {
}:
mkDerivation {
pname = "ldap-client";
version = "0.1.0";
sha256 = "18c33jfgwa7vdickxshyhmrqdpndy7ayjd3z0zqkjqa7awd0zcf4";
version = "0.2.0";
sha256 = "0vs6n3q9svwhcp6853ipxmw1anmy8qfy3xajjsf7h4pjnqzy7g88";
libraryHaskellDepends = [
asn1-encoding asn1-types async base bytestring connection
containers network semigroups stm text
@ -125511,21 +125552,21 @@ self: {
}) {};
"madlang" = callPackage
({ mkDerivation, ansi-wl-pprint, base, composition, containers
, criterion, directory, file-embed, hspec, hspec-megaparsec
, megaparsec, microlens, MonadRandom, mtl, optparse-applicative
, random-shuffle, template-haskell, text
({ mkDerivation, ansi-wl-pprint, base, composition
, composition-extra, containers, criterion, directory, file-embed
, hspec, hspec-megaparsec, megaparsec, microlens, MonadRandom, mtl
, optparse-applicative, random-shuffle, template-haskell, text
}:
mkDerivation {
pname = "madlang";
version = "2.3.1.1";
sha256 = "1ybbf281kpmdwggjvmhpilip0pficsqqg1m1nizgwwlgg76kwnj3";
version = "2.3.2.0";
sha256 = "0cg38m9ji0l8kv3sqqhwbvn57all0h9652acjdhhcg3n98hxpam6";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
ansi-wl-pprint base composition containers directory file-embed
megaparsec microlens MonadRandom mtl optparse-applicative
random-shuffle template-haskell text
ansi-wl-pprint base composition composition-extra containers
directory file-embed megaparsec microlens MonadRandom mtl
optparse-applicative random-shuffle template-haskell text
];
executableHaskellDepends = [ base ];
testHaskellDepends = [
@ -127792,7 +127833,7 @@ self: {
hydraPlatforms = [ "x86_64-darwin" "x86_64-linux" ];
}) {};
"mediabus_0_4_0_0" = callPackage
"mediabus_0_4_0_1" = callPackage
({ mkDerivation, array, async, base, binary, bytestring, cereal
, conduit, conduit-combinators, conduit-extra, containers
, data-default, deepseq, hspec, lens, lifted-async, monad-control
@ -127803,8 +127844,8 @@ self: {
}:
mkDerivation {
pname = "mediabus";
version = "0.4.0.0";
sha256 = "00aps3hlml830ws4czpabzndwh2dvmyih1hy6k841zj7kzpvmg73";
version = "0.4.0.1";
sha256 = "0f0ip2l87a7divqp580iziskx3fkvv6f6vny42vz7v4p77i05p20";
libraryHaskellDepends = [
array async base bytestring cereal conduit conduit-combinators
conduit-extra containers data-default deepseq lens lifted-async
@ -127818,7 +127859,7 @@ self: {
monad-control mtl QuickCheck singletons spool stm tagged
template-haskell text time transformers type-spec vector
];
homepage = "https://github.com/lindenbaum/mediabus";
homepage = "https://github.com/sheyll/mediabus";
description = "Multimedia streaming on top of Conduit";
license = stdenv.lib.licenses.bsd3;
hydraPlatforms = stdenv.lib.platforms.none;
@ -127892,7 +127933,7 @@ self: {
hydraPlatforms = [ "x86_64-darwin" "x86_64-linux" ];
}) {};
"mediabus-rtp_0_4_0_0" = callPackage
"mediabus-rtp_0_4_0_1" = callPackage
({ mkDerivation, array, async, base, binary, bytestring, cereal
, conduit, conduit-combinators, conduit-extra, containers
, data-default, deepseq, hspec, lens, lifted-async, mediabus
@ -127903,8 +127944,8 @@ self: {
}:
mkDerivation {
pname = "mediabus-rtp";
version = "0.4.0.0";
sha256 = "0b8nhyb072nqcikq40la226da30vg343cjmp4qjpsr714i2sd3rk";
version = "0.4.0.1";
sha256 = "1yfy8aak1z9bbwy676qyfxa7hmk1n94f3dn1x070hvpbvgpgmijb";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@ -127925,7 +127966,7 @@ self: {
monad-control monad-logger mtl QuickCheck singletons spool stm
tagged template-haskell text time transformers type-spec vector
];
homepage = "https://github.com/lindenbaum/mediabus-rtp";
homepage = "https://github.com/sheyll/mediabus-rtp";
description = "Receive and Send RTP Packets";
license = stdenv.lib.licenses.bsd3;
hydraPlatforms = stdenv.lib.platforms.none;
@ -129958,8 +129999,8 @@ self: {
}:
mkDerivation {
pname = "miso";
version = "0.1.1.0";
sha256 = "16ww5nbjdkjlwsr3dapv3px12dvi9dxbmz9z62n3hfpz5c4v5864";
version = "0.1.2.0";
sha256 = "1f9gs5lmcg86gs35fsdjq7bdhxyawdfna5lp84chsxl5fqa44wjs";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@ -137490,8 +137531,8 @@ self: {
}:
mkDerivation {
pname = "ngx-export";
version = "0.4.0.0";
sha256 = "1cp77flxddnxiln2x1iy9f0ijrim9ai7xry87h23y8xn1zgwvyh4";
version = "0.4.1.0";
sha256 = "0vlcvvgl6sncgw03ks20b115jlznlv4f1n9fnzwzignws09hyf6y";
libraryHaskellDepends = [
async base binary bytestring template-haskell unix
];
@ -139951,6 +139992,18 @@ self: {
license = "GPL";
}) {};
"onpartitions" = callPackage
({ mkDerivation, base }:
mkDerivation {
pname = "onpartitions";
version = "0.1.0.0";
sha256 = "0iy4hpibiz6v93kz8jv5phb96sh6ygcdakf9vqss5d5622s5pgf1";
libraryHaskellDepends = [ base ];
homepage = "https://github.com/paolino/onpartitions";
description = "partition lenses";
license = stdenv.lib.licenses.bsd3;
}) {};
"onu-course" = callPackage
({ mkDerivation, base, smallcheck }:
mkDerivation {
@ -144667,8 +144720,8 @@ self: {
}:
mkDerivation {
pname = "pcgen";
version = "1.0.0";
sha256 = "1nh05bf7xd0l9jrjzvvmng64q5wc6j7iz856g8z3d20mcv2q1lza";
version = "2.0.1";
sha256 = "15116krysjvp3if7rdqcfjgqappfybjzwmgrkd5v5x8w62izhnla";
libraryHaskellDepends = [ base random ];
testHaskellDepends = [ base hspec QuickCheck random ];
benchmarkHaskellDepends = [ base criterion deepseq random ];
@ -146154,8 +146207,8 @@ self: {
}:
mkDerivation {
pname = "pg-store";
version = "0.4.2";
sha256 = "1i1ma0m7qmn2v2qswv5kj1rbbfscqirkcvyr5nf07czbghwpx1v6";
version = "0.4.3";
sha256 = "1qqy79yqhwjw094p8i4qanmjwlvym7lndnqiw10mgp0xn63rznid";
libraryHaskellDepends = [
aeson attoparsec base blaze-builder bytestring hashable
haskell-src-meta mtl postgresql-libpq scientific tagged
@ -152683,8 +152736,8 @@ self: {
}:
mkDerivation {
pname = "propellor";
version = "4.0.6";
sha256 = "0w8n7l4ws3awccqf6g12bk09l10s4scmdvr5vkxhhpm5cmawd0fq";
version = "4.3.0";
sha256 = "1walyz9x0rxa9n77kr0w7gpm2vnydxq70ii782ygzy0izymhnx39";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@ -153017,6 +153070,24 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
"protocol-buffers_2_4_2" = callPackage
({ mkDerivation, array, base, binary, bytestring, containers
, directory, filepath, mtl, parsec, syb, utf8-string
}:
mkDerivation {
pname = "protocol-buffers";
version = "2.4.2";
sha256 = "13z1sh8z5b3nlscqnzw137k3979d4war3yzhxclljqq2z88rm1bv";
libraryHaskellDepends = [
array base binary bytestring containers directory filepath mtl
parsec syb utf8-string
];
homepage = "https://github.com/k-bx/protocol-buffers";
description = "Parse Google Protocol Buffer specifications";
license = stdenv.lib.licenses.bsd3;
hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"protocol-buffers-descriptor" = callPackage
({ mkDerivation, base, bytestring, containers, protocol-buffers }:
mkDerivation {
@ -163902,6 +163973,22 @@ self: {
license = stdenv.lib.licenses.mit;
}) {};
"safe-exceptions_0_1_6_0" = callPackage
({ mkDerivation, base, deepseq, exceptions, hspec, transformers
, void
}:
mkDerivation {
pname = "safe-exceptions";
version = "0.1.6.0";
sha256 = "074dy2f9fbhnh59clpz8c1ljplm1wwqjj7r3i4nv0rcl0khprm3i";
libraryHaskellDepends = [ base deepseq exceptions transformers ];
testHaskellDepends = [ base hspec void ];
homepage = "https://github.com/fpco/safe-exceptions#readme";
description = "Safe, consistent, and easy exception handling";
license = stdenv.lib.licenses.mit;
hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"safe-exceptions-checked" = callPackage
({ mkDerivation, base, deepseq, hspec, safe-exceptions
, transformers
@ -163910,8 +163997,8 @@ self: {
pname = "safe-exceptions-checked";
version = "0.1.0";
sha256 = "0gyaq2pf87dqn0l6n3mi0qamf99y3zj5xxh513c0iqwdh8mma1yq";
revision = "1";
editedCabalFile = "1nnnljp0l70zafgfl09kskf965p993plmk52pv2wqhjj94xdnwzb";
revision = "2";
editedCabalFile = "18fwk5yr8zm4y215vbsl149jkn9pxyv3m8mgq3979pvs1c4kqivz";
libraryHaskellDepends = [
base deepseq safe-exceptions transformers
];
@ -171779,6 +171866,24 @@ self: {
hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"simple-logging" = callPackage
({ mkDerivation, aeson, base, bytestring, exceptions, iso8601-time
, lens, mtl, simple-effects, string-conv, text, time, vector
}:
mkDerivation {
pname = "simple-logging";
version = "0.2.0.1";
sha256 = "1x0vclb2an4mbwxqk44z0rpw1ai0pq2kc9ak0chyzijbk1vivwmx";
libraryHaskellDepends = [
aeson base bytestring exceptions iso8601-time lens mtl
simple-effects string-conv text time vector
];
testHaskellDepends = [ base simple-effects ];
homepage = "https://gitlab.com/haskell-hr/logging";
description = "Logging effect to plug into the simple-effects framework";
license = stdenv.lib.licenses.mit;
}) {};
"simple-money" = callPackage
({ mkDerivation, base, containers }:
mkDerivation {
@ -172447,9 +172552,11 @@ self: {
({ mkDerivation, base }:
mkDerivation {
pname = "singnal";
version = "0.1.0.0";
sha256 = "099akvb0j6a7hh4g5pm8i8hy8pmsc6i33jg957zsbnbh72s0ck3d";
version = "0.1.1.0";
sha256 = "16f0grf63wgkaab64mmqhxwwk50pzzy354i3v23lzw7s5x0bk8sj";
libraryHaskellDepends = [ base ];
homepage = "https://github.com/zaoqi/Signal.hs";
description = "Singnal";
license = stdenv.lib.licenses.agpl3;
}) {};
@ -179953,21 +180060,20 @@ self: {
}) {};
"streaming-concurrency" = callPackage
({ mkDerivation, base, bytestring, exceptions, hspec, lifted-async
({ mkDerivation, base, exceptions, hspec, lifted-async
, monad-control, QuickCheck, quickcheck-instances, stm, streaming
, streaming-bytestring, streaming-with, transformers-base
, streaming-with, transformers-base
}:
mkDerivation {
pname = "streaming-concurrency";
version = "0.1.0.0";
sha256 = "1g2p928mvkwwdy0xbm8c6ph2cdqswj1gpi0zq6ln1bl4f3xd98rz";
version = "0.3.0.0";
sha256 = "1dnlnm57rlk900n148xnfihx917rc9lggx6fdzhf7cjbi1n2ibn2";
libraryHaskellDepends = [
base bytestring exceptions lifted-async monad-control stm streaming
streaming-bytestring streaming-with transformers-base
base exceptions lifted-async monad-control stm streaming
streaming-with transformers-base
];
testHaskellDepends = [
base bytestring hspec QuickCheck quickcheck-instances streaming
streaming-bytestring
base hspec QuickCheck quickcheck-instances streaming
];
description = "Concurrency support for the streaming ecosystem";
license = stdenv.lib.licenses.mit;
@ -185136,16 +185242,16 @@ self: {
}) {};
"teardown" = callPackage
({ mkDerivation, ansi-wl-pprint, base, criterion, doctest, Glob
, protolude, QuickCheck, tasty, tasty-hspec, tasty-hunit
({ mkDerivation, ansi-wl-pprint, base, criterion, deepseq, doctest
, Glob, protolude, QuickCheck, tasty, tasty-hspec, tasty-hunit
, tasty-rerun, tasty-smallcheck, text, time
}:
mkDerivation {
pname = "teardown";
version = "0.1.0.0";
sha256 = "0sg113khwlb56x0rgb47lm0hf0cfsr9wc31w98nav9zcw5gndm33";
version = "0.1.0.1";
sha256 = "0jxhr73dq4gvbzrwhbqsrwg1v8qa2mj1nfygb44kj60diwa4cwj2";
libraryHaskellDepends = [
ansi-wl-pprint base protolude text time
ansi-wl-pprint base deepseq protolude text time
];
testHaskellDepends = [
base doctest Glob protolude QuickCheck tasty tasty-hspec
@ -188788,19 +188894,16 @@ self: {
}) {};
"throwable-exceptions" = callPackage
({ mkDerivation, base, doctest, either, safe-exceptions, tasty
, tasty-discover, tasty-hunit, template-haskell, text
({ mkDerivation, base, doctest, either, safe-exceptions, silently
, tasty, tasty-discover, tasty-hunit, template-haskell, text
}:
mkDerivation {
pname = "throwable-exceptions";
version = "0.1.0.7";
sha256 = "1afxzk9xvxlvi13ysda9gcv6zzr7njcvi5p15lbn9bg68nrwqazj";
isLibrary = true;
isExecutable = true;
version = "0.1.0.8";
sha256 = "0d8dxrd922rxnn417yn2ij71v6vb9c5i37qvcmdixfh773p9sm8r";
libraryHaskellDepends = [ base safe-exceptions template-haskell ];
executableHaskellDepends = [ base safe-exceptions ];
testHaskellDepends = [
base doctest either safe-exceptions tasty tasty-discover
base doctest either safe-exceptions silently tasty tasty-discover
tasty-hunit text
];
homepage = "https://github.com/aiya000/hs-throwable-exceptions#README.md";
@ -192797,14 +192900,13 @@ self: {
"tweet-hs" = callPackage
({ mkDerivation, aeson, ansi-wl-pprint, authenticate-oauth, base
, bytestring, composition, containers, criterion, data-default
, directory, extra, hspec, hspec-megaparsec, http-client
, http-client-tls, http-types, lens, megaparsec
, optparse-applicative, split, text
, directory, extra, hspec, http-client, http-client-tls, http-types
, lens, megaparsec, optparse-applicative, split, text
}:
mkDerivation {
pname = "tweet-hs";
version = "0.6.0.1";
sha256 = "1rd1isvbia2cvxbfxx6sxk8vz3vjckpwa7ci0sgpbmb6qcm0ddyr";
version = "0.6.1.2";
sha256 = "17nvm7xnb5gvmq977bz812gd6s3dfvvkxd2zwcdayczdmnz06gyz";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@ -192813,10 +192915,8 @@ self: {
http-types lens megaparsec optparse-applicative split text
];
executableHaskellDepends = [ base ];
testHaskellDepends = [
base bytestring hspec hspec-megaparsec megaparsec
];
benchmarkHaskellDepends = [ base bytestring criterion megaparsec ];
testHaskellDepends = [ base bytestring hspec ];
benchmarkHaskellDepends = [ base bytestring criterion ];
homepage = "https://github.com/vmchale/command-line-tweeter#readme";
description = "Command-line tool for twitter";
license = stdenv.lib.licenses.bsd3;
@ -195799,8 +195899,8 @@ self: {
}:
mkDerivation {
pname = "universum";
version = "0.4.3";
sha256 = "17rrikfid54z8h95qns5q7bdxadnnggv1pl2d9ilz9pz9hi7a9g6";
version = "0.5";
sha256 = "0i444yzxn4g8khjj8m2n4507qwvdvsypsb4qkylkz23214c6qax4";
libraryHaskellDepends = [
base bytestring containers deepseq exceptions ghc-prim hashable
microlens microlens-mtl mtl safe stm text text-format transformers

View file

@ -0,0 +1,7 @@
{ mkDerivation }:
mkDerivation rec {
version = "1.3.4";
sha256 = "01qqv1ghvfadcwcr5p88w8j217cgaf094pmpqllij3l0q1yg104l";
minimumOTPVersion = "18";
}

View file

@ -0,0 +1,7 @@
{ mkDerivation }:
mkDerivation rec {
version = "1.4.5";
sha256 = "18ivcxmh5bak13k3rjy7jjzin57rgb2nffhwnqb2wl7bpi8mrarw";
minimumOTPVersion = "18";
}

View file

@ -0,0 +1,7 @@
{ mkDerivation }:
mkDerivation rec {
version = "1.5.0-rc.0";
sha256 = "1p0sawz86w9na56c42ivdacqxzldjb9s9cvl2isj3sy4nwsa0l0j";
minimumOTPVersion = "18";
}

View file

@ -1,71 +0,0 @@
{ stdenv, fetchFromGitHub, erlang, rebar, makeWrapper, coreutils, curl, bash,
debugInfo ? false }:
stdenv.mkDerivation rec {
name = "elixir-${version}";
version = "1.4.4";
src = fetchFromGitHub {
owner = "elixir-lang";
repo = "elixir";
rev = "v${version}";
sha256 = "0m51cirkv1dahw4z2jlmz58cwmpy0dya88myx4wykq0v5bh1xbq8";
};
buildInputs = [ erlang rebar makeWrapper ];
# Elixir expects that UTF-8 locale to be set (see https://github.com/elixir-lang/elixir/issues/3548).
# In other cases there is warnings during compilation.
LANG = "en_US.UTF-8";
LC_TYPE = "en_US.UTF-8";
setupHook = ./setup-hook.sh;
inherit debugInfo;
buildFlags = if debugInfo
then "ERL_COMPILER_OPTIONS=debug_info"
else "";
preBuild = ''
# The build process uses ./rebar. Link it to the nixpkgs rebar
rm -v rebar
ln -s ${rebar}/bin/rebar rebar
substituteInPlace Makefile \
--replace "/usr/local" $out
'';
postFixup = ''
# Elixir binaries are shell scripts which run erl. Add some stuff
# to PATH so the scripts can run without problems.
for f in $out/bin/*; do
b=$(basename $f)
if [ $b == "mix" ]; then continue; fi
wrapProgram $f \
--prefix PATH ":" "${stdenv.lib.makeBinPath [ erlang coreutils curl bash ]}" \
--set CURL_CA_BUNDLE /etc/ssl/certs/ca-certificates.crt
done
substituteInPlace $out/bin/mix \
--replace "/usr/bin/env elixir" "${coreutils}/bin/env elixir"
'';
meta = with stdenv.lib; {
homepage = "http://elixir-lang.org/";
description = "A functional, meta-programming aware language built on top of the Erlang VM";
longDescription = ''
Elixir is a functional, meta-programming aware language built on
top of the Erlang VM. It is a dynamic language with flexible
syntax and macro support that leverages Erlang's abilities to
build concurrent, distributed and fault-tolerant applications
with hot code upgrades.
'';
license = licenses.epl10;
platforms = platforms.unix;
maintainers = with maintainers; [ the-kenny havvy couchemar ];
};
}

View file

@ -0,0 +1,77 @@
{ pkgs, stdenv, fetchFromGitHub, erlang, rebar, makeWrapper,
coreutils, curl, bash, debugInfo ? false }:
{ baseName ? "elixir"
, version
, minimumOTPVersion
, sha256 ? null
, rev ? "v${version}"
, src ? fetchFromGitHub { inherit rev sha256; owner = "elixir-lang"; repo = "elixir"; }
}:
let
inherit (stdenv.lib) getVersion versionAtLeast;
in
assert versionAtLeast (getVersion erlang) minimumOTPVersion;
stdenv.mkDerivation ({
name = "${baseName}-${version}";
inherit src version;
buildInputs = [ erlang rebar makeWrapper ];
LANG = "en_US.UTF-8";
LC_TYPE = "en_US.UTF-8";
setupHook = ./setup-hook.sh;
inherit debugInfo;
buildFlags = if debugInfo
then "ERL_COMPILER_OPTIONS=debug_info"
else "";
preBuild = ''
# The build process uses ./rebar. Link it to the nixpkgs rebar
rm -v rebar
ln -s ${rebar}/bin/rebar rebar
substituteInPlace Makefile \
--replace "/usr/local" $out
'';
postFixup = ''
# Elixir binaries are shell scripts which run erl. Add some stuff
# to PATH so the scripts can run without problems.
for f in $out/bin/*; do
b=$(basename $f)
if [ "$b" = mix ]; then continue; fi
wrapProgram $f \
--prefix PATH ":" "${stdenv.lib.makeBinPath [ erlang coreutils curl bash ]}" \
--set CURL_CA_BUNDLE /etc/ssl/certs/ca-certificates.crt
done
substituteInPlace $out/bin/mix \
--replace "/usr/bin/env elixir" "${coreutils}/bin/env elixir"
'';
meta = with stdenv.lib; {
homepage = "http://elixir-lang.org/";
description = "A functional, meta-programming aware language built on top of the Erlang VM";
longDescription = ''
Elixir is a functional, meta-programming aware language built on
top of the Erlang VM. It is a dynamic language with flexible
syntax and macro support that leverages Erlang's abilities to
build concurrent, distributed and fault-tolerant applications
with hot code upgrades.
'';
license = licenses.epl10;
platforms = platforms.unix;
maintainers = with maintainers; [ the-kenny havvy couchemar ankhers ];
};
})

View file

@ -1,41 +1,73 @@
{ stdenv, fetchurl }:
{ stdenv, fetchurl, hostPlatform }:
rec {
stdenv.mkDerivation rec {
name = "luajit-${version}";
version = "2.1.0-beta3";
luaversion = "5.1";
luajit =
# Compatibility problems with lightuserdata pointers; see:
# https://github.com/LuaJIT/LuaJIT/blob/v2.1/doc/status.html#L101
if hostPlatform.is64bit && (/*hostPlatform.isArm ||*/ hostPlatform.isSunOS)
# FIXME: fix the aarch64 build
then luajit_2_0
else luajit_2_1;
src = fetchurl {
url = "http://luajit.org/download/LuaJIT-${version}.tar.gz";
luajit_2_0 = generic {
version = "2.0.5";
isStable = true;
sha256 = "0yg9q4q6v028bgh85317ykc9whgxgysp76qzaqgq55y6jy11yjw7";
};
luajit_2_1 = generic {
version = "2.1.0-beta3";
isStable = false;
sha256 = "1hyrhpkwjqsv54hnnx4cl8vk44h9d6c9w0fz1jfjz00w255y7lhs";
};
enableParallelBuilding = true;
patchPhase = ''
substituteInPlace Makefile \
--replace /usr/local $out
generic =
{ version, sha256 ? null, isStable
, name ? "luajit-${version}"
, src ?
(fetchurl {
url = "http://luajit.org/download/LuaJIT-${version}.tar.gz";
inherit sha256;
})
}:
substituteInPlace src/Makefile --replace gcc cc
'' + stdenv.lib.optionalString (stdenv.cc.libc != null)
''
substituteInPlace Makefile \
--replace ldconfig ${stdenv.cc.libc.bin or stdenv.cc.libc}/bin/ldconfig
'';
stdenv.mkDerivation rec {
inherit name version src;
configurePhase = false;
buildFlags = [ "amalg" ]; # Build highly optimized version
installPhase = ''
make install INSTALL_INC=$out/include PREFIX=$out
ln -s $out/bin/luajit* $out/bin/lua
ln -s $out/bin/luajit* $out/bin/luajit
'';
luaversion = "5.1";
meta = with stdenv.lib; {
description = "High-performance JIT compiler for Lua 5.1";
homepage = http://luajit.org;
license = licenses.mit;
platforms = platforms.linux ++ platforms.darwin;
maintainers = with maintainers ; [ thoughtpolice smironov ];
};
patchPhase = ''
substituteInPlace Makefile \
--replace /usr/local "$out"
substituteInPlace src/Makefile --replace gcc cc
'' + stdenv.lib.optionalString (stdenv.cc.libc != null)
''
substituteInPlace Makefile \
--replace ldconfig ${stdenv.cc.libc.bin or stdenv.cc.libc}/bin/ldconfig
'';
configurePhase = false;
buildFlags = [ "amalg" ]; # Build highly optimized version
enableParallelBuilding = true;
installPhase = ''
make install INSTALL_INC="$out"/include PREFIX="$out"
ln -s "$out"/bin/luajit-* "$out"/bin/lua
''
+ stdenv.lib.optionalString (!isStable)
''
ln -s "$out"/bin/luajit-* "$out"/bin/luajit
'';
meta = with stdenv.lib; {
description = "High-performance JIT compiler for Lua 5.1";
homepage = http://luajit.org;
license = licenses.mit;
platforms = platforms.linux ++ platforms.darwin;
maintainers = with maintainers ; [ thoughtpolice smironov vcunat ];
};
};
}

View file

@ -1,4 +1,4 @@
{ stdenv, fetchurl, ocaml, findlib, ocamlbuild, which, camlp4 }:
{ stdenv, fetchurl, fetchpatch, ocaml, findlib, ocamlbuild, which, camlp4 }:
let inherit (stdenv.lib) getVersion versionAtLeast; in
@ -16,7 +16,13 @@ stdenv.mkDerivation rec {
buildInputs = [ ocaml findlib ocamlbuild which camlp4 ];
patchPhase = ''
patches = [ (fetchpatch {
url = https://raw.githubusercontent.com/ocaml/opam-repository/master/packages/bolt/bolt.1.4/files/opam.patch;
sha256 = "08cl39r98w312sw23cskd5wian6zg20isn9ki41hnbcgkazhi7pb";
})
];
postPatch = ''
patch myocamlbuild.ml <<EOF
70,74c70
< let camlp4of =

View file

@ -1,5 +1,9 @@
{ stdenv, fetchzip, ocaml, findlib, ocamlbuild, ounit }:
if !stdenv.lib.versionAtLeast ocaml.version "4"
then throw "qtest is not available for OCaml ${ocaml.version}"
else
let version = "2.2"; in
stdenv.mkDerivation {

View file

@ -3,7 +3,7 @@
assert stdenv.lib.versionAtLeast ocaml.version "4.02";
stdenv.mkDerivation rec {
name = "ocaml${ocaml.version}-${version}";
name = "ocaml${ocaml.version}-sedlex-${version}";
version = "1.99.3";
src = fetchzip {

View file

@ -1,15 +1,15 @@
{ stdenv, fetchFromGitHub, ocaml, findlib, ocamlbuild, qtest, ounit }:
let version = "0.8"; in
let version = "0.10"; in
stdenv.mkDerivation {
name = "ocaml-sequence-${version}";
name = "ocaml${ocaml.version}-sequence-${version}";
src = fetchFromGitHub {
owner = "c-cube";
repo = "sequence";
rev = "${version}";
sha256 = "1y9nkz6g4plnbk1pcdbvs7f719r48zxrp3gsaxyq1vg98i9h8qr3";
rev = version;
sha256 = "0pl8pv758wn8bm555i8f0fvfn2pw88w1bmzjrzrv01092d85wx1g";
};
buildInputs = [ ocaml findlib ocamlbuild qtest ounit ];

View file

@ -0,0 +1,31 @@
{ buildPythonPackage
, fetchPypi
, lib
, recursivePthLoader
}:
buildPythonPackage rec {
pname = "virtualenv";
version = "15.0.3";
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
sha256 = "6d9c760d3fc5fa0894b0f99b9de82a4647e1164f0b700a7f99055034bf548b1d";
};
# Doubt this is needed - FRidh 2017-07-07
pythonPath = [ recursivePthLoader ];
patches = [ ./virtualenv-change-prefix.patch ];
# Tarball doesn't contain tests
doCheck = false;
meta = {
description = "A tool to create isolated Python environments";
homepage = http://www.virtualenv.org;
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ goibhniu ];
};
}

View file

@ -1,35 +1,30 @@
{ buildRubyGem, fetchFromGitHub, lib, bundler, ruby, nix, nix-prefetch-git }:
{ buildRubyGem, fetchFromGitHub, makeWrapper, lib, bundler, ruby, nix,
nix-prefetch-git }:
buildRubyGem rec {
inherit ruby;
name = "${gemName}-${version}";
gemName = "bundix";
version = "2.2.1";
version = "2.3.1";
src = fetchFromGitHub {
owner = "manveru";
repo = "bundix";
rev = version;
sha256 = "1gh90yxm4k27jdjdl3r31fcg4sk7k54jlbw1zfm1p9q3i7k8x4i7";
sha256 = "0ap23abv6chiv7v97ic6b1qf5by6b26as5yrpxg5q7p2giyiv33v";
};
buildInputs = [bundler];
buildInputs = [ ruby bundler ];
nativeBuildInputs = [ makeWrapper ];
postInstall = ''
substituteInPlace $GEM_HOME/gems/${gemName}-${version}/lib/bundix.rb \
--replace \
"'nix-instantiate'" \
"'${nix.out}/bin/nix-instantiate'" \
--replace \
"'nix-hash'" \
"'${nix.out}/bin/nix-hash'" \
--replace \
"'nix-prefetch-url'" \
"'${nix.out}/bin/nix-prefetch-url'" \
--replace \
"'nix-prefetch-git'" \
"'${nix-prefetch-git}/bin/nix-prefetch-git'"
preFixup = ''
wrapProgram $out/bin/bundix \
--prefix PATH : "${nix.out}/bin" \
--prefix PATH : "${nix-prefetch-git.out}/bin" \
--prefix PATH : "${bundler.out}/bin" \
--set GEM_HOME "${bundler}/${bundler.ruby.gemPath}" \
--set GEM_PATH "${bundler}/${bundler.ruby.gemPath}"
'';
meta = {

View file

@ -5,12 +5,12 @@
with stdenv.lib;
stdenv.mkDerivation rec {
name = "ammonite-${version}";
version = "0.9.9";
version = "1.0.0";
scalaVersion = "2.12";
src = fetchurl {
url = "https://github.com/lihaoyi/Ammonite/releases/download/${version}/${scalaVersion}-${version}";
sha256 = "0qiqy681y1w21gjxw30kn44vxh9615j3825v06aq690p56w3rc63";
sha256 = "0d74b3aasgg4ap5ishzzm4jbf1k4dxv7gzd88d69miyapsaa4p0c";
};
propagatedBuildInputs = [ jre ] ;

View file

@ -13,11 +13,11 @@ let
package = pythonPackages.buildPythonApplication (rec {
name = "${pname}-${version}";
pname = "buildbot";
version = "0.9.7";
version = "0.9.9.post2";
src = pythonPackages.fetchPypi {
inherit pname version;
sha256 = "0cwy39ap2v9kni3zm92633cnqf7qsnb4zlargx060pbfagkg1jwg";
sha256 = "0g932pvkxqq3ijwkwwa29jd9sp5895gv40c3k7m2acc5dp8ygb9w";
};
buildInputs = with pythonPackages; [
@ -83,7 +83,7 @@ let
meta = with stdenv.lib; {
homepage = http://buildbot.net/;
description = "Continuous integration system that automates the build/test cycle";
description = "Buildbot is an open-source continuous integration framework for automating software build, test, and release processes";
maintainers = with maintainers; [ nand0p ryansydnor ];
license = licenses.gpl2;
};

View file

@ -4,11 +4,11 @@ let
buildbot-pkg = pythonPackages.buildPythonPackage rec {
name = "${pname}-${version}";
pname = "buildbot-pkg";
version = "0.9.7";
version = "0.9.9.post2";
src = pythonPackages.fetchPypi {
inherit pname version;
sha256 = "0p351r10y42gwgxb2qg7xlsbhmnzdmqp6h4922l0yfii3pzmrdzv";
sha256 = "1h24fzyr4kfm1nb2627hgg9nl5mwv1gihc3f2wb5000gxmjdasg8";
};
propagatedBuildInputs = with pythonPackages; [ setuptools ];
@ -25,14 +25,14 @@ in {
www = pythonPackages.buildPythonPackage rec {
name = "${pname}-${version}";
pname = "buildbot_www";
version = "0.9.7";
version = "0.9.9.post2";
# NOTE: wheel is used due to buildbot circular dependency
format = "wheel";
src = pythonPackages.fetchPypi {
inherit pname version format;
sha256 = "1wf2spnilm0dkyw95vf57lca453sbly4r6ak3lxa8bpwhxb6lkdn";
sha256 = "1yzk3sy9i8g8wz9vvghhxnafs5dzsd3sybmm8lg043129rh116b9";
};
meta = with stdenv.lib; {
@ -46,11 +46,11 @@ in {
console-view = pythonPackages.buildPythonPackage rec {
name = "${pname}-${version}";
pname = "buildbot-console-view";
version = "0.9.7";
version = "0.9.9.post2";
src = pythonPackages.fetchPypi {
inherit pname version;
sha256 = "1iv77886rbbn0wlzl5qiqc08rgbymxirqh3vmimqwsabbh7fhzkm";
sha256 = "0mmlxzlzl0r97jf0g98m7k1b13mzzy80445i0biazkj0vzkpwxza";
};
propagatedBuildInputs = with pythonPackages; [ buildbot-pkg ];
@ -66,11 +66,11 @@ in {
waterfall-view = pythonPackages.buildPythonPackage rec {
name = "${pname}-${version}";
pname = "buildbot-waterfall-view";
version = "0.9.7";
version = "0.9.9.post2";
src = pythonPackages.fetchPypi {
inherit pname version;
sha256 = "1q42l25cryx0yp6lbbl0mxnxkb9h24wawhzhi1wkc3kj8zs5sifn";
sha256 = "0pq45gddwjd61nxmr48cl8s533i4gy3wg9wzbj3g1yb30yrz8qf4";
};
propagatedBuildInputs = with pythonPackages; [ buildbot-pkg ];
@ -82,4 +82,25 @@ in {
license = licenses.gpl2;
};
};
grid-view = pythonPackages.buildPythonPackage rec {
name = "${pname}-${version}";
pname = "buildbot-grid-view";
version = "0.9.9.post2";
src = pythonPackages.fetchPypi {
inherit pname version;
sha256 = "16y7br1yniby8yp932ildn14cxvbw5ywx36d703c4d98dmnlrpaw";
};
propagatedBuildInputs = with pythonPackages; [ buildbot-pkg ];
meta = with stdenv.lib; {
homepage = http://buildbot.net/;
description = "Buildbot Grid View Plugin";
maintainers = with maintainers; [ nand0p ];
license = licenses.gpl2;
};
};
}

View file

@ -3,11 +3,11 @@
pythonPackages.buildPythonApplication (rec {
name = "${pname}-${version}";
pname = "buildbot-worker";
version = "0.9.7";
version = "0.9.9.post2";
src = pythonPackages.fetchPypi {
inherit pname version;
sha256 = "0s62i808l13a8dprmrb2dikh7d1xvvdnw3pfhl6im0i9fc64w6x4";
sha256 = "1wb2fw0djamhn1sb7rwnf12i4ijdq9y4k33ri7dcwxxcavxsvqa0";
};
buildInputs = with pythonPackages; [ setuptoolsTrial mock ];

View file

@ -52,12 +52,12 @@ rec {
};
gradle_latest = gradleGen rec {
name = "gradle-4.0";
name = "gradle-4.0.1";
nativeVersion = "0.14";
src = fetchurl {
url = "http://services.gradle.org/distributions/${name}-bin.zip";
sha256 = "1zlxnyb7iva0bb0862vbigfjrmxgbisa2zam7j896ams57g2vgan";
sha256 = "1m2gnh1vs3f5acdqcxmc8d0pi65bzm3v1nliz29rhdfi01if85yp";
};
};

View file

@ -1,16 +1,16 @@
{ lib, buildGoPackage, fetchFromGitLab, fetchurl, go-bindata }:
let
version = "1.11.4";
version = "1.11.5";
# Gitlab runner embeds some docker images these are prebuilt for arm and x86_64
docker_x86_64 = fetchurl {
url = "https://gitlab-ci-multi-runner-downloads.s3.amazonaws.com/v${version}/docker/prebuilt-x86_64.tar.xz";
sha256 = "1ijkzn8jkzx1dzxhkf17987ligyf758xzas6ysix5b781jnkdm8z";
sha256 = "0qy3xrq574c1lhkqw1zrkcn32w0ky3f4fppzdjhb5zwqvnaz7kx0";
};
docker_arm = fetchurl {
url = "https://gitlab-ci-multi-runner-downloads.s3.amazonaws.com/v${version}/docker/prebuilt-arm.tar.xz";
sha256 = "0sq2nndnkzqv2yjljg08xwa3ppddn6vqcivhfh43zwwmansvb9ha";
sha256 = "12clc28yc157s2kaa8239p0g086vq062jfjh2m1bxqmaypw9pyla";
};
in
buildGoPackage rec {
@ -29,7 +29,7 @@ buildGoPackage rec {
owner = "gitlab-org";
repo = "gitlab-ci-multi-runner";
rev = "v${version}";
sha256 = "1pm88546cijmrrcvvrajp2g6rsrzxhy83cwwwky8jjkl5w4hhmz4";
sha256 = "1xgx8jbgcc3ga7dkjxa2i8nj4afsdavzpfrgpdzma03jkcq1g2sv";
};
patches = [ ./fix-shell-path.patch ];

View file

@ -0,0 +1,27 @@
{ lib, stdenv, fetchFromGitHub, pandoc, man }:
stdenv.mkDerivation rec {
name = "git-ftp-${version}";
version = "1.4.0";
src = fetchFromGitHub {
owner = "git-ftp";
repo = "git-ftp";
rev = version;
sha256 = "0n8q1azamf10qql8f8c4ppbd3iisy460gwxx09v5d9hji5md27s3";
};
dontBuild = true;
installPhase = ''
make install-all prefix=$out
'';
buildInputs = [pandoc man];
meta = with stdenv.lib; {
description = "Git powered FTP client written as shell script.";
homepage = https://git-ftp.github.io/;
license = licenses.gpl3;
maintainers = with maintainers; [ tweber ];
platforms = platforms.unix;
};
}

View file

@ -4,13 +4,13 @@
stdenv.mkDerivation rec {
name = "godot-${version}";
version = "2.1.1-stable";
version = "2.1.3-stable";
src = fetchFromGitHub {
owner = "godotengine";
repo = "godot";
rev = version;
sha256 = "071qkm1l6yn2s9ha67y15w2phvy5m5wl3wqvrslhfmnsir3q3k01";
sha256 = "04qbab0icpv3ascr4dqgj18sqvw04a1jypcngb0ji8npa8q9wxb2";
};
buildInputs = [

View file

@ -1,5 +1,5 @@
+++ build/platform/x11/detect.py
@@ -132,6 +132,10 @@
@@ -139,6 +139,10 @@
env.ParseConfig('pkg-config xinerama --cflags --libs')
env.ParseConfig('pkg-config xcursor --cflags --libs')
env.ParseConfig('pkg-config xrandr --cflags --libs')
@ -9,4 +9,4 @@
+ env.ParseConfig('pkg-config zlib --cflags --libs')
if (env['builtin_openssl'] == 'no'):
env.ParseConfig('pkg-config openssl --cflags --libs')
# Currently not compatible with OpenSSL 1.1.0+

View file

@ -6,11 +6,11 @@ in
stdenv.mkDerivation {
name = "camlp5${if transitional then "_transitional" else ""}-6.17";
name = "camlp5${if transitional then "_transitional" else ""}-7.01";
src = fetchzip {
url = https://github.com/camlp5/camlp5/archive/rel617.tar.gz;
sha256 = "0finmr6y0lyd7mnl61kmvwd32cmmf64m245vdh1iy0139rxf814c";
url = https://github.com/camlp5/camlp5/archive/rel701.tar.gz;
sha256 = "1gxhj7y30f1hbcqnqgg80wz0ymbslsfh09kl2kiackp49fywl606";
};
buildInputs = [ ocaml ];

View file

@ -13,6 +13,7 @@ stdenv.mkDerivation {
buildInputs = [ ocaml ];
buildPhase = ''
patchShebangs ./bootstrap
./bootstrap
'';

View file

@ -4,22 +4,22 @@ stdenv.mkDerivation rec {
name = "re2c-${version}";
version = "0.16";
sourceRoot = "${name}-src/re2c";
sourceRoot = "${src.name}/re2c";
src = fetchFromGitHub {
owner = "skvadrik";
repo = "re2c";
rev = version;
owner = "skvadrik";
repo = "re2c";
rev = version;
sha256 = "0cijgmbyx34nwl2jmsswggkgvzy364871rkbxz8biq9x8xrhhjw5";
};
nativeBuildInputs = [ autoreconfHook ];
meta = {
meta = with stdenv.lib; {
description = "Tool for writing very fast and very flexible scanners";
homepage = "http://re2c.org";
license = stdenv.lib.licenses.publicDomain;
platforms = stdenv.lib.platforms.all;
maintainers = [ stdenv.lib.maintainers.thoughtpolice ];
license = licenses.publicDomain;
platforms = platforms.all;
maintainers = with maintainers; [ thoughtpolice ];
};
}

View file

@ -4,13 +4,13 @@
rustPlatform.buildRustPackage rec {
name = "rust-bindgen-${version}";
version = "0.25.5";
version = "0.26.1";
src = fetchFromGitHub {
owner = "servo";
repo = "rust-bindgen";
rev = "v${version}";
sha256 = "0hv90h279frbxjay5g5vphds6wj3fiid9f2vmg1nr8887y4nif0k";
sha256 = "1w1vbfhmcrcl0vacxkivmavjp51cvpyq5lk75n9zs80q5x38ypna";
};
nativeBuildInputs = [ makeWrapper ];
@ -24,7 +24,7 @@ rustPlatform.buildRustPackage rec {
wrapProgram $out/bin/bindgen --set LIBCLANG_PATH "${llvmPackages.clang-unwrapped}/lib"
'';
depsSha256 = "0ylm1wzf9aqcyfmmgpb18bdp5c5d73pnnjw13cv373511mkj1y0m";
depsSha256 = "0s1x4ygjwc14fbl2amz5g6n7lq07zy8b00mvwfw6vi6k4bq1g59i";
doCheck = false; # A test fails because it can't find standard headers in NixOS

View file

@ -1,23 +1,17 @@
{ stdenv, gcc, pkgconfig, cmake, bluez, ffmpeg, libao, mesa, gtk2, glib
, gettext, git, libpthreadstubs, libXrandr, libXext, readline
, openal, libXdmcp, portaudio, fetchgit, libusb, libevdev
, pcre, gettext, libpthreadstubs, libXrandr, libXext, libSM, readline
, openal, libXdmcp, portaudio, fetchFromGitHub, libusb, libevdev
, libpulseaudio ? null }:
stdenv.mkDerivation rec {
name = "dolphin-emu-20150802";
src = fetchgit {
url = git://github.com/dolphin-emu/dolphin.git;
rev = "5097a22844b850b429872f4de390bd958b11a616";
sha256 = "09jx61cxvfimnq1snkv6w3m9qidrgp0j0w81c7pbkpmcwysz8xya";
fetchSubmodules = false;
name = "dolphin-emu-20170705";
src = fetchFromGitHub {
owner = "dolphin-emu";
repo = "dolphin";
rev = "29cc009706f133aac39ebaa7003d37555b926109";
sha256 = "0axd2z14lyqlaxrjssc0dkqnjdk3ccxh2fqrhya0jc2rsm8ighlz";
};
postPatch = ''
for f in Source/Core/VideoBackends/{Software,OGL}/RasterFont.{h,cpp}; do
substituteInPlace "$f" --replace " CHAR_WIDTH " " CHARWIDTH "
done
'';
cmakeFlags = ''
-DGTK2_GLIBCONFIG_INCLUDE_DIR=${glib.out}/lib/glib-2.0/include
-DGTK2_GDKCONFIG_INCLUDE_DIR=${gtk2.out}/lib/gtk-2.0/include
@ -27,9 +21,9 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
buildInputs = [ gcc pkgconfig cmake bluez ffmpeg libao mesa gtk2 glib
gettext libpthreadstubs libXrandr libXext readline openal
libevdev git libXdmcp portaudio libusb libpulseaudio ];
buildInputs = [ gcc pkgconfig cmake bluez ffmpeg libao mesa gtk2 glib pcre
gettext libpthreadstubs libXrandr libXext libSM readline openal
libevdev libXdmcp portaudio libusb libpulseaudio ];
meta = {
homepage = http://dolphin-emu.org/;

View file

@ -22,6 +22,7 @@ stdenv.mkDerivation ((lib.optionalAttrs (! isNull buildScript) {
buildInputs = toBuildInputs pkgArches (with supportFlags; (pkgs:
[ pkgs.freetype ]
++ lib.optional stdenv.isLinux pkgs.libcap
++ lib.optional pngSupport pkgs.libpng
++ lib.optional jpegSupport pkgs.libjpeg
++ lib.optional cupsSupport pkgs.cups

View file

@ -27,11 +27,11 @@ let
in
stdenv.mkDerivation rec {
name = "busybox-1.26.2";
name = "busybox-1.27.0";
src = fetchurl {
url = "http://busybox.net/downloads/${name}.tar.bz2";
sha256 = "05mg6rh5smkzfwqfcazkpwy6h6555llsazikqnvwkaf17y8l8gns";
sha256 = "1kcr0jvik0c31ls4f3li359xv7w0b60hv64fknj28bwlkdgbvpx5";
};
hardeningDisable = [ "format" ] ++ lib.optional enableStatic [ "fortify" ];

View file

@ -39,7 +39,7 @@ with stdenv.lib;
SCHEDSTATS n
DETECT_HUNG_TASK y
${optionalString (versionOlder version "4.10") ''
${optionalString (versionOlder version "4.4") ''
CPU_NOTIFIER_ERROR_INJECT? n
''}
@ -92,6 +92,14 @@ with stdenv.lib;
# module, so that the initrd gets a good I/O scheduler.
IOSCHED_CFQ y
BLK_CGROUP y # required by CFQ
IOSCHED_DEADLINE y
${optionalString (versionAtLeast version "4.11") ''
MQ_IOSCHED_DEADLINE y
''}
${optionalString (versionAtLeast version "4.12") ''
MQ_IOSCHED_KYBER y
IOSCHED_BFQ m
''}
# Enable NUMA.
NUMA? y
@ -593,7 +601,7 @@ with stdenv.lib;
FW_LOADER_USER_HELPER_FALLBACK? n
# Disable various self-test modules that have no use in a production system
${optionalString (versionOlder version "4.9") ''
${optionalString (versionOlder version "4.4") ''
ARM_KPROBES_TEST? n
''}
@ -602,8 +610,6 @@ with stdenv.lib;
BACKTRACE_SELF_TEST? n
CRC32_SELFTEST? n
CRYPTO_TEST? n
DRM_DEBUG_MM_SELFTEST? n
EFI_TEST? n
GLOB_SELFTEST? n
INTERVAL_TREE_TEST? n
LNET_SELFTEST? n
@ -612,29 +618,37 @@ with stdenv.lib;
NOTIFIER_ERROR_INJECTION? n
PERCPU_TEST? n
RBTREE_TEST? n
RCU_PERF_TEST? n
RCU_TORTURE_TEST? n
TEST_ASYNC_DRIVER_PROBE? n
TEST_BITMAP? n
TEST_BPF? n
TEST_FIRMWARE? n
TEST_HASH? n
TEST_HEXDUMP? n
TEST_KSTRTOX? n
TEST_LIST_SORT? n
TEST_LKM? n
TEST_PARMAN? n
TEST_PRINTF? n
TEST_RHASHTABLE? n
TEST_SORT? n
TEST_STATIC_KEYS? n
TEST_STRING_HELPERS? n
TEST_UDELAY? n
TEST_USER_COPY? n
TEST_UUID? n
WW_MUTEX_SELFTEST? n
XZ_DEC_TEST? n
${optionalString (versionOlder version "4.4") ''
EFI_TEST? n
RCU_PERF_TEST? n
TEST_ASYNC_DRIVER_PROBE? n
TEST_BITMAP? n
TEST_HASH? n
TEST_UUID? n
''}
${optionalString (versionAtLeast version "4.11") ''
DRM_DEBUG_MM_SELFTEST? n
TEST_PARMAN? n
TEST_SORT? n
WW_MUTEX_SELFTEST? n
''}
# ChromiumOS support
${optionalString (features.chromiumos or false) ''
CHROME_PLATFORMS y

View file

@ -1,15 +1,15 @@
{ stdenv, hostPlatform, fetchFromGitHub, perl, buildLinux, ... } @ args:
let
version = "4.11.8";
revision = "a";
sha256 = "02wy5gpgl2hz06dlqcgg9i3ydnxkyw0m1350vc5xyh6ld5r7jnn5";
version = "4.12";
revision = "b";
sha256 = "117n42sw2g40p68plr7b77mq18vibqjv0i4130f1bj6gk0sqn5i6";
in
import ./generic.nix (args // {
version = "${version}-${revision}";
extraMeta.branch = "4.11";
modDirVersion = version;
extraMeta.branch = "4.12";
modDirVersion = "${version}.0";
src = fetchFromGitHub {
inherit sha256;

View file

@ -39,6 +39,9 @@ in stdenv.mkDerivation rec {
sed -i "s,^PATH=.*,PATH=$out/bin:${statdPath}," utils/statd/start-statd
configureFlags="--with-start-statd=$out/bin/start-statd $configureFlags"
substituteInPlace systemd/nfs-utils.service \
--replace "/bin/true" "${coreutils}/bin/true"
substituteInPlace utils/mount/Makefile.in \
--replace "chmod 4511" "chmod 0511"

View file

@ -2,7 +2,7 @@
buildGoPackage rec {
name = "caddy-${version}";
version = "0.10.3";
version = "0.10.4";
goPackagePath = "github.com/mholt/caddy";
@ -12,7 +12,7 @@ buildGoPackage rec {
owner = "mholt";
repo = "caddy";
rev = "v${version}";
sha256 = "0srz1cji1z6ag591vfwjd0aypi32hr7hh9ypps8p5szf075rkr8p";
sha256 = "0zch19a38487dflx84dlkwz67by9g4v2v8d7wrslqhs14a0sifhk";
};
buildFlagsArray = ''
@ -20,12 +20,10 @@ buildGoPackage rec {
-X github.com/mholt/caddy/caddy/caddymain.gitTag=v${version}
'';
goDeps = ./deps.nix;
meta = with stdenv.lib; {
homepage = https://caddyserver.com;
description = "Fast, cross-platform HTTP/2 web server with automatic HTTPS";
license = licenses.asl20;
maintainers = with maintainers; [ rushmorem fpletz ];
maintainers = with maintainers; [ rushmorem fpletz zimbatm ];
};
}

View file

@ -1,201 +0,0 @@
# This file was generated by https://github.com/kamilchm/go2nix v1.2.0
[
{
goPackagePath = "github.com/codahale/aesnicheck";
fetch = {
type = "git";
url = "https://github.com/codahale/aesnicheck";
rev = "349fcc471aaccc29cd074e1275f1a494323826cd";
sha256 = "1zab6jjs5hiqpq484pbpx490zlj42v7hf4wwkqmicyaq7wclfnka";
};
}
{
goPackagePath = "github.com/dustin/go-humanize";
fetch = {
type = "git";
url = "https://github.com/dustin/go-humanize";
rev = "259d2a102b871d17f30e3cd9881a642961a1e486";
sha256 = "1jiada1pfhw2wwkx7cjsa6ixa8c37w51b3x09vlr4m0l945pval9";
};
}
{
goPackagePath = "github.com/flynn/go-shlex";
fetch = {
type = "git";
url = "https://github.com/flynn/go-shlex";
rev = "3f9db97f856818214da2e1057f8ad84803971cff";
sha256 = "1j743lysygkpa2s2gii2xr32j7bxgc15zv4113b0q9jhn676ysia";
};
}
{
goPackagePath = "github.com/gorilla/websocket";
fetch = {
type = "git";
url = "https://github.com/gorilla/websocket";
rev = "a91eba7f97777409bc2c443f5534d41dd20c5720";
sha256 = "13cg6wwkk2ddqbm0nh9fpx4mq7f6qym12ch4lvs53n028ycdgw87";
};
}
{
goPackagePath = "github.com/hashicorp/go-syslog";
fetch = {
type = "git";
url = "https://github.com/hashicorp/go-syslog";
rev = "b609c7d9de4658cded34a7336b90886c56f9dbdb";
sha256 = "1k0dqkizj4vwgdsb7x7fzmcgz9079sczhpn9whd0r3xcnqs7pkkb";
};
}
{
goPackagePath = "github.com/hashicorp/golang-lru";
fetch = {
type = "git";
url = "https://github.com/hashicorp/golang-lru";
rev = "0a025b7e63adc15a622f29b0b2c4c3848243bbf6";
sha256 = "1iq7lbpsz7ks052mpznmkf8s4k43p51z4dik2n9ivrxk666q2wxi";
};
}
{
goPackagePath = "github.com/jimstudt/http-authentication";
fetch = {
type = "git";
url = "https://github.com/jimstudt/http-authentication";
rev = "3eca13d6893afd7ecabe15f4445f5d2872a1b012";
sha256 = "1drw3bhrxpjzwryqz9nq5s0yyjqyd42iym3bh1zjs5qsh401cq08";
};
}
{
goPackagePath = "github.com/lucas-clemente/aes12";
fetch = {
type = "git";
url = "https://github.com/lucas-clemente/aes12";
rev = "25700e67be5c860bcc999137275b9ef8b65932bd";
sha256 = "08zbfy5n6ki6fjaihk7y686dwksdglds9c8f1klkldvjbg8mw4vp";
};
}
{
goPackagePath = "github.com/lucas-clemente/fnv128a";
fetch = {
type = "git";
url = "https://github.com/lucas-clemente/fnv128a";
rev = "393af48d391698c6ae4219566bfbdfef67269997";
sha256 = "1cvq0p0k86p668yz9rb3z98fz3f9phvbvqp6ilbasiy4y2x5w184";
};
}
{
goPackagePath = "github.com/lucas-clemente/quic-go";
fetch = {
type = "git";
url = "https://github.com/lucas-clemente/quic-go";
rev = "bb280f29be75d6d78c64a32692b668e2a99c57bb";
sha256 = "1a6xqh7z8amb1372kb63kmn764w6c0ypcl7c4c7kyy2sqx8lyjyc";
};
}
{
goPackagePath = "github.com/lucas-clemente/quic-go-certificates";
fetch = {
type = "git";
url = "https://github.com/lucas-clemente/quic-go-certificates";
rev = "d2f86524cced5186554df90d92529757d22c1cb6";
sha256 = "033099nv0y9pbv0v292x6g0mvwr2w02jf4vvpwx6sjpwbla4xjxd";
};
}
{
goPackagePath = "github.com/miekg/dns";
fetch = {
type = "git";
url = "https://github.com/miekg/dns";
rev = "e78414ef75607394ad7d917824f07f381df2eafa";
sha256 = "1g5rgbjy7nr0l6074plh2aqiwiy9nck9bhhks9c5ki3r00fjj3ay";
};
}
{
goPackagePath = "github.com/naoina/go-stringutil";
fetch = {
type = "git";
url = "https://github.com/naoina/go-stringutil";
rev = "6b638e95a32d0c1131db0e7fe83775cbea4a0d0b";
sha256 = "00831p1wn3rimybk1z8l30787kn1akv5jax5wx743nn76qcmkmc6";
};
}
{
goPackagePath = "github.com/naoina/toml";
fetch = {
type = "git";
url = "https://github.com/naoina/toml";
rev = "e6f5723bf2a66af014955e0888881314cf294129";
sha256 = "0kh7xnckw689kksh23ginyl3g8h2yqyvjh54nmnfvjaj886lvbsf";
};
}
{
goPackagePath = "github.com/russross/blackfriday";
fetch = {
type = "git";
url = "https://github.com/russross/blackfriday";
rev = "067529f716f4c3f5e37c8c95ddd59df1007290ae";
sha256 = "1l61ib6r6mg587p58li5zhafjkkmrzacachcjg1cvw0k4zza9137";
};
}
{
goPackagePath = "github.com/xenolf/lego";
fetch = {
type = "git";
url = "https://github.com/xenolf/lego";
rev = "aaa8e70aec58a858b6bef0706b367dd5e8d58128";
sha256 = "0899mdgb01bpz83zyxzln8ygyll78gmcslw5i36q9m60pqj59z60";
};
}
{
goPackagePath = "golang.org/x/crypto";
fetch = {
type = "git";
url = "https://go.googlesource.com/crypto";
rev = "e7ba82683099cae71475961448ab8f903ea77c26";
sha256 = "0w6zvzchgzk197siq3qbsh6pdpnx7g9xc08k5axv5yc6w8qhgx11";
};
}
{
goPackagePath = "golang.org/x/net";
fetch = {
type = "git";
url = "https://go.googlesource.com/net";
rev = "1a68b1313cf4ad7778376e82641197b60c02f65c";
sha256 = "1nfva16dasc9h5y1njcfnr2g09damk754g3yliij3ar06k06p1xf";
};
}
{
goPackagePath = "golang.org/x/text";
fetch = {
type = "git";
url = "https://go.googlesource.com/text";
rev = "210eee5cf7323015d097341bcf7166130d001cd8";
sha256 = "0sm9548ky5vi2sr5zjzwwna5f4pfs0nmlaw0pjnamxwfjzy4jnfb";
};
}
{
goPackagePath = "gopkg.in/natefinch/lumberjack.v2";
fetch = {
type = "git";
url = "https://gopkg.in/natefinch/lumberjack.v2";
rev = "a96e63847dc3c67d17befa69c303767e2f84e54f";
sha256 = "1l3vlv72b7rfkpy1164kwd3qzrqmmjnb67akzxqp2mlvc66k6p3d";
};
}
{
goPackagePath = "gopkg.in/square/go-jose.v1";
fetch = {
type = "git";
url = "https://gopkg.in/square/go-jose.v1";
rev = "aa2e30fdd1fe9dd3394119af66451ae790d50e0d";
sha256 = "0drajyadd6c4m5qv0jxcv748qczg8sgxz28nva1jn39f234m02is";
};
}
{
goPackagePath = "gopkg.in/yaml.v2";
fetch = {
type = "git";
url = "https://gopkg.in/yaml.v2";
rev = "cd8b52f8269e0feb286dfeef29f8fe4d5b397e0b";
sha256 = "1hj2ag9knxflpjibck0n90jrhsrqz7qvad4qnif7jddyapi9bqzl";
};
}
]

View file

@ -16,12 +16,12 @@ assert ldapSupport -> aprutil.ldapSupport && openldap != null;
assert http2Support -> nghttp2 != null;
stdenv.mkDerivation rec {
version = "2.4.25";
version = "2.4.26";
name = "apache-httpd-${version}";
src = fetchurl {
url = "mirror://apache/httpd/httpd-${version}.tar.bz2";
sha256 = "1cl0bkqg6srb1sypga0cn8dcmdyxldavij73zmmkxvlz3kgw4zpq";
sha1 = "b10b0f569a0e5adfef61d8c7f0813d42046e399a";
};
# FIXME: -dev depends on -doc

View file

@ -0,0 +1,23 @@
{ stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
name = "consul_exporter-${version}";
version = "0.3.0";
goPackagePath = "github.com/prometheus/consul_exporter";
src = fetchFromGitHub {
owner = "prometheus";
repo = "consul_exporter";
rev = "v${version}";
sha256 = "1zffbxyfmqpbdqkx5rb5vjgd9j4p4zcrh6jvn1zhbdzrcs7khnd9";
};
meta = with stdenv.lib; {
description = "Prometheus exporter for Consul metrics";
homepage = https://github.com/prometheus/consul_exporter;
license = licenses.asl20;
maintainers = with maintainers; [ hectorj ];
platforms = platforms.unix;
};
}

View file

@ -45,7 +45,7 @@ stdenv.mkDerivation rec {
meta = {
description = "TCG Platform Trust Service (PTS)";
homepage = "ttp://sourceforge.jp/projects/openpts";
homepage = "http://sourceforge.jp/projects/openpts";
license = stdenv.lib.licenses.cpl10;
platforms = stdenv.lib.platforms.linux;
maintainers = with stdenv.lib.maintainers; [ tstrobel ];

View file

@ -2,7 +2,7 @@
buildGoPackage rec {
name = "elvish-${version}";
version = "0.5";
version = "0.9";
goPackagePath = "github.com/elves/elvish";
@ -10,13 +10,11 @@ buildGoPackage rec {
repo = "elvish";
owner = "elves";
rev = version;
sha256 = "1dk5f8a2wpgd5cw45ippvx46fxk0yap64skfpzpiqz8bkbnrwbz6";
sha256 = "0alsv04iihrk1nffp6fmyzxid26dqhg1k45957c2ymyzyq9cglxj";
};
goDeps = ./deps.nix;
meta = with stdenv.lib; {
description = "A Novel unix shell in go language";
description = "A friendly and expressive Unix shell";
homepage = https://github.com/elves/elvish;
license = licenses.bsd2;
maintainers = with maintainers; [ vrthra ];

View file

@ -1,20 +0,0 @@
[
{
goPackagePath = "github.com/elves/getopt";
fetch = {
type = "git";
url = "https://github.com/elves/getopt";
rev = "f91a7bf920995832d55a1182f26657bc975b9c24";
sha256 = "0wz5dz0iq1b1c2w30mmcgll9xidsrnlvs2906jw9szy0h67310za";
};
}
{
goPackagePath = "github.com/mattn/go-sqlite3";
fetch = {
type = "git";
url = "https://github.com/mattn/go-sqlite3";
rev = "b4142c444a8941d0d92b0b7103a24df9cd815e42";
sha256 = "0xq2y4am8dz9w9aaq24s1npg1sn8pf2gn4nki73ylz2fpjwq9vla";
};
}
]

View file

@ -11,15 +11,17 @@ stdenv.mkDerivation rec {
sha256 = "0lwp6hy3kfk7xfx4xvbk1ir8zkzm7gfjbm4bf6xg1y6iw9jq9dnl";
};
buildCommand = ''
installPhase = ''
mkdir -p $out/share/fish-foreign-env/functions/
cp $src/functions/* $out/share/fish-foreign-env/functions/
cp functions/* $out/share/fish-foreign-env/functions/
sed -e "s|sed|${gnused}/bin/sed|" \
-e "s|bash|${bash}/bin/bash|" \
-e "s|\| tr|\| ${coreutils}/bin/tr|" \
-i $out/share/fish-foreign-env/functions/*
'';
patches = [ ./hide-path-warnings.patch ];
meta = with stdenv.lib; {
description = "A foreign environment interface for Fish shell";
license = licenses.mit;

View file

@ -0,0 +1,16 @@
diff --git a/functions/fenv.apply.fish b/functions/fenv.apply.fish
index 34a25e3..6837e7f 100644
--- a/functions/fenv.apply.fish
+++ b/functions/fenv.apply.fish
@@ -30,8 +30,9 @@ function fenv.apply
if test "$key" = 'PATH'
set value (echo $value | tr ':' '\n')
+ set -g -x $key $value ^/dev/null
+ else
+ set -g -x $key $value
end
-
- set -g -x $key $value
end
end

Some files were not shown because too many files have changed in this diff Show more