Merge master into staging-next

This commit is contained in:
Frederik Rietdijk 2019-09-11 11:35:54 +02:00
commit 74a391617f
97 changed files with 2407 additions and 3312 deletions

View File

@ -240,6 +240,8 @@ in
services.avahi.enable = mkDefault true; services.avahi.enable = mkDefault true;
xdg.portal.extraPortals = [ pkgs.gnome3.gnome-shell ];
services.geoclue2.enable = mkDefault true; services.geoclue2.enable = mkDefault true;
services.geoclue2.enableDemoAgent = false; # GNOME has its own geoclue agent services.geoclue2.enableDemoAgent = false; # GNOME has its own geoclue agent

View File

@ -30,6 +30,7 @@ import ./make-test.nix ({ pkgs, ...} :
enable = true; enable = true;
user = "alice"; user = "alice";
}; };
hardware.pulseaudio.enable = true; # needed for the factl test, /dev/snd/* exists without them but udev doesn't care then
virtualisation.memorySize = 1024; virtualisation.memorySize = 1024;
environment.systemPackages = [ sddm_theme ]; environment.systemPackages = [ sddm_theme ];
}; };

View File

@ -17,6 +17,10 @@ import ./make-test.nix ({ pkgs, ...} : {
services.xserver.desktopManager.xfce.enable = true; services.xserver.desktopManager.xfce.enable = true;
environment.systemPackages = [ pkgs.xorg.xmessage ]; environment.systemPackages = [ pkgs.xorg.xmessage ];
hardware.pulseaudio.enable = true; # needed for the factl test, /dev/snd/* exists without them but udev doesn't care then
virtualisation.memorySize = 1024;
}; };
testScript = testScript =

View File

@ -12,6 +12,10 @@ import ./make-test.nix ({ pkgs, ...} : {
services.xserver.displayManager.auto.user = "alice"; services.xserver.displayManager.auto.user = "alice";
services.xserver.desktopManager.xfce4-14.enable = true; services.xserver.desktopManager.xfce4-14.enable = true;
hardware.pulseaudio.enable = true; # needed for the factl test, /dev/snd/* exists without them but udev doesn't care then
virtualisation.memorySize = 1024;
}; };
testScript = testScript =

View File

@ -4,6 +4,7 @@
, llvmPackages , llvmPackages
}: }:
with stdenv.lib;
let let
verMajor = "1"; verMajor = "1";
verMinor = "2"; verMinor = "2";
@ -47,7 +48,13 @@ stdenv.mkDerivation rec {
sha256 = "19x000m3jwnkqgi6ic81lkzyjvvxcfacw2j0vcfcaknvvagzhyhb"; sha256 = "19x000m3jwnkqgi6ic81lkzyjvvxcfacw2j0vcfcaknvvagzhyhb";
}; };
hunspellDictionaries = with stdenv.lib; filter isDerivation (unique (attrValues hunspellDicts)); hunspellDictionaries = filter isDerivation (unique (attrValues hunspellDicts));
# These dicts contain identically-named dict files, so we only keep the
# -large versions in case of clashes
largeDicts = filter (d: hasInfix "-large-wordlist" d) hunspellDictionaries;
otherDicts = filter (d: !(hasAttr "dictFileName" d &&
elem d.dictFileName (map (d: d.dictFileName) largeDicts))) hunspellDictionaries;
dictionaries = largeDicts ++ otherDicts;
mathJaxSrc = fetchurl { mathJaxSrc = fetchurl {
url = https://s3.amazonaws.com/rstudio-buildtools/mathjax-26.zip; url = https://s3.amazonaws.com/rstudio-buildtools/mathjax-26.zip;
@ -77,7 +84,7 @@ stdenv.mkDerivation rec {
mv gwt-${gwtVer} $GWT_LIB_DIR/gwt/${gwtVer} mv gwt-${gwtVer} $GWT_LIB_DIR/gwt/${gwtVer}
mkdir dependencies/common/dictionaries mkdir dependencies/common/dictionaries
for dict in ${builtins.concatStringsSep " " hunspellDictionaries}; do for dict in ${builtins.concatStringsSep " " dictionaries}; do
for i in "$dict/share/hunspell/"*; do for i in "$dict/share/hunspell/"*; do
ln -sv $i dependencies/common/dictionaries/ ln -sv $i dependencies/common/dictionaries/
done done

View File

@ -1,15 +1,15 @@
{ stdenv, fetchFromGitHub, pkgconfig, cmake, libeb, lzo, qtbase { mkDerivation, lib, fetchFromGitHub, pkgconfig, cmake, libeb, lzo
, qtmultimedia, qttools, qtwebengine }: , qtbase, qtmultimedia, qttools, qtwebengine }:
stdenv.mkDerivation { mkDerivation {
pname = "qolibri"; pname = "qolibri";
version = "2018-11-14"; version = "2019-07-22";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "ludios"; owner = "ludios";
repo = "qolibri"; repo = "qolibri";
rev = "133a1c33e74d931ad54407f70d84a0016d96981f"; rev = "b58f9838d39300cba444eba725a369181c5d746b";
sha256 = "16ifix0q8ww4l3xflgxr9j81c0lzlnkjr8fj961x3nxz7288pdg2"; sha256 = "0kcc6dvbcmq9y7hk8mp23pydiaqz6f0clg64d1f2y04ppphmah42";
}; };
nativeBuildInputs = [ pkgconfig cmake ]; nativeBuildInputs = [ pkgconfig cmake ];
@ -19,7 +19,7 @@ stdenv.mkDerivation {
enableParallelBuilding = true; enableParallelBuilding = true;
meta = with stdenv.lib; { meta = with lib; {
homepage = https://github.com/ludios/qolibri; homepage = https://github.com/ludios/qolibri;
description = "EPWING reader for viewing Japanese dictionaries"; description = "EPWING reader for viewing Japanese dictionaries";
platforms = platforms.linux; platforms = platforms.linux;

View File

@ -47,7 +47,7 @@ in mkDerivationWith python3Packages.buildPythonApplication rec {
propagatedBuildInputs = with python3Packages; [ propagatedBuildInputs = with python3Packages; [
pyyaml pyqt5 pyqtwebengine jinja2 pygments pyyaml pyqt5 pyqtwebengine jinja2 pygments
pypeg2 cssutils pyopengl attrs pypeg2 cssutils pyopengl attrs setuptools
# scripts and userscripts libs # scripts and userscripts libs
tldextract beautifulsoup4 tldextract beautifulsoup4
pyreadability pykeepass stem pyreadability pykeepass stem

View File

@ -2,7 +2,7 @@
let let
stableVersion = "2.1.21"; stableVersion = "2.1.21";
previewVersion = "2.2.0rc4"; previewVersion = "2.2.0rc5";
addVersion = args: addVersion = args:
let version = if args.stable then stableVersion else previewVersion; let version = if args.stable then stableVersion else previewVersion;
branch = if args.stable then "stable" else "preview"; branch = if args.stable then "stable" else "preview";
@ -18,7 +18,7 @@ in {
}; };
guiPreview = mkGui { guiPreview = mkGui {
stable = false; stable = false;
sha256Hash = "14fzjaanaxya97wrya2lybxz6qv72fk4ws8i92zvjz4jkvjdk9n3"; sha256Hash = "0x4sp6yjnvzpk8cxdqlf51njckmvvkijdb7rvcb4hvqq1ab6gb2x";
}; };
serverStable = mkServer { serverStable = mkServer {
@ -27,6 +27,6 @@ in {
}; };
serverPreview = mkServer { serverPreview = mkServer {
stable = false; stable = false;
sha256Hash = "03s2kq5f8whk14rhprg9yp3918641b1cwj6djcbjw8xpz0n3w022"; sha256Hash = "0inj6fac0683s1sxaba3ljia90cfach0y42xylzgzza36wpyqpqg";
}; };
} }

View File

@ -14,11 +14,11 @@ assert pulseaudioSupport -> libpulseaudio != null;
let let
inherit (stdenv.lib) concatStringsSep makeBinPath optional; inherit (stdenv.lib) concatStringsSep makeBinPath optional;
version = "3.0.287250.0828"; version = "3.0.291715.0908";
srcs = { srcs = {
x86_64-linux = fetchurl { x86_64-linux = fetchurl {
url = "https://zoom.us/client/${version}/zoom_x86_64.tar.xz"; url = "https://zoom.us/client/${version}/zoom_x86_64.tar.xz";
sha256 = "0k4h43wydbcyx7b7gwxkmvbph8qc6kjpcypd7vwz8rph1l7kl1y1"; sha256 = "1f2fcwf0p86bxcnfdhij6hvgizd7n7gjcccwzdm2jv0dbqskad2f";
}; };
}; };

View File

@ -1,4 +0,0 @@
---
gem:
https://rubygems.org/downloads/mini_portile-0.6.0.gem: 09kcn4g63xrdirgwxgjikqg976rr723bkc9bxfr29pk22cj3wavn
https://rubygems.org/downloads/gpgme-2.0.7.gem: 1p84zhiri2ihcld7py9mwc2kg5xs5da8fk11zhndrhmw05yvf5mr

View File

@ -1,9 +0,0 @@
source "https://rubygems.org"
gem 'rake'
gem 'sup'
gem 'gpgme'
# Sup tries to `xapian-ruby` in its extconf instead of listing it as a
# dependency.
gem 'xapian-ruby', "~> 1.2.22"

View File

@ -1,41 +0,0 @@
GEM
remote: https://rubygems.org/
specs:
chronic (0.9.1)
gpgme (2.0.18)
mini_portile2 (~> 2.3)
highline (2.0.2)
locale (2.1.2)
lockfile (2.1.3)
mime-types (3.2.2)
mime-types-data (~> 3.2015)
mime-types-data (3.2019.0331)
mini_portile2 (2.4.0)
ncursesw (1.4.10)
rake (12.3.2)
rmail-sup (1.0.1)
sup (0.22.1)
chronic (~> 0.9.1)
highline
locale (~> 2.0)
lockfile
mime-types (> 2.0)
ncursesw (~> 1.4.0)
rmail-sup (~> 1.0.1)
trollop (>= 1.12)
unicode (~> 0.4.4)
trollop (2.9.9)
unicode (0.4.4.4)
xapian-ruby (1.2.22)
PLATFORMS
ruby
DEPENDENCIES
gpgme
rake
sup
xapian-ruby (~> 1.2.22)
BUNDLED WITH
1.17.2

View File

@ -1,28 +0,0 @@
{ lib, bundlerApp, bundlerUpdateScript }:
bundlerApp {
pname = "sup";
gemdir = ./.;
exes = [
"sup"
"sup-add"
"sup-config"
"sup-dump"
"sup-import-dump"
"sup-psych-ify-config-files"
"sup-recover-sources"
"sup-sync"
"sup-sync-back-maildir"
"sup-tweak-labels"
];
passthru.updateScript = bundlerUpdateScript "sup";
meta = with lib; {
description = "A curses threads-with-tags style email client";
homepage = http://sup-heliotrope.github.io;
license = licenses.gpl2;
maintainers = with maintainers; [ cstrahan lovek323 manveru nicknovitski ];
platforms = platforms.unix;
};
}

View File

@ -1,155 +0,0 @@
{
chronic = {
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "0kspaxpfy7yvyk1lvpx31w852qfj8wb9z04mcj5bzi70ljb9awqk";
type = "gem";
};
version = "0.9.1";
};
gpgme = {
dependencies = ["mini_portile2"];
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "12fqirxr964mc8jwsfl5nif6q4wcckrmj7w4c9ci4xg9xy2b9v6m";
type = "gem";
};
version = "2.0.18";
};
highline = {
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "1g0zpalfj8wvca86hcnirir5py2zyqrhkgdgv9f87fxkjaw815wr";
type = "gem";
};
version = "2.0.2";
};
locale = {
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "1sls9bq4krx0fmnzmlbn64dw23c4d6pz46ynjzrn9k8zyassdd0x";
type = "gem";
};
version = "2.1.2";
};
lockfile = {
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "0dij3ijywylvfgrpi2i0k17f6w0wjhnjjw0k9030f54z56cz7jrr";
type = "gem";
};
version = "2.1.3";
};
mime-types = {
dependencies = ["mime-types-data"];
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "0fjxy1jm52ixpnv3vg9ld9pr9f35gy0jp66i1njhqjvmnvq0iwwk";
type = "gem";
};
version = "3.2.2";
};
mime-types-data = {
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "1m00pg19cm47n1qlcxgl91ajh2yq0fszvn1vy8fy0s1jkrp9fw4a";
type = "gem";
};
version = "3.2019.0331";
};
mini_portile2 = {
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "15zplpfw3knqifj9bpf604rb3wc1vhq6363pd6lvhayng8wql5vy";
type = "gem";
};
version = "2.4.0";
};
ncursesw = {
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "1nc14wls1yiigz593vw7580hb99lf4n485axapiz6sqpg1jnlhcr";
type = "gem";
};
version = "1.4.10";
};
rake = {
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "1sy5a7nh6xjdc9yhcw31jji7ssrf9v5806hn95gbrzr998a2ydjn";
type = "gem";
};
version = "12.3.2";
};
rmail-sup = {
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "1xswk101s560lxqaax3plqh8vjx7jjspnggdwb3q80m358f92q9g";
type = "gem";
};
version = "1.0.1";
};
sup = {
dependencies = ["chronic" "highline" "locale" "lockfile" "mime-types" "ncursesw" "rmail-sup" "trollop" "unicode"];
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "17s2sxismf46zdhgr6g2v53fw9f3sp1ijx7xdw3wx8qpcsgazcgi";
type = "gem";
};
version = "0.22.1";
};
trollop = {
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "074h7lns72kg1dl5gvz5apl3xz1i0axbnbc01pf2kbw4q0lkpnp4";
type = "gem";
};
version = "2.9.9";
};
unicode = {
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "1v8kxmq9i85agjpl7pnl72688901xhs8wxhmj6lpy16a8xz3nzxk";
type = "gem";
};
version = "0.4.4.4";
};
xapian-ruby = {
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "1xbarnxmhy6r0rxpspn4wk85j183w6b18nah73djcs06b3gfas15";
type = "gem";
};
version = "1.2.22";
};
}

View File

@ -19,7 +19,7 @@ pythonPackages.buildPythonPackage rec {
propagatedBuildInputs = with pythonPackages; [ propagatedBuildInputs = with pythonPackages; [
pyGtkGlade twisted Mako chardet pyxdg pyopenssl service-identity pyGtkGlade twisted Mako chardet pyxdg pyopenssl service-identity
libtorrentRasterbar.dev libtorrentRasterbar.python libtorrentRasterbar.dev libtorrentRasterbar.python setuptools
]; ];
nativeBuildInputs = [ intltool ]; nativeBuildInputs = [ intltool ];

View File

@ -7,11 +7,11 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "ktorrent"; pname = "ktorrent";
version = "${libktorrent.mainVersion}.0"; version = "${libktorrent.mainVersion}";
src = fetchurl { src = fetchurl {
url = "mirror://kde/stable/ktorrent/${libktorrent.mainVersion}/${pname}-${version}.tar.xz"; url = "mirror://kde/stable/ktorrent/${libktorrent.mainVersion}/${pname}-${version}.tar.xz";
sha256 = "18w6qh09k84qpzaxxb76a4g59k4mx5wk897vqp1wwv80g0pqhmrw"; sha256 = "0kwd0npxfg4mdh7f3xadd2zjlqalpb1jxk61505qpcgcssijf534";
}; };
nativeBuildInputs = [ cmake kdoctools extra-cmake-modules ]; nativeBuildInputs = [ cmake kdoctools extra-cmake-modules ];
@ -22,24 +22,6 @@ stdenv.mkDerivation rec {
libktorrent taglib libgcrypt kplotting libktorrent taglib libgcrypt kplotting
]; ];
patches = [
# Fix build with CMake 3.11
(fetchpatch {
url = "https://cgit.kde.org/ktorrent.git/patch/?id=672c5076de7e3a526d9bdbb484a69e9386bc49f8";
sha256 = "1cn4rnbhadrsxqx50fawpd747azskavbjraygr6s11rh1wbfrxid";
})
# Fix build against Qt 5.11
(fetchpatch {
url = "https://cgit.kde.org/ktorrent.git/patch/?id=7876857d204188016a135a25938d9f8530fba4e8";
sha256 = "1wnmfzkhf6y7fd0z2djwphs6i9lsg7fcrj8fqmbyi0j57dvl9gxl";
})
(fetchpatch {
url = "https://cgit.kde.org/ktorrent.git/patch/?id=36d112e56e56541d439326a267eb906da8b3ee60";
sha256 = "1d41pqniljhwqs6awa644s6ks0zwm9sr0hpfygc63wyxnpcrsw2y";
})
];
enableParallelBuilding = true; enableParallelBuilding = true;
meta = with stdenv.lib; { meta = with stdenv.lib; {

View File

@ -1,11 +1,9 @@
{ stdenv, buildGoPackage, fetchFromGitHub }: { stdenv, buildGoModule, fetchFromGitHub, fetchpatch }:
buildGoPackage rec { buildGoModule rec {
pname = "ghq"; pname = "ghq";
version = "0.12.6"; version = "0.12.6";
goPackagePath = "github.com/motemen/ghq";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "motemen"; owner = "motemen";
repo = "ghq"; repo = "ghq";
@ -13,7 +11,7 @@ buildGoPackage rec {
sha256 = "14rm7fvphr7r9x0ys10vhzjwhfhhscgr574n1i1z4lzw551lrnp4"; sha256 = "14rm7fvphr7r9x0ys10vhzjwhfhhscgr574n1i1z4lzw551lrnp4";
}; };
goDeps = ./deps.nix; modSha256 = "1y2v8ir7kc2avgri06nagfyaxqr3xrg4g5pxl9rwzq9dyzm6ci5z";
buildFlagsArray = '' buildFlagsArray = ''
-ldflags= -ldflags=
@ -21,9 +19,17 @@ buildGoPackage rec {
''; '';
postInstall = '' postInstall = ''
install -m 444 -D ${src}/zsh/_ghq $bin/share/zsh/site-functions/_ghq install -m 444 -D ${src}/zsh/_ghq $out/share/zsh/site-functions/_ghq
''; '';
patches = [
(fetchpatch {
# remove once the commit lands in a release.
url = "https://github.com/motemen/ghq/commit/38ac89e60e60182b5870108f9753c9fe8d00e4a6.patch";
sha256 = "1z8yvzmka3sh44my6jnwc39p8zs7mczxgvwc9z0pkqk4vgvaj8gj";
})
];
meta = { meta = {
description = "Remote repository management made easy"; description = "Remote repository management made easy";
homepage = https://github.com/motemen/ghq; homepage = https://github.com/motemen/ghq;

View File

@ -1,138 +0,0 @@
# file generated from go.mod using vgo2nix (https://github.com/adisbladis/vgo2nix)
[
{
goPackagePath = "github.com/Songmu/gitconfig";
fetch = {
type = "git";
url = "https://github.com/Songmu/gitconfig";
rev = "v0.0.2";
sha256 = "0w1xd1mzxzwh755l6lgpn6psjp959kvx89l39zhc8lag9jh7rc44";
};
}
{
goPackagePath = "github.com/daviddengcn/go-colortext";
fetch = {
type = "git";
url = "https://github.com/daviddengcn/go-colortext";
rev = "186a3d44e920";
sha256 = "18piv4zzcb8abbc7fllz9p6rd4zhsy1gc6iygym381caggmmgxgk";
};
}
{
goPackagePath = "github.com/golangplus/bytes";
fetch = {
type = "git";
url = "https://github.com/golangplus/bytes";
rev = "45c989fe5450";
sha256 = "1fpwg1idakpbvkmk8j8yyhv9g7mhr9c922kvff6kj4br4k05zyzr";
};
}
{
goPackagePath = "github.com/golangplus/fmt";
fetch = {
type = "git";
url = "https://github.com/golangplus/fmt";
rev = "2a5d6d7d2995";
sha256 = "1242q05qnawhv0klzy1pbq63q8jxkms5hc7421992hzq2m40k5yn";
};
}
{
goPackagePath = "github.com/golangplus/testing";
fetch = {
type = "git";
url = "https://github.com/golangplus/testing";
rev = "af21d9c3145e";
sha256 = "1g83sjvcavqbh92vyirc48mrqd18yfci08zya0hrgk840cr94czc";
};
}
{
goPackagePath = "github.com/motemen/go-colorine";
fetch = {
type = "git";
url = "https://github.com/motemen/go-colorine";
rev = "45d19169413a";
sha256 = "1mdy6q0926s1frj027nlzlvm2qssmkpjis7ic3l2smajkzh07118";
};
}
{
goPackagePath = "github.com/urfave/cli";
fetch = {
type = "git";
url = "https://github.com/urfave/cli";
rev = "v1.20.0";
sha256 = "0y6f4sbzkiiwrxbl15biivj8c7qwxnvm3zl2dd3mw4wzg4x10ygj";
};
}
{
goPackagePath = "golang.org/x/crypto";
fetch = {
type = "git";
url = "https://go.googlesource.com/crypto";
rev = "c2843e01d9a2";
sha256 = "01xgxbj5r79nmisdvpq48zfy8pzaaj90bn6ngd4nf33j9ar1dp8r";
};
}
{
goPackagePath = "golang.org/x/net";
fetch = {
type = "git";
url = "https://go.googlesource.com/net";
rev = "3ec191127204";
sha256 = "0zzhbkw3065dp1jscp7q8dxw3mkwj95ixnrr8j7c47skis0m11i3";
};
}
{
goPackagePath = "golang.org/x/sync";
fetch = {
type = "git";
url = "https://go.googlesource.com/sync";
rev = "112230192c58";
sha256 = "05i2k43j2d0llq768hg5pf3hb2yhfzp9la1w5wp0rsnnzblr0lfn";
};
}
{
goPackagePath = "golang.org/x/sys";
fetch = {
type = "git";
url = "https://go.googlesource.com/sys";
rev = "d0b11bdaac8a";
sha256 = "18yfsmw622l7gc5sqriv5qmck6903vvhivpzp8i3xfy3z33dybdl";
};
}
{
goPackagePath = "golang.org/x/text";
fetch = {
type = "git";
url = "https://go.googlesource.com/text";
rev = "v0.3.0";
sha256 = "0r6x6zjzhr8ksqlpiwm5gdd7s209kwk5p4lw54xjvz10cs3qlq19";
};
}
{
goPackagePath = "golang.org/x/xerrors";
fetch = {
type = "git";
url = "https://go.googlesource.com/xerrors";
rev = "3ee3066db522";
sha256 = "12xyaa116bq9zy25fwk7zzi83v8aab9lm91pqg0c3jrfkjdbr255";
};
}
{
goPackagePath = "gopkg.in/check.v1";
fetch = {
type = "git";
url = "https://gopkg.in/check.v1";
rev = "20d25e280405";
sha256 = "0k1m83ji9l1a7ng8a7v40psbymxasmssbrrhpdv2wl4rhs0nc3np";
};
}
{
goPackagePath = "gopkg.in/yaml.v2";
fetch = {
type = "git";
url = "https://gopkg.in/yaml.v2";
rev = "v2.2.2";
sha256 = "01wj12jzsdqlnidpyjssmj0r4yavlqy7dwrg7adqd8dicjc4ncsa";
};
}
]

View File

@ -1,13 +1,13 @@
{ lib, stdenv, echo_build_heading, noisily, makeDeps }: { lib, stdenv, echo_build_heading, noisily, makeDeps }:
{ crateName, { crateName,
dependencies, dependencies,
crateFeatures, libName, release, libPath, crateFeatures, crateRenames, libName, release, libPath,
crateType, metadata, crateBin, hasCrateBin, crateType, metadata, crateBin, hasCrateBin,
extraRustcOpts, verbose, colors }: extraRustcOpts, verbose, colors }:
let let
deps = makeDeps dependencies; deps = makeDeps dependencies crateRenames;
rustcOpts = rustcOpts =
lib.lists.foldl' (opts: opt: opts + " " + opt) lib.lists.foldl' (opts: opt: opts + " " + opt)
(if release then "-C opt-level=3" else "-C debuginfo=2") (if release then "-C opt-level=3" else "-C debuginfo=2")

View File

@ -9,6 +9,7 @@
, crateHomepage , crateHomepage
, crateFeatures , crateFeatures
, crateName , crateName
, crateRenames
, crateVersion , crateVersion
, extraLinkFlags , extraLinkFlags
, extraRustcOpts , extraRustcOpts
@ -24,7 +25,7 @@ let version_ = lib.splitString "-" crateVersion;
rustcOpts = lib.lists.foldl' (opts: opt: opts + " " + opt) rustcOpts = lib.lists.foldl' (opts: opt: opts + " " + opt)
(if release then "-C opt-level=3" else "-C debuginfo=2") (if release then "-C opt-level=3" else "-C debuginfo=2")
(["-C codegen-units=$NIX_BUILD_CORES"] ++ extraRustcOpts); (["-C codegen-units=$NIX_BUILD_CORES"] ++ extraRustcOpts);
buildDeps = makeDeps buildDependencies; buildDeps = makeDeps buildDependencies crateRenames;
authors = lib.concatStringsSep ":" crateAuthors; authors = lib.concatStringsSep ":" crateAuthors;
optLevel = if release then 3 else 0; optLevel = if release then 3 else 0;
completeDepsDir = lib.concatStringsSep " " completeDeps; completeDepsDir = lib.concatStringsSep " " completeDeps;

View File

@ -13,13 +13,18 @@ let
then "macos" then "macos"
else stdenv.hostPlatform.parsed.kernel.name; else stdenv.hostPlatform.parsed.kernel.name;
makeDeps = dependencies: makeDeps = dependencies: crateRenames:
(lib.concatMapStringsSep " " (dep: (lib.concatMapStringsSep " " (dep:
let extern = lib.strings.replaceStrings ["-"] ["_"] dep.libName; in let
(if lib.lists.any (x: x == "lib") dep.crateType then extern = lib.strings.replaceStrings ["-"] ["_"] dep.libName;
" --extern ${extern}=${dep.out}/lib/lib${extern}-${dep.metadata}.rlib" name = if builtins.hasAttr dep.crateName crateRenames then
lib.strings.replaceStrings ["-"] ["_"] crateRenames.${dep.crateName}
else else
" --extern ${extern}=${dep.out}/lib/lib${extern}-${dep.metadata}${stdenv.hostPlatform.extensions.sharedLibrary}") extern;
in (if lib.lists.any (x: x == "lib") dep.crateType then
" --extern ${name}=${dep.out}/lib/lib${extern}-${dep.metadata}.rlib"
else
" --extern ${name}=${dep.out}/lib/lib${extern}-${dep.metadata}${stdenv.hostPlatform.extensions.sharedLibrary}")
) dependencies); ) dependencies);
echo_build_heading = colors: '' echo_build_heading = colors: ''
@ -60,7 +65,7 @@ let
in in
crate_: lib.makeOverridable ({ rust, release, verbose, features, buildInputs, crateOverrides, crate_: lib.makeOverridable ({ rust, release, verbose, features, buildInputs, crateOverrides,
dependencies, buildDependencies, dependencies, buildDependencies, crateRenames,
extraRustcOpts, extraRustcOpts,
preUnpack, postUnpack, prePatch, patches, postPatch, preUnpack, postUnpack, prePatch, patches, postPatch,
preConfigure, postConfigure, preBuild, postBuild, preInstall, postInstall }: preConfigure, postConfigure, preBuild, postBuild, preInstall, postInstall }:
@ -70,7 +75,7 @@ let crate = crate_ // (lib.attrByPath [ crate_.crateName ] (attr: {}) crateOverr
buildDependencies_ = buildDependencies; buildDependencies_ = buildDependencies;
processedAttrs = [ processedAttrs = [
"src" "buildInputs" "crateBin" "crateLib" "libName" "libPath" "src" "buildInputs" "crateBin" "crateLib" "libName" "libPath"
"buildDependencies" "dependencies" "features" "buildDependencies" "dependencies" "features" "crateRenames"
"crateName" "version" "build" "authors" "colors" "edition" "crateName" "version" "build" "authors" "colors" "edition"
]; ];
extraDerivationAttrs = lib.filterAttrs (n: v: ! lib.elem n processedAttrs) crate; extraDerivationAttrs = lib.filterAttrs (n: v: ! lib.elem n processedAttrs) crate;
@ -143,13 +148,13 @@ stdenv.mkDerivation (rec {
configurePhase = configureCrate { configurePhase = configureCrate {
inherit crateName buildDependencies completeDeps completeBuildDeps crateDescription inherit crateName buildDependencies completeDeps completeBuildDeps crateDescription
crateFeatures libName build workspace_member release libPath crateVersion crateFeatures crateRenames libName build workspace_member release libPath crateVersion
extraLinkFlags extraRustcOpts extraLinkFlags extraRustcOpts
crateAuthors crateHomepage verbose colors target_os; crateAuthors crateHomepage verbose colors target_os;
}; };
buildPhase = buildCrate { buildPhase = buildCrate {
inherit crateName dependencies inherit crateName dependencies
crateFeatures libName release libPath crateType crateFeatures crateRenames libName release libPath crateType
metadata crateBin hasCrateBin verbose colors metadata crateBin hasCrateBin verbose colors
extraRustcOpts; extraRustcOpts;
}; };
@ -177,4 +182,5 @@ stdenv.mkDerivation (rec {
postInstall = crate_.postInstall or ""; postInstall = crate_.postInstall or "";
dependencies = crate_.dependencies or []; dependencies = crate_.dependencies or [];
buildDependencies = crate_.buildDependencies or []; buildDependencies = crate_.buildDependencies or [];
crateRenames = crate_.crateRenames or {};
} }

View File

@ -22,6 +22,13 @@ let
} }
''; '';
mkBinExtern = name: extern: mkFile name ''
extern crate ${extern};
fn main() {
assert_eq!(${extern}::test(), 23);
}
'';
mkLib = name: mkFile name "pub fn test() -> i32 { return 23; }"; mkLib = name: mkFile name "pub fn test() -> i32 { return 23; }";
mkTest = crateArgs: let mkTest = crateArgs: let
@ -34,12 +41,7 @@ let
libTestBinary = if !isLib then null else mkCrate { libTestBinary = if !isLib then null else mkCrate {
crateName = "run-test-${crateName}"; crateName = "run-test-${crateName}";
dependencies = [ crate ]; dependencies = [ crate ];
src = mkFile "src/main.rs" '' src = mkBinExtern "src/main.rs" libName;
extern crate ${libName};
fn main() {
assert_eq!(${libName}::test(), 23);
}
'';
}; };
in runCommand "run-buildRustCrate-${crateName}-test" { in runCommand "run-buildRustCrate-${crateName}-test" {
@ -71,6 +73,18 @@ let
}; };
crateBinNoPath3 = { crateBin = [{ name = "my-binary5"; }]; src = mkBin "src/bin/main.rs"; }; crateBinNoPath3 = { crateBin = [{ name = "my-binary5"; }]; src = mkBin "src/bin/main.rs"; };
crateBinNoPath4 = { crateBin = [{ name = "my-binary6"; }]; src = mkBin "src/main.rs";}; crateBinNoPath4 = { crateBin = [{ name = "my-binary6"; }]; src = mkBin "src/main.rs";};
crateBinRename1 = {
crateBin = [{ name = "my-binary-rename1"; }];
src = mkBinExtern "src/main.rs" "foo_renamed";
dependencies = [ (mkCrate { crateName = "foo"; src = mkLib "src/lib.rs"; }) ];
crateRenames = { "foo" = "foo_renamed"; };
};
crateBinRename2 = {
crateBin = [{ name = "my-binary-rename2"; }];
src = mkBinExtern "src/main.rs" "foo_renamed";
dependencies = [ (mkCrate { crateName = "foo"; libName = "foolib"; src = mkLib "src/lib.rs"; }) ];
crateRenames = { "foo" = "foo_renamed"; };
};
}; };
brotliCrates = (callPackage ./brotli-crates.nix {}); brotliCrates = (callPackage ./brotli-crates.nix {});
in lib.mapAttrs (key: value: mkTest (value // lib.optionalAttrs (!value?crateName) { crateName = key; })) cases // { in lib.mapAttrs (key: value: mkTest (value // lib.optionalAttrs (!value?crateName) { crateName = key; })) cases // {

View File

@ -1,14 +1,14 @@
{ stdenv, fetchFromGitHub, gdk-pixbuf, librsvg, gtk-engine-murrine }: { stdenv, fetchFromGitHub, gdk-pixbuf, librsvg, gtk-engine-murrine }:
stdenv.mkDerivation { stdenv.mkDerivation rec {
pname = "matcha"; pname = "matcha";
version = "2019-06-22"; version = "2019-07";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "vinceliuice"; owner = "vinceliuice";
repo = "matcha"; repo = pname;
rev = "f42df7a3219d7fbacb7be1b2e0e416d74339865e"; rev = "v${version}";
sha256 = "1x954rmxv14xndn4ybhbr4pmzccnwqp462bpvzd2hak5wsqs4wxc"; sha256 = "1jv7qq4lsjpz40wchrqlzc8w4ggrmwjavy4ipzz11jal99skpv7i";
}; };
buildInputs = [ gdk-pixbuf librsvg ]; buildInputs = [ gdk-pixbuf librsvg ];

View File

@ -0,0 +1,44 @@
{ lib, mkDerivation, fetchFromGitHub
, kcoreaddons, kwindowsystem, plasma-framework, systemsettings }:
mkDerivation rec {
pname = "kwin-tiling";
version = "2.2";
src = fetchFromGitHub {
owner = "kwin-scripts";
repo = "kwin-tiling";
rev = "v${version}";
sha256 = "1sx64xv7g9yh3j26zxxrbndv79xam9jq0vs00fczgfv2n0m7j7bl";
};
# This is technically not needed, but we might as well clean up
postPatch = ''
rm release.sh
'';
buildInputs = [
kcoreaddons kwindowsystem plasma-framework systemsettings
];
dontBuild = true;
# 1. --global still installs to $HOME/.local/share so we use --packageroot
# 2. plasmapkg2 doesn't copy metadata.desktop into place, so we do that manually
installPhase = ''
runHook preInstall
plasmapkg2 --type kwinscript --install ${src} --packageroot $out/share/kwin/scripts
install -Dm644 ${src}/metadata.desktop $out/share/kservices5/kwin-script-tiling.desktop
runHook postInstalll
'';
meta = with lib; {
description = "Tiling script for kwin";
license = licenses.gpl2;
maintainers = with maintainers; [ peterhoeg ];
inherit (src.meta) homepage;
inherit (kwindowsystem.meta) platforms;
};
}

View File

@ -8,6 +8,8 @@
, libiconv ? null, ncurses , libiconv ? null, ncurses
, enableDwarf ? !stdenv.isDarwin, elfutils # for DWARF support
, useLLVM ? !stdenv.targetPlatform.isx86 || (stdenv.targetPlatform.isMusl && stdenv.hostPlatform != stdenv.targetPlatform) , useLLVM ? !stdenv.targetPlatform.isx86 || (stdenv.targetPlatform.isMusl && stdenv.hostPlatform != stdenv.targetPlatform)
, # LLVM is conceptually a run-time-only depedendency, but for , # LLVM is conceptually a run-time-only depedendency, but for
# non-x86, we need LLVM to bootstrap later stages, so it becomes a # non-x86, we need LLVM to bootstrap later stages, so it becomes a
@ -69,7 +71,8 @@ let
# Splicer will pull out correct variations # Splicer will pull out correct variations
libDeps = platform: [ ncurses ] libDeps = platform: [ ncurses ]
++ stdenv.lib.optional (!enableIntegerSimple) gmp ++ stdenv.lib.optional (!enableIntegerSimple) gmp
++ stdenv.lib.optional (platform.libc != "glibc") libiconv; ++ stdenv.lib.optional (platform.libc != "glibc") libiconv
++ stdenv.lib.optional enableDwarf elfutils;
toolsForTarget = [ toolsForTarget = [
pkgsBuildTarget.targetPackages.stdenv.cc pkgsBuildTarget.targetPackages.stdenv.cc
@ -203,6 +206,8 @@ stdenv.mkDerivation (rec {
] ++ stdenv.lib.optionals (targetPlatform.isDarwin && targetPlatform.isAarch64) [ ] ++ stdenv.lib.optionals (targetPlatform.isDarwin && targetPlatform.isAarch64) [
# fix for iOS: https://www.reddit.com/r/haskell/comments/4ttdz1/building_an_osxi386_to_iosarm64_cross_compiler/d5qvd67/ # fix for iOS: https://www.reddit.com/r/haskell/comments/4ttdz1/building_an_osxi386_to_iosarm64_cross_compiler/d5qvd67/
"--disable-large-address-space" "--disable-large-address-space"
] ++ stdenv.lib.optional enableDwarf [
"--enable-dwarf-unwind"
]; ];
# Dont add -liconv to LDFLAGS automatically so that GHC will add it itself. # Dont add -liconv to LDFLAGS automatically so that GHC will add it itself.

View File

@ -7,6 +7,8 @@
, libiconv ? null, ncurses , libiconv ? null, ncurses
, enableDwarf ? !stdenv.isDarwin, elfutils # for DWARF support
, useLLVM ? !stdenv.targetPlatform.isx86 || (stdenv.targetPlatform.isMusl && stdenv.hostPlatform != stdenv.targetPlatform) , useLLVM ? !stdenv.targetPlatform.isx86 || (stdenv.targetPlatform.isMusl && stdenv.hostPlatform != stdenv.targetPlatform)
, # LLVM is conceptually a run-time-only depedendency, but for , # LLVM is conceptually a run-time-only depedendency, but for
# non-x86, we need LLVM to bootstrap later stages, so it becomes a # non-x86, we need LLVM to bootstrap later stages, so it becomes a
@ -71,7 +73,8 @@ let
# Splicer will pull out correct variations # Splicer will pull out correct variations
libDeps = platform: stdenv.lib.optional enableTerminfo [ ncurses ] libDeps = platform: stdenv.lib.optional enableTerminfo [ ncurses ]
++ stdenv.lib.optional (!enableIntegerSimple) gmp ++ stdenv.lib.optional (!enableIntegerSimple) gmp
++ stdenv.lib.optional (platform.libc != "glibc" && !targetPlatform.isWindows) libiconv; ++ stdenv.lib.optional (platform.libc != "glibc" && !targetPlatform.isWindows) libiconv
++ stdenv.lib.optional enableDwarf elfutils;
toolsForTarget = [ toolsForTarget = [
pkgsBuildTarget.targetPackages.stdenv.cc pkgsBuildTarget.targetPackages.stdenv.cc
@ -180,6 +183,8 @@ stdenv.mkDerivation (rec {
] ++ stdenv.lib.optionals (targetPlatform.isDarwin && targetPlatform.isAarch64) [ ] ++ stdenv.lib.optionals (targetPlatform.isDarwin && targetPlatform.isAarch64) [
# fix for iOS: https://www.reddit.com/r/haskell/comments/4ttdz1/building_an_osxi386_to_iosarm64_cross_compiler/d5qvd67/ # fix for iOS: https://www.reddit.com/r/haskell/comments/4ttdz1/building_an_osxi386_to_iosarm64_cross_compiler/d5qvd67/
"--disable-large-address-space" "--disable-large-address-space"
] ++ stdenv.lib.optional enableDwarf [
"--enable-dwarf-unwind"
]; ];
# Make sure we never relax`$PATH` and hooks support for compatability. # Make sure we never relax`$PATH` and hooks support for compatability.

View File

@ -7,6 +7,8 @@
, libiconv ? null, ncurses , libiconv ? null, ncurses
, enableDwarf ? !stdenv.isDarwin, elfutils # for DWARF support
, # GHC can be built with system libffi or a bundled one. , # GHC can be built with system libffi or a bundled one.
libffi ? null libffi ? null
@ -76,7 +78,8 @@ let
libDeps = platform: stdenv.lib.optional enableTerminfo [ ncurses ] libDeps = platform: stdenv.lib.optional enableTerminfo [ ncurses ]
++ [libffi] ++ [libffi]
++ stdenv.lib.optional (!enableIntegerSimple) gmp ++ stdenv.lib.optional (!enableIntegerSimple) gmp
++ stdenv.lib.optional (platform.libc != "glibc" && !targetPlatform.isWindows) libiconv; ++ stdenv.lib.optional (platform.libc != "glibc" && !targetPlatform.isWindows) libiconv
++ stdenv.lib.optional enableDwarf elfutils;
toolsForTarget = [ toolsForTarget = [
pkgsBuildTarget.targetPackages.stdenv.cc pkgsBuildTarget.targetPackages.stdenv.cc
@ -179,6 +182,8 @@ stdenv.mkDerivation (rec {
"CONF_GCC_LINKER_OPTS_STAGE2=-fuse-ld=gold" "CONF_GCC_LINKER_OPTS_STAGE2=-fuse-ld=gold"
] ++ stdenv.lib.optionals (disableLargeAddressSpace) [ ] ++ stdenv.lib.optionals (disableLargeAddressSpace) [
"--disable-large-address-space" "--disable-large-address-space"
] ++ stdenv.lib.optional enableDwarf [
"--enable-dwarf-unwind"
]; ];
# Make sure we never relax`$PATH` and hooks support for compatability. # Make sure we never relax`$PATH` and hooks support for compatability.

View File

@ -7,6 +7,8 @@
, libiconv ? null, ncurses , libiconv ? null, ncurses
, enableDwarf ? !stdenv.isDarwin, elfutils # for DWARF support
, # GHC can be built with system libffi or a bundled one. , # GHC can be built with system libffi or a bundled one.
libffi ? null libffi ? null
@ -76,7 +78,8 @@ let
libDeps = platform: stdenv.lib.optional enableTerminfo [ ncurses ] libDeps = platform: stdenv.lib.optional enableTerminfo [ ncurses ]
++ [libffi] ++ [libffi]
++ stdenv.lib.optional (!enableIntegerSimple) gmp ++ stdenv.lib.optional (!enableIntegerSimple) gmp
++ stdenv.lib.optional (platform.libc != "glibc" && !targetPlatform.isWindows) libiconv; ++ stdenv.lib.optional (platform.libc != "glibc" && !targetPlatform.isWindows) libiconv
++ stdenv.lib.optional enableDwarf elfutils;
toolsForTarget = [ toolsForTarget = [
pkgsBuildTarget.targetPackages.stdenv.cc pkgsBuildTarget.targetPackages.stdenv.cc
@ -179,6 +182,8 @@ stdenv.mkDerivation (rec {
"CONF_GCC_LINKER_OPTS_STAGE2=-fuse-ld=gold" "CONF_GCC_LINKER_OPTS_STAGE2=-fuse-ld=gold"
] ++ stdenv.lib.optionals (disableLargeAddressSpace) [ ] ++ stdenv.lib.optionals (disableLargeAddressSpace) [
"--disable-large-address-space" "--disable-large-address-space"
] ++ stdenv.lib.optional enableDwarf [
"--enable-dwarf-unwind"
]; ];
# Make sure we never relax`$PATH` and hooks support for compatability. # Make sure we never relax`$PATH` and hooks support for compatability.

View File

@ -7,6 +7,8 @@
, libiconv ? null, ncurses , libiconv ? null, ncurses
, enableDwarf ? !stdenv.isDarwin, elfutils # for DWARF support
, # GHC can be built with system libffi or a bundled one. , # GHC can be built with system libffi or a bundled one.
libffi ? null libffi ? null
@ -76,7 +78,8 @@ let
libDeps = platform: stdenv.lib.optional enableTerminfo [ ncurses ] libDeps = platform: stdenv.lib.optional enableTerminfo [ ncurses ]
++ [libffi] ++ [libffi]
++ stdenv.lib.optional (!enableIntegerSimple) gmp ++ stdenv.lib.optional (!enableIntegerSimple) gmp
++ stdenv.lib.optional (platform.libc != "glibc" && !targetPlatform.isWindows) libiconv; ++ stdenv.lib.optional (platform.libc != "glibc" && !targetPlatform.isWindows) libiconv
++ stdenv.lib.optional enableDwarf elfutils;
toolsForTarget = [ toolsForTarget = [
pkgsBuildTarget.targetPackages.stdenv.cc pkgsBuildTarget.targetPackages.stdenv.cc
@ -164,6 +167,8 @@ stdenv.mkDerivation (rec {
"CONF_GCC_LINKER_OPTS_STAGE2=-fuse-ld=gold" "CONF_GCC_LINKER_OPTS_STAGE2=-fuse-ld=gold"
] ++ stdenv.lib.optionals (disableLargeAddressSpace) [ ] ++ stdenv.lib.optionals (disableLargeAddressSpace) [
"--disable-large-address-space" "--disable-large-address-space"
] ++ stdenv.lib.optional enableDwarf [
"--enable-dwarf-unwind"
]; ];
# Make sure we never relax`$PATH` and hooks support for compatability. # Make sure we never relax`$PATH` and hooks support for compatability.

View File

@ -7,6 +7,8 @@
, libiconv ? null, ncurses , libiconv ? null, ncurses
, enableDwarf ? !stdenv.isDarwin, elfutils # for DWARF support
, useLLVM ? !stdenv.targetPlatform.isx86 , useLLVM ? !stdenv.targetPlatform.isx86
, # LLVM is conceptually a run-time-only depedendency, but for , # LLVM is conceptually a run-time-only depedendency, but for
# non-x86, we need LLVM to bootstrap later stages, so it becomes a # non-x86, we need LLVM to bootstrap later stages, so it becomes a
@ -73,7 +75,8 @@ let
# Splicer will pull out correct variations # Splicer will pull out correct variations
libDeps = platform: stdenv.lib.optional enableTerminfo [ ncurses ] libDeps = platform: stdenv.lib.optional enableTerminfo [ ncurses ]
++ stdenv.lib.optional (!enableIntegerSimple) gmp ++ stdenv.lib.optional (!enableIntegerSimple) gmp
++ stdenv.lib.optional (platform.libc != "glibc" && !targetPlatform.isWindows) libiconv; ++ stdenv.lib.optional (platform.libc != "glibc" && !targetPlatform.isWindows) libiconv
++ stdenv.lib.optional enableDwarf elfutils;
toolsForTarget = [ toolsForTarget = [
pkgsBuildTarget.targetPackages.stdenv.cc pkgsBuildTarget.targetPackages.stdenv.cc
@ -176,6 +179,8 @@ stdenv.mkDerivation (rec {
"CONF_GCC_LINKER_OPTS_STAGE2=-fuse-ld=gold" "CONF_GCC_LINKER_OPTS_STAGE2=-fuse-ld=gold"
] ++ stdenv.lib.optionals (disableLargeAddressSpace) [ ] ++ stdenv.lib.optionals (disableLargeAddressSpace) [
"--disable-large-address-space" "--disable-large-address-space"
] ++ stdenv.lib.optional enableDwarf [
"--enable-dwarf-unwind"
]; ];
# Make sure we never relax`$PATH` and hooks support for compatability. # Make sure we never relax`$PATH` and hooks support for compatability.

View File

@ -1,5 +1,5 @@
{ stdenv, lib, fetchurl, bash, cpio, pkgconfig, file, which, unzip, zip, cups, freetype { stdenv, lib, fetchurl, pkgconfig, lndir, bash, cpio, file, which, unzip, zip
, alsaLib, cacert, perl, liberation_ttf, fontconfig, zlib , cups, freetype, alsaLib, cacert, perl, liberation_ttf, fontconfig, zlib
, libX11, libICE, libXrender, libXext, libXt, libXtst, libXi, libXinerama, libXcursor, libXrandr , libX11, libICE, libXrender, libXext, libXt, libXtst, libXi, libXinerama, libXcursor, libXrandr
, libjpeg, giflib , libjpeg, giflib
, openjdk8-bootstrap , openjdk8-bootstrap
@ -85,7 +85,7 @@ let
outputs = [ "out" "jre" ]; outputs = [ "out" "jre" ];
nativeBuildInputs = [ pkgconfig ]; nativeBuildInputs = [ pkgconfig lndir ];
buildInputs = [ buildInputs = [
cpio file which unzip zip perl openjdk8-bootstrap zlib cups freetype alsaLib cpio file which unzip zip perl openjdk8-bootstrap zlib cups freetype alsaLib
libjpeg giflib libX11 libICE libXext libXrender libXtst libXt libXtst libjpeg giflib libX11 libICE libXext libXrender libXtst libXt libXtst
@ -190,7 +190,8 @@ let
# Move the JRE to a separate output # Move the JRE to a separate output
mkdir -p $jre/lib/openjdk mkdir -p $jre/lib/openjdk
mv $out/lib/openjdk/jre $jre/lib/openjdk/jre mv $out/lib/openjdk/jre $jre/lib/openjdk/jre
ln -s $jre/lib/openjdk/jre $out/lib/openjdk/jre mkdir $out/lib/openjdk/jre
lndir $jre/lib/openjdk/jre $out/lib/openjdk/jre
# Setup fallback fonts # Setup fallback fonts
${lib.optionalString (!headless) '' ${lib.optionalString (!headless) ''

View File

@ -43,7 +43,7 @@ core-packages:
- ghcjs-base-0 - ghcjs-base-0
default-package-overrides: default-package-overrides:
# LTS Haskell 14.4 # LTS Haskell 14.5
- abstract-deque ==0.3 - abstract-deque ==0.3
- abstract-deque-tests ==0.3 - abstract-deque-tests ==0.3
- abstract-par ==0.3.3 - abstract-par ==0.3.3
@ -64,7 +64,7 @@ default-package-overrides:
- aeson-extra ==0.4.1.2 - aeson-extra ==0.4.1.2
- aeson-generic-compat ==0.0.1.3 - aeson-generic-compat ==0.0.1.3
- aeson-iproute ==0.2 - aeson-iproute ==0.2
- aeson-picker ==0.1.0.4 - aeson-picker ==0.1.0.5
- aeson-pretty ==0.8.7 - aeson-pretty ==0.8.7
- aeson-qq ==0.8.2 - aeson-qq ==0.8.2
- aeson-utils ==0.3.0.2 - aeson-utils ==0.3.0.2
@ -121,7 +121,7 @@ default-package-overrides:
- atom-basic ==0.2.5 - atom-basic ==0.2.5
- atomic-primops ==0.8.3 - atomic-primops ==0.8.3
- atomic-write ==0.2.0.6 - atomic-write ==0.2.0.6
- attoparsec ==0.13.2.2 - attoparsec ==0.13.2.3
- attoparsec-base64 ==0.0.0 - attoparsec-base64 ==0.0.0
- attoparsec-binary ==0.2 - attoparsec-binary ==0.2
- attoparsec-expr ==0.1.1.2 - attoparsec-expr ==0.1.1.2
@ -275,8 +275,8 @@ default-package-overrides:
- cased ==0.1.0.0 - cased ==0.1.0.0
- case-insensitive ==1.2.0.11 - case-insensitive ==1.2.0.11
- cases ==0.1.3.2 - cases ==0.1.3.2
- casing ==0.1.4.0 - casing ==0.1.4.1
- cassava ==0.5.1.0 - cassava ==0.5.2.0
- cassava-conduit ==0.5.1 - cassava-conduit ==0.5.1
- cassava-megaparsec ==2.0.0 - cassava-megaparsec ==2.0.0
- cassava-records ==0.1.0.4 - cassava-records ==0.1.0.4
@ -304,7 +304,7 @@ default-package-overrides:
- cheapskate-highlight ==0.1.0.0 - cheapskate-highlight ==0.1.0.0
- cheapskate-lucid ==0.1.0.0 - cheapskate-lucid ==0.1.0.0
- check-email ==1.0.2 - check-email ==1.0.2
- checkers ==0.5.0 - checkers ==0.5.2
- checksum ==0.0 - checksum ==0.0
- chimera ==0.2.0.0 - chimera ==0.2.0.0
- choice ==0.2.2 - choice ==0.2.2
@ -383,7 +383,7 @@ default-package-overrides:
- configurator ==0.3.0.0 - configurator ==0.3.0.0
- configurator-export ==0.1.0.1 - configurator-export ==0.1.0.1
- configurator-pg ==0.1.0.3 - configurator-pg ==0.1.0.3
- connection ==0.3.0 - connection ==0.3.1
- connection-pool ==0.2.2 - connection-pool ==0.2.2
- console-style ==0.0.2.1 - console-style ==0.0.2.1
- constraint ==0.1.3.0 - constraint ==0.1.3.0
@ -412,7 +412,7 @@ default-package-overrides:
- crackNum ==2.3 - crackNum ==2.3
- crc32c ==0.0.0 - crc32c ==0.0.0
- credential-store ==0.1.2 - credential-store ==0.1.2
- criterion ==1.5.5.0 - criterion ==1.5.6.0
- criterion-measurement ==0.1.2.0 - criterion-measurement ==0.1.2.0
- cron ==0.6.1 - cron ==0.6.1
- crypto-api ==0.13.3 - crypto-api ==0.13.3
@ -538,7 +538,7 @@ default-package-overrides:
- disk-free-space ==0.1.0.1 - disk-free-space ==0.1.0.1
- distributed-closure ==0.4.1.1 - distributed-closure ==0.4.1.1
- distribution-opensuse ==1.1.1 - distribution-opensuse ==1.1.1
- distributive ==0.6 - distributive ==0.6.1
- dl-fedora ==0.5 - dl-fedora ==0.5
- dlist ==0.8.0.7 - dlist ==0.8.0.7
- dlist-instances ==0.1.1.1 - dlist-instances ==0.1.1.1
@ -596,10 +596,10 @@ default-package-overrides:
- elm-street ==0.0.1 - elm-street ==0.0.1
- emacs-module ==0.1.1 - emacs-module ==0.1.1
- email-validate ==2.3.2.11 - email-validate ==2.3.2.11
- emd ==0.1.4.0 - emd ==0.1.5.1
- enclosed-exceptions ==1.0.3 - enclosed-exceptions ==1.0.3
- ENIG ==0.0.1.0 - ENIG ==0.0.1.0
- entropy ==0.4.1.4 - entropy ==0.4.1.5
- enummapset ==0.6.0.2 - enummapset ==0.6.0.2
- enumset ==0.0.5 - enumset ==0.0.5
- enum-subset-generate ==0.1.0.0 - enum-subset-generate ==0.1.0.0
@ -648,7 +648,7 @@ default-package-overrides:
- farmhash ==0.1.0.5 - farmhash ==0.1.0.5
- fast-builder ==0.1.1.0 - fast-builder ==0.1.1.0
- fast-digits ==0.2.1.0 - fast-digits ==0.2.1.0
- fast-logger ==2.4.16 - fast-logger ==2.4.17
- fast-math ==1.0.2 - fast-math ==1.0.2
- fb ==2.0.0 - fb ==2.0.0
- fclabels ==2.0.3.3 - fclabels ==2.0.3.3
@ -708,7 +708,7 @@ default-package-overrides:
- forma ==1.1.2 - forma ==1.1.2
- format-numbers ==0.1.0.0 - format-numbers ==0.1.0.0
- formatting ==6.3.7 - formatting ==6.3.7
- foundation ==0.0.24 - foundation ==0.0.25
- free ==5.1.2 - free ==5.1.2
- freenect ==1.2.1 - freenect ==1.2.1
- freer-simple ==1.2.1.0 - freer-simple ==1.2.1.0
@ -724,12 +724,12 @@ default-package-overrides:
- function-builder ==0.3.0.1 - function-builder ==0.3.0.1
- functor-classes-compat ==1 - functor-classes-compat ==1
- functor-combinators ==0.1.1.1 - functor-combinators ==0.1.1.1
- fused-effects ==0.5.0.0 - fused-effects ==0.5.0.1
- fuzzcheck ==0.1.1 - fuzzcheck ==0.1.1
- fuzzy-dates ==0.1.1.1 - fuzzy-dates ==0.1.1.1
- fuzzyset ==0.1.1 - fuzzyset ==0.1.1
- galois-field ==0.3.0 - galois-field ==0.3.0
- gauge ==0.2.4 - gauge ==0.2.5
- gc ==0.0.3 - gc ==0.0.3
- gd ==3000.7.3 - gd ==3000.7.3
- gdp ==0.0.0.2 - gdp ==0.0.0.2
@ -764,7 +764,7 @@ default-package-overrides:
- genvalidity-uuid ==0.1.0.2 - genvalidity-uuid ==0.1.0.2
- genvalidity-vector ==0.3.0.0 - genvalidity-vector ==0.3.0.0
- geojson ==4.0.1 - geojson ==4.0.1
- getopt-generics ==0.13.0.3 - getopt-generics ==0.13.0.4
- ghc-compact ==0.1.0.0 - ghc-compact ==0.1.0.0
- ghc-core ==0.5.6 - ghc-core ==0.5.6
- ghc-exactprint ==0.6.1 - ghc-exactprint ==0.6.1
@ -796,7 +796,7 @@ default-package-overrides:
- ginger ==0.9.1.0 - ginger ==0.9.1.0
- gingersnap ==0.3.1.0 - gingersnap ==0.3.1.0
- gi-pango ==1.0.22 - gi-pango ==1.0.22
- githash ==0.1.3.1 - githash ==0.1.3.2
- github-release ==1.2.4 - github-release ==1.2.4
- github-types ==0.2.1 - github-types ==0.2.1
- github-webhooks ==0.10.1 - github-webhooks ==0.10.1
@ -845,14 +845,14 @@ default-package-overrides:
- hackage-db ==2.0.1 - hackage-db ==2.0.1
- hackage-security ==0.5.3.0 - hackage-security ==0.5.3.0
- haddock-library ==1.7.0 - haddock-library ==1.7.0
- hadolint ==1.17.1 - hadolint ==1.17.2
- half ==0.3 - half ==0.3
- hamilton ==0.1.0.3 - hamilton ==0.1.0.3
- hamtsolo ==1.0.3 - hamtsolo ==1.0.3
- HandsomeSoup ==0.4.2 - HandsomeSoup ==0.4.2
- hapistrano ==0.3.9.3 - hapistrano ==0.3.9.3
- happy ==1.19.11 - happy ==1.19.12
- hasbolt ==0.1.3.4 - hasbolt ==0.1.3.5
- hashable ==1.2.7.0 - hashable ==1.2.7.0
- hashable-time ==0.2.0.2 - hashable-time ==0.2.0.2
- hashids ==1.0.2.4 - hashids ==1.0.2.4
@ -863,14 +863,14 @@ default-package-overrides:
- haskell-gi-base ==0.23.0 - haskell-gi-base ==0.23.0
- haskell-gi-overloading ==1.0 - haskell-gi-overloading ==1.0
- haskell-lexer ==1.0.2 - haskell-lexer ==1.0.2
- haskell-lsp ==0.15.0.0 - haskell-lsp ==0.15.0.1
- haskell-lsp-types ==0.15.0.0 - haskell-lsp-types ==0.15.0.1
- haskell-names ==0.9.6 - haskell-names ==0.9.6
- haskell-spacegoo ==0.2.0.1 - haskell-spacegoo ==0.2.0.1
- haskell-src ==1.0.3.0 - haskell-src ==1.0.3.0
- haskell-src-exts ==1.21.0 - haskell-src-exts ==1.21.1
- haskell-src-exts-util ==0.2.5 - haskell-src-exts-util ==0.2.5
- haskell-src-meta ==0.8.2 - haskell-src-meta ==0.8.3
- haskey-btree ==0.3.0.1 - haskey-btree ==0.3.0.1
- haskintex ==0.8.0.0 - haskintex ==0.8.0.0
- haskoin-core ==0.9.0 - haskoin-core ==0.9.0
@ -893,7 +893,7 @@ default-package-overrides:
- hedgehog ==1.0 - hedgehog ==1.0
- hedgehog-corpus ==0.1.0 - hedgehog-corpus ==0.1.0
- hedgehog-fn ==1.0 - hedgehog-fn ==1.0
- hedis ==0.12.7 - hedis ==0.12.8
- hedn ==0.2.0.1 - hedn ==0.2.0.1
- here ==1.2.13 - here ==1.2.13
- heredoc ==0.2.0.0 - heredoc ==0.2.0.0
@ -1094,7 +1094,7 @@ default-package-overrides:
- inline-r ==0.10.2 - inline-r ==0.10.2
- inliterate ==0.1.0 - inliterate ==0.1.0
- insert-ordered-containers ==0.2.2 - insert-ordered-containers ==0.2.2
- inspection-testing ==0.4.2.1 - inspection-testing ==0.4.2.2
- instance-control ==0.1.2.0 - instance-control ==0.1.2.0
- int-cast ==0.2.0.0 - int-cast ==0.2.0.0
- integer-logarithms ==1.0.3 - integer-logarithms ==1.0.3
@ -1164,7 +1164,7 @@ default-package-overrides:
- kdt ==0.2.4 - kdt ==0.2.4
- keycode ==0.2.2 - keycode ==0.2.2
- keys ==3.12.2 - keys ==3.12.2
- kind-apply ==0.3.1.0 - kind-apply ==0.3.2.0
- kind-generics ==0.3.0.0 - kind-generics ==0.3.0.0
- kind-generics-th ==0.1.1.0 - kind-generics-th ==0.1.1.0
- kleene ==0.1 - kleene ==0.1
@ -1276,11 +1276,11 @@ default-package-overrides:
- markdown ==0.1.17.4 - markdown ==0.1.17.4
- markdown-unlit ==0.5.0 - markdown-unlit ==0.5.0
- markov-chain ==0.0.3.4 - markov-chain ==0.0.3.4
- massiv ==0.4.0.0 - massiv ==0.4.1.0
- massiv-io ==0.1.6.0 - massiv-io ==0.1.6.0
- massiv-test ==0.1.0 - massiv-test ==0.1.0
- mathexpr ==0.3.0.0 - mathexpr ==0.3.0.0
- math-functions ==0.3.1.0 - math-functions ==0.3.2.0
- matplotlib ==0.7.4 - matplotlib ==0.7.4
- matrices ==0.5.0 - matrices ==0.5.0
- matrix ==0.3.6.1 - matrix ==0.3.6.1
@ -1329,6 +1329,7 @@ default-package-overrides:
- missing-foreign ==0.1.1 - missing-foreign ==0.1.1
- MissingH ==1.4.1.0 - MissingH ==1.4.1.0
- mixed-types-num ==0.4.0.1 - mixed-types-num ==0.4.0.1
- mixpanel-client ==0.2.1
- mltool ==0.2.0.1 - mltool ==0.2.0.1
- mmap ==0.5.9 - mmap ==0.5.9
- mmark ==0.0.7.1 - mmark ==0.0.7.1
@ -1376,7 +1377,7 @@ default-package-overrides:
- mono-traversable-keys ==0.1.0 - mono-traversable-keys ==0.1.0
- more-containers ==0.2.1.2 - more-containers ==0.2.1.2
- mountpoints ==1.0.2 - mountpoints ==1.0.2
- mpi-hs ==0.5.1.2 - mpi-hs ==0.5.3.0
- msgpack ==1.0.1.0 - msgpack ==1.0.1.0
- msgpack-aeson ==0.1.0.0 - msgpack-aeson ==0.1.0.0
- mtl ==2.2.2 - mtl ==2.2.2
@ -1469,7 +1470,7 @@ default-package-overrides:
- oblivious-transfer ==0.1.0 - oblivious-transfer ==0.1.0
- odbc ==0.2.2 - odbc ==0.2.2
- oeis ==0.3.9 - oeis ==0.3.9
- oeis2 ==1.0.2 - oeis2 ==1.0.3
- ofx ==0.4.2.0 - ofx ==0.4.2.0
- old-locale ==1.0.0.7 - old-locale ==1.0.0.7
- old-time ==1.1.0.3 - old-time ==1.1.0.3
@ -1590,7 +1591,7 @@ default-package-overrides:
- pipes-network-tls ==0.3 - pipes-network-tls ==0.3
- pipes-parse ==3.0.8 - pipes-parse ==3.0.8
- pipes-random ==1.0.0.5 - pipes-random ==1.0.0.5
- pipes-safe ==2.3.1 - pipes-safe ==2.3.2
- pipes-wai ==3.2.0 - pipes-wai ==3.2.0
- pkcs10 ==0.2.0.0 - pkcs10 ==0.2.0.0
- placeholders ==0.1 - placeholders ==0.1
@ -1605,7 +1606,7 @@ default-package-overrides:
- polynomials-bernstein ==1.1.2 - polynomials-bernstein ==1.1.2
- polyparse ==1.12.1 - polyparse ==1.12.1
- polysemy ==1.0.0.0 - polysemy ==1.0.0.0
- polysemy-plugin ==0.2.2.0 - polysemy-plugin ==0.2.3.0
- polysemy-zoo ==0.5.0.1 - polysemy-zoo ==0.5.0.1
- pooled-io ==0.0.2.2 - pooled-io ==0.0.2.2
- port-utils ==0.2.1.0 - port-utils ==0.2.1.0
@ -1676,9 +1677,10 @@ default-package-overrides:
- psqueues ==0.2.7.2 - psqueues ==0.2.7.2
- pureMD5 ==2.1.3 - pureMD5 ==2.1.3
- purescript-bridge ==0.13.0.0 - purescript-bridge ==0.13.0.0
- pure-zlib ==0.6.4 - pure-zlib ==0.6.6
- pushbullet-types ==0.4.1.0 - pushbullet-types ==0.4.1.0
- pusher-http-haskell ==1.5.1.9 - pusher-http-haskell ==1.5.1.9
- PyF ==0.8.1.0
- qchas ==1.1.0.1 - qchas ==1.1.0.1
- qm-interpolated-string ==0.3.0.0 - qm-interpolated-string ==0.3.0.0
- qnap-decrypt ==0.3.5 - qnap-decrypt ==0.3.5
@ -1720,7 +1722,7 @@ default-package-overrides:
- ratel ==1.0.8 - ratel ==1.0.8
- ratel-wai ==1.1.0 - ratel-wai ==1.1.0
- rattle ==0.1 - rattle ==0.1
- rattletrap ==9.0.1 - rattletrap ==9.0.2
- rawfilepath ==0.2.4 - rawfilepath ==0.2.4
- rawstring-qm ==0.2.3.0 - rawstring-qm ==0.2.3.0
- raw-strings-qq ==1.1 - raw-strings-qq ==1.1
@ -1731,7 +1733,7 @@ default-package-overrides:
- read-editor ==0.1.0.2 - read-editor ==0.1.0.2
- read-env-var ==1.0.0.0 - read-env-var ==1.0.0.0
- reanimate ==0.1.5.0 - reanimate ==0.1.5.0
- reanimate-svg ==0.9.0.1 - reanimate-svg ==0.9.1.0
- rebase ==1.3.1.1 - rebase ==1.3.1.1
- record-dot-preprocessor ==0.2 - record-dot-preprocessor ==0.2
- record-hasfield ==1.0 - record-hasfield ==1.0
@ -1827,7 +1829,7 @@ default-package-overrides:
- scanner ==0.3 - scanner ==0.3
- scheduler ==1.4.2 - scheduler ==1.4.2
- scientific ==0.3.6.2 - scientific ==0.3.6.2
- scotty ==0.11.4 - scotty ==0.11.5
- scrypt ==0.5.0 - scrypt ==0.5.0
- sdl2 ==2.5.0.0 - sdl2 ==2.5.0.0
- sdl2-gfx ==0.2 - sdl2-gfx ==0.2
@ -1873,13 +1875,12 @@ default-package-overrides:
- servant-http-streams ==0.16 - servant-http-streams ==0.16
- servant-js ==0.9.4 - servant-js ==0.9.4
- servant-JuicyPixels ==0.3.0.4 - servant-JuicyPixels ==0.3.0.4
- servant-kotlin ==0.1.1.8 - servant-kotlin ==0.1.1.9
- servant-lucid ==0.9 - servant-lucid ==0.9
- servant-machines ==0.15 - servant-machines ==0.15
- servant-mock ==0.8.5 - servant-mock ==0.8.5
- servant-multipart ==0.11.4 - servant-multipart ==0.11.4
- servant-pipes ==0.15 - servant-pipes ==0.15
- servant-rawm ==0.3.1.0
- servant-ruby ==0.9.0.0 - servant-ruby ==0.9.0.0
- servant-server ==0.16.2 - servant-server ==0.16.2
- servant-static-th ==0.2.2.0 - servant-static-th ==0.2.2.0
@ -1901,7 +1902,7 @@ default-package-overrides:
- sexpr-parser ==0.1.1.2 - sexpr-parser ==0.1.1.2
- SHA ==1.6.4.4 - SHA ==1.6.4.4
- shake-language-c ==0.12.0 - shake-language-c ==0.12.0
- shakespeare ==2.0.20 - shakespeare ==2.0.21
- shared-memory ==0.2.0.0 - shared-memory ==0.2.0.0
- shell-conduit ==4.7.0 - shell-conduit ==4.7.0
- shell-escape ==0.2.0 - shell-escape ==0.2.0
@ -2117,7 +2118,7 @@ default-package-overrides:
- text-region ==0.3.1.0 - text-region ==0.3.1.0
- text-short ==0.1.3 - text-short ==0.1.3
- text-show ==3.8.2 - text-show ==3.8.2
- text-show-instances ==3.8.1 - text-show-instances ==3.8.2
- text-zipper ==0.10.1 - text-zipper ==0.10.1
- tfp ==1.0.1.1 - tfp ==1.0.1.1
- tf-random ==0.5 - tf-random ==0.5
@ -2130,7 +2131,7 @@ default-package-overrides:
- th-lift ==0.8.0.1 - th-lift ==0.8.0.1
- th-lift-instances ==0.1.14 - th-lift-instances ==0.1.14
- th-nowq ==0.1.0.3 - th-nowq ==0.1.0.3
- th-orphans ==0.13.7 - th-orphans ==0.13.8
- th-printf ==0.6.0 - th-printf ==0.6.0
- thread-hierarchy ==0.3.0.1 - thread-hierarchy ==0.3.0.1
- thread-local-storage ==0.2 - thread-local-storage ==0.2
@ -2306,9 +2307,9 @@ default-package-overrides:
- vector-split ==1.0.0.2 - vector-split ==1.0.0.2
- vector-th-unbox ==0.2.1.6 - vector-th-unbox ==0.2.1.6
- verbosity ==0.3.0.0 - verbosity ==0.3.0.0
- versions ==3.5.1 - versions ==3.5.1.1
- ViennaRNAParser ==1.3.3 - ViennaRNAParser ==1.3.3
- viewprof ==0.0.0.28 - viewprof ==0.0.0.29
- vinyl ==0.11.0 - vinyl ==0.11.0
- vivid ==0.4.2.3 - vivid ==0.4.2.3
- vivid-osc ==0.5.0.0 - vivid-osc ==0.5.0.0
@ -2363,7 +2364,7 @@ default-package-overrides:
- windns ==0.1.0.1 - windns ==0.1.0.1
- winery ==1.1.2 - winery ==1.1.2
- wire-streams ==0.1.1.0 - wire-streams ==0.1.1.0
- witherable ==0.3.2 - witherable ==0.3.3
- with-location ==0.1.0 - with-location ==0.1.0
- witness ==0.4 - witness ==0.4
- wizards ==1.0.3 - wizards ==1.0.3
@ -2406,7 +2407,7 @@ default-package-overrides:
- xml-conduit-parse ==0.3.1.2 - xml-conduit-parse ==0.3.1.2
- xml-conduit-writer ==0.1.1.2 - xml-conduit-writer ==0.1.1.2
- xmlgen ==0.6.2.2 - xmlgen ==0.6.2.2
- xml-hamlet ==0.5.0 - xml-hamlet ==0.5.0.1
- xml-html-qq ==0.1.0.1 - xml-html-qq ==0.1.0.1
- xml-indexed-cursor ==0.1.1.0 - xml-indexed-cursor ==0.1.1.0
- xml-isogen ==0.3.0 - xml-isogen ==0.3.0
@ -2430,7 +2431,7 @@ default-package-overrides:
- yesod-auth-hashdb ==1.7.1.1 - yesod-auth-hashdb ==1.7.1.1
- yesod-auth-oauth2 ==0.6.1.2 - yesod-auth-oauth2 ==0.6.1.2
- yesod-bin ==1.6.0.3 - yesod-bin ==1.6.0.3
- yesod-core ==1.6.16 - yesod-core ==1.6.16.1
- yesod-csp ==0.2.5.0 - yesod-csp ==0.2.5.0
- yesod-eventsource ==1.6.0 - yesod-eventsource ==1.6.0
- yesod-fb ==0.5.0 - yesod-fb ==0.5.0
@ -5826,6 +5827,7 @@ broken-packages:
- hiccup - hiccup
- hichi - hichi
- hid-examples - hid-examples
- hie-core
- hieraclus - hieraclus
- hierarchical-clustering - hierarchical-clustering
- hierarchical-clustering-diagrams - hierarchical-clustering-diagrams
@ -8773,6 +8775,7 @@ broken-packages:
- seqloc - seqloc
- seqloc-datafiles - seqloc-datafiles
- sequence-formats - sequence-formats
- sequenceTools
- sequent-core - sequent-core
- sequor - sequor
- serialize-instances - serialize-instances

View File

@ -44,7 +44,7 @@ in
); );
tensorflow-proto = super.tensorflow-proto.override { tensorflow-proto = super.tensorflow-proto.override {
inherit proto-lens proto-lens-protoc proto-lens-protobuf-types; inherit proto-lens proto-lens-protobuf-types;
}; };
tensorflow = super.tensorflow.override { tensorflow = super.tensorflow.override {
inherit mainland-pretty proto-lens; inherit mainland-pretty proto-lens;

File diff suppressed because it is too large Load Diff

View File

@ -88,8 +88,9 @@ in rec {
}; };
} ./setuptools-check-hook.sh) {}; } ./setuptools-check-hook.sh) {};
wheelUnpackHook = callPackage ({ }: wheelUnpackHook = callPackage ({ wheel }:
makeSetupHook { makeSetupHook {
name = "wheel-unpack-hook.sh"; name = "wheel-unpack-hook.sh";
deps = [ wheel ];
} ./wheel-unpack-hook.sh) {}; } ./wheel-unpack-hook.sh) {};
} }

View File

@ -0,0 +1,23 @@
{ stdenv, fetchFromGitHub, cmake }:
stdenv.mkDerivation rec {
pname = "libipt";
version = "2.0.1";
src = fetchFromGitHub {
owner = "intel";
repo = "libipt";
rev = "v${version}";
sha256 = "19y1lk5z1rf8xmr08m8zrpjkgr5as83b96xyaxwn67m2wz58mpmh";
};
nativeBuildInputs = [ cmake ];
meta = with stdenv.lib; {
description = "Intel Processor Trace decoder library";
homepage = https://github.com/intel/libipt;
license = licenses.bsd3;
platforms = platforms.linux;
maintainers = with maintainers; [ orivej ];
};
}

View File

@ -4,14 +4,15 @@
}: }:
let let
mainVersion = "5.1"; mainVersion = "5.1.2";
in stdenv.mkDerivation rec { in stdenv.mkDerivation rec {
name = "libktorrent-2.1"; pname = "libktorrent";
version = "2.1.1";
src = fetchurl { src = fetchurl {
url = "mirror://kde/stable/ktorrent/${mainVersion}/${name}.tar.xz"; url = "mirror://kde/stable/ktorrent/${mainVersion}/${pname}-${version}.tar.xz";
sha256 = "0vz2dwc4xd80q56g6r5bx5wqdl9fxcibxmw2irahqhbkxk7drvry"; sha256 = "0051zh8bb4p9wmcfn5ql987brhsaiw9880xdck7b5dm1a05mri2w";
}; };
outputs = [ "out" "dev" ]; outputs = [ "out" "dev" ];

View File

@ -51,8 +51,12 @@ qtModule {
''; '';
NIX_CFLAGS_COMPILE = NIX_CFLAGS_COMPILE =
[
# with gcc7 this warning blows the log over Hydra's limit # with gcc7 this warning blows the log over Hydra's limit
[ "-Wno-expansion-to-defined" ] "-Wno-expansion-to-defined"
# with gcc8, -Wclass-memaccess became part of -Wall and this too exceeds the logging limit
"-Wno-class-memaccess"
]
# with clang this warning blows the log over Hydra's limit # with clang this warning blows the log over Hydra's limit
++ optional stdenv.isDarwin "-Wno-inconsistent-missing-override" ++ optional stdenv.isDarwin "-Wno-inconsistent-missing-override"
++ optionals flashplayerFix ++ optionals flashplayerFix

View File

@ -37,7 +37,5 @@ let
}; };
}; };
in { in {
# xapian-ruby needs 1.2.22 as of 2017-05-06
xapian_1_2_22 = generic "1.2.22" "0zsji22n0s7cdnbgj0kpil05a6bgm5cfv0mvx12d8ydg7z58g6r6";
xapian_1_4 = generic "1.4.12" "0z5c1y9vp519h2x2igjq39v6j615nppry0wasd0xn4hphgd3d2jg"; xapian_1_4 = generic "1.4.12" "0z5c1y9vp519h2x2igjq39v6j615nppry0wasd0xn4hphgd3d2jg";
} }

View File

@ -6,6 +6,10 @@
which, makeWrapper, writeText which, makeWrapper, writeText
}: }:
if stdenv.lib.versionAtLeast core_kernel.version "0.12"
then throw "BAP needs core_kernel-0.11 (hence OCaml 4.06)"
else
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "ocaml${ocaml.version}-bap-${version}"; name = "ocaml${ocaml.version}-bap-${version}";
version = "1.6.0"; version = "1.6.0";

View File

@ -1,22 +1,22 @@
{ lib, fetchFromGitHub, buildDunePackage { lib, fetchFromGitHub, buildDunePackage
, core, lwt ? ocaml_lwt, ocaml_lwt, ocamlgraph, rresult, tyxml , base64, bos, core, lwt_react, ocamlgraph, rresult, tyxml
}: }:
buildDunePackage rec { buildDunePackage rec {
pname = "bistro"; pname = "bistro";
version = "0.4.0"; version = "0.5.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "pveber"; owner = "pveber";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "0bxnggm4nkyl2iqwj4f5afw8lj5miq2rqsc9qfrlmg4g4rr3zh1c"; sha256 = "114gq48cpj2mvycypa9lfyqqb26wa2gkdfwkcqhnx7m6sdwv9a38";
}; };
buildInputs = [ lwt ocamlgraph rresult tyxml ]; buildInputs = [ base64 bos lwt_react ocamlgraph rresult tyxml ];
propagatedBuildInputs = [ core ]; propagatedBuildInputs = [ core ];
minimumOCamlVersion = "4.04"; minimumOCamlVersion = "4.07";
meta = { meta = {
inherit (src.meta) homepage; inherit (src.meta) homepage;

View File

@ -0,0 +1,466 @@
{ janePackage
, ctypes
, num
, octavius
, ppxlib
, re
, openssl
}:
rec {
ocaml-compiler-libs = janePackage {
pname = "ocaml-compiler-libs";
hash = "0g9y1ljjsj1nw0lz460ivb6qmz9vhcmfl8krlmqfrni6pc7b0r6f";
meta.description = "OCaml compiler libraries repackaged";
};
sexplib0 = janePackage {
pname = "sexplib0";
hash = "13xdd0pvypxqn0ldwdgikmlinrp3yfh8ixknv1xrpxbx3np4qp0g";
meta.description = "Library containing the definition of S-expressions and some base converters";
};
base = janePackage {
pname = "base";
version = "0.12.2";
hash = "0gl89zpgsf3n30nb6v5cns27g2bfg4rf3s2427gqvwbkr5gcf7ri";
meta.description = "Full standard library replacement for OCaml";
propagatedBuildInputs = [ sexplib0 ];
};
stdio = janePackage {
pname = "stdio";
hash = "1pn8jjcb79n6crpw7dkp68s4lz2mw103lwmfslil66f05jsxhjhg";
meta.description = "Standard IO library for OCaml";
propagatedBuildInputs = [ base ];
};
ppx_sexp_conv = janePackage {
pname = "ppx_sexp_conv";
hash = "0idzp1kzds0gnilschzs9ydi54if8y5xpn6ajn710vkipq26qcld";
meta.description = "[@@deriving] plugin to generate S-expression conversion functions";
propagatedBuildInputs = [ ppxlib ];
};
ppx_here = janePackage {
pname = "ppx_here";
hash = "07qbchwif1i9ii8z7v1bib57d3mjv0b27i8iixw78i83wnsycmdx";
meta.description = "Expands [%here] into its location";
propagatedBuildInputs = [ ppxlib ];
};
ppx_compare = janePackage {
pname = "ppx_compare";
hash = "0n1ax4k2smhps9hc2v58lc06a0fgimwvbi1aj4x78vwh5j492bys";
meta.description = "Generation of comparison functions from types";
propagatedBuildInputs = [ ppxlib ];
};
ppx_assert = janePackage {
pname = "ppx_assert";
hash = "0as6mzr6ki2a9d4k6132p9dskn0qssla1s7j5rkzp75bfikd0ip8";
meta.description = "Assert-like extension nodes that raise useful errors on failure";
propagatedBuildInputs = [ ppx_compare ppx_here ppx_sexp_conv ];
};
ppx_inline_test = janePackage {
pname = "ppx_inline_test";
hash = "0nyz411zim94pzbxm2l2v2l9jishcxwvxhh142792g2s18r4vn50";
meta.description = "Syntax extension for writing in-line tests in ocaml code";
propagatedBuildInputs = [ ppxlib ];
};
ppx_custom_printf = janePackage {
pname = "ppx_custom_printf";
version = "0.12.1";
hash = "0q7591agvd3qy9ihhbyk4db48r0ng7yxspfj8afxxiawl7k5bas6";
meta.description = "Printf-style format-strings for user-defined string conversion";
propagatedBuildInputs = [ ppx_sexp_conv ];
};
fieldslib = janePackage {
pname = "fieldslib";
hash = "0dlgr7cimqmjlcymk3bdcyzqzvdy12q5lqa844nqix0k2ymhyphf";
meta.description = "Syntax extension to define first class values representing record fields, to get and set record fields, iterate and fold over all fields of a record and create new record values";
propagatedBuildInputs = [ base ];
};
ppx_fields_conv = janePackage {
pname = "ppx_fields_conv";
hash = "0flrdyxdfcqcmdrbipxdjq0s3djdgs7z5pvjdycsvs6czbixz70v";
meta.description = "Generation of accessor and iteration functions for ocaml records";
propagatedBuildInputs = [ fieldslib ppxlib ];
};
variantslib = janePackage {
pname = "variantslib";
hash = "1cclb5magk63gyqmkci8abhs05g2pyhyr60a2c1bvmig0faqcnsf";
meta.description = "Part of Jane Street's Core library";
propagatedBuildInputs = [ base ];
};
ppx_variants_conv = janePackage {
pname = "ppx_variants_conv";
hash = "05j9bgra8xq6fcp12ch3z9vjrk139p2wrcjjcs4h52n5hhc8vzbz";
meta.description = "Generation of accessor and iteration functions for ocaml variant types";
propagatedBuildInputs = [ variantslib ppxlib ];
};
ppx_expect = janePackage {
pname = "ppx_expect";
hash = "1wawsbjfkri4sw52n8xqrzihxc3xfpdicv3ahz83a1rsn4lb8j5q";
meta.description = "Cram like framework for OCaml";
propagatedBuildInputs = [ ppx_assert ppx_custom_printf ppx_fields_conv ppx_inline_test ppx_variants_conv re ];
};
ppx_enumerate = janePackage {
pname = "ppx_enumerate";
hash = "08zfpq6bdm5lh7xj9k72iz9f2ihv3aznl3nypw3x78vz1chj8dqa";
meta.description = "Generate a list containing all values of a finite type";
propagatedBuildInputs = [ ppxlib ];
};
ppx_hash = janePackage {
pname = "ppx_hash";
hash = "1dfsfvhiyp1mnf24mr93svpdn432kla0y7x631lssacxxp2sadbg";
meta.description = "A ppx rewriter that generates hash functions from type expressions and definitions";
propagatedBuildInputs = [ ppx_compare ppx_sexp_conv ];
};
ppx_js_style = janePackage {
pname = "ppx_js_style";
hash = "1lz931m3qdv3yzqy6dnb8fq1d99r61w0n7cwf3b9fl9rhk0pggwh";
meta.description = "Code style checker for Jane Street Packages";
propagatedBuildInputs = [ octavius ppxlib ];
};
ppx_base = janePackage {
pname = "ppx_base";
hash = "0vd96rp2l084iamkwmvizzhl9625cagjb6gzzbir06czii5mlq2p";
meta.description = "Base set of ppx rewriters";
propagatedBuildInputs = [ ppx_enumerate ppx_hash ppx_js_style ];
};
ppx_bench = janePackage {
pname = "ppx_bench";
hash = "1ib81irawxzq091bmpi50z0kmpx6z2drg14k2xcgmwbb1d4063xn";
meta.description = "Syntax extension for writing in-line benchmarks in ocaml code";
propagatedBuildInputs = [ ppx_inline_test ];
};
ppx_sexp_message = janePackage {
pname = "ppx_sexp_message";
hash = "0yskd6v48jc6wa0nhg685kylh1n9qb6b7d1wglr9wnhl9sw990mc";
meta.description = "A ppx rewriter for easy construction of s-expressions";
propagatedBuildInputs = [ ppx_here ppx_sexp_conv ];
};
splittable_random = janePackage {
pname = "splittable_random";
hash = "1wpyz7807cgj8b50gdx4rw6f1zsznp4ni5lzjbnqdwa66na6ynr4";
meta.description = "PRNG that can be split into independent streams";
propagatedBuildInputs = [ base ppx_assert ppx_bench ppx_sexp_message ];
};
ppx_let = janePackage {
pname = "ppx_let";
hash = "146dmyzkbmafa3giz69gpxccvdihg19cvk4xsg8krbbmlkvdda22";
meta.description = "Monadic let-bindings";
propagatedBuildInputs = [ ppxlib ];
};
base_quickcheck = janePackage {
pname = "base_quickcheck";
hash = "1la6qgq1zwmfyq1hqy6i337w435ym5yqgx2ygk86qip6nws0s6r3";
meta.description = "Randomized testing framework, designed for compatibility with Base";
propagatedBuildInputs = [ ppx_base ppx_fields_conv ppx_let splittable_random ];
};
ppx_stable = janePackage {
pname = "ppx_stable";
hash = "15zvf66wlkvz0yd4bkvndkpq74dj20jv1qkljp9n52hh7d0f9ykh";
meta.description = "Stable types conversions generator";
propagatedBuildInputs = [ ppxlib ];
};
bin_prot = janePackage {
pname = "bin_prot";
hash = "0hh6s7g9s004z35hsr8z6nw5phlcvcd6g2q3bj4f0s1s0anlsswm";
meta.description = "A binary protocol generator";
propagatedBuildInputs = [ ppx_compare ppx_custom_printf ppx_fields_conv ppx_variants_conv ];
};
ppx_bin_prot = janePackage {
pname = "ppx_bin_prot";
version = "0.12.1";
hash = "1j0kjgmv58dmg3x5dj5zrfbm920rwq21lvkkaqq493y76cd0x8xg";
meta.description = "Generation of bin_prot readers and writers from types";
propagatedBuildInputs = [ bin_prot ppx_here ];
};
ppx_fail = janePackage {
pname = "ppx_fail";
hash = "0krsv6z9gi0ifxmw5ss6gwn108qhywyhbs41an10x9d5zpgf4l1n";
meta.description = "Add location to calls to failwiths";
propagatedBuildInputs = [ ppx_here ];
};
jst-config = janePackage {
pname = "jst-config";
hash = "0yxcz13vda1mdh9ah7qqxwfxpcqang5sgdssd8721rszbwqqaw93";
meta.description = "Compile-time configuration for Jane Street libraries";
buildInputs = [ ppx_assert ];
};
ppx_optcomp = janePackage {
pname = "ppx_optcomp";
hash = "0bdbx01kz0174g1szdhv3mcfqxqqf2frxq7hk13xaf6fsz04kwmj";
meta.description = "Optional compilation for OCaml";
propagatedBuildInputs = [ ppxlib ];
};
jane-street-headers = janePackage {
pname = "jane-street-headers";
hash = "0qa4llf812rjqa8nb63snmy8d8ny91p3anwhb50afb7vjaby8m34";
meta.description = "Jane Street C header files";
};
time_now = janePackage {
pname = "time_now";
hash = "169mgsb3rja4j1j9nj5xa7bbkd21p9kfpskqz0wjf9x2fpxqsniq";
meta.description = "Reports the current time";
buildInputs = [ jst-config ppx_optcomp ];
propagatedBuildInputs = [ jane-street-headers base ppx_base ];
};
ppx_module_timer = janePackage {
pname = "ppx_module_timer";
hash = "0yziakm7f4c894na76k1z4bp7azy82xc33mh36fj761w1j9zy3wm";
meta.description = "Ppx rewriter that records top-level module startup times";
propagatedBuildInputs = [ time_now ];
};
ppx_optional = janePackage {
pname = "ppx_optional";
hash = "07i0iipbd5xw2bc604qkwlcxmhncfpm3xmrr6svyj2ij86pyssh8";
meta.description = "Pattern matching on flat options";
propagatedBuildInputs = [ ppxlib ];
};
ppx_pipebang = janePackage {
pname = "ppx_pipebang";
hash = "1p4pdpl8h2bblbhpn5nk17ri4rxpz0aih0gffg3cl1186irkj0xj";
meta.description = "A ppx rewriter that inlines reverse application operators `|>` and `|!`";
propagatedBuildInputs = [ ppxlib ];
};
ppx_sexp_value = janePackage {
pname = "ppx_sexp_value";
hash = "1mg81834a6dx1x7x9zb9wc58438cabjjw08yhkx6i386hxfy891p";
meta.description = "A ppx rewriter that simplifies building s-expressions from ocaml values";
propagatedBuildInputs = [ ppx_here ppx_sexp_conv ];
};
typerep = janePackage {
pname = "typerep";
hash = "1psl6gsk06a62szh60y5sc1s92xpmrl1wpw3rhha09v884b7arbc";
meta.description = "Typerep is a library for runtime types";
propagatedBuildInputs = [ base ];
};
ppx_typerep_conv = janePackage {
pname = "ppx_typerep_conv";
hash = "09vik6qma1id44k8nz87y48l9wbjhqhap1ar1hpfdfkjai1hrzzq";
meta.description = "Generation of runtime types from type declarations";
propagatedBuildInputs = [ ppxlib typerep ];
};
ppx_jane = janePackage {
pname = "ppx_jane";
hash = "1a2602isqzsh640q20qbmarx0sc316mlsqc3i25ysv2kdyhh0kyw";
meta.description = "Standard Jane Street ppx rewriters";
propagatedBuildInputs = [ base_quickcheck ppx_bench ppx_bin_prot ppx_expect ppx_fail ppx_module_timer ppx_optcomp ppx_optional ppx_pipebang ppx_sexp_value ppx_stable ppx_typerep_conv ];
};
base_bigstring = janePackage {
pname = "base_bigstring";
hash = "0rbgyg511847fbnxad40prz2dyp4da6sffzyzl88j18cxqxbh1by";
meta.description = "String type based on [Bigarray], for use in I/O and C-bindings";
propagatedBuildInputs = [ ppx_jane ];
};
parsexp = janePackage {
pname = "parsexp";
hash = "1974i9s2c2n03iffxrm6ncwbd2gg6j6avz5jsxfd35scc2zxcd4l";
meta.description = "S-expression parsing library";
propagatedBuildInputs = [ base sexplib0 ];
};
sexplib = janePackage {
pname = "sexplib";
hash = "0780klc5nnv0ij6aklzra517cfnfkjdlp8ylwjrqwr8dl9rvxza2";
meta.description = "Library for serializing OCaml values to and from S-expressions";
propagatedBuildInputs = [ num parsexp ];
};
core_kernel = janePackage {
pname = "core_kernel";
version = "0.12.2";
hash = "0c85bjvadrb4pmjcg0gjk3bkkgka62r90pjm690mjvcbbv5zjxzj";
meta.description = "System-independent part of Core";
buildInputs = [ jst-config ];
propagatedBuildInputs = [ base_bigstring sexplib ];
};
spawn = janePackage {
pname = "spawn";
version = "0.13.0";
hash = "1w003k1kw1lmyiqlk58gkxx8rac7dchiqlz6ah7aj7bh49b36ppf";
meta.description = "Spawning sub-processes";
buildInputs = [ ppx_expect ];
};
core = janePackage {
pname = "core";
version = "0.12.3";
hash = "1vmjqiafkg45hqfvahx6jnlaww1q4a4215k8znbgprf0qn3zymnj";
meta.description = "System-independent part of Core";
buildInputs = [ jst-config ];
propagatedBuildInputs = [ core_kernel spawn ];
};
async_kernel = janePackage {
pname = "async_kernel";
hash = "1d9illx7vvpblj1i2r9y0f2yff2fbhy3rp4hhvamq1n9n3lvxmh2";
meta.description = "Monadic concurrency library";
propagatedBuildInputs = [ core_kernel ];
};
protocol_version_header = janePackage {
pname = "protocol_version_header";
hash = "14vqhx3r84rlfhcjq52gxdqksckiaswlck9s47g7y2z1lsc17v7r";
meta.description = "Protocol versioning";
propagatedBuildInputs = [ core_kernel ];
};
async_rpc_kernel = janePackage {
pname = "async_rpc_kernel";
hash = "1znhqbzx4fp58i7dbcgyv5rx7difbhb5d8cbqzv96yqvbn67lsjk";
meta.description = "Platform-independent core of Async RPC library";
propagatedBuildInputs = [ async_kernel protocol_version_header ];
};
async_unix = janePackage {
pname = "async_unix";
hash = "09h10rdyykbm88n6r9nb5a22mlb6vcxa04q6hvrcr0kys6qhhqmb";
meta.description = "Monadic concurrency library";
propagatedBuildInputs = [ async_kernel core ];
};
async_extra = janePackage {
pname = "async_extra";
hash = "10j4mwlyqvf67yrp5dwd857llqjinpnnykmlzw2gpmks9azxk6mh";
meta.description = "Monadic concurrency library";
propagatedBuildInputs = [ async_rpc_kernel async_unix ];
};
textutils = janePackage {
pname = "textutils";
hash = "0302awqihf3abib9mvzvn4g8m364hm6jxry1r3kc01hzybhy9acq";
meta.description = "Text output utilities";
propagatedBuildInputs = [ core ];
};
async = janePackage {
pname = "async";
hash = "0pk7z3h2gi21nfchvmjz2wx516bynf9vgwf84zf5qhvlvqqsmyrx";
meta.description = "Monadic concurrency library";
propagatedBuildInputs = [ async_extra textutils ];
};
async_ssl = janePackage {
pname = "async_ssl";
hash = "02ard8x5q5c42d9jdqmyzfx624yjq8cxxmvq3zb82hf6p8cc57ml";
meta.description = "An Async-pipe-based interface with OpenSSL";
propagatedBuildInputs = [ async ctypes openssl ];
};
async_find = janePackage {
pname = "async_find";
hash = "0qsz9f15s5rlk6za10s810v6nlkdxg2g9p1827lcpa7nhjcpi673";
meta.description = "Directory traversal with Async";
propagatedBuildInputs = [ async ];
};
re2 = janePackage {
pname = "re2";
hash = "1sw32lb0y501y971ij7287796lvfhs0nfgla895r74ymfks2rcjb";
meta.description = "OCaml bindings for RE2, Google's regular expression library";
propagatedBuildInputs = [ core_kernel ];
};
shell = janePackage {
pname = "shell";
hash = "158857rdr6qgglc5iksg0l54jgf51b5lmsw7nlazpxwdwc9fcn5n";
meta.description = "Yet another implementation of fork&exec and related functionality";
buildInputs = [ jst-config ];
propagatedBuildInputs = [ re2 textutils ];
};
async_shell = janePackage {
pname = "async_shell";
hash = "0cxln9hkc3cy522la9yi9p23qjwl69kqmadsq4lnjh5bxdad06sv";
meta.description = "Shell helpers for Async";
propagatedBuildInputs = [ async shell ];
};
core_bench = janePackage {
pname = "core_bench";
hash = "00hyzbbj19dkcw0vhfnc8w0ca3zkjriwwvl00ssa0a2g9mygijdm";
meta.description = "Benchmarking library";
propagatedBuildInputs = [ textutils ];
};
core_extended = janePackage {
pname = "core_extended";
hash = "1gwx66235irpf5krb1r25a3c7w52qhmass8hp7rdv89il9jn49w4";
meta.description = "Extra components that are not as closely vetted or as stable as Core";
propagatedBuildInputs = [ core ];
};
### Packages at version 0.11, with dependencies at version 0.12
configurator = janePackage {
pname = "configurator";
version = "0.11.0";
hash = "0h686630cscav7pil8c3w0gbh6rj4b41dvbnwmicmlkc746q5bfk";
propagatedBuildInputs = [ stdio ];
meta.description = "Helper library for gathering system configuration";
};
ppx_core = janePackage {
pname = "ppx_core";
version = "0.11.0";
hash = "11hgm9mxig4cm3c827f6dns9mjv3pf8g6skf10x0gw9xnp1dmzmx";
propagatedBuildInputs = [ ppxlib ];
meta.description = "Deprecated (see ppxlib)";
};
ppx_driver = janePackage {
pname = "ppx_driver";
version = "0.11.0";
hash = "00kfx6js2kxk57k4v7hiqvwk7h35whgjihnxf75m82rnaf4yzvfi";
propagatedBuildInputs = [ ppxlib ];
meta.description = "Deprecated (see ppxlib)";
};
ppx_type_conv = janePackage {
pname = "ppx_type_conv";
version = "0.11.0";
hash = "04dbrglqqhkas25cpjz8xhjcbpk141c35qggzw66bn69izczfmaf";
propagatedBuildInputs = [ ppxlib ];
meta.description = "Deprecated (see ppxlib)";
};
}

View File

@ -0,0 +1,19 @@
{ lib, fetchFromGitHub, buildDunePackage, defaultVersion ? "0.12.0" }:
{ pname, version ? defaultVersion, hash, ...}@args:
buildDunePackage (args // {
inherit version;
minimumOCamlVersion = "4.07";
src = fetchFromGitHub {
owner = "janestreet";
repo = pname;
rev = "v${version}";
sha256 = hash;
};
meta.license = lib.licenses.mit;
meta.homepage = "https://github.com/janestreet/${pname}";
})

View File

@ -1,6 +1,6 @@
{ stdenv, fetchurl, fetchpatch, ocaml, findlib, ocamlbuild, topkg { stdenv, fetchurl, fetchpatch, ocaml, findlib, ocamlbuild, topkg
, cpuid, ocb-stubblr, sexplib , cpuid, ocb-stubblr, sexplib
, cstruct, zarith, ppx_sexp_conv , cstruct, zarith, ppx_sexp_conv, ppx_deriving
, cstruct-lwt ? null , cstruct-lwt ? null
}: }:
@ -44,7 +44,7 @@ stdenv.mkDerivation rec {
]; ];
buildInputs = [ ocaml findlib ocamlbuild topkg cpuid ocb-stubblr ]; buildInputs = [ ocaml findlib ocamlbuild topkg cpuid ocb-stubblr ];
propagatedBuildInputs = [ cstruct ppx_sexp_conv sexplib zarith ] ++ optional withLwt cstruct-lwt; propagatedBuildInputs = [ cstruct ppx_deriving ppx_sexp_conv sexplib zarith ] ++ optional withLwt cstruct-lwt;
buildPhase = "${topkg.buildPhase} --with-lwt ${boolToString withLwt}"; buildPhase = "${topkg.buildPhase} --with-lwt ${boolToString withLwt}";
inherit (topkg) installPhase; inherit (topkg) installPhase;

View File

@ -0,0 +1,27 @@
{ stdenv, fetchFromGitHub, buildDunePackage, alcotest, cmdliner, rresult, result, xmlm, yojson }:
buildDunePackage rec {
pname = "rpclib";
version = "5.9.0";
minimumOCamlVersion = "4.04";
src = fetchFromGitHub {
owner = "mirage";
repo = "ocaml-rpc";
rev = "v${version}";
sha256 = "1swnnmmnkn53mxqpckdnd1j8bz0wksqznjbv0zamspxyqybmancq";
};
buildInputs = [ alcotest cmdliner yojson ];
propagatedBuildInputs = [ rresult result xmlm ];
doCheck = true;
meta = with stdenv.lib; {
homepage = "https://github.com/mirage/ocaml-rpc";
description = "Light library to deal with RPCs in OCaml";
license = licenses.isc;
maintainers = [ maintainers.vyorkin ];
};
}

View File

@ -0,0 +1,33 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, aiohttp
, flake8
, jinja2
, pytestCheckHook
, pytest-aiohttp
, pyyaml
}:
buildPythonPackage rec {
pname = "aiohttp-swagger";
version = "1.0.5";
src = fetchFromGitHub {
owner = "cr0hn";
repo = pname;
rev = "5a59e86f8c5672d2cc97dd35dc730c2f809d95ce"; # corresponds to 1.0.5 on PyPi, no tag on GitHub
sha256 = "1vpfk5b3f7s9qzr2q48g776f39xzqppjwm57scfzqqmbldkk5nv7";
};
propagatedBuildInputs = [ aiohttp jinja2 pyyaml ];
checkInputs = [ flake8 pytestCheckHook pytest-aiohttp ];
meta = with lib; {
description = "Swagger API Documentation builder for aiohttp";
homepage = https://github.com/cr0hn/aiohttp-swagger;
license = licenses.mit;
maintainers = with maintainers; [ elohmeier ];
};
}

View File

@ -1,5 +1,20 @@
{ stdenv, buildPythonPackage, fetchPypi, six, wcwidth, pytest, mock { stdenv, buildPythonPackage, fetchPypi, fetchpatch, six
, glibcLocales }: , wcwidth, pytest, mock, glibcLocales
}:
let
fixTestSuiteFailure_1 = fetchpatch {
url = https://github.com/jquast/blessed/pull/108/commits/76a54d39b0f58bfc71af04ee143459eefb0e1e7b.patch;
sha256 = "1higmv4c03ly7ywac1d7s71f3hrl531vj16nsfl9xh6zh9c47qcg";
};
fixTestSuiteFailure_2 = fetchpatch {
url = https://github.com/jquast/blessed/pull/108/commits/aa94e01aed745715e667601fb674844b257cfcc9.patch;
sha256 = "1frygr6sc1vakdfx1hf6jj0dbwibiqz8hw9maf1b605cbslc9nay";
};
in
buildPythonPackage rec { buildPythonPackage rec {
pname = "blessed"; pname = "blessed";
@ -10,6 +25,8 @@ buildPythonPackage rec {
sha256 = "777b0b6b5ce51f3832e498c22bc6a093b6b5f99148c7cbf866d26e2dec51ef21"; sha256 = "777b0b6b5ce51f3832e498c22bc6a093b6b5f99148c7cbf866d26e2dec51ef21";
}; };
patches = [ fixTestSuiteFailure_1 fixTestSuiteFailure_2 ];
checkInputs = [ pytest mock glibcLocales ]; checkInputs = [ pytest mock glibcLocales ];
checkPhase = '' checkPhase = ''

View File

@ -12,6 +12,8 @@ buildPythonPackage rec {
sha256 = "1811b55wdfg4kbsjcgh1kc938g118jpvif97ilgrmbls25dfpvvw"; sha256 = "1811b55wdfg4kbsjcgh1kc938g118jpvif97ilgrmbls25dfpvvw";
}; };
dontConfigure = true;
checkInputs = [ pytest ]; checkInputs = [ pytest ];
checkPhase = '' checkPhase = ''

View File

@ -0,0 +1,28 @@
{ stdenv, lib, buildPythonPackage, fetchFromGitHub, isPy36, flake8, click, pyyaml, six, pytestCheckHook, pytestcov }:
buildPythonPackage rec {
pname = "clickclick";
version = "1.2.2";
src = fetchFromGitHub {
owner = "hjacobs";
repo = "python-clickclick";
rev = version;
sha256 = "1rij9ws9nhsmagiy1vclzliiqfkxi006rf65qvrw1k3sm2s8p5g0";
};
checkInputs = [ pytestCheckHook pytestcov ];
propagatedBuildInputs = [ flake8 click pyyaml six ];
disabledTests = lib.optionals isPy36 [
"test_cli"
"test_choice_default"
];
meta = with stdenv.lib; {
description = "Click command line utilities";
homepage = https://github.com/hjacobs/python-clickclick/;
license = licenses.asl20;
maintainers = with maintainers; [ elohmeier ];
};
}

View File

@ -0,0 +1,94 @@
{ buildPythonPackage
, fetchFromGitHub
, isPy3k
, glibcLocales
, lib
, pythonOlder
, aiohttp
, aiohttp-swagger
, aiohttp-jinja2
, clickclick
, decorator
, flake8
, flask
, gevent
, inflection
, jsonschema
, mock
, openapi-spec-validator
, pathlib
, pytest
, pytest-aiohttp
, pytestcov
, pyyaml
, requests
, six
, swagger-ui-bundle
, testfixtures
, typing
, ujson
}:
buildPythonPackage rec {
pname = "connexion";
version = "2.3.0";
# we're fetching from GitHub because tests weren't distributed on PyPi
src = fetchFromGitHub {
owner = "zalando";
repo = pname;
rev = version;
sha256 = "1xdm3misxwgrl87ms0vvn0h4rjwzlmmi7kcra2ahs40iaraf33ln";
};
checkInputs = [
decorator
mock
pytest
pytestcov
testfixtures
flask
swagger-ui-bundle
]
++ lib.optionals isPy3k [ aiohttp aiohttp-jinja2 aiohttp-swagger ujson pytest-aiohttp ]
++ lib.optional (pythonOlder "3.7") glibcLocales
;
propagatedBuildInputs = [
clickclick
jsonschema
pyyaml
requests
six
inflection
openapi-spec-validator
swagger-ui-bundle
flask
]
++ lib.optional (pythonOlder "3.4") pathlib
++ lib.optional (pythonOlder "3.6") typing
++ lib.optionals isPy3k [ aiohttp aiohttp-jinja2 aiohttp-swagger ujson ]
;
preConfigure = lib.optional (pythonOlder "3.7") ''
export LANG=en_US.UTF-8
'';
postPatch = ''
substituteInPlace setup.py --replace "'aiohttp>=2.3.10,<3.5.2'" "'aiohttp>=2.3.10'"
'';
checkPhase = if isPy3k then ''
pytest -k "not test_app_get_root_path and \
not test_verify_oauth_scopes_remote and \
not test_verify_oauth_scopes_local and \
not test_run_with_aiohttp_not_installed"''
else "pytest --ignore=tests/aiohttp";
meta = with lib; {
description = "Swagger/OpenAPI First framework on top of Flask";
homepage = https://github.com/zalando/connexion/;
license = licenses.asl20;
maintainers = with maintainers; [ elohmeier ];
};
}

View File

@ -1,23 +1,31 @@
{ lib, buildPythonPackage, fetchFromGitHub, pythonOlder { lib, buildPythonPackage, fetchFromGitHub, pythonOlder
, six, typing , six, typing, pygments
, django, shortuuid, python-dateutil, pytest , django, shortuuid, python-dateutil, pytest
, pytest-django, pytestcov, mock, vobject , pytest-django, pytestcov, mock, vobject
, werkzeug, glibcLocales , werkzeug, glibcLocales, factory_boy
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "django-extensions"; pname = "django-extensions";
version = "2.1.4"; version = "2.1.9";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = pname; owner = pname;
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "1bp0ybarkrj66qx2gn9954vsjqq2ya1w4bppfhr763mkis8qnb4f"; sha256 = "08vggm6wrn5cbf8brfprif0rjrkqz06wddsw0ir1skkk8q2sp1b2";
}; };
postPatch = '' postPatch = ''
substituteInPlace setup.py --replace "'tox'," "" substituteInPlace setup.py --replace "'tox'," ""
# not yet pytest 5 compatible?
rm tests/management/commands/test_set_fake_emails.py
rm tests/management/commands/test_set_fake_passwords.py
rm tests/management/commands/test_validate_templates.py
# pip should not be used during tests...
rm tests/management/commands/test_pipchecker.py
''; '';
propagatedBuildInputs = [ six ] ++ lib.optional (pythonOlder "3.5") typing; propagatedBuildInputs = [ six ] ++ lib.optional (pythonOlder "3.5") typing;
@ -25,7 +33,7 @@ buildPythonPackage rec {
checkInputs = [ checkInputs = [
django shortuuid python-dateutil pytest django shortuuid python-dateutil pytest
pytest-django pytestcov mock vobject pytest-django pytestcov mock vobject
werkzeug glibcLocales werkzeug glibcLocales factory_boy pygments
]; ];
LC_ALL = "en_US.UTF-8"; LC_ALL = "en_US.UTF-8";

View File

@ -21,11 +21,6 @@ buildPythonPackage rec {
}) })
]; ];
# patch only $out/bin to avoid problems with starter templates (see #3134)
postFixup = ''
wrapPythonProgramsIn $out/bin "$out $pythonPath"
'';
propagatedBuildInputs = [ pytz ]; propagatedBuildInputs = [ pytz ];
# too complicated to setup # too complicated to setup

View File

@ -15,11 +15,6 @@ buildPythonPackage rec {
# too complicated to setup # too complicated to setup
doCheck = false; doCheck = false;
# patch only $out/bin to avoid problems with starter templates (see #3134)
postFixup = ''
wrapPythonProgramsIn $out/bin "$out $pythonPath"
'';
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "A high-level Python Web framework"; description = "A high-level Python Web framework";
homepage = https://www.djangoproject.com/; homepage = https://www.djangoproject.com/;

View File

@ -24,11 +24,6 @@ buildPythonPackage rec {
}) })
]; ];
# patch only $out/bin to avoid problems with starter templates (see #3134)
postFixup = ''
wrapPythonProgramsIn $out/bin "$out $pythonPath"
'';
propagatedBuildInputs = [ pytz ]; propagatedBuildInputs = [ pytz ];
# too complicated to setup # too complicated to setup

View File

@ -1,18 +1,18 @@
{ stdenv, buildPythonPackage, fetchFromGitHub, fetchpatch, six, hypothesis, mock { stdenv, buildPythonPackage, fetchFromGitHub, fetchpatch, six, hypothesis, mock
, python-Levenshtein, pytest }: , python-Levenshtein, pytest, termcolor, isPy27, enum34 }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "fire"; pname = "fire";
version = "0.1.3"; version = "0.2.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "google"; owner = "google";
repo = "python-fire"; repo = "python-fire";
rev = "v${version}"; rev = "v${version}";
sha256 = "0kdcmzr3sgzjsw5fmvdylgrn8akqjbs433jbgqzp498njl9cc6qx"; sha256 = "1r6cmihafd7mb6j3mvgk251my6ckb0sqqj1l2ny2azklv175b38a";
}; };
propagatedBuildInputs = [ six ]; propagatedBuildInputs = [ six termcolor ] ++ stdenv.lib.optional isPy27 enum34;
checkInputs = [ hypothesis mock python-Levenshtein pytest ]; checkInputs = [ hypothesis mock python-Levenshtein pytest ];
@ -20,14 +20,6 @@ buildPythonPackage rec {
py.test py.test
''; '';
patches = [
# Add Python 3.7 support. Remove with the next release
(fetchpatch {
url = "https://github.com/google/python-fire/commit/668007ae41391f5964870b4597e41493a936a11e.patch";
sha256 = "0rf7yzv9qx66zfmdggfz478z37fi4rwx4hlh3dk1065sx5rfksi0";
})
];
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "A library for automatically generating command line interfaces"; description = "A library for automatically generating command line interfaces";
longDescription = '' longDescription = ''

View File

@ -28,6 +28,9 @@ buildPythonPackage rec {
"-I${pkgs.qt5.qtbase.dev}/include/QtWidgets" "-I${pkgs.qt5.qtbase.dev}/include/QtWidgets"
]; ];
dontUseQmakeConfigure = true;
dontUseCmakeConfigure = true;
doCheck = false; doCheck = false;
postPatch = '' postPatch = ''
@ -39,6 +42,7 @@ buildPythonPackage rec {
homepage = http://pivy.coin3d.org/; homepage = http://pivy.coin3d.org/;
description = "A Python binding for Coin"; description = "A Python binding for Coin";
license = licenses.bsd0; license = licenses.bsd0;
maintainers = with maintainers; [ gebner ];
}; };
} }

View File

@ -9,10 +9,6 @@ buildPythonPackage rec {
sha256 = "19cyndx23xmpbhz4qrwmfwsmnnaczd0dw7qg977ksq2dbvxy29dx"; sha256 = "19cyndx23xmpbhz4qrwmfwsmnnaczd0dw7qg977ksq2dbvxy29dx";
}; };
# Seems to fail due to chroot and would cause circular dependency
# with pytest
doCheck = false;
meta = with stdenv.lib; { meta = with stdenv.lib; {
homepage = https://bitbucket.org/pypa/setuptools_scm/; homepage = https://bitbucket.org/pypa/setuptools_scm/;
description = "Handles managing your python package versions in scm metadata"; description = "Handles managing your python package versions in scm metadata";

View File

@ -3,6 +3,7 @@
, isPy3k , isPy3k
, fetchPypi , fetchPypi
, setuptools_scm , setuptools_scm
, setuptools
, requests , requests
, lxml , lxml
, beautifulsoup4 , beautifulsoup4
@ -26,7 +27,7 @@ buildPythonPackage rec {
''; '';
nativeBuildInputs = [ setuptools_scm ]; nativeBuildInputs = [ setuptools_scm ];
propagatedBuildInputs = [ requests lxml beautifulsoup4 ]; propagatedBuildInputs = [ setuptools requests lxml beautifulsoup4 ];
meta = with lib; { meta = with lib; {
homepage = https://github.com/JustAnotherArchivist/snscrape; homepage = https://github.com/JustAnotherArchivist/snscrape;

View File

@ -0,0 +1,29 @@
{ stdenv, buildPythonPackage, fetchPypi, jinja2, flake8 }:
buildPythonPackage rec {
pname = "swagger-ui-bundle";
version = "0.0.5";
src = fetchPypi {
pname = "swagger_ui_bundle";
inherit version;
sha256 = "0v69v94mzzb63ciwpz3n8jwxqcyll3fsyx087s9k9q543zdqzbh1";
};
# patch away unused test requirements since package contains no tests
postPatch = ''
substituteInPlace setup.py --replace "setup_requires=['pytest-runner', 'flake8']" "setup_requires=[]"
'';
propagatedBuildInputs = [ jinja2 ];
# package contains no tests
doCheck = false;
meta = with stdenv.lib; {
description = "bundled swagger-ui pip package";
homepage = https://github.com/dtkav/swagger_ui_bundle;
license = licenses.asl20;
maintainers = with maintainers; [ elohmeier ];
};
}

View File

@ -1,13 +1,13 @@
{ fetchPypi, buildPythonPackage, lib }: { fetchPypi, buildPythonPackage, lib }:
buildPythonPackage rec { buildPythonPackage rec {
version = "3.9.10"; version = "3.9.11";
pname = "thespian"; pname = "thespian";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
extension = "zip"; extension = "zip";
sha256 = "bffb04b93afcbab0268332445f02757c326f95056eb7e1e2f0515c1dfb92ac7d"; sha256 = "84887f0437ec144f7266ae22678bc5dc5d2a9e60a89f1f7c1707cbea5e03022a";
}; };
# Do not run the test suite: it takes a long time and uses # Do not run the test suite: it takes a long time and uses

View File

@ -198,6 +198,7 @@ in
gpgme = attrs: { gpgme = attrs: {
buildInputs = [ gpgme ]; buildInputs = [ gpgme ];
buildFlags = [ "--use-system-libraries" ];
}; };
gio2 = attrs: { gio2 = attrs: {
@ -535,19 +536,6 @@ in
]; ];
}; };
sup = attrs: {
dontBuild = false;
# prevent sup from trying to dynamically install `xapian-ruby`.
nativeBuildInputs = [ bundler rake ];
postPatch = ''
cp ${./mkrf_conf_xapian.rb} ext/mkrf_conf_xapian.rb
substituteInPlace lib/sup/crypto.rb \
--replace 'which gpg2' \
'${which}/bin/which gpg'
'';
};
rb-readline = attrs: { rb-readline = attrs: {
dontBuild = false; dontBuild = false;
postPatch = '' postPatch = ''

View File

@ -1,14 +0,0 @@
require 'rubygems'
require 'rubygems/command.rb'
require 'rubygems/dependency_installer.rb'
require 'rbconfig'
begin
Gem::Command.build_args = ARGV
rescue NoMethodError
end
# create dummy rakefile to indicate success
f = File.open(File.join(File.dirname(__FILE__), "Rakefile"), "w")
f.write("task :default\n")
f.close

View File

@ -0,0 +1,13 @@
diff --git a/Cargo.lock b/Cargo.lock
index db09bc4..1e4892d 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -961,7 +961,7 @@ dependencies = [
[[package]]
name = "tokei"
-version = "10.0.0"
+version = "10.0.1"
dependencies = [
"clap 2.33.0 (registry+https://github.com/rust-lang/crates.io-index)",
"dirs 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)",

View File

@ -2,26 +2,35 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "tokei"; pname = "tokei";
version = "9.1.1"; version = "10.0.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "XAMPPRocky"; owner = "XAMPPRocky";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "0gz8m5j9p7hwylyl7cdxbli9rpy1p6lsrbym4zk647819pg4k1jp"; sha256 = "0g8p4f8g9zb1fqzzb1qi28idskahi5nldsma6rydjyrgi9gynpa0";
}; };
cargoSha256 = "19h0ybi9qq5shvr7zix0gb24a29lqkvyfc5xbgps8wqgfrhx4nqa"; cargoSha256 = "0pwq1scll5ga8rw4lx97s915zvp7v171b6316cin54f2zzpbrxx5";
# Patch for v10.0.1 Cargo.lock issue
patches = [ ./Cargo.lock.patch ];
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ buildInputs = stdenv.lib.optionals stdenv.isDarwin [
libiconv darwin.apple_sdk.frameworks.Security libiconv darwin.apple_sdk.frameworks.Security
]; ];
# enable all output formats
cargoBuildFlags = [ "--features" "all" ];
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Program that displays statistics about your code"; description = "A program that allows you to count your code, quickly";
longDescription = ''
Tokei is a program that displays statistics about your code. Tokei will show number of files, total lines within those files and code, comments, and blanks grouped by language.
'';
homepage = https://github.com/XAMPPRocky/tokei; homepage = https://github.com/XAMPPRocky/tokei;
license = with licenses; [ asl20 /* or */ mit ]; license = with licenses; [ asl20 /* or */ mit ];
maintainers = with maintainers; [ gebner ]; maintainers = with maintainers; [ gebner lilyball ];
platforms = platforms.all; platforms = platforms.all;
}; };
} }

View File

@ -1,5 +1,6 @@
{ stdenv, lib, fetchurl, perl, unzip, zip, which, pkgconfig { stdenv, mkDerivation, fetchurl, autoconf, automake
, qtbase, qtscript, SDL2, libtheora, openal, glew, physfs, fribidi, libXrandr , perl, unzip, zip, which, pkgconfig, qtbase, qtscript
, SDL2, libtheora, openal, glew, physfs, fribidi, libXrandr
, withVideos ? false , withVideos ? false
}: }:
@ -11,17 +12,24 @@ let
}; };
in in
stdenv.mkDerivation rec { mkDerivation rec {
version = "3.2.3"; inherit pname;
name = "${pname}-${version}"; version = "3.3.0";
src = fetchurl { src = fetchurl {
url = "mirror://sourceforge/${pname}/releases/${version}/${name}.tar.xz"; url = "mirror://sourceforge/${pname}/releases/${version}/${pname}-${version}_src.tar.xz";
sha256 = "10kmpr4cby95zwqsl1zwx95d9achli6khq7flv6xmrq30a39xazw"; sha256 = "1s0n67rh32g0bgq72p4qzkcqjlw58gc70r4r6gl9k90pil9chj6c";
}; };
buildInputs = [ qtbase qtscript SDL2 libtheora openal glew physfs fribidi libXrandr ]; buildInputs = [
nativeBuildInputs = [ perl zip unzip pkgconfig ]; qtbase qtscript SDL2 libtheora openal
glew physfs fribidi libXrandr
];
nativeBuildInputs = [
perl zip unzip pkgconfig autoconf automake
];
preConfigure = "./autogen.sh";
postPatch = '' postPatch = ''
substituteInPlace lib/exceptionhandler/dumpinfo.cpp \ substituteInPlace lib/exceptionhandler/dumpinfo.cpp \
@ -36,7 +44,8 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true; enableParallelBuilding = true;
postInstall = lib.optionalString withVideos "cp ${sequences_src} $out/share/warzone2100/sequences.wz"; postInstall = stdenv.lib.optionalString withVideos
"cp ${sequences_src} $out/share/warzone2100/sequences.wz";
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "A free RTS game, originally developed by Pumpkin Studios"; description = "A free RTS game, originally developed by Pumpkin Studios";

View File

@ -61,12 +61,12 @@ let
ale = buildVimPluginFrom2Nix { ale = buildVimPluginFrom2Nix {
pname = "ale"; pname = "ale";
version = "2019-08-18"; version = "2019-09-01";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "w0rp"; owner = "w0rp";
repo = "ale"; repo = "ale";
rev = "73812c3e41c1c7fcf1705811f35ac4c9ccec003e"; rev = "6e18c03d80c323e740f87103fc05955b5c61b54e";
sha256 = "166hgzyx1j1n717icj0mq2n8jkg4kpi1iy5gk3q0l28nd88w5hlb"; sha256 = "0jgqmliy48fqdhc1lnsbvkgg24z85n7dv8z6k6xxnilcsrhfzds2";
}; };
}; };
@ -303,23 +303,23 @@ let
coc-git = buildVimPluginFrom2Nix { coc-git = buildVimPluginFrom2Nix {
pname = "coc-git"; pname = "coc-git";
version = "2019-08-20"; version = "2019-09-09";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "neoclide"; owner = "neoclide";
repo = "coc-git"; repo = "coc-git";
rev = "d778033c08580768d2a48b78f4c1b7ab63af12bd"; rev = "67d6df228ffca7e6247139184fcb53003ccf7810";
sha256 = "1bxx8y5yp9v95clp8dic8q8zr85dl7i2qq4iibmazg9hzcigc3s6"; sha256 = "1xmm07k9c3kzyx4wrkamdpfh1pykihlrs35qcgy8wgqr9msqj9bq";
}; };
}; };
coc-go = buildVimPluginFrom2Nix { coc-go = buildVimPluginFrom2Nix {
pname = "coc-go"; pname = "coc-go";
version = "2019-08-23"; version = "2019-09-07";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "josa42"; owner = "josa42";
repo = "coc-go"; repo = "coc-go";
rev = "27ef3358055b68c5b592c920c9d0e8aa1522c71e"; rev = "16005f9249196c54cd85f0407152d04a4c487b30";
sha256 = "1v1lwkxzwi1l20561m1nxbmgmjgzn83lvx0mb2c4z3p7brbjmv0y"; sha256 = "06jky64f2l4j5sn4v8ij5594afc85d4gk2mxd315j5b16sy661l3";
}; };
}; };
@ -413,12 +413,12 @@ let
coc-pairs = buildVimPluginFrom2Nix { coc-pairs = buildVimPluginFrom2Nix {
pname = "coc-pairs"; pname = "coc-pairs";
version = "2019-08-07"; version = "2019-09-09";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "neoclide"; owner = "neoclide";
repo = "coc-pairs"; repo = "coc-pairs";
rev = "51e404a60fa0461ebfaea4ba1311357b8825e73f"; rev = "318e8123b11d231ceb48c0e7dd9864881115d873";
sha256 = "0sz45z7i7fqnvl4968dalksz9qk0al6a57wyyhyl7rx1wv67vaya"; sha256 = "0r9cnqn6mr6b9g7ahjhfxr7s82a6wcwxhwm22s6vparaa45k4mk0";
}; };
}; };
@ -479,12 +479,12 @@ let
coc-snippets = buildVimPluginFrom2Nix { coc-snippets = buildVimPluginFrom2Nix {
pname = "coc-snippets"; pname = "coc-snippets";
version = "2019-08-17"; version = "2019-09-08";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "neoclide"; owner = "neoclide";
repo = "coc-snippets"; repo = "coc-snippets";
rev = "ffd2b091e5bb5995aac95d1ebe98f87f3df763b1"; rev = "9a8da3f5548e1f894fdd3b9600e17007f7ad9b26";
sha256 = "1n23nvfh99jvnmf901g5zck8hyx3qq5cr4vz119a7ra5dj4bka95"; sha256 = "14vk80bg0cgs14n3kfpg6rkgxvvrnyz4s4wms0iqi9hq622i0znz";
}; };
}; };
@ -545,12 +545,12 @@ let
coc-tsserver = buildVimPluginFrom2Nix { coc-tsserver = buildVimPluginFrom2Nix {
pname = "coc-tsserver"; pname = "coc-tsserver";
version = "2019-08-27"; version = "2019-09-09";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "neoclide"; owner = "neoclide";
repo = "coc-tsserver"; repo = "coc-tsserver";
rev = "c80ae7b19b038f380639e1c5b5e3c3a0b9252f6c"; rev = "30cf468536a47c994133bb0b5614f305dd6441fe";
sha256 = "06pd5k72sa3d6psdkcdar70b456p2dqzbbk2x166gkxavjqjkyid"; sha256 = "1nkx1wmhmic4xavb5pnssv14cb6k3znc2jlfcc3ipanm0a6bwkpx";
}; };
}; };
@ -788,34 +788,34 @@ let
denite-git = buildVimPluginFrom2Nix { denite-git = buildVimPluginFrom2Nix {
pname = "denite-git"; pname = "denite-git";
version = "2019-07-08"; version = "2019-09-09";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "chemzqm"; owner = "chemzqm";
repo = "denite-git"; repo = "denite-git";
rev = "b3b3742f263475cc0e16c1c03845e46d0c0faa16"; rev = "db4ad6c3717272fc347a46466e4337bba6b4c4cc";
sha256 = "15m7y4mzzysfhmmzwj7q6y8d2rcczn6fvicw77j7njssf9fmwc10"; sha256 = "0rlv9q7fzgiapann3r83szr87mfpxcvhmrsjzrxrimqk3m992wa2";
}; };
}; };
denite-nvim = buildVimPluginFrom2Nix { denite-nvim = buildVimPluginFrom2Nix {
pname = "denite-nvim"; pname = "denite-nvim";
version = "2019-08-29"; version = "2019-09-08";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "Shougo"; owner = "Shougo";
repo = "denite.nvim"; repo = "denite.nvim";
rev = "161d4a7cd490dad3a708e8461e11f3bf2af2c0ea"; rev = "dedeed5cb3fab46465a1f30efa4875c4937ed2f7";
sha256 = "026lkyd768v4a0pyfzrlsqyln4bvmhp99p4vjhmmi079vjs7z7b1"; sha256 = "1c65mhc4dw0zf1azqfnjf7l5gp2pxayq8qv0j1lvlqpn6q6gg1di";
}; };
}; };
deol-nvim = buildVimPluginFrom2Nix { deol-nvim = buildVimPluginFrom2Nix {
pname = "deol-nvim"; pname = "deol-nvim";
version = "2019-07-18"; version = "2019-09-08";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "Shougo"; owner = "Shougo";
repo = "deol.nvim"; repo = "deol.nvim";
rev = "53ff81bd27dc86dafe209687df9ed8f3c205601c"; rev = "474b72a8541e529a1628084c277e6e0aa7f80fda";
sha256 = "1dq3457rd6jda4w4ajlq2gdiaz5nhcnfg4b4v47xzdcd63bcssir"; sha256 = "00kwij67csk9yp64r8lfrc9m0jm5mqckf4c9a3489azfjn8da097";
}; };
}; };
@ -831,6 +831,17 @@ let
}; };
}; };
deoplete-dictionary = buildVimPluginFrom2Nix {
pname = "deoplete-dictionary";
version = "2019-04-16";
src = fetchFromGitHub {
owner = "deoplete-plugins";
repo = "deoplete-dictionary";
rev = "e0879df5dce25b96d6a2a6f52a1a5e41d12b5992";
sha256 = "05p707b15fzhf0laqy3q0hi34vxpljy86cd5qvpjzx5h0ry32p09";
};
};
deoplete-fish = buildVimPluginFrom2Nix { deoplete-fish = buildVimPluginFrom2Nix {
pname = "deoplete-fish"; pname = "deoplete-fish";
version = "2018-09-15"; version = "2018-09-15";
@ -879,12 +890,12 @@ let
deoplete-lsp = buildVimPluginFrom2Nix { deoplete-lsp = buildVimPluginFrom2Nix {
pname = "deoplete-lsp"; pname = "deoplete-lsp";
version = "2019-07-15"; version = "2019-09-09";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "Shougo"; owner = "Shougo";
repo = "deoplete-lsp"; repo = "deoplete-lsp";
rev = "c0172e8d458054b8dea037bbcfef523cde7add93"; rev = "9e5ab5d5ea955711bce2a64535ec42d9e76aa3fe";
sha256 = "1j6904wk4qr4i4h8qn2rikzw1kp6r5dc4475x38i8xngx1ap4x24"; sha256 = "1552fr18drc8q7qha8gbfckp906fihx8xdpj7z7y0yiw20bc4kk3";
}; };
}; };
@ -912,12 +923,12 @@ let
deoplete-nvim = buildVimPluginFrom2Nix { deoplete-nvim = buildVimPluginFrom2Nix {
pname = "deoplete-nvim"; pname = "deoplete-nvim";
version = "2019-08-31"; version = "2019-09-09";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "Shougo"; owner = "Shougo";
repo = "deoplete.nvim"; repo = "deoplete.nvim";
rev = "93722cc5d0a1877fdad0845330b3a41c5e392a34"; rev = "48b1643509e4ef3a4af6cf57df35e6c6ac1275ce";
sha256 = "0ay5j8drbd0m8hn9zpxsd56z2y07imm8lmkvfamja353mwb8nlh9"; sha256 = "192lph0kbs4mmbsz1jsjmrmy3an53bkd4lzyvn615r24qfbpcz14";
}; };
}; };
@ -1024,12 +1035,12 @@ let
falcon = buildVimPluginFrom2Nix { falcon = buildVimPluginFrom2Nix {
pname = "falcon"; pname = "falcon";
version = "2019-08-29"; version = "2019-09-09";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "fenetikm"; owner = "fenetikm";
repo = "falcon"; repo = "falcon";
rev = "f5ec61dade10692257e5f45609bb42f8fbf07c23"; rev = "96eace33dd16d553a9318f08209f108ec69c5cd7";
sha256 = "08j1rhah96k7w4x569w84qxgn4ishia0xxy102z8v5zgxjpcyhld"; sha256 = "09q9rk69xrj30knfdq5s4xxmiwnazs1l7lrsqwxpn0ggq8ryk5qd";
}; };
}; };
@ -1046,12 +1057,12 @@ let
fastfold = buildVimPluginFrom2Nix { fastfold = buildVimPluginFrom2Nix {
pname = "fastfold"; pname = "fastfold";
version = "2019-03-28"; version = "2019-09-03";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "konfekt"; owner = "konfekt";
repo = "fastfold"; repo = "fastfold";
rev = "69d455dcf1ee40bf050a0d1e94f49f02bb2f4832"; rev = "cf38299fee6f6a9b0bc5874545ed3a2415b6b3c5";
sha256 = "1hk9ir47c7rds3fya9vd2rsvc2mfj602fhqvz1h0acvxkqy34lsk"; sha256 = "1x2ab1fjiqwmaph2r5dga4bv128ppzb8kpr3bjh6hvmcfabsh1f6";
}; };
}; };
@ -1135,12 +1146,12 @@ let
ghcid = buildVimPluginFrom2Nix { ghcid = buildVimPluginFrom2Nix {
pname = "ghcid"; pname = "ghcid";
version = "2019-08-21"; version = "2019-09-08";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "ndmitchell"; owner = "ndmitchell";
repo = "ghcid"; repo = "ghcid";
rev = "12cbd4cf3109459a1577be30da82cffe22bdf4b6"; rev = "586dd9652f9fa76d342557029abd4bbcb744f2f4";
sha256 = "0wzcpk9wsdhmz888g2x9b1ljf437agq536bd2d801dzv3ynqf4jl"; sha256 = "115zw4b8jxyalm0qhqjzzakaqc2bzy6bf0jm7kkfhyv3lfqwf19p";
}; };
}; };
@ -1333,12 +1344,12 @@ let
iosvkem = buildVimPluginFrom2Nix { iosvkem = buildVimPluginFrom2Nix {
pname = "iosvkem"; pname = "iosvkem";
version = "2019-08-20"; version = "2019-09-04";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "neutaaaaan"; owner = "neutaaaaan";
repo = "iosvkem"; repo = "iosvkem";
rev = "9c5d1e70f5335cc995e61ceba870818a946f26c3"; rev = "f9e6b5e8a72c4b3c542074d881e694daa60c79df";
sha256 = "0ppd8x9rh2mqd743zsvxakzha878lg7c7a3as5nlfjpb89g5dmn6"; sha256 = "1l9p8hxrv3rybbv9w3f74l4wngjyjw7jzylw38jbmsn7bgr1m336";
}; };
}; };
@ -1400,12 +1411,12 @@ let
julia-vim = buildVimPluginFrom2Nix { julia-vim = buildVimPluginFrom2Nix {
pname = "julia-vim"; pname = "julia-vim";
version = "2019-06-26"; version = "2019-09-03";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "JuliaEditorSupport"; owner = "JuliaEditorSupport";
repo = "julia-vim"; repo = "julia-vim";
rev = "072e4861412e841d308aabc928112ccaedf07135"; rev = "995eae2c333ac9a2ca1d31c8d7845680f4ac28b0";
sha256 = "1250a011mib5na5c769x2djjyz3rwhcdw80rmkvzv1xy7crxf5xn"; sha256 = "14d3r06nffxpbvffnh2b4i0q187cv5wsvq62mh2h1ifq95bj07s5";
}; };
}; };
@ -1466,12 +1477,12 @@ let
lh-vim-lib = buildVimPluginFrom2Nix { lh-vim-lib = buildVimPluginFrom2Nix {
pname = "lh-vim-lib"; pname = "lh-vim-lib";
version = "2019-07-16"; version = "2019-09-02";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "LucHermitte"; owner = "LucHermitte";
repo = "lh-vim-lib"; repo = "lh-vim-lib";
rev = "0add378423b813b15ff281a1b8176e95f444f301"; rev = "8adf0b269a1732b43644e2f6083113a4d5704a8b";
sha256 = "1fjlp7h0fd6dbw32m056sy9z7745py9f091jmcspfvqj5mfpkg8f"; sha256 = "0na11kdp2nksyg1whf89sa4ss909srdqp94i28m5fdngv3z46wqs";
}; };
}; };
@ -1488,12 +1499,12 @@ let
lightline-vim = buildVimPluginFrom2Nix { lightline-vim = buildVimPluginFrom2Nix {
pname = "lightline-vim"; pname = "lightline-vim";
version = "2019-08-20"; version = "2019-09-09";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "itchyny"; owner = "itchyny";
repo = "lightline.vim"; repo = "lightline.vim";
rev = "8b3aa1632c08784928458b2b85faf5c89feefccf"; rev = "c9ab296e856bed4e694180efb6ffb692cf18ed8f";
sha256 = "0bxvxkk0zps2qxnzp8dip7ngpv9b1a74y2wjzjqqvxzljk81a714"; sha256 = "1sw71fyihcyjb6vlwzw5wah6q1dz2mfcswm594wrdkjxm71i0c0d";
}; };
}; };
@ -1708,12 +1719,12 @@ let
neomake = buildVimPluginFrom2Nix { neomake = buildVimPluginFrom2Nix {
pname = "neomake"; pname = "neomake";
version = "2019-08-22"; version = "2019-09-03";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "neomake"; owner = "neomake";
repo = "neomake"; repo = "neomake";
rev = "723336c47844d7f58b7c37a6c3e62ddabcdf392b"; rev = "776a6f6e27330e38324b7ad4873329760adf72e3";
sha256 = "0psiadnx4qzqzn6p2yc7az5l624xb5mczn3y39irbdrl6l2rcd81"; sha256 = "0lxqqknp1xmaa8ys5ck5m9pyxv0hbpaba1bsv6fx6j6jb71nz590";
}; };
}; };
@ -1763,12 +1774,12 @@ let
neoterm = buildVimPluginFrom2Nix { neoterm = buildVimPluginFrom2Nix {
pname = "neoterm"; pname = "neoterm";
version = "2019-08-20"; version = "2019-09-01";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "kassio"; owner = "kassio";
repo = "neoterm"; repo = "neoterm";
rev = "c96ff95c9a41d716bbdca41b4cc2dc62e4b188a1"; rev = "f53fa5177c01180ea538290657721e1accbb02fe";
sha256 = "0jbrgsdljh9n1cr3dpgq83gpd3hx7ss4hbc0i0hls15laczlzipc"; sha256 = "0v162hpl881dhb61vkyi4bvny5zn74pknlyh1liyhw6jy5hgc9b8";
}; };
}; };
@ -1807,11 +1818,11 @@ let
nerdtree = buildVimPluginFrom2Nix { nerdtree = buildVimPluginFrom2Nix {
pname = "nerdtree"; pname = "nerdtree";
version = "2019-08-28"; version = "2019-09-09";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "scrooloose"; owner = "scrooloose";
repo = "nerdtree"; repo = "nerdtree";
rev = "3d508aedce35e1d952d3ce92378ad27ea5960fa6"; rev = "51fc75efdb8ac58c853492c3f61d854f65ed78ec";
sha256 = "098g4qq3h8nklynj4qnj02f6ivw10q07c69ssdrhgjwilpgv4nrk"; sha256 = "098g4qq3h8nklynj4qnj02f6ivw10q07c69ssdrhgjwilpgv4nrk";
}; };
}; };
@ -1895,12 +1906,12 @@ let
nvimdev-nvim = buildVimPluginFrom2Nix { nvimdev-nvim = buildVimPluginFrom2Nix {
pname = "nvimdev-nvim"; pname = "nvimdev-nvim";
version = "2019-08-21"; version = "2019-09-03";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "neovim"; owner = "neovim";
repo = "nvimdev.nvim"; repo = "nvimdev.nvim";
rev = "d27d00b3c529adc13c9882e7a3cb5c63df038dcc"; rev = "83c2a2aab7f2f7ae8c004c52aaddc8b15065ba90";
sha256 = "1z6i891h574yg3s1y96vwik1pxhy707rn5rsqqb7yxnfw6xy57cq"; sha256 = "0i0ds5mfx2k03ivncw795xr3p9iig1b4pqj4mbr7b7hs3984jh08";
}; };
}; };
@ -2819,12 +2830,12 @@ let
vim-airline = buildVimPluginFrom2Nix { vim-airline = buildVimPluginFrom2Nix {
pname = "vim-airline"; pname = "vim-airline";
version = "2019-08-26"; version = "2019-09-09";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "vim-airline"; owner = "vim-airline";
repo = "vim-airline"; repo = "vim-airline";
rev = "6409c7b317a283333a720f48cca5f259c1ea29ef"; rev = "63d8764f9d19def6d279b91e690ac2aa5662828d";
sha256 = "1wr7202idpyydnjbkc7sk8wr02ipdq40x4rwhi955yx76gwl111a"; sha256 = "0sxjw1dmidw242m1ma607g957hz2w080ln4m4ac90wi1qssp8132";
}; };
}; };
@ -2874,12 +2885,12 @@ let
vim-autoformat = buildVimPluginFrom2Nix { vim-autoformat = buildVimPluginFrom2Nix {
pname = "vim-autoformat"; pname = "vim-autoformat";
version = "2019-08-19"; version = "2019-09-02";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "Chiel92"; owner = "Chiel92";
repo = "vim-autoformat"; repo = "vim-autoformat";
rev = "69f7f2d80d3722f62847a58443da1d6cdf81b292"; rev = "2842eb24dc9d3b9a6585a9f744fc0d62f692dabc";
sha256 = "0vxblych7afny8i8kyk2f85xc9k2y4sv7i9jf3mkpykimsq2w4hm"; sha256 = "1n0l1n5ymr9fgmf4cq42hdnnb4lxdkh9yaxv18gadncchwzp7cvj";
}; };
}; };
@ -3215,12 +3226,12 @@ let
vim-elixir = buildVimPluginFrom2Nix { vim-elixir = buildVimPluginFrom2Nix {
pname = "vim-elixir"; pname = "vim-elixir";
version = "2019-08-22"; version = "2019-09-06";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "elixir-lang"; owner = "elixir-lang";
repo = "vim-elixir"; repo = "vim-elixir";
rev = "e9d495bb85981467105c375f665b10249b7bcc53"; rev = "e8d59d115c8153a7de9872b3c4419f2354c0f14b";
sha256 = "1lm2lhj9sqijc5b7yqa0vs56n2jg0q0xlxs4mf1pjwhdi0wmqd5y"; sha256 = "1q6bk8rqsdwgbyckwdnq4kv6gy5wjqrhdm06sip5x53mnkhmpf5p";
}; };
}; };
@ -3259,12 +3270,12 @@ let
vim-fireplace = buildVimPluginFrom2Nix { vim-fireplace = buildVimPluginFrom2Nix {
pname = "vim-fireplace"; pname = "vim-fireplace";
version = "2019-08-19"; version = "2019-09-01";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "tpope"; owner = "tpope";
repo = "vim-fireplace"; repo = "vim-fireplace";
rev = "0b46f733955c63a73dc49c316f8bc97a4119fddc"; rev = "ea9fa306a731a105511cc5faecbaf7d58c94dfcf";
sha256 = "1q8mnd6sd0nl8i13jvzkl79sbz0ncvx015bihymglj8wcpzrrwni"; sha256 = "1l1wzgr4ly25yablz299pfrgl47ys51hljhhzcfdivvkrrzjpdd5";
}; };
}; };
@ -3325,12 +3336,12 @@ let
vim-fugitive = buildVimPluginFrom2Nix { vim-fugitive = buildVimPluginFrom2Nix {
pname = "vim-fugitive"; pname = "vim-fugitive";
version = "2019-08-23"; version = "2019-09-09";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "tpope"; owner = "tpope";
repo = "vim-fugitive"; repo = "vim-fugitive";
rev = "b97a9abe29c39c4e1a45ae199dbb470df362f538"; rev = "35f1095f9b3ce70768bdd75dae76437cfa69dd02";
sha256 = "0lf5r91ba9xzzy1vs6g81mdgghcyica6xiir1xpg2aqksk0aidri"; sha256 = "0d806k1prgsa0mgc779p3ngqjyd8shrf2i18xi58vsndrvsgn96v";
}; };
}; };
@ -3369,12 +3380,12 @@ let
vim-gitgutter = buildVimPluginFrom2Nix { vim-gitgutter = buildVimPluginFrom2Nix {
pname = "vim-gitgutter"; pname = "vim-gitgutter";
version = "2019-08-28"; version = "2019-09-05";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "airblade"; owner = "airblade";
repo = "vim-gitgutter"; repo = "vim-gitgutter";
rev = "88d396f1b49747fadbbde5c038a85067d94954e5"; rev = "b71ab64dc16a4665c3214f109000a11d30708079";
sha256 = "02blbk7vq5p25713ys30djkivks4ywg69drh9apyb3g5mjwi60m6"; sha256 = "1pqd9zf311s0in5x3njzcxkw6zyqa2vpznl5ahd4b9hk4qvcm2v8";
}; };
}; };
@ -3402,12 +3413,12 @@ let
vim-go = buildVimPluginFrom2Nix { vim-go = buildVimPluginFrom2Nix {
pname = "vim-go"; pname = "vim-go";
version = "2019-08-23"; version = "2019-09-08";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "fatih"; owner = "fatih";
repo = "vim-go"; repo = "vim-go";
rev = "635b9e7f27905070788cef60c0ba520209bf4f09"; rev = "925d29a73db14133d11361792a2e0393e1e2b457";
sha256 = "0zmymzafryi7mchv8wz3ynxi8a597c69zvx2s57xyhhczpcah4ms"; sha256 = "167s9dadk1nl0kw14p0mq7pkwhxg9xb5gkmhqh96rpz1z2730jw7";
}; };
}; };
@ -3424,12 +3435,12 @@ let
vim-grepper = buildVimPluginFrom2Nix { vim-grepper = buildVimPluginFrom2Nix {
pname = "vim-grepper"; pname = "vim-grepper";
version = "2019-08-30"; version = "2019-09-04";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "mhinz"; owner = "mhinz";
repo = "vim-grepper"; repo = "vim-grepper";
rev = "1b9cec58509ba2bc212ad21e4a58eb3acf501b9f"; rev = "ebe6d1ffd1fb2faada867c56a55f44cbaa0248e3";
sha256 = "1rhp1rb97v9fv7w4qs350k5gqslbmkjn3lrq2a5bgnhar5xybs4k"; sha256 = "0axgpc72q4zn3l9b23v03akz1p1y5vy3gkzma4qw9avgbwhq5870";
}; };
}; };
@ -3733,12 +3744,12 @@ let
vim-jsx-pretty = buildVimPluginFrom2Nix { vim-jsx-pretty = buildVimPluginFrom2Nix {
pname = "vim-jsx-pretty"; pname = "vim-jsx-pretty";
version = "2019-08-26"; version = "2019-09-07";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "MaxMEllon"; owner = "MaxMEllon";
repo = "vim-jsx-pretty"; repo = "vim-jsx-pretty";
rev = "9a0f7e8072f4e7e80c74b1e24fa82e359046b25a"; rev = "6871eb1696478a8e295bab3e5ae7aae05faa2605";
sha256 = "1l5cwlbmihzxldpxlvn5gc47s0awqs908skzq43cy44iql829hir"; sha256 = "0i80d5vdd5ycx0g0h00raa3g48xhgw3wf3blp1m3hwap6cxy9p8h";
}; };
}; };
@ -3854,12 +3865,12 @@ let
vim-lsc = buildVimPluginFrom2Nix { vim-lsc = buildVimPluginFrom2Nix {
pname = "vim-lsc"; pname = "vim-lsc";
version = "2019-08-22"; version = "2019-09-05";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "natebosch"; owner = "natebosch";
repo = "vim-lsc"; repo = "vim-lsc";
rev = "c2a8fad6bc39a8a90fccee32a34861969f55ad5a"; rev = "ff86c97cb41c1e415dfd1a3c42dfd817ff541f6d";
sha256 = "16hb0lan77ics7192cpnw2i2aigbab5g63pq0j992vja7pmh6hab"; sha256 = "1lr72qxzpq4i748sb4q52ln18awxpxqqcsf13wr95d4wvrn50y61";
}; };
}; };
@ -4118,12 +4129,12 @@ let
vim-plug = buildVimPluginFrom2Nix { vim-plug = buildVimPluginFrom2Nix {
pname = "vim-plug"; pname = "vim-plug";
version = "2019-08-17"; version = "2019-09-03";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "junegunn"; owner = "junegunn";
repo = "vim-plug"; repo = "vim-plug";
rev = "ebd534c88bfd49f8d3c758d96ad04ce3f77ee6f8"; rev = "46f843aafe6a284765c484397fdc5ad9bb77147a";
sha256 = "1r3ic5mii9q4kqpwyq37cjbrrzj93fhj9b46zqkb5i1nw2vydl6l"; sha256 = "1c9xnjfzr0s6vp6yb7j3sqclj7kazwcmsqvm0whzx1yx5dbisnv7";
}; };
}; };
@ -4140,12 +4151,12 @@ let
vim-polyglot = buildVimPluginFrom2Nix { vim-polyglot = buildVimPluginFrom2Nix {
pname = "vim-polyglot"; pname = "vim-polyglot";
version = "2019-07-01"; version = "2019-09-06";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "sheerun"; owner = "sheerun";
repo = "vim-polyglot"; repo = "vim-polyglot";
rev = "3ddca5da461ebfaa82104f82e3cbf19d1c326ade"; rev = "fbc2af9e820d85e17cd08023f4dcc66545735d58";
sha256 = "0f3l0sknj4zbgmk7yx028f2qz72gdh1lnqra96c2n3xszpdvim22"; sha256 = "03lrnrhhhxmz5dbbsxhnnrff8myc21qrxsskfd2k6yh1hr9wwa5p";
}; };
}; };
@ -4239,12 +4250,12 @@ let
vim-rhubarb = buildVimPluginFrom2Nix { vim-rhubarb = buildVimPluginFrom2Nix {
pname = "vim-rhubarb"; pname = "vim-rhubarb";
version = "2019-08-19"; version = "2019-09-02";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "tpope"; owner = "tpope";
repo = "vim-rhubarb"; repo = "vim-rhubarb";
rev = "9edacf9d5b4d6e0570af33f88500f51ec4288c2e"; rev = "75ad917e4978b4620c3b0eff1722880d2d53a9f4";
sha256 = "0m91nvxjkgmbgaib3q27rk2nzkpxx18pa8nrv143r2k8na9bry0p"; sha256 = "1qxlaqbfliv2w4r7bw04h3m19g8f89v9070f59k9zbz3gv8g3hzv";
}; };
}; };
@ -4261,12 +4272,12 @@ let
vim-ruby = buildVimPluginFrom2Nix { vim-ruby = buildVimPluginFrom2Nix {
pname = "vim-ruby"; pname = "vim-ruby";
version = "2019-07-13"; version = "2019-09-05";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "vim-ruby"; owner = "vim-ruby";
repo = "vim-ruby"; repo = "vim-ruby";
rev = "1aa8f0cd0411c093d81f4139d151f93808e53966"; rev = "1c70532339889b7794a52b956f389b4f9ab9b3eb";
sha256 = "04ng7mjjdacajkmx20pfwlfh1h43sh6sx58id830q9jjl7kvyhhp"; sha256 = "1rj06j71f08b1may9pm27xf6k19bcw3jq3jbwndd975qram7zcr0";
}; };
}; };
@ -4316,12 +4327,12 @@ let
vim-sensible = buildVimPluginFrom2Nix { vim-sensible = buildVimPluginFrom2Nix {
pname = "vim-sensible"; pname = "vim-sensible";
version = "2019-08-22"; version = "2019-09-01";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "tpope"; owner = "tpope";
repo = "vim-sensible"; repo = "vim-sensible";
rev = "b9febff7aac028a851d2568d3dcef91d9b6971bc"; rev = "5dc6eb2d8026b4ce812a5a9c966d232b1f50c9c7";
sha256 = "00852qj3v3py63k23rrxmx8w5yrin3q21vz9css0xg12l5r1j1wv"; sha256 = "05mig86l1hi0q1y5sj7bp09i1lwbyn7v9xp3hd853fv7z026fza0";
}; };
}; };
@ -4404,12 +4415,12 @@ let
vim-snippets = buildVimPluginFrom2Nix { vim-snippets = buildVimPluginFrom2Nix {
pname = "vim-snippets"; pname = "vim-snippets";
version = "2019-08-11"; version = "2019-09-03";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "honza"; owner = "honza";
repo = "vim-snippets"; repo = "vim-snippets";
rev = "5dc42dbc6c4d9b5068ddde901b79c5e483c42114"; rev = "55b29ff83e9f5b43a138fb42100be6d7b5777d0d";
sha256 = "00kf6a5k0gkync0pgw3d3b7gdm6ykb14lvybiaprvbsnxnflgw95"; sha256 = "0zkxmj3l1jj1q9qigm13xksc7f3a7n7ik5yxgn4gxdpi9z79as4d";
}; };
}; };
@ -4514,12 +4525,12 @@ let
vim-table-mode = buildVimPluginFrom2Nix { vim-table-mode = buildVimPluginFrom2Nix {
pname = "vim-table-mode"; pname = "vim-table-mode";
version = "2019-04-25"; version = "2019-09-05";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "dhruvasagar"; owner = "dhruvasagar";
repo = "vim-table-mode"; repo = "vim-table-mode";
rev = "865563f78506b8090d3839644bc667493b4b68f4"; rev = "934778947e28fc8e570e34efdb5f90d5c99fdac7";
sha256 = "0544dlnqpm3r6amlww9pa5991js1rs5qblhqqfagwdaxaxpzxa64"; sha256 = "1klvr8xal8iyv6wga324xhq26a31dxp2qlsz0qyri8y4hkrappkf";
}; };
}; };
@ -4558,12 +4569,12 @@ let
vim-test = buildVimPluginFrom2Nix { vim-test = buildVimPluginFrom2Nix {
pname = "vim-test"; pname = "vim-test";
version = "2019-08-29"; version = "2019-09-01";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "janko-m"; owner = "janko-m";
repo = "vim-test"; repo = "vim-test";
rev = "1b82c6929e9d87ca756569c1640320d027498364"; rev = "5aaa872eb7519909b87abb2b0f13600aa2210771";
sha256 = "0hf76jlv916jpdncfgh2wyczpj4c7rzak3m1j3vnysav000p3vhd"; sha256 = "0wvjf3fhhj9qm5p7azk2dgi3aa1qw16pzm5nkl2jr5gn2cmlphd8";
}; };
}; };
@ -4712,12 +4723,12 @@ let
vim-visual-multi = buildVimPluginFrom2Nix { vim-visual-multi = buildVimPluginFrom2Nix {
pname = "vim-visual-multi"; pname = "vim-visual-multi";
version = "2019-08-23"; version = "2019-09-01";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "mg979"; owner = "mg979";
repo = "vim-visual-multi"; repo = "vim-visual-multi";
rev = "473427fc6e5aabdf69ad0ca28808de841d70bdb8"; rev = "d55e496786f064c022861c944cf38562006a4e9a";
sha256 = "0cnj7z3r9cws283wrpg1a40ykpk0lwjkb44gp77996cggr9nqbjz"; sha256 = "1c049z9qgbc0g80zvixz0cqglq2qcg2pfmzjvp4gg5yq4k27r25y";
}; };
}; };
@ -4866,12 +4877,12 @@ let
vimtex = buildVimPluginFrom2Nix { vimtex = buildVimPluginFrom2Nix {
pname = "vimtex"; pname = "vimtex";
version = "2019-08-27"; version = "2019-09-09";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "lervag"; owner = "lervag";
repo = "vimtex"; repo = "vimtex";
rev = "23a3b356ba1e90d4a9dbb085712376cab83ab19e"; rev = "cb90d583b7d584d87d306b2b99abdbb097588196";
sha256 = "1rp3jfsx991k2jl7wr8b32la5b881pn17k6dy27lwpw0sd0x3ha4"; sha256 = "06308ji2r3733w9rgwphqdqkharf7hc3xliylzbl9hh6fmk3hj55";
}; };
}; };
@ -5009,24 +5020,24 @@ let
yats-vim = buildVimPluginFrom2Nix { yats-vim = buildVimPluginFrom2Nix {
pname = "yats-vim"; pname = "yats-vim";
version = "2019-08-23"; version = "2019-09-05";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "HerringtonDarkholme"; owner = "HerringtonDarkholme";
repo = "yats.vim"; repo = "yats.vim";
rev = "24fa9013a5a5d053262830553e81f84d9bf7552f"; rev = "d9af5fc9fd7f11fa1219a9acb6f4243105e60b38";
sha256 = "17mjrlzb60vkgvyiag11xmrf8a5sp94z1rx1mzcc4ys6j1if9136"; sha256 = "1wlrxibj8q2l0lfzkg3wvzivkgz67xvi7vgrih4dgrs7a639dyl0";
fetchSubmodules = true; fetchSubmodules = true;
}; };
}; };
youcompleteme = buildVimPluginFrom2Nix { youcompleteme = buildVimPluginFrom2Nix {
pname = "youcompleteme"; pname = "youcompleteme";
version = "2019-08-10"; version = "2019-08-31";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "valloric"; owner = "valloric";
repo = "youcompleteme"; repo = "youcompleteme";
rev = "afd69b382844315812fd48912eaa9fa47cba3a8d"; rev = "5274b73fc26deb5704733e0efbb4b2d53dc6dc9c";
sha256 = "1x4q1l7dw0axm3hywj5p77057jh0qac7khk2clpdilfwhak0jp07"; sha256 = "03kpq7mw4dimaahf9q6qm6nblzw7hr0p7i6m6x3b9ilkka5q13rz";
fetchSubmodules = true; fetchSubmodules = true;
}; };
}; };
@ -5066,12 +5077,12 @@ let
zig-vim = buildVimPluginFrom2Nix { zig-vim = buildVimPluginFrom2Nix {
pname = "zig-vim"; pname = "zig-vim";
version = "2019-08-14"; version = "2019-09-05";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "zig-lang"; owner = "zig-lang";
repo = "zig.vim"; repo = "zig.vim";
rev = "defc660d235152e82271a48bd89bfcc9fa58b432"; rev = "06e918ba082bbe41544208430d6946b547ce3530";
sha256 = "0x6yaiwc3nnyxcrjfdllhx3s7kfspy5ggm3crhd2s81gq9lrxc3q"; sha256 = "1sfh1xmsf8smgr7vpj6r11gp3wmw5zzf095w2li9rw8l2g54cwql";
}; };
}; };

View File

@ -50,6 +50,7 @@ dannyob/quickfixstatus
darfink/starsearch.vim darfink/starsearch.vim
dart-lang/dart-vim-plugin dart-lang/dart-vim-plugin
davidhalter/jedi-vim davidhalter/jedi-vim
deoplete-plugins/deoplete-dictionary
deoplete-plugins/deoplete-jedi deoplete-plugins/deoplete-jedi
derekelkins/agda-vim derekelkins/agda-vim
derekwyatt/vim-scala derekwyatt/vim-scala

View File

@ -3,7 +3,7 @@
with stdenv.lib; with stdenv.lib;
buildLinux (args // rec { buildLinux (args // rec {
version = "4.14.142"; version = "4.14.143";
# modDirVersion needs to be x.y.z, will automatically add .0 if needed # modDirVersion needs to be x.y.z, will automatically add .0 if needed
modDirVersion = if (modDirVersionArg == null) then concatStrings (intersperse "." (take 3 (splitString "." "${version}.0"))) else modDirVersionArg; modDirVersion = if (modDirVersionArg == null) then concatStrings (intersperse "." (take 3 (splitString "." "${version}.0"))) else modDirVersionArg;
@ -13,6 +13,6 @@ buildLinux (args // rec {
src = fetchurl { src = fetchurl {
url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz"; url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz";
sha256 = "1wwhnm1n1b6yzsd2zzzf9i3n4hlvgnph70p67cwahw0ik4ssayz6"; sha256 = "14rxck0dd0rirj09aj4xsbylcvvfrgqxr1fx0c570dxr7kqg4d15";
}; };
} // (args.argsOverride or {})) } // (args.argsOverride or {}))

View File

@ -3,7 +3,7 @@
with stdenv.lib; with stdenv.lib;
buildLinux (args // rec { buildLinux (args // rec {
version = "4.19.71"; version = "4.19.72";
# modDirVersion needs to be x.y.z, will automatically add .0 if needed # modDirVersion needs to be x.y.z, will automatically add .0 if needed
modDirVersion = if (modDirVersionArg == null) then concatStrings (intersperse "." (take 3 (splitString "." "${version}.0"))) else modDirVersionArg; modDirVersion = if (modDirVersionArg == null) then concatStrings (intersperse "." (take 3 (splitString "." "${version}.0"))) else modDirVersionArg;
@ -13,6 +13,6 @@ buildLinux (args // rec {
src = fetchurl { src = fetchurl {
url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz"; url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz";
sha256 = "1bjwkb7k82l646ryyy0jbwsnygm2qsxgcwli8bdrj844skzynlqz"; sha256 = "0v8zypwyc9bcmm16hbvk092h9qnwqc0f6m61bz2ml499pnrvdz7r";
}; };
} // (args.argsOverride or {})) } // (args.argsOverride or {}))

View File

@ -1,11 +1,11 @@
{ stdenv, buildPackages, fetchurl, perl, buildLinux, ... } @ args: { stdenv, buildPackages, fetchurl, perl, buildLinux, ... } @ args:
buildLinux (args // rec { buildLinux (args // rec {
version = "4.4.191"; version = "4.4.192";
extraMeta.branch = "4.4"; extraMeta.branch = "4.4";
src = fetchurl { src = fetchurl {
url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz"; url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz";
sha256 = "0x3lnq4xyj5v6r1cz4jizm4vdspws1nb806f5qczwi3yil5nm6bh"; sha256 = "0fwak1hrahcky1hdk4h8693rjpx65c2sqzfm1x71nhhysa6r3fig";
}; };
} // (args.argsOverride or {})) } // (args.argsOverride or {}))

View File

@ -1,11 +1,11 @@
{ stdenv, buildPackages, fetchurl, perl, buildLinux, ... } @ args: { stdenv, buildPackages, fetchurl, perl, buildLinux, ... } @ args:
buildLinux (args // rec { buildLinux (args // rec {
version = "4.9.191"; version = "4.9.192";
extraMeta.branch = "4.9"; extraMeta.branch = "4.9";
src = fetchurl { src = fetchurl {
url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz"; url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz";
sha256 = "1g5p736p8zx5rmxaj56yw93jp768npl868jsn8973dny0rsbim6y"; sha256 = "0m4d6b5sfcx3iv0agia080fbcn9icyqzgzxp946zv93hrq6306ks";
}; };
} // (args.argsOverride or {})) } // (args.argsOverride or {}))

View File

@ -3,7 +3,7 @@
with stdenv.lib; with stdenv.lib;
buildLinux (args // rec { buildLinux (args // rec {
version = "5.2.13"; version = "5.2.14";
# modDirVersion needs to be x.y.z, will automatically add .0 if needed # modDirVersion needs to be x.y.z, will automatically add .0 if needed
modDirVersion = if (modDirVersionArg == null) then concatStrings (intersperse "." (take 3 (splitString "." "${version}.0"))) else modDirVersionArg; modDirVersion = if (modDirVersionArg == null) then concatStrings (intersperse "." (take 3 (splitString "." "${version}.0"))) else modDirVersionArg;
@ -13,6 +13,6 @@ buildLinux (args // rec {
src = fetchurl { src = fetchurl {
url = "mirror://kernel/linux/kernel/v5.x/linux-${version}.tar.xz"; url = "mirror://kernel/linux/kernel/v5.x/linux-${version}.tar.xz";
sha256 = "12hpph3iynr22mfwz7745lp01waf2kg579hr56d4pvhx4iahzdhp"; sha256 = "136fs0pn5acg40rlq51zl5001rk8fx01gi2ffd58cspfgx3kckf6";
}; };
} // (args.argsOverride or {})) } // (args.argsOverride or {}))

View File

@ -1,25 +1,23 @@
{ lib, buildGoPackage, fetchFromGitHub }: { lib, buildGoModule, fetchFromGitHub }:
buildGoPackage { buildGoModule {
pname = "echoip"; pname = "echoip";
version = "unstable-2018-11-20"; version = "unstable-2019-07-12";
goPackagePath = "github.com/mpolden/echoip";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "mpolden"; owner = "mpolden";
repo = "echoip"; repo = "echoip";
rev = "4bfaf671b9f75a7b2b37543b2991401cbf57f1f0"; rev = "fb5fac92d2173c2a5b07ed4ecc7b5fefe8484ed2";
sha256 = "0n5d9i8cc5lqgy5apqd3zhyl3h1xjacf612z8xpvbm75jnllcvxy"; sha256 = "17gkh1qfxasvxy25lmjdwk5fsjkcp7lmw9si3xzf01m7qnj5zi4b";
}; };
goDeps = ./deps.nix; modSha256 = "025p891klwpid5fw4z39fimgfkwgkcwqpn5276hflzdp1hfv35ly";
outputs = [ "bin" "out" ]; outputs = [ "out" "index" ];
postInstall = '' postInstall = ''
mkdir -p $out mkdir -p $index
cp $src/index.html $out/index.html cp $src/index.html $index/index.html
''; '';
meta = with lib; { meta = with lib; {

View File

@ -1,74 +0,0 @@
# file generated from go.mod using vgo2nix (https://github.com/adisbladis/vgo2nix)
[
{
goPackagePath = "github.com/davecgh/go-spew";
fetch = {
type = "git";
url = "https://github.com/davecgh/go-spew";
rev = "v1.1.1";
sha256 = "0hka6hmyvp701adzag2g26cxdj47g21x6jz4sc6jjz1mn59d474y";
};
}
{
goPackagePath = "github.com/jessevdk/go-flags";
fetch = {
type = "git";
url = "https://github.com/jessevdk/go-flags";
rev = "v1.4.0";
sha256 = "0algnnigph27spgn655zm4723yfjxjjvlf4k14z9drj3682df25a";
};
}
{
goPackagePath = "github.com/oschwald/geoip2-golang";
fetch = {
type = "FromGitHub";
owner = "oschwald";
repo = "geoip2-golang";
rev = "v1.2.1";
sha256 = "0zpgpz577rghvgis6ji9l99pq87z5izbgzmnbyn3dy533bayrgpw";
};
}
{
goPackagePath = "github.com/oschwald/maxminddb-golang";
fetch = {
type = "git";
url = "https://github.com/oschwald/maxminddb-golang";
rev = "v1.2.1";
sha256 = "0nlip5a2yiig0sv9y3ky4kn8730236wal3zjcs4yfgnw6nxl3rjr";
};
}
{
goPackagePath = "github.com/pmezard/go-difflib";
fetch = {
type = "git";
url = "https://github.com/pmezard/go-difflib";
rev = "v1.0.0";
sha256 = "0c1cn55m4rypmscgf0rrb88pn58j3ysvc2d0432dp3c6fqg6cnzw";
};
}
{
goPackagePath = "github.com/stretchr/testify";
fetch = {
type = "git";
url = "https://github.com/stretchr/testify";
rev = "v1.2.2";
sha256 = "0dlszlshlxbmmfxj5hlwgv3r22x0y1af45gn1vd198nvvs3pnvfs";
};
}
{
goPackagePath = "golang.org/x/sys";
fetch = {
type = "git";
url = "https://go.googlesource.com/sys";
rev = "37707fdb30a5";
sha256 = "1abrr2507a737hdqv4q7pw7hv6ls9pdiq9crhdi52r3gcz6hvizg";
};
}
]

View File

@ -36,6 +36,7 @@ in buildPythonApplication rec {
]; ];
propagatedBuildInputs = [ propagatedBuildInputs = [
setuptools
bcrypt bcrypt
bleach bleach
canonicaljson canonicaljson

View File

@ -5,18 +5,16 @@ let
glplugin = fetchFromGitHub { glplugin = fetchFromGitHub {
owner = "lausser"; owner = "lausser";
repo = "GLPlugin"; repo = "GLPlugin";
rev = "e8e1a2907a54435c932b3e6c584ba1d679754849"; rev = "ef3107f01afe55fad5452e64ac5bbea00b18a8d5";
sha256 = "0wb55a9pmgbilfffx0wkiikg9830qd66j635ypczqp4basslpq5b"; sha256 = "047fwrycsl2vmpi4wl46fs6f8y191d6qc9ms5rvmrj1dm2r828ws";
}; };
generic = { pname, version, sha256, description, buildInputs, ... }: generic = { pname, version, sha256, description, buildInputs, ... }:
let stdenv.mkDerivation {
name' = "${stdenv.lib.replaceStrings [ "-" ] [ "_" ] pname}-${version}"; inherit pname version;
in stdenv.mkDerivation {
name = "${pname}-${version}";
src = fetchurl { src = fetchurl {
url = "https://labs.consol.de/assets/downloads/nagios/${name'}.tar.gz"; url = "https://labs.consol.de/assets/downloads/nagios/${pname}-${version}.tar.bz";
inherit sha256; inherit sha256;
}; };
@ -55,24 +53,24 @@ let
in { in {
check-mssql-health = generic { check-mssql-health = generic {
pname = "check_mssql_health"; pname = "check_mssql_health";
version = "2.6.4.14"; version = "2.6.4.15";
sha256 = "0w6gybrs7imx169l8740s0ax3adya867fw0abrampx59mnsj5pm1"; sha256 = "12z0b3c2p18viy7s93r6bbl8fvgsqh80136d07118qhxshp1pwxg";
description = "Check plugin for Microsoft SQL Server."; description = "Check plugin for Microsoft SQL Server.";
buildInputs = [ perlPackages.DBDsybase ]; buildInputs = [ perlPackages.DBDsybase ];
}; };
check-nwc-health = generic { check-nwc-health = generic {
pname = "check_nwc_health"; pname = "check_nwc_health";
version = "7.0.1.3"; version = "7.10.0.6";
sha256 = "0rgd6zgd7kplx3z72n8zbzwkh8vnd83361sk9ibh6ng78sds1sl5"; sha256 = "092rhaqnk3403z0y60x38vgh65gcia3wrd6gp8mr7wszja38kxv2";
description = "Check plugin for network equipment."; description = "Check plugin for network equipment.";
buildInputs = [ perlPackages.NetSNMP ]; buildInputs = [ perlPackages.NetSNMP ];
}; };
check-ups-health = generic { check-ups-health = generic {
pname = "check_ups_health"; pname = "check_ups_health";
version = "2.8.2.2"; version = "2.8.3.3";
sha256 = "1gc2wjsymay2vk5ywc1jj9cvrbhs0fs851x8l4nc75df2g75v521"; sha256 = "0qc2aglppwr9ms4p53kh9nr48625sqrbn46xs0k9rx5sv8hil9hm";
description = "Check plugin for UPSs."; description = "Check plugin for UPSs.";
buildInputs = [ perlPackages.NetSNMP ]; buildInputs = [ perlPackages.NetSNMP ];
}; };

View File

@ -2,16 +2,16 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "routinator"; pname = "routinator";
version = "0.5.0"; version = "0.6.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "NLnetLabs"; owner = "NLnetLabs";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "075dp092pgwnky96smv5v6sx9vj7hd5bif8rb1q4x6077ci5jixw"; sha256 = "13xfnlaqjisi9fm1p7ydhgrh86ccbfwkxbnrv8abdx80jwb0lm15";
}; };
cargoSha256 = "0qxp3pjmrr53n59c2wcdnbqgk259zcj9gd11wpqf7kj3wlzrnwvy"; cargoSha256 = "13sx7mbirhrd0is7gvnk0mir5qizbhrlvsn0v55ibf3bybjsb644";
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "An RPKI Validator written in Rust"; description = "An RPKI Validator written in Rust";

View File

@ -0,0 +1,30 @@
{ stdenv, fetchFromGitHub, postgresql, openssl, zlib, readline }:
stdenv.mkDerivation rec {
pname = "repmgr";
version = "4.4.0";
src = fetchFromGitHub {
owner = "2ndQuadrant";
repo = "repmgr";
rev = "v${version}";
sha256 = "185789f7igvlqyqcb8kf42jjq8g0wbs2aqd9kimrq5kf4srwgpim";
};
installPhase = ''
mkdir -p $out/{lib,share/postgresql/extension}
cp *.so $out/lib
cp *.sql $out/share/postgresql/extension
cp *.control $out/share/postgresql/extension
'';
buildInputs = [ postgresql openssl zlib readline ];
meta = with stdenv.lib; {
homepage = "https://repmgr.org/";
description = "Replication manager for PostgreSQL cluster";
license = licenses.postgresql;
maintainers = with maintainers; [ zimbatm ];
};
}

View File

@ -50,4 +50,6 @@ self: super: {
pg_partman = super.callPackage ./ext/pg_partman.nix { }; pg_partman = super.callPackage ./ext/pg_partman.nix { };
pg_safeupdate = super.callPackage ./ext/pg_safeupdate.nix { }; pg_safeupdate = super.callPackage ./ext/pg_safeupdate.nix { };
repmgr = super.callPackage ./ext/repmgr.nix { };
} }

View File

@ -1,7 +1,7 @@
{ stdenv, fetchurl, writeText }: { stdenv, fetchurl, writeText }:
let let
version = "3.7.1"; version = "3.7.2";
stableVersion = builtins.substring 0 2 (builtins.replaceStrings ["."] [""] version); stableVersion = builtins.substring 0 2 (builtins.replaceStrings ["."] [""] version);
in in
@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
src = fetchurl { src = fetchurl {
url = "https://download.moodle.org/stable${stableVersion}/${pname}-${version}.tgz"; url = "https://download.moodle.org/stable${stableVersion}/${pname}-${version}.tgz";
sha256 = "0xfriw0nfaf9hlcjviwg2acwpd192jf2ahw8sw3s6bj3pr1isxmd"; sha256 = "1mvrmpqkcz7m7yplqi0lwgnal79n747f7nwcgd2nfrvz7jv3s8ir";
}; };
phpConfig = writeText "config.php" '' phpConfig = writeText "config.php" ''

View File

@ -39,6 +39,11 @@ in clangStdenv.mkDerivation rec {
url = "https://download.fcitx-im.org/fcitx-mozc/${name}"; url = "https://download.fcitx-im.org/fcitx-mozc/${name}";
sha256 = "1f9m4310kz09v5qvnv75ka2vq63m7by023qrkpddgq4dv7gxx3ca"; sha256 = "1f9m4310kz09v5qvnv75ka2vq63m7by023qrkpddgq4dv7gxx3ca";
}) })
# https://github.com/google/mozc/pull/444 - fix for gcc8 STL
(fetchpatch {
url = "https://github.com/google/mozc/commit/82d38f929882a9c62289b179c6fe41efed249987.patch";
sha256 = "07cja1b7qfsd3i76nscf1zwiav74h7d6h2g9g2w4bs3h1mc9jwla";
})
]; ];
postPatch = '' postPatch = ''

View File

@ -0,0 +1,42 @@
diff --git a/cmake/FindEnchant.cmake b/cmake/FindEnchant.cmake
index 7c182e6a..5537595e 100644
--- a/cmake/FindEnchant.cmake
+++ b/cmake/FindEnchant.cmake
@@ -16,7 +16,7 @@ if(ENCHANT_INCLUDE_DIR AND ENCHANT_LIBRARIES)
endif(ENCHANT_INCLUDE_DIR AND ENCHANT_LIBRARIES)
find_package(PkgConfig)
-pkg_check_modules(PC_ENCHANT enchant)
+pkg_check_modules(PC_ENCHANT enchant-2)
find_path(ENCHANT_INCLUDE_DIR
NAMES enchant.h
@@ -24,7 +24,7 @@ find_path(ENCHANT_INCLUDE_DIR
PATH_SUFFIXES "enchant")
find_library(ENCHANT_LIBRARIES
- NAMES enchant
+ NAMES enchant-2
HINTS ${PC_ENCHANT_LIBRARY_DIRS})
if(ENCHANT_INCLUDE_DIR AND ENCHANT_LIBRARIES)
@@ -39,7 +39,7 @@ if(ENCHANT_INCLUDE_DIR AND ENCHANT_LIBRARIES)
#include <stdlib.h>
#include <stddef.h>
#include <string.h>
- #include <enchant/enchant.h>
+ #include <enchant-2/enchant.h>
EnchantBroker *enchant_broker_init();
char **enchant_dict_suggest(EnchantDict *dict, const char *str,
@@ -78,6 +78,10 @@ if(ENCHANT_INCLUDE_DIR AND ENCHANT_LIBRARIES)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS_BACKUP}")
endif()
+if(ENCHANT_API_COMPATIBLE)
+ set(ENCHANT_LIBRARY_FILENAME ${ENCHANT_LIBRARIES})
+endif(ENCHANT_API_COMPATIBLE)
+
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(Enchant DEFAULT_MSG ENCHANT_LIBRARIES
ENCHANT_INCLUDE_DIR ENCHANT_API_COMPATIBLE)

View File

@ -1,5 +1,5 @@
{ stdenv, fetchurl, pkgconfig, cmake, intltool, gettext { stdenv, fetchurl, pkgconfig, cmake, intltool, gettext
, libxml2, enchant1, isocodes, icu, libpthreadstubs , libxml2, enchant2, isocodes, icu, libpthreadstubs
, pango, cairo, libxkbfile, libXau, libXdmcp, libxkbcommon , pango, cairo, libxkbfile, libXau, libXdmcp, libxkbcommon
, dbus, gtk2, gtk3, qt4, extra-cmake-modules , dbus, gtk2, gtk3, qt4, extra-cmake-modules
, xkeyboard_config, pcre, libuuid , xkeyboard_config, pcre, libuuid
@ -59,6 +59,8 @@ stdenv.mkDerivation rec {
'' ''
; ;
patches = [ ./find-enchant-lib.patch ];
postPatch = '' postPatch = ''
substituteInPlace src/frontend/qt/CMakeLists.txt \ substituteInPlace src/frontend/qt/CMakeLists.txt \
--replace $\{QT_PLUGINS_DIR} $out/lib/qt4/plugins --replace $\{QT_PLUGINS_DIR} $out/lib/qt4/plugins
@ -69,7 +71,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake extra-cmake-modules intltool pkgconfig pcre ]; nativeBuildInputs = [ cmake extra-cmake-modules intltool pkgconfig pcre ];
buildInputs = [ buildInputs = [
xkeyboard_config enchant1 gettext isocodes icu libpthreadstubs libXau libXdmcp libxkbfile xkeyboard_config enchant2 gettext isocodes icu libpthreadstubs libXau libXdmcp libxkbfile
libxkbcommon libxml2 dbus cairo gtk2 gtk3 pango qt4 libuuid libxkbcommon libxml2 dbus cairo gtk2 gtk3 pango qt4 libuuid
]; ];

View File

@ -1,5 +1,5 @@
{ clangStdenv, fetchFromGitHub, which, ninja, python, gyp, pkgconfig, protobuf { clangStdenv, fetchFromGitHub, fetchpatch, which, ninja, python, gyp, pkgconfig
, ibus, gtk2, zinnia, qt5, libxcb }: , protobuf, ibus, gtk2, zinnia, qt5, libxcb }:
let let
japanese_usage_dictionary = fetchFromGitHub { japanese_usage_dictionary = fetchFromGitHub {
@ -31,6 +31,14 @@ in clangStdenv.mkDerivation rec {
sha256 = "0w2dy2j9x5nc7x3g95j17r3m60vbfyn5j617h7js9xryv33yzpgx"; sha256 = "0w2dy2j9x5nc7x3g95j17r3m60vbfyn5j617h7js9xryv33yzpgx";
}; };
patches = [
# https://github.com/google/mozc/pull/444 - fix for gcc8 STL
(fetchpatch {
url = "https://github.com/google/mozc/commit/82d38f929882a9c62289b179c6fe41efed249987.patch";
sha256 = "07cja1b7qfsd3i76nscf1zwiav74h7d6h2g9g2w4bs3h1mc9jwla";
})
];
postUnpack = '' postUnpack = ''
rmdir $sourceRoot/src/third_party/japanese_usage_dictionary/ rmdir $sourceRoot/src/third_party/japanese_usage_dictionary/
ln -s ${japanese_usage_dictionary} $sourceRoot/src/third_party/japanese_usage_dictionary ln -s ${japanese_usage_dictionary} $sourceRoot/src/third_party/japanese_usage_dictionary

View File

@ -2,16 +2,16 @@
buildGoModule rec { buildGoModule rec {
pname = "lazydocker"; pname = "lazydocker";
version = "0.7"; version = "0.7.4";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "jesseduffield"; owner = "jesseduffield";
repo = "lazydocker"; repo = "lazydocker";
rev = "v${version}"; rev = "v${version}";
sha256 = "0vai88g31yf55988paqzs7fqlxgi0ydrsgszzjig9ai3x9c52xim"; sha256 = "03l6gs4p9p8g0ai6wqg9024rp0pd13m0b9y3sy1ww5afwxb82br6";
}; };
modSha256 = "1iin1m6s9xxdskvj6jy2jwlqrsrm432ld13cpa28hpx7pylx61ij"; modSha256 = "1hzrin8dfsfnxpc37szc1449s235w0dr24albswz06fjnl4bbs5y";
subPackages = [ "." ]; subPackages = [ "." ];

View File

@ -1,45 +0,0 @@
{ lib, buildGoPackage, fetchFromGitHub, perl
, go-bindata, libxml2, protobuf3_1, libpcap, pkgconfig, go-protobuf }:
buildGoPackage rec {
pname = "skydive";
version = "0.17.0";
goPackagePath = "github.com/skydive-project/skydive";
src = fetchFromGitHub {
owner = "skydive-project";
repo = "skydive";
rev = "v${version}";
sha256 = "03y26imiib2v9icrgwlamzsrx3ph6vn582051vdk1x9ar80xp4dv";
};
patchPhase = ''
substituteInPlace Makefile \
--replace ".proto: builddep" ".proto: " \
--replace ".bindata: builddep" ".bindata: "
'';
buildInputs = [ perl go-bindata go-protobuf libxml2 protobuf3_1 libpcap pkgconfig ];
goDeps = ./deps.nix;
preBuild = ''
make -C go/src/github.com/skydive-project/skydive genlocalfiles VERSION=${version}
'';
preInstall = ''
mkdir -p $out/share/skydive
cp go/src/github.com/skydive-project/skydive/etc/skydive.yml.default $out/share/skydive/
'';
postInstall = ''
rm $bin/bin/snort
'';
meta = {
homepage = http://skydive.network;
description = "A real-time network analyzer";
license = lib.licenses.asl20;
platforms = [ "x86_64-linux" ];
maintainers = [ lib.maintainers.lewo ];
};
}

File diff suppressed because it is too large Load Diff

View File

@ -2,13 +2,13 @@
buildGoPackage rec { buildGoPackage rec {
pname = "morph"; pname = "morph";
version = "1.3.0"; version = "1.3.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "dbcdk"; owner = "dbcdk";
repo = "morph"; repo = "morph";
rev = "v${version}"; rev = "v${version}";
sha256 = "1lp5nsril9pnqllkpmvj8wd2f7p4xzwc2z3f5j6yfakd2sg41kgc"; sha256 = "0nwl9n5b0lnil96573wa3hyr3vyvfiwvmpkla3pmwkpmriac4xrg";
}; };
goPackagePath = "github.com/dbcdk/morph"; goPackagePath = "github.com/dbcdk/morph";

View File

@ -3,11 +3,40 @@ source $stdenv/setup
export PLAN9=$out/plan9 export PLAN9=$out/plan9
export PLAN9_TARGET=$PLAN9 export PLAN9_TARGET=$PLAN9
plan9portLinkFlags()
{
local -a linkFlags=()
eval set -- "$NIX_LDFLAGS"
while (( $# > 0 )); do
if [[ $1 = -rpath ]]; then
linkFlags+=( "-Wl,-rpath,$2" )
shift 2
else
linkFlags+=( "$1" )
shift
fi
done
echo "${linkFlags[*]}"
}
configurePhase() configurePhase()
{ {
echo CFLAGS=\"-I${fontconfig_dev}/include -I${xorgproto_exp}/include -I${libX11_dev}/include -I${libXt_dev}/include -I${libXext_dev}/include -I${freetype_dev}/include -I${zlib_dev}/include\" > LOCAL.config (
echo LDFLAGS=\"-L${fontconfig_lib}/lib -L${xorgproto_exp}/lib -L${libX11_exp}/lib -L${libXt_exp}/lib -L${libXext_exp}/lib -L${freetype_exp}/lib -L${zlib_exp}/lib\" >> LOCAL.config echo CC9=\"$(which $CC)\"
echo X11=\"${libXt_dev}/include\" >> LOCAL.config echo CFLAGS=\"$NIX_CFLAGS_COMPILE\"
echo LDFLAGS=\"$(plan9portLinkFlags)\"
echo X11=\"${libXt_dev}/include\"
case "$system" in
x86_64-*) echo OBJTYPE=x86_64;;
i?86-*) echo OBJTYPE=386;;
*power*) echo OBJTYPE=power;;
*sparc*) echo OBJTYPE=sparc;;
*) exit 12
esac
if [[ $system =~ .*linux.* ]]; then
echo SYSVERSION=2.6.x
fi
) >config
for f in `grep -l -r /usr/local/plan9`; do for f in `grep -l -r /usr/local/plan9`; do
sed "s,/usr/local/plan9,${PLAN9},g" -i $f sed "s,/usr/local/plan9,${PLAN9},g" -i $f
@ -17,15 +46,29 @@ configurePhase()
buildPhase() buildPhase()
{ {
mkdir -p $PLAN9 mkdir -p $PLAN9
./INSTALL -b
# Copy sources, some necessary bin scripts
cp -R * $PLAN9
local originalPath="$PATH"
export PATH="$PLAN9/bin:$PATH"
export NPROC=$NIX_BUILD_CORES
pushd src
../dist/buildmk
mk clean
mk libs-nuke
mk all
mk -k install
if [[ -f $PLAN9/bin/quote1 ]]; then
cp $PLAN9/bin/quote1 $PLAN9/bin/'"'
cp $PLAN9/bin/quote2 $PLAN9/bin/'""'
fi
popd
export PATH="$originalPath"
} }
installPhase() installPhase()
{ {
./INSTALL -c
# Copy sources
cp -R * $PLAN9
# Copy the `9' utility. This way you can use # Copy the `9' utility. This way you can use
# $ 9 awk # $ 9 awk
# to use the plan 9 awk # to use the plan 9 awk

View File

@ -0,0 +1,24 @@
From d1f0bd3de7d3d54523aeefd9731ea850d20eaab4 Mon Sep 17 00:00:00 2001
From: Jason Felice <jason.m.felice@gmail.com>
Date: Tue, 2 Jul 2019 13:19:23 -0400
Subject: [PATCH] Need CoreFoundation
---
src/cmd/devdraw/cocoa-screen.m | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/cmd/devdraw/cocoa-screen.m b/src/cmd/devdraw/cocoa-screen.m
index 97128da2..0e380dd3 100644
--- a/src/cmd/devdraw/cocoa-screen.m
+++ b/src/cmd/devdraw/cocoa-screen.m
@@ -56,6 +56,7 @@
#endif
AUTOFRAMEWORK(Cocoa)
+AUTOFRAMEWORK(CoreFoundation)
#define LOG if(0)NSLog
#define panic sysfatal
--
2.21.0

View File

@ -0,0 +1,47 @@
From d21d082275f04f88eabcc8ecdb03ee932c71ebf1 Mon Sep 17 00:00:00 2001
From: Jason Felice <jason.m.felice@gmail.com>
Date: Mon, 1 Jul 2019 15:23:19 -0400
Subject: [PATCH 2/3] Build for 10.12
---
bin/osxvers | 3 +--
src/cmd/devdraw/mkwsysrules.sh | 4 ++--
2 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/bin/osxvers b/bin/osxvers
index 4af44da2..3be7e6e9 100755
--- a/bin/osxvers
+++ b/bin/osxvers
@@ -2,6 +2,5 @@
u=`uname`
case "$u" in
-Darwin)
- sw_vers | awk '$1 == "ProductVersion:" {print $2}' | awk -F. '{printf("CFLAGS=$CFLAGS -DOSX_VERSION=%d%02d%02d\n", $1, $2, $3)}'
+Darwin) printf 'CFLAGS=$CFLAGS -DOSX_VERSION=101200\n';;
esac
diff --git a/src/cmd/devdraw/mkwsysrules.sh b/src/cmd/devdraw/mkwsysrules.sh
index e94afbd3..40e632db 100644
--- a/src/cmd/devdraw/mkwsysrules.sh
+++ b/src/cmd/devdraw/mkwsysrules.sh
@@ -22,7 +22,7 @@ fi
if [ "x$WSYSTYPE" = "x" ]; then
if [ "x`uname`" = "xDarwin" ]; then
- if sw_vers | grep 'ProductVersion: 10\.[0-5]\.' >/dev/null; then
+ if false; then
echo 1>&2 'OS X 10.5 and older are not supported'
exit 1
else
@@ -54,7 +54,7 @@ if [ $WSYSTYPE = x11 ]; then
XO=`ls x11-*.c 2>/dev/null | sed 's/\.c$/.o/'`
echo 'WSYSOFILES=$WSYSOFILES '$XO
elif [ $WSYSTYPE = osx-cocoa ]; then
- if sw_vers|awk '/ProductVersion/{split($2,a,".");exit(a[2]<14)}' >/dev/null; then # 0 is true in sh.
+ if false; then
echo 'OBJCFLAGS=$OBJCFLAGS -fobjc-arc'
echo 'WSYSOFILES=$WSYSOFILES osx-draw.o cocoa-screen-metal-objc.o cocoa-srv.o cocoa-thread.o'
else
--
2.21.0

View File

@ -1,7 +1,11 @@
{ stdenv, fetchFromGitHub, which, libX11, libXt, fontconfig, freetype { stdenv, fetchFromGitHub, which
, darwin ? null
, xorgproto ? null , xorgproto ? null
, libX11
, libXext ? null , libXext ? null
, zlib ? null , libXt ? null
, fontconfig ? null
, freetype ? null
, perl ? null # For building web manuals , perl ? null # For building web manuals
}: }:
@ -16,14 +20,24 @@ stdenv.mkDerivation {
sha256 = "1lp17948q7vpl8rc2bf5a45bc8jqyj0s3zffmks9r25ai42vgb43"; sha256 = "1lp17948q7vpl8rc2bf5a45bc8jqyj0s3zffmks9r25ai42vgb43";
}; };
patches = [
./tmpdir.patch
./darwin-sw_vers.patch
./darwin-cfframework.patch
];
postPatch = '' postPatch = ''
#hardcoded path #hardcoded path
substituteInPlace src/cmd/acme/acme.c \ substituteInPlace src/cmd/acme/acme.c \
--replace /lib/font/bit $out/plan9/font --replace /lib/font/bit $out/plan9/font
#deprecated flags #deprecated flags
find . -type f \ find . -type f \
-exec sed -i -e 's/_SVID_SOURCE/_DEFAULT_SOURCE/g' {} \; \ -exec sed -i -e 's/_SVID_SOURCE/_DEFAULT_SOURCE/g' {} \; \
-exec sed -i -e 's/_BSD_SOURCE/_DEFAULT_SOURCE/g' {} \; -exec sed -i -e 's/_BSD_SOURCE/_DEFAULT_SOURCE/g' {} \;
substituteInPlace bin/9c \
--replace 'which uniq' '${which}/bin/which uniq'
'' + stdenv.lib.optionalString (!stdenv.isDarwin) '' '' + stdenv.lib.optionalString (!stdenv.isDarwin) ''
#add missing ctrl+c\z\x\v keybind for non-Darwin #add missing ctrl+c\z\x\v keybind for non-Darwin
substituteInPlace src/cmd/acme/text.c \ substituteInPlace src/cmd/acme/text.c \
@ -34,30 +48,16 @@ stdenv.mkDerivation {
''; '';
buildInputs = [ buildInputs = [
which perl libX11 fontconfig xorgproto libXt libXext perl
] ++ stdenv.lib.optionals (!stdenv.isDarwin) [
xorgproto libX11 libXext libXt fontconfig
freetype # fontsrv wants ft2build.h provides system fonts for acme and sam. freetype # fontsrv wants ft2build.h provides system fonts for acme and sam.
]; ] ++ stdenv.lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [
darwin.cf-private Carbon Cocoa IOKit Metal QuartzCore
]);
builder = ./builder.sh; builder = ./builder.sh;
libX11_dev = libX11.dev;
libXt_dev = libXt.dev; libXt_dev = libXt.dev;
libXext_dev = libXext.dev;
fontconfig_dev = fontconfig.dev;
freetype_dev = freetype.dev;
zlib_dev = zlib.dev;
xorgproto_exp = xorgproto;
libX11_exp = libX11;
libXt_exp = libXt;
libXext_exp = libXext;
freetype_exp = freetype;
zlib_exp = zlib;
fontconfig_lib = fontconfig.lib;
NIX_LDFLAGS="-lgcc_s";
enableParallelBuilding = true;
doInstallCheck = true; doInstallCheck = true;
installCheckPhase = '' installCheckPhase = ''

View File

@ -0,0 +1,41 @@
From c762625549ff367b54bcd8281d1ce248a69b4401 Mon Sep 17 00:00:00 2001
From: Jason Felice <jason.m.felice@gmail.com>
Date: Mon, 1 Jul 2019 15:01:21 -0400
Subject: [PATCH] Use $TMPDIR if available
NixOS sandboxed builds (at least on Mac) don't have access to /tmp,
and this should be better POSIX.
---
bin/9c | 2 +-
bin/9l | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/bin/9c b/bin/9c
index 3ffb716c..88c47887 100755
--- a/bin/9c
+++ b/bin/9c
@@ -133,7 +133,7 @@ case "$tag" in
esac
# N.B. Must use temp file to avoid pipe; pipe loses status.
-xtmp=/tmp/9c.$$.$USER.out
+xtmp=${TMPDIR-/tmp}/9c.$$.$USER.out
$cc -DPLAN9PORT -I$PLAN9/include $cflags "$@" 2>$xtmp
status=$?
quiet $xtmp
diff --git a/bin/9l b/bin/9l
index 6195815f..717a540a 100755
--- a/bin/9l
+++ b/bin/9l
@@ -346,7 +346,7 @@ then
echo $ld -L$PLAN9/lib "$@" $libsl $extralibs $frameworks
fi
-xtmp=/tmp/9l.$$.$USER.out
+xtmp="${TMPDIR-/tmp}/9l.$$.$USER.out"
xxout() {
sed 's/.*: In function `[^:]*: *//' $xtmp | egrep . |
egrep -v 'is (often|almost always) misused|is dangerous, better use|text-based stub'
--
2.21.0

View File

@ -326,6 +326,7 @@ mapAliases ({
shared_mime_info = shared-mime-info; # added 2018-02-25 shared_mime_info = shared-mime-info; # added 2018-02-25
skrooge2 = skrooge; # added 2017-02-18 skrooge2 = skrooge; # added 2017-02-18
skype = skypeforlinux; # added 2017-07-27 skype = skypeforlinux; # added 2017-07-27
skydive = throw "skydive has been removed from nixpkgs (2019-09-10)";
slic3r-prusa3d = prusa-slicer; # added 2019-05-21 slic3r-prusa3d = prusa-slicer; # added 2019-05-21
slurm-llnl = slurm; # renamed July 2017 slurm-llnl = slurm; # renamed July 2017
slurm-llnl-full = slurm-full; # renamed July 2017 slurm-llnl-full = slurm-full; # renamed July 2017
@ -342,6 +343,7 @@ mapAliases ({
sshfsFuse = sshfs-fuse; # added 2016-09 sshfsFuse = sshfs-fuse; # added 2016-09
suil-qt5 = suil; # added 2018-05-01 suil-qt5 = suil; # added 2018-05-01
surf-webkit2 = surf; # added 2017-04-02 surf-webkit2 = surf; # added 2017-04-02
sup = throw "deprecated in 2019-09-10: abandoned by upstream";
system_config_printer = system-config-printer; # added 2016-01-03 system_config_printer = system-config-printer; # added 2016-01-03
systool = sysfsutils; # added 2018-04-25 systool = sysfsutils; # added 2018-04-25
tahoelafs = tahoe-lafs; # added 2018-03-26 tahoelafs = tahoe-lafs; # added 2018-03-26

View File

@ -3036,7 +3036,7 @@ in
mozc = callPackage ../tools/inputmethods/fcitx-engines/fcitx-mozc { mozc = callPackage ../tools/inputmethods/fcitx-engines/fcitx-mozc {
python = python2; python = python2;
inherit (python2Packages) gyp; inherit (python2Packages) gyp;
protobuf = pkgs.protobuf3_6.overrideDerivation (oldAttrs: { stdenv = clangStdenv; }); protobuf = pkgs.protobuf.overrideDerivation (oldAttrs: { stdenv = clangStdenv; });
}; };
table-extra = callPackage ../tools/inputmethods/fcitx-engines/fcitx-table-extra { }; table-extra = callPackage ../tools/inputmethods/fcitx-engines/fcitx-table-extra { };
@ -12133,6 +12133,8 @@ in
libisoburn = callPackage ../development/libraries/libisoburn { }; libisoburn = callPackage ../development/libraries/libisoburn { };
libipt = callPackage ../development/libraries/libipt { };
libiptcdata = callPackage ../development/libraries/libiptcdata { }; libiptcdata = callPackage ../development/libraries/libiptcdata { };
libjpeg_original = callPackage ../development/libraries/libjpeg { }; libjpeg_original = callPackage ../development/libraries/libjpeg { };
@ -13571,12 +13573,6 @@ in
sdnotify-wrapper = callPackage ../os-specific/linux/sdnotify-wrapper { }; sdnotify-wrapper = callPackage ../os-specific/linux/sdnotify-wrapper { };
}; };
skydive = callPackage ../tools/networking/skydive {
# XXX: this is failing with Go 1.12. Error is related to cgo, an
# update to this package might fix it.
buildGoPackage = buildGo111Package;
};
slang = callPackage ../development/libraries/slang { }; slang = callPackage ../development/libraries/slang { };
slibGuile = callPackage ../development/libraries/slib { slibGuile = callPackage ../development/libraries/slib {
@ -14123,7 +14119,7 @@ in
x265 = callPackage ../development/libraries/x265 { }; x265 = callPackage ../development/libraries/x265 { };
inherit (callPackages ../development/libraries/xapian { }) inherit (callPackages ../development/libraries/xapian { })
xapian_1_2_22 xapian_1_4; xapian_1_4;
xapian = xapian_1_4; xapian = xapian_1_4;
xapian-omega = callPackage ../development/libraries/xapian/tools/omega { xapian-omega = callPackage ../development/libraries/xapian/tools/omega {
@ -18412,8 +18408,6 @@ in
getxbook = callPackage ../applications/misc/getxbook { }; getxbook = callPackage ../applications/misc/getxbook { };
ghq = gitAndTools.ghq;
gimp = callPackage ../applications/graphics/gimp { gimp = callPackage ../applications/graphics/gimp {
gegl = gegl_0_4; gegl = gegl_0_4;
lcms = lcms2; lcms = lcms2;
@ -18432,7 +18426,7 @@ in
gitAndTools = recurseIntoAttrs (callPackage ../applications/version-management/git-and-tools {}); gitAndTools = recurseIntoAttrs (callPackage ../applications/version-management/git-and-tools {});
inherit (gitAndTools) git gitFull gitSVN git-cola svn2git git-radar git-secret git-secrets transcrypt git-crypt; inherit (gitAndTools) git gitFull gitSVN git-cola svn2git git-radar git-secret git-secrets transcrypt git-crypt ghq;
gitMinimal = git.override { gitMinimal = git.override {
withManual = false; withManual = false;
@ -19643,12 +19637,6 @@ in
speedread = callPackage ../applications/misc/speedread { }; speedread = callPackage ../applications/misc/speedread { };
sup = callPackage ../applications/networking/mailreaders/sup {
bundlerApp = bundlerApp.override{
ruby = ruby.override { cursesSupport = true; };
};
};
synapse = callPackage ../applications/misc/synapse { }; synapse = callPackage ../applications/misc/synapse { };
synapse-bt = callPackage ../applications/networking/p2p/synapse-bt { synapse-bt = callPackage ../applications/networking/p2p/synapse-bt {
@ -22742,6 +22730,8 @@ in
plasma-workspace-wallpapers polkit-kde-agent powerdevil sddm-kcm plasma-workspace-wallpapers polkit-kde-agent powerdevil sddm-kcm
systemsettings user-manager xdg-desktop-portal-kde; systemsettings user-manager xdg-desktop-portal-kde;
kwin-tiling = libsForQt5.callPackage ../desktops/plasma-5/kwin/scripts/tiling.nix { };
### SCIENCE ### SCIENCE
### SCIENCE/CHEMISTY ### SCIENCE/CHEMISTY

View File

@ -731,6 +731,8 @@ let
rope = callPackage ../development/ocaml-modules/rope { }; rope = callPackage ../development/ocaml-modules/rope { };
rpclib = callPackage ../development/ocaml-modules/rpclib { };
rresult = callPackage ../development/ocaml-modules/rresult { }; rresult = callPackage ../development/ocaml-modules/rresult { };
safepass = callPackage ../development/ocaml-modules/safepass { }; safepass = callPackage ../development/ocaml-modules/safepass { };
@ -823,7 +825,14 @@ let
janePackage = callPackage ../development/ocaml-modules/janestreet/janePackage.nix {}; janePackage = callPackage ../development/ocaml-modules/janestreet/janePackage.nix {};
janeStreet = import ../development/ocaml-modules/janestreet { janeStreet =
if lib.versionOlder "4.07" ocaml.version
then import ../development/ocaml-modules/janestreet/0.12.nix {
janePackage = callPackage ../development/ocaml-modules/janestreet/janePackage_0_12.nix {};
inherit ctypes num octavius ppxlib re;
inherit (pkgs) openssl;
}
else import ../development/ocaml-modules/janestreet {
inherit janePackage ocamlbuild angstrom ctypes cryptokit; inherit janePackage ocamlbuild angstrom ctypes cryptokit;
inherit magic-mime num ocaml-migrate-parsetree octavius ounit; inherit magic-mime num ocaml-migrate-parsetree octavius ounit;
inherit ppx_deriving re ppxlib; inherit ppx_deriving re ppxlib;

View File

@ -475,10 +475,14 @@ in {
clifford = callPackage ../development/python-modules/clifford { }; clifford = callPackage ../development/python-modules/clifford { };
clickclick = callPackage ../development/python-modules/clickclick { };
clustershell = callPackage ../development/python-modules/clustershell { }; clustershell = callPackage ../development/python-modules/clustershell { };
cnvkit = callPackage ../development/python-modules/cnvkit { }; cnvkit = callPackage ../development/python-modules/cnvkit { };
connexion = callPackage ../development/python-modules/connexion { };
cozy = callPackage ../development/python-modules/cozy { }; cozy = callPackage ../development/python-modules/cozy { };
codespell = callPackage ../development/python-modules/codespell { }; codespell = callPackage ../development/python-modules/codespell { };
@ -1305,6 +1309,8 @@ in {
aiohttp-socks = callPackage ../development/python-modules/aiohttp-socks { }; aiohttp-socks = callPackage ../development/python-modules/aiohttp-socks { };
aiohttp-swagger = callPackage ../development/python-modules/aiohttp-swagger { };
aioprocessing = callPackage ../development/python-modules/aioprocessing { }; aioprocessing = callPackage ../development/python-modules/aioprocessing { };
aioresponses = callPackage ../development/python-modules/aioresponses { }; aioresponses = callPackage ../development/python-modules/aioresponses { };
@ -2816,6 +2822,8 @@ in {
starfish = callPackage ../development/python-modules/starfish { }; starfish = callPackage ../development/python-modules/starfish { };
swagger-ui-bundle = callPackage ../development/python-modules/swagger-ui-bundle { };
multi_key_dict = callPackage ../development/python-modules/multi_key_dict { }; multi_key_dict = callPackage ../development/python-modules/multi_key_dict { };
random2 = callPackage ../development/python-modules/random2 { }; random2 = callPackage ../development/python-modules/random2 { };