Merge master into staging-next

This commit is contained in:
Frederik Rietdijk 2019-05-02 08:43:14 +02:00
commit 155c9d8e18
76 changed files with 1145 additions and 332 deletions

4
.github/CODEOWNERS vendored
View File

@ -47,8 +47,8 @@
/nixos/doc/manual/man-nixos-option.xml @nbp /nixos/doc/manual/man-nixos-option.xml @nbp
/nixos/modules/installer/tools/nixos-option.sh @nbp /nixos/modules/installer/tools/nixos-option.sh @nbp
# NixOS modules # New NixOS modules
/nixos/modules @Infinisil /nixos/modules/module-list.nix @Infinisil
# Python-related code and docs # Python-related code and docs
/maintainers/scripts/update-python-libraries @FRidh /maintainers/scripts/update-python-libraries @FRidh

View File

@ -930,6 +930,11 @@
github = "chris-martin"; github = "chris-martin";
name = "Chris Martin"; name = "Chris Martin";
}; };
chrisaw = {
email = "home@chrisaw.com";
github = "cawilliamson";
name = "Christopher A. Williamson";
};
chrisjefferson = { chrisjefferson = {
email = "chris@bubblescope.net"; email = "chris@bubblescope.net";
github = "chrisjefferson"; github = "chrisjefferson";

View File

@ -395,6 +395,7 @@
./services/misc/emby.nix ./services/misc/emby.nix
./services/misc/errbot.nix ./services/misc/errbot.nix
./services/misc/etcd.nix ./services/misc/etcd.nix
./services/misc/ethminer.nix
./services/misc/exhibitor.nix ./services/misc/exhibitor.nix
./services/misc/felix.nix ./services/misc/felix.nix
./services/misc/folding-at-home.nix ./services/misc/folding-at-home.nix

View File

@ -18,7 +18,11 @@ let
database ${cfg.database} database ${cfg.database}
suffix ${cfg.suffix} suffix ${cfg.suffix}
rootdn ${cfg.rootdn} rootdn ${cfg.rootdn}
rootpw ${cfg.rootpw} ${if (cfg.rootpw != null) then ''
rootpw ${cfg.rootpw}
'' else ''
include ${cfg.rootpwFile}
''}
directory ${cfg.dataDir} directory ${cfg.dataDir}
${cfg.extraDatabaseConfig} ${cfg.extraDatabaseConfig}
''); '');
@ -106,10 +110,23 @@ in
}; };
rootpw = mkOption { rootpw = mkOption {
type = types.str; type = types.nullOr types.str;
default = null;
description = '' description = ''
Password for the root user. Password for the root user.
This setting will be ignored if configDir is set. This setting will be ignored if configDir is set.
Using this option will store the root password in plain text in the
world-readable nix store. To avoid this the <literal>rootpwFile</literal> can be used.
'';
};
rootpwFile = mkOption {
type = types.nullOr types.str;
default = null;
description = ''
Password file for the root user.
The file should contain the string <literal>rootpw</literal> followed by the password.
e.g.: <literal>rootpw mysecurepassword</literal>
''; '';
}; };
@ -140,9 +157,9 @@ in
include ${pkgs.openldap.out}/etc/schema/inetorgperson.schema include ${pkgs.openldap.out}/etc/schema/inetorgperson.schema
include ${pkgs.openldap.out}/etc/schema/nis.schema include ${pkgs.openldap.out}/etc/schema/nis.schema
database bdb database bdb
suffix dc=example,dc=org suffix dc=example,dc=org
rootdn cn=admin,dc=example,dc=org rootdn cn=admin,dc=example,dc=org
# NOTE: change after first start # NOTE: change after first start
rootpw secret rootpw secret
directory /var/db/openldap directory /var/db/openldap
@ -218,6 +235,12 @@ in
###### implementation ###### implementation
config = mkIf cfg.enable { config = mkIf cfg.enable {
assertions = [
{
assertion = cfg.rootpwFile != null || cfg.rootpw != null;
message = "Either services.openldap.rootpw or services.openldap.rootpwFile must be set";
}
];
environment.systemPackages = [ openldap ]; environment.systemPackages = [ openldap ];

View File

@ -0,0 +1,115 @@
{ config, lib, pkgs, ... }:
with lib;
let
cfg = config.services.ethminer;
poolUrl = escapeShellArg "stratum1+tcp://${cfg.wallet}@${cfg.pool}:${toString cfg.stratumPort}/${cfg.rig}/${cfg.registerMail}";
in
{
###### interface
options = {
services.ethminer = {
enable = mkOption {
type = types.bool;
default = false;
description = "Enable ethminer ether mining.";
};
recheckInterval = mkOption {
type = types.int;
default = 2000;
description = "Interval in milliseconds between farm rechecks.";
};
toolkit = mkOption {
type = types.enum [ "cuda" "opencl" ];
default = "cuda";
description = "Cuda or opencl toolkit.";
};
apiPort = mkOption {
type = types.int;
default = -3333;
description = "Ethminer api port. minus sign puts api in read-only mode.";
};
wallet = mkOption {
type = types.str;
example = "0x0123456789abcdef0123456789abcdef01234567";
description = "Ethereum wallet address.";
};
pool = mkOption {
type = types.str;
example = "eth-us-east1.nanopool.org";
description = "Mining pool address.";
};
stratumPort = mkOption {
type = types.port;
default = 9999;
description = "Stratum protocol tcp port.";
};
rig = mkOption {
type = types.str;
default = "mining-rig-name";
description = "Mining rig name.";
};
registerMail = mkOption {
type = types.str;
example = "email%40example.org";
description = "Url encoded email address to register with pool.";
};
maxPower = mkOption {
type = types.int;
default = 115;
description = "Miner max watt usage.";
};
};
};
###### implementation
config = mkIf cfg.enable {
systemd.services.ethminer = {
path = [ pkgs.cudatoolkit ];
description = "ethminer ethereum mining service";
wantedBy = [ "multi-user.target" ];
after = [ "network.target" ];
serviceConfig = {
DynamicUser = true;
ExecStartPost = optional (cfg.toolkit == "cuda") "+${getBin config.boot.kernelPackages.nvidia_x11}/bin/nvidia-smi -pl ${toString cfg.maxPower}";
};
environment = {
LD_LIBRARY_PATH = "${config.boot.kernelPackages.nvidia_x11}/lib";
};
script = ''
${pkgs.ethminer}/bin/.ethminer-wrapped \
--farm-recheck ${toString cfg.recheckInterval} \
--report-hashrate \
--${cfg.toolkit} \
--api-port ${toString cfg.apiPort} \
--pool ${poolUrl}
'';
};
};
}

View File

@ -116,6 +116,7 @@ in
installer = handleTest ./installer.nix {}; installer = handleTest ./installer.nix {};
ipv6 = handleTest ./ipv6.nix {}; ipv6 = handleTest ./ipv6.nix {};
jackett = handleTest ./jackett.nix {}; jackett = handleTest ./jackett.nix {};
jellyfin = handleTest ./jellyfin.nix {};
jenkins = handleTest ./jenkins.nix {}; jenkins = handleTest ./jenkins.nix {};
kafka = handleTest ./kafka.nix {}; kafka = handleTest ./kafka.nix {};
kerberos = handleTest ./kerberos/default.nix {}; kerberos = handleTest ./kerberos/default.nix {};

View File

@ -7,13 +7,13 @@ with stdenv.lib;
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "bitcoin" + (toString (optional (!withGui) "d")) + "-abc-" + version; name = "bitcoin" + (toString (optional (!withGui) "d")) + "-abc-" + version;
version = "0.18.2"; version = "0.19.4";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "bitcoin-ABC"; owner = "bitcoin-ABC";
repo = "bitcoin-abc"; repo = "bitcoin-abc";
rev = "v${version}"; rev = "v${version}";
sha256 = "1ha219xnd61qicf7r3j0wbfrifh7blwp3lyk3ycgdn381q1qln29"; sha256 = "1z4x25ygcw1pqml2ww02vqrvmihlv4f5gnnn1iyfirrjxgpfaxd7";
}; };
patches = [ ./fix-bitcoin-qt-build.patch ]; patches = [ ./fix-bitcoin-qt-build.patch ];

View File

@ -4,12 +4,12 @@
dnl Output: $1 is set to the path of $2 if found. $2 are searched in order. dnl Output: $1 is set to the path of $2 if found. $2 are searched in order.
AC_DEFUN([BITCOIN_QT_PATH_PROGS],[ AC_DEFUN([BITCOIN_QT_PATH_PROGS],[
BITCOIN_QT_CHECK([ BITCOIN_QT_CHECK([
- if test "x$3" != "x"; then - if test "x$3" != x; then
- AC_PATH_PROGS($1,$2,,$3) - AC_PATH_PROGS($1,$2,,$3)
- else - else
- AC_PATH_PROGS($1,$2) - AC_PATH_PROGS($1,$2)
- fi - fi
+ AC_PATH_PROGS($1,$2) + AC_PATH_PROGS($1,$2)
if test "x$$1" = "x" && test "x$4" != "xyes"; then if test "x$$1" = x && test "x$4" != xyes; then
BITCOIN_QT_FAIL([$1 not found]) BITCOIN_QT_FAIL([$1 not found])
fi fi

View File

@ -8,13 +8,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "mixxx-${version}"; name = "mixxx-${version}";
version = "2.2.0"; version = "2.2.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "mixxxdj"; owner = "mixxxdj";
repo = "mixxx"; repo = "mixxx";
rev = "release-${version}"; rev = "release-${version}";
sha256 = "1rp2nyhz2j695k5kk0m94x30akwrlr9jgs0n4pi4snnvjpwmbfp9"; sha256 = "1q6c2wfpprsx7s7nz1w0mhm2yhikj54jxcv61kwylxx3n5k2na9r";
}; };
nativeBuildInputs = [ makeWrapper ]; nativeBuildInputs = [ makeWrapper ];
@ -25,6 +25,8 @@ stdenv.mkDerivation rec {
qtx11extras rubberband scons sqlite taglib upower vampSDK qtx11extras rubberband scons sqlite taglib upower vampSDK
]; ];
enableParallelBuilding = true;
sconsFlags = [ sconsFlags = [
"build=release" "build=release"
"qtdir=${qtbase}" "qtdir=${qtbase}"

View File

@ -2,11 +2,11 @@
pythonPackages.buildPythonApplication rec { pythonPackages.buildPythonApplication rec {
pname = "Mopidy-Iris"; pname = "Mopidy-Iris";
version = "3.36.0"; version = "3.37.0";
src = pythonPackages.fetchPypi { src = pythonPackages.fetchPypi {
inherit pname version; inherit pname version;
sha256 = "1qxb3rfjxmwihcm0nrarrgp9x7zr3kjipzn5igj0d57gpi2bdwgv"; sha256 = "1fy802jx3817ldrm3g5inrfjbi7s8xcx96pnglbq54nvp41lzyh5";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [

View File

@ -17,25 +17,41 @@ let
}; };
libvterm = libvterm-neovim.overrideAttrs(old: rec {
pname = "libvterm-neovim";
version = "2019-04-27";
name = pname + "-" + version;
src = fetchFromGitHub {
owner = "neovim";
repo = "libvterm";
rev = "89675ffdda615ffc3f29d1c47a933f4f44183364";
sha256 = "0l9ixbj516vl41v78fi302ws655xawl7s94gmx1kb3fmfgamqisy";
};
});
in stdenv.mkDerivation rec { in stdenv.mkDerivation rec {
name = "emacs-libvterm-${version}"; name = "emacs-libvterm-${version}";
version = "unstable-2018-11-16"; version = "unstable-2019-04-28";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "akermu"; owner = "akermu";
repo = "emacs-libvterm"; repo = "emacs-libvterm";
rev = "8be9316156be75a685c0636258b2fec2daaf5ab5"; rev = "6adcedf3e4aaadeeaff97437044fba17aeb466d4";
sha256 = "059js4aa7xgqcpaicgy4gz683hppa1iyp1r98mnms5hd31a304k8"; sha256 = "1j6qr5bmajig3idhwsaa3zm72w13q9zn77z2dlrhhx3p4bbds3f8";
}; };
nativeBuildInputs = [ cmake ]; nativeBuildInputs = [ cmake ];
buildInputs = [ emacs libvterm-neovim ]; buildInputs = [ emacs libvterm ];
cmakeFlags = [ "-DEMACS_SOURCE=${emacsSources}" ]; cmakeFlags = [
"-DEMACS_SOURCE=${emacsSources}"
"-DUSE_SYSTEM_LIBVTERM=True"
];
installPhase = '' installPhase = ''
install -d $out/share/emacs/site-lisp install -d $out/share/emacs/site-lisp
install ../*.el $out/share/emacs/site-lisp install ../*.el $out/share/emacs/site-lisp
install ./*.so $out/share/emacs/site-lisp install ../*.so $out/share/emacs/site-lisp
''; '';
} }

View File

@ -8,13 +8,13 @@ in
python3Packages.buildPythonApplication rec { python3Packages.buildPythonApplication rec {
pname = "electron-cash"; pname = "electron-cash";
version = "3.3.6"; version = "4.0.2";
src = fetchurl { src = fetchurl {
url = "https://electroncash.org/downloads/${version}/win-linux/Electron-Cash-${version}.tar.gz"; url = "https://electroncash.org/downloads/${version}/win-linux/Electron-Cash-${version}.tar.gz";
# Verified using official SHA-1 and signature from # Verified using official SHA-1 and signature from
# https://github.com/fyookball/keys-n-hashes # https://github.com/fyookball/keys-n-hashes
sha256 = "ac435f2bf98b9b50c4bdcc9e3fb2ff19d9c66f8cce5df852f3a4727306bb0a84"; sha256 = "6255cd0493442ec57c10ae70ca2e84c6a29497f90a1393e6ac5772afe7572acf";
}; };
propagatedBuildInputs = with python3Packages; [ propagatedBuildInputs = with python3Packages; [

View File

@ -5,32 +5,26 @@ with python3.pkgs;
buildPythonApplication rec { buildPythonApplication rec {
pname = "gcalcli"; pname = "gcalcli";
version = "4.0.4"; version = "4.1.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "insanum"; owner = "insanum";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "0bl4cmc24iw12zn5mlj5qn141s2k2mzdixbcb92pfng4w2s4dq66"; sha256 = "06iijpwlvvn8bj81s4znhykilvwvydxjmzd3d4nsa5j2kj3iwshi";
}; };
postPatch = lib.optionalString stdenv.isLinux '' postPatch = lib.optionalString stdenv.isLinux ''
substituteInPlace gcalcli/argparsers.py --replace \ substituteInPlace gcalcli/argparsers.py \
"command = 'notify-send -u critical" \ --replace "'notify-send" "'${libnotify}/bin/notify-send"
"command = '${libnotify}/bin/notify-send -u critical"
''; '';
propagatedBuildInputs = [ propagatedBuildInputs = [
dateutil gflags httplib2 parsedatetime six vobject dateutil gflags httplib2 parsedatetime six vobject
google_api_python_client oauth2client uritemplate google_api_python_client oauth2client uritemplate
libnotify
] ++ lib.optional (!isPy3k) futures; ] ++ lib.optional (!isPy3k) futures;
postInstall = lib.optionalString stdenv.isLinux ''
substituteInPlace $out/bin/gcalcli --replace \
"command = 'notify-send -u critical -a gcalcli %s'" \
"command = '${libnotify}/bin/notify-send -i view-calendar-upcoming-events -u critical -a Calendar %s'"
'';
# There are no tests as of 4.0.0a4 # There are no tests as of 4.0.0a4
doCheck = false; doCheck = false;

View File

@ -1,14 +1,14 @@
{ stdenv, fetchurl, sane-backends, qtbase, qtsvg, nss, autoPatchelfHook, lib, makeWrapper }: { stdenv, fetchurl, sane-backends, qtbase, qtsvg, nss, autoPatchelfHook, lib, makeWrapper }:
let let
version = "5.3.22"; version = "5.4.10";
in stdenv.mkDerivation { in stdenv.mkDerivation {
name = "masterpdfeditor-${version}"; name = "masterpdfeditor-${version}";
src = fetchurl { src = fetchurl {
url = "https://code-industry.net/public/master-pdf-editor-${version}_qt5.amd64.tar.gz"; url = "https://code-industry.net/public/master-pdf-editor-${version}_qt5.amd64.tar.gz";
sha256 = "0cnw01g3j5l07f2lng604mx8qqm61i5sflryj1vya2gkjmrphkan"; sha256 = "1902ahb2g9xanrip1n0ihr31az8sv9fsvzddnzf70kbwlfclnqf7";
}; };
nativeBuildInputs = [ autoPatchelfHook makeWrapper ]; nativeBuildInputs = [ autoPatchelfHook makeWrapper ];

View File

@ -2,11 +2,11 @@
, desktop-file-utils, libSM, imagemagick }: , desktop-file-utils, libSM, imagemagick }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
version = "18.12"; version = "19.04";
name = "mediainfo-gui-${version}"; name = "mediainfo-gui-${version}";
src = fetchurl { src = fetchurl {
url = "https://mediaarea.net/download/source/mediainfo/${version}/mediainfo_${version}.tar.xz"; url = "https://mediaarea.net/download/source/mediainfo/${version}/mediainfo_${version}.tar.xz";
sha256 = "01pk57ff297lifm3g2hrbmfmchgyy5rir8103n2j3l0dkn2i0g3d"; sha256 = "11wag23gx7nprrm1qlgvbc83rs9zxdsshqrp98zwia80xh8c9bk5";
}; };
nativeBuildInputs = [ autoreconfHook pkgconfig ]; nativeBuildInputs = [ autoreconfHook pkgconfig ];

View File

@ -0,0 +1,51 @@
{ autoPatchelfHook, electron, fetchurl, makeDesktopItem, makeWrapper, nodePackages, nss, stdenv, xdg_utils, xorg }:
stdenv.mkDerivation rec {
pname = "rambox-pro";
version = "1.1.2";
dontBuild = true;
dontStrip = true;
buildInputs = [ nss xorg.libxkbfile ];
nativeBuildInputs = [ autoPatchelfHook makeWrapper nodePackages.asar ];
src = fetchurl {
url = "https://github.com/ramboxapp/download/releases/download/v${version}/RamboxPro-${version}-linux-x64.tar.gz";
sha256 = "0rrfpl371hp278b02b9b6745ax29yrdfmxrmkxv6d158jzlv0dlr";
};
postPatch = ''
substituteInPlace resources/app.asar.unpacked/node_modules/ad-block/vendor/depot_tools/create-chromium-git-src \
--replace "/usr/bin/env -S bash -e" "${stdenv.shell}"
substituteInPlace resources/app.asar.unpacked/node_modules/ad-block/node_modules/bloom-filter-cpp/vendor/depot_tools/create-chromium-git-src \
--replace "/usr/bin/env -S bash -e" "${stdenv.shell}"
'';
installPhase = ''
mkdir -p $out/bin $out/opt/RamboxPro $out/share/applications
asar e resources/app.asar $out/opt/RamboxPro/resources/app.asar.unpacked
ln -s ${desktopItem}/share/applications/* $out/share/applications
'';
postFixup = ''
makeWrapper ${electron}/lib/electron/.electron-wrapped $out/bin/ramboxpro \
--add-flags "$out/opt/RamboxPro/resources/app.asar.unpacked --without-update" \
--prefix PATH : ${xdg_utils}/bin
'';
desktopItem = makeDesktopItem {
name = "rambox-pro";
exec = "ramboxpro";
type = "Application";
desktopName = "Rambox Pro";
};
meta = with stdenv.lib; {
description = "Messaging and emailing app that combines common web applications into one";
homepage = https://rambox.pro;
license = licenses.unfree;
maintainers = with maintainers; [ chrisaw ];
platforms = [ "i686-linux" "x86_64-linux" ];
};
}

View File

@ -1,17 +1,15 @@
{ stdenv, fetchFromGitHub, makeWrapper, lib { stdenv, fetchFromGitHub, makeWrapper, lib
, dnsutils, coreutils, openssl, nettools, utillinux, procps }: , dnsutils, coreutils, openssl, nettools, utillinux, procps }:
let stdenv.mkDerivation rec {
version = "2.9.5-7"; pname = "testssl.sh";
version = "3.0rc5";
in stdenv.mkDerivation rec {
name = "testssl.sh-${version}";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "drwetter"; owner = "drwetter";
repo = "testssl.sh"; repo = pname;
rev = "v${version}"; rev = version;
sha256 = "02xp0yi53xf6jw6v633zs2ws2iyyvq3mlkimg0cv3zvj7nw9x5wr"; sha256 = "14b9n0h4f2dsa292wi9gnan5ncgqblis6wyh5978lhjzi1d7gyds";
}; };
nativeBuildInputs = [ makeWrapper ]; nativeBuildInputs = [ makeWrapper ];
@ -27,16 +25,15 @@ in stdenv.mkDerivation rec {
postPatch = '' postPatch = ''
substituteInPlace testssl.sh \ substituteInPlace testssl.sh \
--replace /bin/pwd pwd \ --replace /bin/pwd pwd \
--replace TESTSSL_INSTALL_DIR:-\"\" TESTSSL_INSTALL_DIR:-\"$out\" --replace TESTSSL_INSTALL_DIR:-\"\" TESTSSL_INSTALL_DIR:-\"$out\" \
--replace PROG_NAME=\"\$\(basename\ \"\$0\"\)\" PROG_NAME=\"testssl.sh\"
''; '';
installPhase = '' installPhase = ''
install -Dt $out/bin testssl.sh install -D testssl.sh $out/bin/testssl.sh
wrapProgram $out/bin/testssl.sh \
--prefix PATH ':' ${lib.makeBinPath buildInputs}
cp -r etc $out cp -r etc $out
wrapProgram $out/bin/testssl.sh --prefix PATH ':' ${lib.makeBinPath buildInputs}
''; '';
meta = with stdenv.lib; { meta = with stdenv.lib; {

View File

@ -2,11 +2,11 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "picard-tools-${version}"; name = "picard-tools-${version}";
version = "2.19.0"; version = "2.19.2";
src = fetchurl { src = fetchurl {
url = "https://github.com/broadinstitute/picard/releases/download/${version}/picard.jar"; url = "https://github.com/broadinstitute/picard/releases/download/${version}/picard.jar";
sha256 = "0l2riidd9p84axj8h7fnrbwgpcpizj74i9mnm3pcqm9vlzvw6zzr"; sha256 = "0dfap1whga03r0fh3adi684dyp9agfdi96hb2aqskgr9jp0z69rb";
}; };
nativeBuildInputs = [ makeWrapper ]; nativeBuildInputs = [ makeWrapper ];

View File

@ -28,11 +28,11 @@ let
in stdenv.mkDerivation rec { in stdenv.mkDerivation rec {
name = "kicad-${version}"; name = "kicad-${version}";
series = "5.0"; series = "5.0";
version = "5.0.2"; version = "5.1.2";
src = fetchurl { src = fetchurl {
url = "https://launchpad.net/kicad/${series}/${version}/+download/kicad-${version}.tar.xz"; url = "https://launchpad.net/kicad/${series}/${version}/+download/kicad-${version}.tar.xz";
sha256 = "10605rr10x0353n6yk2z095ydnkd1i6j1ncbq64pfxdn5vkhcd1g"; sha256 = "12kp82ms2dwqkhilmh3mbhg5rsj5ykk99pnkhp4sx89nni86qdw4";
}; };
postPatch = '' postPatch = ''
@ -47,6 +47,7 @@ in stdenv.mkDerivation rec {
# nix installs wxPython headers in wxPython package, not in wxwidget # nix installs wxPython headers in wxPython package, not in wxwidget
# as assumed. We explicitely set the header location. # as assumed. We explicitely set the header location.
"-DCMAKE_CXX_FLAGS=-I${pythonPackages.wxPython}/include/wx-3.0" "-DCMAKE_CXX_FLAGS=-I${pythonPackages.wxPython}/include/wx-3.0"
"-DwxPYTHON_INCLUDE_DIRS=${pythonPackages.wxPython}/include/wx-3.0"
] ++ optionals (oceSupport) [ "-DKICAD_USE_OCE=ON" "-DOCE_DIR=${opencascade}" ] ] ++ optionals (oceSupport) [ "-DKICAD_USE_OCE=ON" "-DOCE_DIR=${opencascade}" ]
++ optional (ngspiceSupport) "-DKICAD_SPICE=ON"; ++ optional (ngspiceSupport) "-DKICAD_SPICE=ON";
@ -72,22 +73,22 @@ in stdenv.mkDerivation rec {
dontWrapGApps = true; dontWrapGApps = true;
passthru = { passthru = {
i18n = mkLib version "i18n" "1hkc240gymhmyv6r858mq5d2slz0vjqc47ah8wn82vvmb83fpnjy" { i18n = mkLib version "i18n" "08a8lpz2j7bhwn155s0ii538qlynnnvq6fmdw1dxjfgmfy7y3r66" {
buildInputs = [ buildInputs = [
gettext gettext
]; ];
meta.license = licenses.gpl2; # https://github.com/KiCad/kicad-i18n/issues/3 meta.license = licenses.gpl2; # https://github.com/KiCad/kicad-i18n/issues/3
}; };
symbols = mkLib version "symbols" "1rjh2pjcrc3bhcgyyskj5pssm7vffrjk0ymwr70fb7sjpmk96yjk" { symbols = mkLib version "symbols" "0l5r53wcv0518x2kl0fh1zi0d50cckc7z1739fp9z3k5a4ddk824" {
meta.license = licenses.cc-by-sa-40; meta.license = licenses.cc-by-sa-40;
}; };
footprints = mkLib version "footprints" "19khqyrbrqsdzxvm1b1vxfscxhss705fqky0ilrbvnbvf27fnx8w" { footprints = mkLib version "footprints" "0q7y7m10pav6917ri37pzjvyh71c8lf4lh9ch258pdpl3w481zk6" {
meta.license = licenses.cc-by-sa-40; meta.license = licenses.cc-by-sa-40;
}; };
templates = mkLib version "templates" "0rlzq1n09n0sf2kj5c9bvbnkvs6cpycjxmxwcswql0fbpcp0sql7" { templates = mkLib version "templates" "1nva4ckq0l2lrah0l05355cawlwd7qfxcagcv32m8hcrn781455q" {
meta.license = licenses.cc-by-sa-40; meta.license = licenses.cc-by-sa-40;
}; };
packages3d = mkLib version "packages3d" "135jyrljgknnv2y35skhnwcxg16yxxkfbcx07nad3vr4r76zk3am" { packages3d = mkLib version "packages3d" "0xla9k1rnrs00fink90y9qz766iks5lyqwnf1h2i508djqhqm5zi" {
hydraPlatforms = []; # this is a ~1 GiB download, occupies ~5 GiB in store hydraPlatforms = []; # this is a ~1 GiB download, occupies ~5 GiB in store
meta.license = licenses.cc-by-sa-40; meta.license = licenses.cc-by-sa-40;
}; };

View File

@ -38,7 +38,7 @@ let
git-fame = callPackage ./git-fame {}; git-fame = callPackage ./git-fame {};
gita = callPackage ./gita {}; gita = python3Packages.callPackage ./gita {};
# The full-featured Git. # The full-featured Git.
gitFull = gitBase.override { gitFull = gitBase.override {

View File

@ -1,15 +1,19 @@
{ lib, python3Packages }: { lib
, buildPythonApplication
, fetchPypi
, pyyaml
}:
python3Packages.buildPythonApplication rec { buildPythonApplication rec {
version = "0.8.2"; version = "0.9.2";
pname = "gita"; pname = "gita";
src = python3Packages.fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "16jpnl323x86dkrnh4acyvi9jknhgi3r0ccv63rkjcmd0srkaxkk"; sha256 = "1aycqq4crsa57ghpv7xc497rf4y8x43fcfd0v9prd2kn6h1793r0";
}; };
propagatedBuildInputs = with python3Packages; [ propagatedBuildInputs = [
pyyaml pyyaml
]; ];

View File

@ -1,29 +1,29 @@
{ {
"ce": { "ce": {
"version": "11.9.8", "version": "11.9.11",
"repo_hash": "10xlabp7ziw1vpyy9dvhaiwf5l340d3yzvlh2aq6ly3xlqr5ip07", "repo_hash": "08f824y6zla4076axdjwcn59hnybps2zvqjhrznfwnhwmak7zqr6",
"deb_hash": "0apw0w5grhpfxwl76w7as5xb6injr7ka8wwk2azllamrxrnn30dv", "deb_hash": "17cp3vr8pq0l7pgrcmwrmlsygk7ggdvjhh71vjcdlmngaffmv5hm",
"deb_url": "https://packages.gitlab.com/gitlab/gitlab-ce/packages/debian/stretch/gitlab-ce_11.9.8-ce.0_amd64.deb/download.deb", "deb_url": "https://packages.gitlab.com/gitlab/gitlab-ce/packages/debian/stretch/gitlab-ce_11.9.11-ce.0_amd64.deb/download.deb",
"owner": "gitlab-org", "owner": "gitlab-org",
"repo": "gitlab-ce", "repo": "gitlab-ce",
"rev": "v11.9.8", "rev": "v11.9.11",
"passthru": { "passthru": {
"GITALY_SERVER_VERSION": "1.27.1", "GITALY_SERVER_VERSION": "1.27.2",
"GITLAB_PAGES_VERSION": "1.5.0", "GITLAB_PAGES_VERSION": "1.5.0",
"GITLAB_SHELL_VERSION": "8.7.1", "GITLAB_SHELL_VERSION": "8.7.1",
"GITLAB_WORKHORSE_VERSION": "8.3.3" "GITLAB_WORKHORSE_VERSION": "8.3.3"
} }
}, },
"ee": { "ee": {
"version": "11.9.8", "version": "11.9.11",
"repo_hash": "0h6lpaiwsvyn5cdga08zbgr6cwp3k6xi5jpb7n37hc6y4c7b36ry", "repo_hash": "0nsp3lxxh8gmkafa5a5jxi78n9w8v7gij4l4lka2d1wzfkhgzjph",
"deb_hash": "1bsy8qrr2sjvavzv4nslx14x4cx5xjx55d2v7zz6fvjzmgb98hgv", "deb_hash": "1qr8zbwlj99gqxj0cziy5z9hnaxb5lilgf46k4przkd2lhg5s0c0",
"deb_url": "https://packages.gitlab.com/gitlab/gitlab-ee/packages/debian/stretch/gitlab-ee_11.9.8-ee.0_amd64.deb/download.deb", "deb_url": "https://packages.gitlab.com/gitlab/gitlab-ee/packages/debian/stretch/gitlab-ee_11.9.11-ee.0_amd64.deb/download.deb",
"owner": "gitlab-org", "owner": "gitlab-org",
"repo": "gitlab-ee", "repo": "gitlab-ee",
"rev": "v11.9.8-ee", "rev": "v11.9.11-ee",
"passthru": { "passthru": {
"GITALY_SERVER_VERSION": "1.27.1", "GITALY_SERVER_VERSION": "1.27.2",
"GITLAB_PAGES_VERSION": "1.5.0", "GITLAB_PAGES_VERSION": "1.5.0",
"GITLAB_SHELL_VERSION": "8.7.1", "GITLAB_SHELL_VERSION": "8.7.1",
"GITLAB_WORKHORSE_VERSION": "8.3.3" "GITLAB_WORKHORSE_VERSION": "8.3.3"

View File

@ -7,14 +7,14 @@ let
gemdir = ./.; gemdir = ./.;
}; };
in buildGoPackage rec { in buildGoPackage rec {
version = "1.27.1"; version = "1.27.2";
name = "gitaly-${version}"; name = "gitaly-${version}";
src = fetchFromGitLab { src = fetchFromGitLab {
owner = "gitlab-org"; owner = "gitlab-org";
repo = "gitaly"; repo = "gitaly";
rev = "v${version}"; rev = "v${version}";
sha256 = "0sr1jjw1rvyxrv6vaqvl138m0x2xgjksjdy92ajslrjxrnjlrjvp"; sha256 = "03v8c9ask1f2bk4z51scpm6zh815hcxi5crly5zn7932i2nfvva0";
}; };
goPackagePath = "gitlab.com/gitlab-org/gitaly"; goPackagePath = "gitlab.com/gitlab-org/gitaly";

View File

@ -1,6 +1,6 @@
source 'https://rubygems.org' source 'https://rubygems.org'
gem 'rails', '5.0.7.1' gem 'rails', '5.0.7.2'
gem 'rails-deprecated_sanitizer', '~> 1.0.3' gem 'rails-deprecated_sanitizer', '~> 1.0.3'
# Improves copy-on-write performance for MRI # Improves copy-on-write performance for MRI

View File

@ -4,41 +4,41 @@ GEM
RedCloth (4.3.2) RedCloth (4.3.2)
abstract_type (0.0.7) abstract_type (0.0.7)
ace-rails-ap (4.1.2) ace-rails-ap (4.1.2)
actioncable (5.0.7.1) actioncable (5.0.7.2)
actionpack (= 5.0.7.1) actionpack (= 5.0.7.2)
nio4r (>= 1.2, < 3.0) nio4r (>= 1.2, < 3.0)
websocket-driver (~> 0.6.1) websocket-driver (~> 0.6.1)
actionmailer (5.0.7.1) actionmailer (5.0.7.2)
actionpack (= 5.0.7.1) actionpack (= 5.0.7.2)
actionview (= 5.0.7.1) actionview (= 5.0.7.2)
activejob (= 5.0.7.1) activejob (= 5.0.7.2)
mail (~> 2.5, >= 2.5.4) mail (~> 2.5, >= 2.5.4)
rails-dom-testing (~> 2.0) rails-dom-testing (~> 2.0)
actionpack (5.0.7.1) actionpack (5.0.7.2)
actionview (= 5.0.7.1) actionview (= 5.0.7.2)
activesupport (= 5.0.7.1) activesupport (= 5.0.7.2)
rack (~> 2.0) rack (~> 2.0)
rack-test (~> 0.6.3) rack-test (~> 0.6.3)
rails-dom-testing (~> 2.0) rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.0, >= 1.0.2) rails-html-sanitizer (~> 1.0, >= 1.0.2)
actionview (5.0.7.1) actionview (5.0.7.2)
activesupport (= 5.0.7.1) activesupport (= 5.0.7.2)
builder (~> 3.1) builder (~> 3.1)
erubis (~> 2.7.0) erubis (~> 2.7.0)
rails-dom-testing (~> 2.0) rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.0, >= 1.0.3) rails-html-sanitizer (~> 1.0, >= 1.0.3)
activejob (5.0.7.1) activejob (5.0.7.2)
activesupport (= 5.0.7.1) activesupport (= 5.0.7.2)
globalid (>= 0.3.6) globalid (>= 0.3.6)
activemodel (5.0.7.1) activemodel (5.0.7.2)
activesupport (= 5.0.7.1) activesupport (= 5.0.7.2)
activerecord (5.0.7.1) activerecord (5.0.7.2)
activemodel (= 5.0.7.1) activemodel (= 5.0.7.2)
activesupport (= 5.0.7.1) activesupport (= 5.0.7.2)
arel (~> 7.0) arel (~> 7.0)
activerecord_sane_schema_dumper (1.0) activerecord_sane_schema_dumper (1.0)
rails (>= 5, < 6) rails (>= 5, < 6)
activesupport (5.0.7.1) activesupport (5.0.7.2)
concurrent-ruby (~> 1.0, >= 1.0.2) concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (>= 0.7, < 2) i18n (>= 0.7, < 2)
minitest (~> 5.1) minitest (~> 5.1)
@ -296,7 +296,7 @@ GEM
omniauth (~> 1.3) omniauth (~> 1.3)
pyu-ruby-sasl (>= 0.0.3.3, < 0.1) pyu-ruby-sasl (>= 0.0.3.3, < 0.1)
rubyntlm (~> 0.5) rubyntlm (~> 0.5)
globalid (0.4.1) globalid (0.4.2)
activesupport (>= 4.2.0) activesupport (>= 4.2.0)
gon (6.2.0) gon (6.2.0)
actionpack (>= 3.0) actionpack (>= 3.0)
@ -386,7 +386,7 @@ GEM
json (~> 1.8) json (~> 1.8)
multi_xml (>= 0.5.2) multi_xml (>= 0.5.2)
httpclient (2.8.3) httpclient (2.8.3)
i18n (1.2.0) i18n (1.6.0)
concurrent-ruby (~> 1.0) concurrent-ruby (~> 1.0)
icalendar (2.4.1) icalendar (2.4.1)
ice_nine (0.11.2) ice_nine (0.11.2)
@ -637,17 +637,17 @@ GEM
rack rack
rack-test (0.6.3) rack-test (0.6.3)
rack (>= 1.0) rack (>= 1.0)
rails (5.0.7.1) rails (5.0.7.2)
actioncable (= 5.0.7.1) actioncable (= 5.0.7.2)
actionmailer (= 5.0.7.1) actionmailer (= 5.0.7.2)
actionpack (= 5.0.7.1) actionpack (= 5.0.7.2)
actionview (= 5.0.7.1) actionview (= 5.0.7.2)
activejob (= 5.0.7.1) activejob (= 5.0.7.2)
activemodel (= 5.0.7.1) activemodel (= 5.0.7.2)
activerecord (= 5.0.7.1) activerecord (= 5.0.7.2)
activesupport (= 5.0.7.1) activesupport (= 5.0.7.2)
bundler (>= 1.3.0) bundler (>= 1.3.0)
railties (= 5.0.7.1) railties (= 5.0.7.2)
sprockets-rails (>= 2.0.0) sprockets-rails (>= 2.0.0)
rails-controller-testing (1.0.2) rails-controller-testing (1.0.2)
actionpack (~> 5.x, >= 5.0.1) actionpack (~> 5.x, >= 5.0.1)
@ -663,9 +663,9 @@ GEM
rails-i18n (5.1.1) rails-i18n (5.1.1)
i18n (>= 0.7, < 2) i18n (>= 0.7, < 2)
railties (>= 5.0, < 6) railties (>= 5.0, < 6)
railties (5.0.7.1) railties (5.0.7.2)
actionpack (= 5.0.7.1) actionpack (= 5.0.7.2)
activesupport (= 5.0.7.1) activesupport (= 5.0.7.2)
method_source method_source
rake (>= 0.8.7) rake (>= 0.8.7)
thor (>= 0.18.1, < 2.0) thor (>= 0.18.1, < 2.0)
@ -1111,7 +1111,7 @@ DEPENDENCIES
rack-cors (~> 1.0.0) rack-cors (~> 1.0.0)
rack-oauth2 (~> 1.2.1) rack-oauth2 (~> 1.2.1)
rack-proxy (~> 0.6.0) rack-proxy (~> 0.6.0)
rails (= 5.0.7.1) rails (= 5.0.7.2)
rails-controller-testing rails-controller-testing
rails-deprecated_sanitizer (~> 1.0.3) rails-deprecated_sanitizer (~> 1.0.3)
rails-i18n (~> 5.1) rails-i18n (~> 5.1)

View File

@ -17,66 +17,80 @@
}; };
actioncable = { actioncable = {
dependencies = ["actionpack" "nio4r" "websocket-driver"]; dependencies = ["actionpack" "nio4r" "websocket-driver"];
groups = ["default" "development" "test"];
platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "1443cal16yzc94hfxcx9ljagdbs5xs54bmr55wzmg84wx28bgvrb"; sha256 = "14qy7aygsr35lhcrw2y0c1jxmkfjlcz10p7qcf9jxzhcfmk5rr3y";
type = "gem"; type = "gem";
}; };
version = "5.0.7.1"; version = "5.0.7.2";
}; };
actionmailer = { actionmailer = {
dependencies = ["actionpack" "actionview" "activejob" "mail" "rails-dom-testing"]; dependencies = ["actionpack" "actionview" "activejob" "mail" "rails-dom-testing"];
groups = ["default" "development" "test"];
platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "077g5yg8l10rcs8r63pmmikakma1nr2bvxa1ifly1vbry8lajmhm"; sha256 = "17whd0cjkb038g14pmkmakp89085j5950jdmfa5hmzqf1djnvc8r";
type = "gem"; type = "gem";
}; };
version = "5.0.7.1"; version = "5.0.7.2";
}; };
actionpack = { actionpack = {
dependencies = ["actionview" "activesupport" "rack" "rack-test" "rails-dom-testing" "rails-html-sanitizer"]; dependencies = ["actionview" "activesupport" "rack" "rack-test" "rails-dom-testing" "rails-html-sanitizer"];
groups = ["default" "development" "mysql" "postgres" "test"];
platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "1zn3gw1naz1l6kcb4h5all24kisdv8fk733vm1niiaq2zmwbvlrw"; sha256 = "1wyyj014n0gza5m2gpg9ab9av4yr6psvym047nrn1iz84v6fmkfb";
type = "gem"; type = "gem";
}; };
version = "5.0.7.1"; version = "5.0.7.2";
}; };
actionview = { actionview = {
dependencies = ["activesupport" "builder" "erubis" "rails-dom-testing" "rails-html-sanitizer"]; dependencies = ["activesupport" "builder" "erubis" "rails-dom-testing" "rails-html-sanitizer"];
groups = ["default" "development" "mysql" "postgres" "test"];
platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "053z1r9lbyqb7a8mvi7ppwgphqg1pn9ynhklwxavq65cym8qn9a1"; sha256 = "0w96iqknr5jz7gzlcyixq1lvhbzbqijj4iq22pbfzscppbz1anvi";
type = "gem"; type = "gem";
}; };
version = "5.0.7.1"; version = "5.0.7.2";
}; };
activejob = { activejob = {
dependencies = ["activesupport" "globalid"]; dependencies = ["activesupport" "globalid"];
groups = ["default" "development" "test"];
platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "0w9rspq9y5a99kyljzam7k0cpvkxpzhfmlvs1j6a4flxn14qy7lv"; sha256 = "1281zl53a5dpl33vxswrg2jxv7kpcyl7mg5mckn4hcksna60356l";
type = "gem"; type = "gem";
}; };
version = "5.0.7.1"; version = "5.0.7.2";
}; };
activemodel = { activemodel = {
dependencies = ["activesupport"]; dependencies = ["activesupport"];
groups = ["default" "development" "test"];
platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "1i808lgn542x0lyk2dlnziiqcf1nmxhxqf6125dq6brr08yxgr0c"; sha256 = "0xphpzx3ippi8f2h27v2g3n82i39xwx2gq9yamhby9s2a9hh8shl";
type = "gem"; type = "gem";
}; };
version = "5.0.7.1"; version = "5.0.7.2";
}; };
activerecord = { activerecord = {
dependencies = ["activemodel" "activesupport" "arel"]; dependencies = ["activemodel" "activesupport" "arel"];
groups = ["default" "development" "test"];
platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "1qva7vdv9arliza0155k0xh5w1q6rzdajj3rmj7hv0f86ybd674c"; sha256 = "1jy2amhn2xsd9hy546mw27agh8493nqlgbmzqhlppx7p3nwikw63";
type = "gem"; type = "gem";
}; };
version = "5.0.7.1"; version = "5.0.7.2";
}; };
activerecord_sane_schema_dumper = { activerecord_sane_schema_dumper = {
dependencies = ["rails"]; dependencies = ["rails"];
@ -89,12 +103,14 @@
}; };
activesupport = { activesupport = {
dependencies = ["concurrent-ruby" "i18n" "minitest" "tzinfo"]; dependencies = ["concurrent-ruby" "i18n" "minitest" "tzinfo"];
groups = ["default" "development" "mysql" "postgres" "test"];
platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "02dnmcmkvzijbzm5nlmrd55s5586b78s087kvpvkada3791b9agb"; sha256 = "1bcbr490ryw6295p0ja7xigcw0ivkdys90x3qbsbs8c4n1zwcp7p";
type = "gem"; type = "gem";
}; };
version = "5.0.7.1"; version = "5.0.7.2";
}; };
acts-as-taggable-on = { acts-as-taggable-on = {
dependencies = ["activerecord"]; dependencies = ["activerecord"];
@ -1163,12 +1179,14 @@
}; };
globalid = { globalid = {
dependencies = ["activesupport"]; dependencies = ["activesupport"];
groups = ["default" "development" "test"];
platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "02smrgdi11kziqi9zhnsy9i6yr2fnxrqlv3lllsvdjki3cd4is38"; sha256 = "1zkxndvck72bfw235bd9nl2ii0lvs5z88q14706cmn702ww2mxv1";
type = "gem"; type = "gem";
}; };
version = "0.4.1"; version = "0.4.2";
}; };
gon = { gon = {
dependencies = ["actionpack" "multi_json" "request_store"]; dependencies = ["actionpack" "multi_json" "request_store"];
@ -1444,12 +1462,14 @@
}; };
i18n = { i18n = {
dependencies = ["concurrent-ruby"]; dependencies = ["concurrent-ruby"];
groups = ["default" "development" "mysql" "postgres" "test"];
platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "079sqshk08mqs3d6yzvshmqf4s175lpi2pp71f1p10l09sgmrixr"; sha256 = "1hfxnlyr618s25xpafw9mypa82qppjccbh292c4l3bj36az7f6wl";
type = "gem"; type = "gem";
}; };
version = "1.2.0"; version = "1.6.0";
}; };
icalendar = { icalendar = {
source = { source = {
@ -2423,12 +2443,14 @@
}; };
rails = { rails = {
dependencies = ["actioncable" "actionmailer" "actionpack" "actionview" "activejob" "activemodel" "activerecord" "activesupport" "railties" "sprockets-rails"]; dependencies = ["actioncable" "actionmailer" "actionpack" "actionview" "activejob" "activemodel" "activerecord" "activesupport" "railties" "sprockets-rails"];
groups = ["default" "development" "test"];
platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "0blacnfcn2944cml69wji2ywp9c13qjiciavnfsa9vpimk8ixq9w"; sha256 = "0amqbd8kl6vmilfhlkf2w0l33x688jssjbra7s717kjqzb4fmqiw";
type = "gem"; type = "gem";
}; };
version = "5.0.7.1"; version = "5.0.7.2";
}; };
rails-controller-testing = { rails-controller-testing = {
dependencies = ["actionpack" "actionview" "activesupport"]; dependencies = ["actionpack" "actionview" "activesupport"];
@ -2477,12 +2499,14 @@
}; };
railties = { railties = {
dependencies = ["actionpack" "activesupport" "method_source" "rake" "thor"]; dependencies = ["actionpack" "activesupport" "method_source" "rake" "thor"];
groups = ["default" "development" "mysql" "postgres" "test"];
platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "1cfh2ijfalxj8hhf0rfw8bqhazsq6km7barsxczsvyl2a9islanr"; sha256 = "064w0n33l0wik5i00b4ry7iqv1nb3xhdpjvm55ycx2abpqnlrhjd";
type = "gem"; type = "gem";
}; };
version = "5.0.7.1"; version = "5.0.7.2";
}; };
rainbow = { rainbow = {
source = { source = {

View File

@ -1,6 +1,6 @@
source 'https://rubygems.org' source 'https://rubygems.org'
gem 'rails', '5.0.7.1' gem 'rails', '5.0.7.2'
gem 'rails-deprecated_sanitizer', '~> 1.0.3' gem 'rails-deprecated_sanitizer', '~> 1.0.3'
# Improves copy-on-write performance for MRI # Improves copy-on-write performance for MRI

View File

@ -4,41 +4,41 @@ GEM
RedCloth (4.3.2) RedCloth (4.3.2)
abstract_type (0.0.7) abstract_type (0.0.7)
ace-rails-ap (4.1.2) ace-rails-ap (4.1.2)
actioncable (5.0.7.1) actioncable (5.0.7.2)
actionpack (= 5.0.7.1) actionpack (= 5.0.7.2)
nio4r (>= 1.2, < 3.0) nio4r (>= 1.2, < 3.0)
websocket-driver (~> 0.6.1) websocket-driver (~> 0.6.1)
actionmailer (5.0.7.1) actionmailer (5.0.7.2)
actionpack (= 5.0.7.1) actionpack (= 5.0.7.2)
actionview (= 5.0.7.1) actionview (= 5.0.7.2)
activejob (= 5.0.7.1) activejob (= 5.0.7.2)
mail (~> 2.5, >= 2.5.4) mail (~> 2.5, >= 2.5.4)
rails-dom-testing (~> 2.0) rails-dom-testing (~> 2.0)
actionpack (5.0.7.1) actionpack (5.0.7.2)
actionview (= 5.0.7.1) actionview (= 5.0.7.2)
activesupport (= 5.0.7.1) activesupport (= 5.0.7.2)
rack (~> 2.0) rack (~> 2.0)
rack-test (~> 0.6.3) rack-test (~> 0.6.3)
rails-dom-testing (~> 2.0) rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.0, >= 1.0.2) rails-html-sanitizer (~> 1.0, >= 1.0.2)
actionview (5.0.7.1) actionview (5.0.7.2)
activesupport (= 5.0.7.1) activesupport (= 5.0.7.2)
builder (~> 3.1) builder (~> 3.1)
erubis (~> 2.7.0) erubis (~> 2.7.0)
rails-dom-testing (~> 2.0) rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.0, >= 1.0.3) rails-html-sanitizer (~> 1.0, >= 1.0.3)
activejob (5.0.7.1) activejob (5.0.7.2)
activesupport (= 5.0.7.1) activesupport (= 5.0.7.2)
globalid (>= 0.3.6) globalid (>= 0.3.6)
activemodel (5.0.7.1) activemodel (5.0.7.2)
activesupport (= 5.0.7.1) activesupport (= 5.0.7.2)
activerecord (5.0.7.1) activerecord (5.0.7.2)
activemodel (= 5.0.7.1) activemodel (= 5.0.7.2)
activesupport (= 5.0.7.1) activesupport (= 5.0.7.2)
arel (~> 7.0) arel (~> 7.0)
activerecord_sane_schema_dumper (1.0) activerecord_sane_schema_dumper (1.0)
rails (>= 5, < 6) rails (>= 5, < 6)
activesupport (5.0.7.1) activesupport (5.0.7.2)
concurrent-ruby (~> 1.0, >= 1.0.2) concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (>= 0.7, < 2) i18n (>= 0.7, < 2)
minitest (~> 5.1) minitest (~> 5.1)
@ -321,7 +321,7 @@ GEM
omniauth (~> 1.3) omniauth (~> 1.3)
pyu-ruby-sasl (>= 0.0.3.3, < 0.1) pyu-ruby-sasl (>= 0.0.3.3, < 0.1)
rubyntlm (~> 0.5) rubyntlm (~> 0.5)
globalid (0.4.1) globalid (0.4.2)
activesupport (>= 4.2.0) activesupport (>= 4.2.0)
gon (6.2.0) gon (6.2.0)
actionpack (>= 3.0) actionpack (>= 3.0)
@ -413,7 +413,7 @@ GEM
json (~> 1.8) json (~> 1.8)
multi_xml (>= 0.5.2) multi_xml (>= 0.5.2)
httpclient (2.8.3) httpclient (2.8.3)
i18n (1.2.0) i18n (1.6.0)
concurrent-ruby (~> 1.0) concurrent-ruby (~> 1.0)
icalendar (2.4.1) icalendar (2.4.1)
ice_nine (0.11.2) ice_nine (0.11.2)
@ -667,17 +667,17 @@ GEM
rack rack
rack-test (0.6.3) rack-test (0.6.3)
rack (>= 1.0) rack (>= 1.0)
rails (5.0.7.1) rails (5.0.7.2)
actioncable (= 5.0.7.1) actioncable (= 5.0.7.2)
actionmailer (= 5.0.7.1) actionmailer (= 5.0.7.2)
actionpack (= 5.0.7.1) actionpack (= 5.0.7.2)
actionview (= 5.0.7.1) actionview (= 5.0.7.2)
activejob (= 5.0.7.1) activejob (= 5.0.7.2)
activemodel (= 5.0.7.1) activemodel (= 5.0.7.2)
activerecord (= 5.0.7.1) activerecord (= 5.0.7.2)
activesupport (= 5.0.7.1) activesupport (= 5.0.7.2)
bundler (>= 1.3.0) bundler (>= 1.3.0)
railties (= 5.0.7.1) railties (= 5.0.7.2)
sprockets-rails (>= 2.0.0) sprockets-rails (>= 2.0.0)
rails-controller-testing (1.0.2) rails-controller-testing (1.0.2)
actionpack (~> 5.x, >= 5.0.1) actionpack (~> 5.x, >= 5.0.1)
@ -693,9 +693,9 @@ GEM
rails-i18n (5.1.1) rails-i18n (5.1.1)
i18n (>= 0.7, < 2) i18n (>= 0.7, < 2)
railties (>= 5.0, < 6) railties (>= 5.0, < 6)
railties (5.0.7.1) railties (5.0.7.2)
actionpack (= 5.0.7.1) actionpack (= 5.0.7.2)
activesupport (= 5.0.7.1) activesupport (= 5.0.7.2)
method_source method_source
rake (>= 0.8.7) rake (>= 0.8.7)
thor (>= 0.18.1, < 2.0) thor (>= 0.18.1, < 2.0)
@ -1150,7 +1150,7 @@ DEPENDENCIES
rack-cors (~> 1.0.0) rack-cors (~> 1.0.0)
rack-oauth2 (~> 1.2.1) rack-oauth2 (~> 1.2.1)
rack-proxy (~> 0.6.0) rack-proxy (~> 0.6.0)
rails (= 5.0.7.1) rails (= 5.0.7.2)
rails-controller-testing rails-controller-testing
rails-deprecated_sanitizer (~> 1.0.3) rails-deprecated_sanitizer (~> 1.0.3)
rails-i18n (~> 5.1) rails-i18n (~> 5.1)

View File

@ -17,66 +17,80 @@
}; };
actioncable = { actioncable = {
dependencies = ["actionpack" "nio4r" "websocket-driver"]; dependencies = ["actionpack" "nio4r" "websocket-driver"];
groups = ["default" "development" "test"];
platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "1443cal16yzc94hfxcx9ljagdbs5xs54bmr55wzmg84wx28bgvrb"; sha256 = "14qy7aygsr35lhcrw2y0c1jxmkfjlcz10p7qcf9jxzhcfmk5rr3y";
type = "gem"; type = "gem";
}; };
version = "5.0.7.1"; version = "5.0.7.2";
}; };
actionmailer = { actionmailer = {
dependencies = ["actionpack" "actionview" "activejob" "mail" "rails-dom-testing"]; dependencies = ["actionpack" "actionview" "activejob" "mail" "rails-dom-testing"];
groups = ["default" "development" "test"];
platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "077g5yg8l10rcs8r63pmmikakma1nr2bvxa1ifly1vbry8lajmhm"; sha256 = "17whd0cjkb038g14pmkmakp89085j5950jdmfa5hmzqf1djnvc8r";
type = "gem"; type = "gem";
}; };
version = "5.0.7.1"; version = "5.0.7.2";
}; };
actionpack = { actionpack = {
dependencies = ["actionview" "activesupport" "rack" "rack-test" "rails-dom-testing" "rails-html-sanitizer"]; dependencies = ["actionview" "activesupport" "rack" "rack-test" "rails-dom-testing" "rails-html-sanitizer"];
groups = ["default" "development" "mysql" "postgres" "test"];
platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "1zn3gw1naz1l6kcb4h5all24kisdv8fk733vm1niiaq2zmwbvlrw"; sha256 = "1wyyj014n0gza5m2gpg9ab9av4yr6psvym047nrn1iz84v6fmkfb";
type = "gem"; type = "gem";
}; };
version = "5.0.7.1"; version = "5.0.7.2";
}; };
actionview = { actionview = {
dependencies = ["activesupport" "builder" "erubis" "rails-dom-testing" "rails-html-sanitizer"]; dependencies = ["activesupport" "builder" "erubis" "rails-dom-testing" "rails-html-sanitizer"];
groups = ["default" "development" "mysql" "postgres" "test"];
platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "053z1r9lbyqb7a8mvi7ppwgphqg1pn9ynhklwxavq65cym8qn9a1"; sha256 = "0w96iqknr5jz7gzlcyixq1lvhbzbqijj4iq22pbfzscppbz1anvi";
type = "gem"; type = "gem";
}; };
version = "5.0.7.1"; version = "5.0.7.2";
}; };
activejob = { activejob = {
dependencies = ["activesupport" "globalid"]; dependencies = ["activesupport" "globalid"];
groups = ["default" "development" "test"];
platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "0w9rspq9y5a99kyljzam7k0cpvkxpzhfmlvs1j6a4flxn14qy7lv"; sha256 = "1281zl53a5dpl33vxswrg2jxv7kpcyl7mg5mckn4hcksna60356l";
type = "gem"; type = "gem";
}; };
version = "5.0.7.1"; version = "5.0.7.2";
}; };
activemodel = { activemodel = {
dependencies = ["activesupport"]; dependencies = ["activesupport"];
groups = ["default" "development" "test"];
platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "1i808lgn542x0lyk2dlnziiqcf1nmxhxqf6125dq6brr08yxgr0c"; sha256 = "0xphpzx3ippi8f2h27v2g3n82i39xwx2gq9yamhby9s2a9hh8shl";
type = "gem"; type = "gem";
}; };
version = "5.0.7.1"; version = "5.0.7.2";
}; };
activerecord = { activerecord = {
dependencies = ["activemodel" "activesupport" "arel"]; dependencies = ["activemodel" "activesupport" "arel"];
groups = ["default" "development" "test"];
platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "1qva7vdv9arliza0155k0xh5w1q6rzdajj3rmj7hv0f86ybd674c"; sha256 = "1jy2amhn2xsd9hy546mw27agh8493nqlgbmzqhlppx7p3nwikw63";
type = "gem"; type = "gem";
}; };
version = "5.0.7.1"; version = "5.0.7.2";
}; };
activerecord_sane_schema_dumper = { activerecord_sane_schema_dumper = {
dependencies = ["rails"]; dependencies = ["rails"];
@ -89,12 +103,14 @@
}; };
activesupport = { activesupport = {
dependencies = ["concurrent-ruby" "i18n" "minitest" "tzinfo"]; dependencies = ["concurrent-ruby" "i18n" "minitest" "tzinfo"];
groups = ["default" "development" "mysql" "postgres" "test"];
platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "02dnmcmkvzijbzm5nlmrd55s5586b78s087kvpvkada3791b9agb"; sha256 = "1bcbr490ryw6295p0ja7xigcw0ivkdys90x3qbsbs8c4n1zwcp7p";
type = "gem"; type = "gem";
}; };
version = "5.0.7.1"; version = "5.0.7.2";
}; };
acts-as-taggable-on = { acts-as-taggable-on = {
dependencies = ["activerecord"]; dependencies = ["activerecord"];
@ -1259,12 +1275,14 @@
}; };
globalid = { globalid = {
dependencies = ["activesupport"]; dependencies = ["activesupport"];
groups = ["default" "development" "test"];
platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "02smrgdi11kziqi9zhnsy9i6yr2fnxrqlv3lllsvdjki3cd4is38"; sha256 = "1zkxndvck72bfw235bd9nl2ii0lvs5z88q14706cmn702ww2mxv1";
type = "gem"; type = "gem";
}; };
version = "0.4.1"; version = "0.4.2";
}; };
gon = { gon = {
dependencies = ["actionpack" "multi_json" "request_store"]; dependencies = ["actionpack" "multi_json" "request_store"];
@ -1549,12 +1567,14 @@
}; };
i18n = { i18n = {
dependencies = ["concurrent-ruby"]; dependencies = ["concurrent-ruby"];
groups = ["default" "development" "mysql" "postgres" "test"];
platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "079sqshk08mqs3d6yzvshmqf4s175lpi2pp71f1p10l09sgmrixr"; sha256 = "1hfxnlyr618s25xpafw9mypa82qppjccbh292c4l3bj36az7f6wl";
type = "gem"; type = "gem";
}; };
version = "1.2.0"; version = "1.6.0";
}; };
icalendar = { icalendar = {
source = { source = {
@ -2552,12 +2572,14 @@
}; };
rails = { rails = {
dependencies = ["actioncable" "actionmailer" "actionpack" "actionview" "activejob" "activemodel" "activerecord" "activesupport" "railties" "sprockets-rails"]; dependencies = ["actioncable" "actionmailer" "actionpack" "actionview" "activejob" "activemodel" "activerecord" "activesupport" "railties" "sprockets-rails"];
groups = ["default" "development" "test"];
platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "0blacnfcn2944cml69wji2ywp9c13qjiciavnfsa9vpimk8ixq9w"; sha256 = "0amqbd8kl6vmilfhlkf2w0l33x688jssjbra7s717kjqzb4fmqiw";
type = "gem"; type = "gem";
}; };
version = "5.0.7.1"; version = "5.0.7.2";
}; };
rails-controller-testing = { rails-controller-testing = {
dependencies = ["actionpack" "actionview" "activesupport"]; dependencies = ["actionpack" "actionview" "activesupport"];
@ -2606,12 +2628,14 @@
}; };
railties = { railties = {
dependencies = ["actionpack" "activesupport" "method_source" "rake" "thor"]; dependencies = ["actionpack" "activesupport" "method_source" "rake" "thor"];
groups = ["default" "development" "mysql" "postgres" "test"];
platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "1cfh2ijfalxj8hhf0rfw8bqhazsq6km7barsxczsvyl2a9islanr"; sha256 = "064w0n33l0wik5i00b4ry7iqv1nb3xhdpjvm55ycx2abpqnlrhjd";
type = "gem"; type = "gem";
}; };
version = "5.0.7.1"; version = "5.0.7.2";
}; };
rainbow = { rainbow = {
source = { source = {

View File

@ -1,14 +1,14 @@
{ stdenv, fetchFromGitHub, gtk3, sassc }: { stdenv, fetchFromGitHub, gtk3, sassc }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "tetra-gtk-theme-${version}"; pname = "tetra-gtk-theme";
version = "201903"; version = "201905";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "hrdwrrsk"; owner = "hrdwrrsk";
repo = "tetra-gtk-theme"; repo = pname;
rev = version; rev = version;
sha256 = "0ycxvz16gg8rjlg71dzbfnqlh0y62v35j8dvgs8rckfb48xm0xvs"; sha256 = "1j2w8na564f5yjm5am7843hq5qk28h1rq8rcbak4xsygdc3lbsfi";
}; };
preBuild = '' preBuild = ''

View File

@ -37,8 +37,22 @@ stdenv.mkDerivation rec {
mate.mate-settings-daemon mate.mate-settings-daemon
]; ];
patches = [
# look up keyboard shortcuts in system data dirs
./mate-control-center.keybindings-dir.patch
];
configureFlags = [ "--disable-update-mimedb" ]; configureFlags = [ "--disable-update-mimedb" ];
preFixup = ''
gappsWrapperArgs+=(
# WM keyboard shortcuts
--prefix XDG_DATA_DIRS : "${mate.marco}/share"
)
'';
enableParallelBuilding = true;
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Utilities to configure the MATE desktop"; description = "Utilities to configure the MATE desktop";
homepage = https://github.com/mate-desktop/mate-control-center; homepage = https://github.com/mate-desktop/mate-control-center;

View File

@ -0,0 +1,106 @@
From faeb322b01d3856f3cf163470cc38f4e88a8527c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jos=C3=A9=20Romildo=20Malaquias?= <malaquias@gmail.com>
Date: Sun, 28 Apr 2019 21:45:39 -0300
Subject: [PATCH] Use system data dirs to locate key bindings
---
capplets/keybindings/Makefile.am | 3 +-
.../keybindings/mate-keybinding-properties.c | 58 ++++++++++++-------
2 files changed, 39 insertions(+), 22 deletions(-)
diff --git a/capplets/keybindings/Makefile.am b/capplets/keybindings/Makefile.am
index e5efb109..9501dd8f 100644
--- a/capplets/keybindings/Makefile.am
+++ b/capplets/keybindings/Makefile.am
@@ -33,8 +33,7 @@ AM_CPPFLAGS = \
$(MATECC_CAPPLETS_CFLAGS) \
-DMATELOCALEDIR="\"$(datadir)/locale\"" \
-DMATECC_DATA_DIR="\"$(pkgdatadir)\"" \
- -DMATECC_UI_DIR="\"$(uidir)\"" \
- -DMATECC_KEYBINDINGS_DIR="\"$(pkgdatadir)/keybindings\""
+ -DMATECC_UI_DIR="\"$(uidir)\""
CLEANFILES = \
$(MATECC_CAPPLETS_CLEANFILES) \
$(desktop_DATA) \
diff --git a/capplets/keybindings/mate-keybinding-properties.c b/capplets/keybindings/mate-keybinding-properties.c
index 4f257333..cf1891d2 100644
--- a/capplets/keybindings/mate-keybinding-properties.c
+++ b/capplets/keybindings/mate-keybinding-properties.c
@@ -1033,39 +1033,57 @@ static void
reload_key_entries (GtkBuilder *builder)
{
gchar **wm_keybindings;
- GDir *dir;
- const char *name;
GList *list, *l;
+ const gchar * const * data_dirs;
+ GHashTable *loaded_files;
+ guint i;
wm_keybindings = wm_common_get_current_keybindings();
clear_old_model (builder);
- dir = g_dir_open (MATECC_KEYBINDINGS_DIR, 0, NULL);
- if (!dir)
- return;
-
- list = NULL;
- for (name = g_dir_read_name (dir) ; name ; name = g_dir_read_name (dir))
+ loaded_files = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, g_free);
+ data_dirs = g_get_system_data_dirs ();
+ for (i = 0; data_dirs[i] != NULL; i++)
{
- if (g_str_has_suffix (name, ".xml"))
+ g_autofree gchar *dir_path = NULL;
+ GDir *dir;
+ const gchar *name;
+
+ dir_path = g_build_filename (data_dirs[i], "mate-control-center", "keybindings", NULL);
+ g_debug ("Keybinding dir: %s", dir_path);
+
+ dir = g_dir_open (dir_path, 0, NULL);
+ if (!dir)
+ continue;
+
+ for (name = g_dir_read_name (dir) ; name ; name = g_dir_read_name (dir))
{
- list = g_list_insert_sorted (list, g_strdup (name),
- (GCompareFunc) g_ascii_strcasecmp);
- }
- }
- g_dir_close (dir);
+ if (g_str_has_suffix (name, ".xml") == FALSE)
+ continue;
+
+ if (g_hash_table_lookup (loaded_files, name) != NULL)
+ {
+ g_debug ("Not loading %s, it was already loaded from another directory", name);
+ continue;
+ }
+ g_hash_table_insert (loaded_files, g_strdup (name), g_strdup (dir_path));
+ }
+
+ g_dir_close (dir);
+ }
+ list = g_hash_table_get_keys (loaded_files);
+ list = g_list_sort(list, (GCompareFunc) g_str_equal);
for (l = list; l != NULL; l = l->next)
{
- gchar *path;
-
- path = g_build_filename (MATECC_KEYBINDINGS_DIR, l->data, NULL);
- append_keys_to_tree_from_file (builder, path, wm_keybindings);
- g_free (l->data);
- g_free (path);
+ g_autofree gchar *path = NULL;
+ path = g_build_filename (g_hash_table_lookup (loaded_files, l->data), l->data, NULL);
+ g_debug ("Keybinding file: %s", path);
+ append_keys_to_tree_from_file (builder, path, wm_keybindings);
}
g_list_free (list);
+ g_hash_table_destroy (loaded_files);
/* Load custom shortcuts _after_ system-provided ones,
* since some of the custom shortcuts may also be listed

View File

@ -3,13 +3,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "switchboard-plug-display"; pname = "switchboard-plug-display";
version = "2.1.7"; version = "2.1.8";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "elementary"; owner = "elementary";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "1icz1is576d2w5a6wc06bnkg2vbsj5g6mz0b6ikzyjddr6j743ql"; sha256 = "1xpgkvcv3bylpaj7c80727vr55vilkgjvnlbw7d5pr56v6mv7n9j";
}; };
passthru = { passthru = {

View File

@ -4,13 +4,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "wingpanel"; pname = "wingpanel";
version = "2.2.3"; version = "2.2.4";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "elementary"; owner = "elementary";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "1kd1w3mxysg33niryrz5yp6fdayzjpg73ihvq7dlasj8ls5d0qyj"; sha256 = "17xl4l0znr91aj6kb9p0rswyii4gy8k16r9fvj7d96dd5szdp4mc";
}; };
passthru = { passthru = {

View File

@ -33,13 +33,13 @@ let
}; };
in in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
version = "0.3.1"; version = "0.5.0";
name = "mint-${version}"; name = "mint-${version}";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "mint-lang"; owner = "mint-lang";
repo = "mint"; repo = "mint";
rev = version; rev = version;
sha256 = "1f49ax045zdjj0ypc2j4ms9gx80rl63qcsfzm3r0k0lcavfp57zr"; sha256 = "0vxbx38c390rd2ysvbwgh89v2232sh5rbsp3nk9wzb70jybpslvl";
}; };
nativeBuildInputs = [ which crystal zlib openssl duktape libyaml ]; nativeBuildInputs = [ which crystal zlib openssl duktape libyaml ];

View File

@ -8,8 +8,8 @@
ameba = { ameba = {
owner = "veelenga"; owner = "veelenga";
repo = "ameba"; repo = "ameba";
rev = "v0.8.0"; rev = "v0.9.1";
sha256 = "0i9vc5xy05kzxgjid2rnvc7ksvxm9gba25qqi6939q2m1s07qjka"; sha256 = "05q2ki9dpg23pllalv5p27f1m287kiicp97ziz0z7vv0vg1r8smj";
}; };
baked_file_system = { baked_file_system = {
owner = "schovi"; owner = "schovi";
@ -23,23 +23,23 @@
rev = "51962dc36f9bbb1b926d557f7cb8993a6c73cc63"; rev = "51962dc36f9bbb1b926d557f7cb8993a6c73cc63";
sha256 = "1nwnsxm8srfw8jg0yfi2v19x6j3dadx62hq0xpxra40qcqz9dbnp"; sha256 = "1nwnsxm8srfw8jg0yfi2v19x6j3dadx62hq0xpxra40qcqz9dbnp";
}; };
duktape = { dotenv = {
owner = "jessedoyle"; owner = "gdotdesign";
repo = "duktape.cr"; repo = "cr-dotenv";
rev = "v0.14.1"; rev = "v0.2.0";
sha256 = "0fkay3qspzych050xl8xjkrphmxpzaj0dcf9jl22xwz8cx1l89f1"; sha256 = "0zi2y1j2546xjhdzn7icmry0cjv82cx2cqmpgx5ml37c2pnb7kp7";
}; };
exception_page = { exception_page = {
owner = "crystal-loot"; owner = "crystal-loot";
repo = "exception_page"; repo = "exception_page";
rev = "v0.1.1"; rev = "v0.1.2";
sha256 = "0pimjm64p21cjhp0jhcgdmbgisx7amk8hhbkcprkbr44bj6rv9ay"; sha256 = "0j5ishhyriq9p339yaawrmawl9wgmp1paniq30a8d6a0568h3avq";
}; };
kemal = { kemal = {
owner = "kemalcr"; owner = "kemalcr";
repo = "kemal"; repo = "kemal";
rev = "v0.24.0"; rev = "v0.25.1";
sha256 = "0sg7gy1lbhid9y9wh77m9sd00jygk92njm4mpb7w1fq8bjnm738k"; sha256 = "1334i905xj6vlmp8acyybwwlaxsgmf90b59da7brzpnf28wci782";
}; };
kilt = { kilt = {
owner = "jeromegn"; owner = "jeromegn";
@ -50,8 +50,8 @@
radix = { radix = {
owner = "luislavena"; owner = "luislavena";
repo = "radix"; repo = "radix";
rev = "v0.3.8"; rev = "v0.3.9";
sha256 = "1kn2xxj8a8j6f6g1dr0s9mkrj1xqnpzw9wnbq24mbv8ach9a1hva"; sha256 = "19pksfr7ddc31hvikb433jg0zav1ar93k6zmsgaf3vsrjnvia3ix";
}; };
string_inflection = { string_inflection = {
owner = "mosop"; owner = "mosop";

View File

@ -1,18 +1,28 @@
{ stdenv, fetchurl, pythonPackages }: { stdenv, fetchurl, fetchpatch, pythonPackages }:
pythonPackages.buildPythonApplication rec { pythonPackages.buildPythonApplication rec {
name = "hy-${version}"; name = "hy-${version}";
version = "0.15.0"; version = "0.16.0";
src = fetchurl { src = fetchurl {
url = "mirror://pypi/h/hy/${name}.tar.gz"; url = "mirror://pypi/h/hy/${name}.tar.gz";
sha256 = "01vzaib1imr00j5d7f7xk44v800h06s3yv9inhlqm6f3b25ywpl1"; sha256 = "00lq38ppikrpyw38fn5iy9iwrsamsv22507cp146dsjbzkwjpzrd";
}; };
patches = [
(fetchpatch {
name = "bytecode-error-handling.patch";
url = "https://github.com/hylang/hy/commit/57326785b97b7b0a89f6258fe3d04dccdc06cfc0.patch";
sha256 = "1lxxs7mxbh0kaaa25b1pbqs9d8asyjnlf2n86qg8hzsv32jfcq92";
excludes = [ "AUTHORS" "NEWS.rst" ];
})
];
propagatedBuildInputs = with pythonPackages; [ propagatedBuildInputs = with pythonPackages; [
appdirs appdirs
astor astor
clint clint
fastentrypoints
funcparserlib funcparserlib
rply rply
]; ];

View File

@ -12,7 +12,7 @@ rustPlatform.buildRustPackage rec {
fetchSubmodules = true; fetchSubmodules = true;
}; };
cargoSha256 = "17k8n5xar4pvvi4prhm6c51vlim9xqwkkhysbnss299mm3fyh36h"; cargoSha256 = "0xy8vazb4nc4q1098ws92j1yfwp9w7q30z0yk2gindkn898603bc";
cargoPatches = [ ./cargo-lock.patch ]; cargoPatches = [ ./cargo-lock.patch ];

View File

@ -0,0 +1,58 @@
{ stdenv, fetchFromGitHub, cmake, boost, cryptopp, opencl-headers, opencl-info,
openmpi, ocl-icd, mesa, gbenchmark, gtest }:
stdenv.mkDerivation rec {
pname = "ethash";
version = "0.4.2";
src =
fetchFromGitHub {
owner = "chfast";
repo = "ethash";
rev = "v${version}";
sha256 = "0qiixvxbpl2gz7jh1qs8lmyk7wzv6ffnl7kckqgrpgm547nnn8zy";
};
nativeBuildInputs = [
cmake
];
buildInputs = [
boost
cryptopp
opencl-headers
opencl-info
openmpi
ocl-icd
mesa
];
checkInputs = [
gbenchmark
gtest
];
#preConfigure = ''
# sed -i 's/GTest::main//' test/unittests/CMakeLists.txt
# cat test/unittests/CMakeLists.txt
# ln -sfv ${gtest.src}/googletest gtest
#'';
# NOTE: disabling tests due to gtest issue
cmakeFlags = [
"-DHUNTER_ENABLED=OFF"
"-DETHASH_BUILD_TESTS=OFF"
#"-Dbenchmark_DIR=${gbenchmark}/lib/cmake/benchmark"
#"-DGTest_DIR=${gtest.dev}/lib/cmake/GTest"
#"-DGTest_DIR=${gtest.src}/googletest"
#"-DCMAKE_PREFIX_PATH=${gtest.dev}/lib/cmake"
];
meta = with stdenv.lib; {
description = "PoW algorithm for Ethereum 1.0 based on Dagger-Hashimoto";
homepage = https://github.com/ethereum/ethash;
platforms = [ "x86_64-linux" ];
maintainers = with maintainers; [ nand0p ];
license = licenses.asl20;
};
}

View File

@ -1,10 +1,7 @@
{ stdenv { stdenv , fetchFromGitHub , cmake , python }:
, fetchFromGitHub
, cmake
, python
}:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "jsoncpp-${version}"; pname = "jsoncpp";
version = "1.8.4"; version = "1.8.4";
src = fetchFromGitHub { src = fetchFromGitHub {
@ -36,13 +33,14 @@ stdenv.mkDerivation rec {
cmakeFlags = [ cmakeFlags = [
"-DBUILD_SHARED_LIBS=ON" "-DBUILD_SHARED_LIBS=ON"
"-DBUILD_STATIC_LIBS=OFF" "-DBUILD_STATIC_LIBS=OFF"
"-DJSONCPP_WITH_CMAKE_PACKAGE=ON"
]; ];
meta = with stdenv.lib; { meta = with stdenv.lib; {
inherit version; inherit version;
homepage = https://github.com/open-source-parsers/jsoncpp; homepage = https://github.com/open-source-parsers/jsoncpp;
description = "A C++ library for interacting with JSON."; description = "A C++ library for interacting with JSON.";
maintainers = with maintainers; [ ttuegel cpages ]; maintainers = with maintainers; [ ttuegel cpages nand0p ];
license = licenses.mit; license = licenses.mit;
platforms = platforms.all; platforms = platforms.all;
}; };

View File

@ -2,11 +2,11 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "liblinear-${version}"; name = "liblinear-${version}";
version = "2.21"; version = "2.30";
src = fetchurl { src = fetchurl {
url = "https://www.csie.ntu.edu.tw/~cjlin/liblinear/liblinear-${version}.tar.gz"; url = "https://www.csie.ntu.edu.tw/~cjlin/liblinear/liblinear-${version}.tar.gz";
sha256 = "0jp0z3s32czf748i6dnlabs1psqx1dcn9w96c56m24xq5l789chs"; sha256 = "1b66jpg9fdwsq7r52fccr8z7nqcivrin5d8zg2f134ygqqwp0748";
}; };
buildPhase = '' buildPhase = ''

View File

@ -1,14 +1,14 @@
{ stdenv, fetchurl }: { stdenv, fetchurl }:
let let
name = "log4cplus-2.0.3"; name = "log4cplus-2.0.4";
in in
stdenv.mkDerivation { stdenv.mkDerivation {
inherit name; inherit name;
src = fetchurl { src = fetchurl {
url = "mirror://sourceforge/log4cplus/${name}.tar.bz2"; url = "mirror://sourceforge/log4cplus/${name}.tar.bz2";
sha256 = "0rwzwskvv94cqg2nn7jsvzlak7y01k37v345fcm040klrjvkbc3w"; sha256 = "0lh2i22znx573jchcfy4n5lrr9yjg2hd3iphhlih61zzmd67p2hc";
}; };
meta = { meta = {

View File

@ -0,0 +1,24 @@
{ stdenv, fetchFromGitHub, cmake, ninja, opencascade }:
stdenv.mkDerivation rec {
pname = "smesh";
version = "6.7.6";
src = fetchFromGitHub {
owner = "tpaviot";
repo = "smesh";
rev = version;
sha256 = "1b07j3bw3lnxk8dk3x1kkl2mbsmfwi98si84054038lflaaijzi0";
};
nativeBuildInputs = [ cmake ninja ];
buildInputs = [ opencascade ];
meta = with stdenv.lib; {
description = "Extension to OCE providing advanced meshing features";
homepage = "https://github.com/tpaviot/smesh";
license = licenses.lgpl21;
platforms = platforms.unix;
maintainers = with maintainers; [ gebner ];
};
}

View File

@ -0,0 +1,18 @@
{ stdenv, buildPythonPackage, fetchPypi, pytest }:
buildPythonPackage rec {
pname = "fastentrypoints";
version = "0.12";
src = fetchPypi {
inherit pname version;
sha256 = "02s1j8i2dzbpbwgq2a3fiqwm3cnmhii2qzc0k42l0rdxd4a4ya7z";
};
meta = with stdenv.lib; {
description = "Makes entry_points specified in setup.py load more quickly";
homepage = https://github.com/ninjaaron/fast-entry_points;
license = licenses.bsd2;
maintainers = with maintainers; [ nixy ];
};
}

View File

@ -0,0 +1,37 @@
{ stdenv, python, fetchFromGitHub, cmake, swig, ninja,
opencascade, smesh, freetype, libGL, libGLU, libX11 }:
stdenv.mkDerivation rec {
pname = "pythonocc-core";
version = "0.18.1";
src = fetchFromGitHub {
owner = "tpaviot";
repo = "pythonocc-core";
rev = version;
sha256 = "1jk4y7f75z9lyawffpfkr50qw5452xzi1imcdlw9pdvf4i0y86k3";
};
nativeBuildInputs = [ cmake swig ninja ];
buildInputs = [
python opencascade smesh
freetype libGL libGLU libX11
];
cmakeFlags = [
"-Wno-dev"
"-DPYTHONOCC_INSTALL_DIRECTORY=${placeholder "out"}/${python.sitePackages}/OCC"
"-DSMESH_INCLUDE_PATH=${smesh}/include/smesh"
"-DSMESH_LIB_PATH=${smesh}/lib"
"-DPYTHONOCC_WRAP_SMESH=TRUE"
];
meta = with stdenv.lib; {
description = "Python wrapper for the OpenCASCADE 3D modeling kernel";
homepage = "https://github.com/tpaviot/pythonocc-core";
license = licenses.lgpl3;
platforms = platforms.unix;
maintainers = with maintainers; [ gebner ];
};
}

View File

@ -23,7 +23,7 @@
, cmake, libssh2, openssl, mysql, darwin, git, perl, pcre, gecode_3, curl , cmake, libssh2, openssl, mysql, darwin, git, perl, pcre, gecode_3, curl
, msgpack, qt59, libsodium, snappy, libossp_uuid, lxc, libpcap, xorg, gtk2, buildRubyGem , msgpack, qt59, libsodium, snappy, libossp_uuid, lxc, libpcap, xorg, gtk2, buildRubyGem
, cairo, re2, rake, gobject-introspection, gdk_pixbuf, zeromq, czmq, graphicsmagick, libcxx , cairo, re2, rake, gobject-introspection, gdk_pixbuf, zeromq, czmq, graphicsmagick, libcxx
, file, libvirt, glib, vips, taglib, libopus , file, libvirt, glib, vips, taglib, libopus, linux-pam, libidn, protobuf
, libselinux ? null, libsepol ? null , libselinux ? null, libsepol ? null
}@args: }@args:
@ -79,6 +79,11 @@ in
buildInputs = [ which icu zlib ]; buildInputs = [ which icu zlib ];
}; };
cld3 = attrs: {
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ protobuf ];
};
curb = attrs: { curb = attrs: {
buildInputs = [ curl ]; buildInputs = [ curl ];
}; };
@ -201,6 +206,10 @@ in
buildFlags = lib.optional stdenv.isDarwin "--with-iconv-dir=${libiconv}"; buildFlags = lib.optional stdenv.isDarwin "--with-iconv-dir=${libiconv}";
}; };
idn-ruby = attrs: {
buildInputs = [ libidn ];
};
# disable bundle install as it can't install anything in addition to what is # disable bundle install as it can't install anything in addition to what is
# specified in pkgs/applications/misc/jekyll/Gemfile anyway. Also do chmod_R # specified in pkgs/applications/misc/jekyll/Gemfile anyway. Also do chmod_R
# to compensate for read-only files in site_template in nix store. # to compensate for read-only files in site_template in nix store.
@ -340,6 +349,10 @@ in
buildInputs = [ imagemagick which ]; buildInputs = [ imagemagick which ];
}; };
rpam2 = attrs: {
buildInputs = [ linux-pam ];
};
ruby-libvirt = attrs: { ruby-libvirt = attrs: {
buildInputs = [ libvirt pkgconfig ]; buildInputs = [ libvirt pkgconfig ];
buildFlags = [ buildFlags = [

View File

@ -2,13 +2,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "pmd-${version}"; name = "pmd-${version}";
version = "6.13.0"; version = "6.14.0";
buildInputs = [ unzip ]; buildInputs = [ unzip ];
src = fetchurl { src = fetchurl {
url = "mirror://sourceforge/pmd/pmd-bin-${version}.zip"; url = "mirror://sourceforge/pmd/pmd-bin-${version}.zip";
sha256 = "1g8ds38zwprjswm71y7l10l15rbh2s6ha9xpp20wjy823q9agbpq"; sha256 = "0k40l93fxakms9vm641d4vlb68gfhkblrm24sb7slzvhq2v832dj";
}; };
installPhase = '' installPhase = ''

View File

@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
buildPhase = '' buildPhase = ''
ant ant
./bin/buck build -c buck.release_version=${version} buck PYTHONDONTWRITEBYTECODE=true ./bin/buck build -c buck.release_version=${version} buck
''; '';
installPhase = '' installPhase = ''

View File

@ -2,8 +2,8 @@
buildGoPackage rec { buildGoPackage rec {
name = "gocode-gomod-unstable-${version}"; name = "gocode-gomod-unstable-${version}";
version = "2019-02-12"; version = "2019-03-27";
rev = "8cc90faaf4765d16de060350da41eadccc1a15d1"; rev = "81059208699789f992bb4a4a3fedd734e335468d";
goPackagePath = "github.com/stamblerre/gocode"; goPackagePath = "github.com/stamblerre/gocode";

View File

@ -0,0 +1,35 @@
{ stdenv, fetchFromGitHub, cmake, gtest, python, boost }:
stdenv.mkDerivation rec {
pname = "cli11";
version = "1.7.1";
src = fetchFromGitHub {
owner = "CLIUtils";
repo = "CLI11";
rev = "v${version}";
sha256 = "0wddck970pczk7c201i2g6s85mkv4f2f4zxy6mndh3pfz41wcs2d";
};
nativeBuildInputs = [ cmake ];
checkInputs = [ boost python ];
doCheck = true;
preConfigure = ''
rm -rfv extern/googletest
ln -sfv ${gtest.src} extern/googletest
'';
enableParallelBuilding = true;
meta = with stdenv.lib; {
description = "CLI11 is a command line parser for C++11";
homepage = https://github.com/CLIUtils/CLI11;
platforms = [ "x86_64-linux" ];
maintainers = with maintainers; [ nand0p ];
license = licenses.unfreeRedistributable;
};
}

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, libftdi, libusb1, pkgconfig, hidapi }: { stdenv, lib, fetchurl, libftdi1, libusb1, pkgconfig, hidapi }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "openocd-${version}"; name = "openocd-${version}";
@ -10,28 +10,28 @@ stdenv.mkDerivation rec {
}; };
nativeBuildInputs = [ pkgconfig ]; nativeBuildInputs = [ pkgconfig ];
buildInputs = [ libftdi libusb1 hidapi ]; buildInputs = [ libftdi1 libusb1 hidapi ];
configureFlags = [ configureFlags = [
"--enable-jtag_vpi" "--enable-jtag_vpi"
"--enable-usb_blaster_libftdi" "--enable-usb_blaster_libftdi"
"--enable-amtjtagaccel" (lib.enableFeature (! stdenv.isDarwin) "amtjtagaccel")
"--enable-gw16012" (lib.enableFeature (! stdenv.isDarwin) "gw16012")
"--enable-presto_libftdi" "--enable-presto_libftdi"
"--enable-openjtag_ftdi" "--enable-openjtag_ftdi"
"--enable-oocd_trace" (lib.enableFeature (! stdenv.isDarwin) "oocd_trace")
"--enable-buspirate" "--enable-buspirate"
"--enable-sysfsgpio" (lib.enableFeature stdenv.isLinux "sysfsgpio")
"--enable-remote-bitbang" "--enable-remote-bitbang"
]; ];
NIX_CFLAGS_COMPILE = [ NIX_CFLAGS_COMPILE = lib.optionals stdenv.cc.isGNU [
"-Wno-implicit-fallthrough" "-Wno-implicit-fallthrough"
"-Wno-format-truncation" "-Wno-format-truncation"
"-Wno-format-overflow" "-Wno-format-overflow"
]; ];
postInstall = '' postInstall = lib.optionalString stdenv.isLinux ''
mkdir -p "$out/etc/udev/rules.d" mkdir -p "$out/etc/udev/rules.d"
rules="$out/share/openocd/contrib/60-openocd.rules" rules="$out/share/openocd/contrib/60-openocd.rules"
if [ ! -f "$rules" ]; then if [ ! -f "$rules" ]; then
@ -41,7 +41,7 @@ stdenv.mkDerivation rec {
ln -s "$rules" "$out/etc/udev/rules.d/" ln -s "$rules" "$out/etc/udev/rules.d/"
''; '';
meta = with stdenv.lib; { meta = with lib; {
description = "Free and Open On-Chip Debugging, In-System Programming and Boundary-Scan Testing"; description = "Free and Open On-Chip Debugging, In-System Programming and Boundary-Scan Testing";
longDescription = '' longDescription = ''
OpenOCD provides on-chip programming and debugging support with a layered OpenOCD provides on-chip programming and debugging support with a layered
@ -55,6 +55,6 @@ stdenv.mkDerivation rec {
homepage = http://openocd.sourceforge.net/; homepage = http://openocd.sourceforge.net/;
license = licenses.gpl2Plus; license = licenses.gpl2Plus;
maintainers = with maintainers; [ bjornfor ]; maintainers = with maintainers; [ bjornfor ];
platforms = platforms.linux; platforms = platforms.unix;
}; };
} }

View File

@ -2,13 +2,13 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
name = "rust-cbindgen-${version}"; name = "rust-cbindgen-${version}";
version = "0.8.0"; version = "0.8.3";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "eqrion"; owner = "eqrion";
repo = "cbindgen"; repo = "cbindgen";
rev = "v${version}"; rev = "v${version}";
sha256 = "07cizbhr02x3rh07xhs10hzzs3lmmpf61g08sa62b98cgadvs9fq"; sha256 = "08zlnk1k1nddjciccfdcplxqngsnz6ml3zxm57mijabzybry8zz1";
}; };
cargoSha256 = "00j5nm491zil6kpjns31qyd6z7iqd77b5qp4h7149s70qjwfq2cb"; cargoSha256 = "00j5nm491zil6kpjns31qyd6z7iqd77b5qp4h7149s70qjwfq2cb";

View File

@ -2,18 +2,22 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
repo = "caprice32"; pname = "caprice32";
version = "unstable-2018-03-05"; version = "4.5.0";
rev = "317fe638111e245d67e301f6f295094d3c859a70";
name = "${repo}-${version}";
src = fetchFromGitHub { src = fetchFromGitHub {
inherit rev repo; repo = "caprice32";
rev = "v${version}";
owner = "ColinPitrat"; owner = "ColinPitrat";
sha256 = "1bywpmkizixcnr057k8zq9nlw0zhcmwkiriln0krgdcm7d3h9b86"; sha256 = "056vrf5yq1574g93ix8hnjqqbdqza3qcjv0f8rvpsslqcbizma9y";
}; };
postPatch = "substituteInPlace cap32.cfg --replace /usr/local $out"; postPatch = "substituteInPlace cap32.cfg --replace /usr/local $out";
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ libpng SDL freetype zlib ];
#fix GIT_HASH avoid depend on git
makeFlags = [ "GIT_HASH=${src.rev}" "DESTDIR=$(out)" "prefix=/"];
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "A complete emulation of CPC464, CPC664 and CPC6128"; description = "A complete emulation of CPC464, CPC664 and CPC6128";
@ -21,9 +25,5 @@ stdenv.mkDerivation rec {
license = licenses.gpl2; license = licenses.gpl2;
maintainers = [ maintainers.genesis ]; maintainers = [ maintainers.genesis ];
platforms = platforms.linux; platforms = platforms.linux;
}; };
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ libpng SDL freetype zlib ];
makeFlags = [ "GIT_HASH=${src.rev}" "DESTDIR=$(out)" "prefix=/"];
} }

View File

@ -31,24 +31,24 @@ in rec {
## see http://wiki.winehq.org/Mono ## see http://wiki.winehq.org/Mono
mono = fetchurl rec { mono = fetchurl rec {
version = "4.8.2"; version = "4.8.3";
url = "http://dl.winehq.org/wine/wine-mono/${version}/wine-mono-${version}.msi"; url = "http://dl.winehq.org/wine/wine-mono/${version}/wine-mono-${version}.msi";
sha256 = "1hvwhqdb11j9yzhhw86fjhj9bawg76zrh0wnx658pn5xghhk2jhy"; sha256 = "0xhavcjwwr21am3bxp2cxlvykwasw8y4g8p470j5fg7skc0izynn";
}; };
}; };
unstable = fetchurl rec { unstable = fetchurl rec {
# NOTE: Don't forget to change the SHA256 for staging as well. # NOTE: Don't forget to change the SHA256 for staging as well.
version = "4.6"; version = "4.7";
url = "https://dl.winehq.org/wine/source/4.x/wine-${version}.tar.xz"; url = "https://dl.winehq.org/wine/source/4.x/wine-${version}.tar.xz";
sha256 = "1nk2nlkdklwpd0kbq8hx59gl05b5wglcla0v3892by6k4kwh341j"; sha256 = "1c5swx6jj0hz9w2jgyl30pdjcq9n62qp1rmqyq1d4q2a6n291jiv";
inherit (stable) mono gecko32 gecko64; inherit (stable) mono gecko32 gecko64;
}; };
staging = fetchFromGitHub rec { staging = fetchFromGitHub rec {
# https://github.com/wine-staging/wine-staging/releases # https://github.com/wine-staging/wine-staging/releases
inherit (unstable) version; inherit (unstable) version;
sha256 = "0mripibsi1p8h2j9ngqszkcjppdxji027ss4shqwb0nypaydd9w2"; sha256 = "1sgyq57dyzchwnvkgx96bcx5rv821s0vidzdyz7x5711j7xmiv70";
owner = "wine-staging"; owner = "wine-staging";
repo = "wine-staging"; repo = "wine-staging";
rev = "v${version}"; rev = "v${version}";

View File

@ -0,0 +1,105 @@
From fbee2adffd39b03e10262b09779faef94c4d5a9d Mon Sep 17 00:00:00 2001
From: Ben Wolsieffer <benwolsieffer@gmail.com>
Date: Thu, 18 Apr 2019 15:50:24 -0400
Subject: [PATCH] fdt: make compatible with dtc >=1.4.6
Signed-off-by: Ben Wolsieffer <benwolsieffer@gmail.com>
---
include/libfdt_env.h | 6 +++---
lib/libfdt/fdt.h | 6 +++---
lib/libfdt/libfdt.h | 6 +++---
lib/libfdt/libfdt_internal.h | 6 +++---
tools/dtoc/fdt.py | 2 +-
5 files changed, 13 insertions(+), 13 deletions(-)
diff --git a/include/libfdt_env.h b/include/libfdt_env.h
index 6c6845f76c..1fbcd0ef83 100644
--- a/include/libfdt_env.h
+++ b/include/libfdt_env.h
@@ -6,8 +6,8 @@
* SPDX-License-Identifier: LGPL-2.1+
*/
-#ifndef _LIBFDT_ENV_H
-#define _LIBFDT_ENV_H
+#ifndef LIBFDT_ENV_H
+#define LIBFDT_ENV_H
#include "compiler.h"
#include "linux/types.h"
@@ -32,4 +32,4 @@ typedef __be64 fdt64_t;
/* adding a ramdisk needs 0x44 bytes in version 2008.10 */
#define FDT_RAMDISK_OVERHEAD 0x80
-#endif /* _LIBFDT_ENV_H */
+#endif /* LIBFDT_ENV_H */
diff --git a/lib/libfdt/fdt.h b/lib/libfdt/fdt.h
index 3134d78332..38cc182739 100644
--- a/lib/libfdt/fdt.h
+++ b/lib/libfdt/fdt.h
@@ -1,5 +1,5 @@
-#ifndef _FDT_H
-#define _FDT_H
+#ifndef FDT_H
+#define FDT_H
/*
* libfdt - Flat Device Tree manipulation
* Copyright (C) 2006 David Gibson, IBM Corporation.
@@ -64,4 +64,4 @@ struct fdt_property {
#define FDT_V16_SIZE FDT_V3_SIZE
#define FDT_V17_SIZE (FDT_V16_SIZE + sizeof(fdt32_t))
-#endif /* _FDT_H */
+#endif /* FDT_H */
diff --git a/lib/libfdt/libfdt.h b/lib/libfdt/libfdt.h
index cb533f4275..9345a59f05 100644
--- a/lib/libfdt/libfdt.h
+++ b/lib/libfdt/libfdt.h
@@ -1,5 +1,5 @@
-#ifndef _LIBFDT_H
-#define _LIBFDT_H
+#ifndef LIBFDT_H
+#define LIBFDT_H
/*
* libfdt - Flat Device Tree manipulation
* Copyright (C) 2006 David Gibson, IBM Corporation.
@@ -2189,4 +2189,4 @@ int fdt_device_is_available(const void *blob, int node);
int fdt_node_offset_by_phandle_node(const void *fdt, int node, uint32_t phandle);
#endif /* SWIG */
-#endif /* _LIBFDT_H */
+#endif /* LIBFDT_H */
diff --git a/lib/libfdt/libfdt_internal.h b/lib/libfdt/libfdt_internal.h
index 9a79fe85dd..8fdda7ee79 100644
--- a/lib/libfdt/libfdt_internal.h
+++ b/lib/libfdt/libfdt_internal.h
@@ -1,5 +1,5 @@
-#ifndef _LIBFDT_INTERNAL_H
-#define _LIBFDT_INTERNAL_H
+#ifndef LIBFDT_INTERNAL_H
+#define LIBFDT_INTERNAL_H
/*
* libfdt - Flat Device Tree manipulation
* Copyright (C) 2006 David Gibson, IBM Corporation.
@@ -47,4 +47,4 @@ static inline struct fdt_reserve_entry *_fdt_mem_rsv_w(void *fdt, int n)
#define FDT_SW_MAGIC (~FDT_MAGIC)
-#endif /* _LIBFDT_INTERNAL_H */
+#endif /* LIBFDT_INTERNAL_H */
diff --git a/tools/dtoc/fdt.py b/tools/dtoc/fdt.py
index dbc338653b..ac2191fb37 100644
--- a/tools/dtoc/fdt.py
+++ b/tools/dtoc/fdt.py
@@ -360,7 +360,7 @@ class Fdt:
poffset = libfdt.fdt_first_property_offset(self._fdt, node._offset)
while poffset >= 0:
p = self._fdt_obj.get_property_by_offset(poffset)
- prop = Prop(node, poffset, p.name, p.value)
+ prop = Prop(node, poffset, p.name, p)
props_dict[prop.name] = prop
poffset = libfdt.fdt_next_property_offset(self._fdt, poffset)
--
2.21.0

View File

@ -15,6 +15,8 @@ in buildUBoot rec {
sha256 = "0gclcd034qfhfbabrdqmky08i0hlwmn63n0zg6mndplms5qpcx75"; sha256 = "0gclcd034qfhfbabrdqmky08i0hlwmn63n0zg6mndplms5qpcx75";
}; };
patches = [ ./rock64-fdt-dtc-compatibility.patch ];
extraMakeFlags = [ "BL31=${armTrustedFirmwareRK3328}/bl31.elf" "u-boot.itb" "all" ]; extraMakeFlags = [ "BL31=${armTrustedFirmwareRK3328}/bl31.elf" "u-boot.itb" "all" ];
# Close to being blob free, but the U-Boot TPL causes the kernel to hang after a few minutes # Close to being blob free, but the U-Boot TPL causes the kernel to hang after a few minutes

View File

@ -15,6 +15,8 @@ in buildUBoot rec {
sha256 = "0gclcd034qfhfbabrdqmky08i0hlwmn63n0zg6mndplms5qpcx75"; sha256 = "0gclcd034qfhfbabrdqmky08i0hlwmn63n0zg6mndplms5qpcx75";
}; };
patches = [ ./rock64-fdt-dtc-compatibility.patch ];
# Upstream ATF hangs in SPL # Upstream ATF hangs in SPL
extraMakeFlags = [ "BL31=${rkbin}/rk33/rk3399_bl31_v1.17.elf" "u-boot.itb" "all" ]; extraMakeFlags = [ "BL31=${rkbin}/rk33/rk3399_bl31_v1.17.elf" "u-boot.itb" "all" ];

View File

@ -2,12 +2,12 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "mbpfan-${version}"; name = "mbpfan-${version}";
version = "2.1.0"; version = "2.1.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "dgraziotin"; owner = "dgraziotin";
repo = "mbpfan"; repo = "mbpfan";
rev = "v${version}"; rev = "v${version}";
sha256 = "1gysq778rkl6dvvj9a1swxcl15wvz0bng5bn4nwq118cl8p8pask"; sha256 = "0aijyxrqh01x0s80yr4cgxgd001iiqqph65pxvby7f0wz8lnxnqj";
}; };
installPhase = '' installPhase = ''
mkdir -p $out/bin $out/etc mkdir -p $out/bin $out/etc

View File

@ -2,12 +2,12 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "jellyfin"; pname = "jellyfin";
version = "10.3.1"; version = "10.3.2";
# Impossible to build anything offline with dotnet # Impossible to build anything offline with dotnet
src = fetchurl { src = fetchurl {
url = "https://github.com/jellyfin/jellyfin/releases/download/v${version}/jellyfin_${version}_portable.tar.gz"; url = "https://github.com/jellyfin/jellyfin/releases/download/v${version}/jellyfin_${version}_portable.tar.gz";
sha256 = "1j6jyrbc0ha348y63wk5jv9wjcjydma9cr3jxva1y85pjrmm7z90"; sha256 = "0cwmaq61xhdb34f53m2vhnw8v4zrj266vjzfdm106gyychpr46vz";
}; };
buildInputs = [ buildInputs = [

View File

@ -4,13 +4,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "mosquitto-${version}"; name = "mosquitto-${version}";
version = "1.6"; version = "1.6.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "eclipse"; owner = "eclipse";
repo = "mosquitto"; repo = "mosquitto";
rev = "v${version}"; rev = "v${version}";
sha256 = "1yvn0yj9hb502lvk2yrshpvrnq2fddjyarnw37ip34mhxynnz5gb"; sha256 = "0mpllj719cmirynbcgiankdzyg7bn6vpvxxhg8zr18lic5dvgm3p";
}; };
postPatch = '' postPatch = ''

View File

@ -2,12 +2,12 @@
libpng, libtool, libxml2, pkgconfig, which, xorg }: libpng, libtool, libxml2, pkgconfig, which, xorg }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "nx-libs-${version}"; name = "nx-libs-${version}";
version = "3.5.99.19"; version = "3.5.99.20";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "ArcticaProject"; owner = "ArcticaProject";
repo = "nx-libs"; repo = "nx-libs";
rev = version; rev = version;
sha256 = "0vw333i59slz4rcmv32j4ydgiiihyqqy3fzgn1h6gj88qsbyfwqm"; sha256 = "1c3xjbmnylw53h04g77lk9va1sk1dgg7zhirwz3mpn73r6dkyzix";
}; };
nativeBuildInputs = [ autoconf automake libtool pkgconfig which nativeBuildInputs = [ autoconf automake libtool pkgconfig which

View File

@ -0,0 +1,22 @@
{ stdenv, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
name = "docui-${version}";
version = "1.0.3";
src = fetchFromGitHub {
owner = "skanehira";
repo = "docui";
rev = version;
sha256 = "1kbap36hccwlj273is98cvgf5z5cl2c3s6p46nh6bnykz3zqzs71";
};
modSha256 = "1qma9bnd4k594cr5dcv74xns53mhfyl4jsm01chf85dxywjjd9vd";
meta = with stdenv.lib; {
description = "TUI Client for Docker";
homepage = https://github.com/skanehira/docui;
license = licenses.mit;
platforms = platforms.linux ++ platforms.darwin;
};
}

View File

@ -0,0 +1,61 @@
{ stdenv, fetchFromGitHub, opencl-headers, cmake, jsoncpp, boost, makeWrapper,
cudatoolkit, mesa, ethash, opencl-info, ocl-icd, openssl, pkg-config, cli11 }:
stdenv.mkDerivation rec {
pname = "ethminer";
version = "0.18.0-rc.0";
src =
fetchFromGitHub {
owner = "ethereum-mining";
repo = "ethminer";
rev = "v${version}";
sha256 = "0gwnwxahjfwr4d2aci7y3w206nc5ifssl28ildva98ys0d24wy7z";
fetchSubmodules = true;
};
# NOTE: dbus is broken
cmakeFlags = [
"-DHUNTER_ENABLED=OFF"
"-DETHASHCUDA=ON"
"-DAPICORE=ON"
"-DETHDBUS=OFF"
"-DCMAKE_BUILD_TYPE=Release"
];
nativeBuildInputs = [
cmake
pkg-config
makeWrapper
];
buildInputs = [
cli11
boost
opencl-headers
mesa
cudatoolkit
ethash
opencl-info
ocl-icd
openssl
jsoncpp
];
preConfigure = ''
sed -i 's/_lib_static//' libpoolprotocols/CMakeLists.txt
'';
postInstall = ''
wrapProgram $out/bin/ethminer --prefix LD_LIBRARY_PATH : /run/opengl-driver/lib
'';
meta = with stdenv.lib; {
description = "Ethereum miner with OpenCL, CUDA and stratum support";
homepage = https://github.com/ethereum-mining/ethminer;
platforms = [ "x86_64-linux" ];
maintainers = with maintainers; [ nand0p ];
license = licenses.gpl2;
};
}

View File

@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
# dynamically using sysconf(_SC_PAGE_SIZE) instead of hardcoded value that hopefully is correct. # dynamically using sysconf(_SC_PAGE_SIZE) instead of hardcoded value that hopefully is correct.
# [1] http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/limits.h.html # [1] http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/limits.h.html
# [2] http://www.openwall.com/lists/musl/2015/09/11/8 # [2] http://www.openwall.com/lists/musl/2015/09/11/8
url = "https://raw.githubusercontent.com/voidlinux/void-packages/a0ece13ad7ab2aae760e09e41e0459bd999a3695/srcpkgs/thin-provisioning-tools/patches/musl.patch"; url = "https://raw.githubusercontent.com/void-linux/void-packages/a0ece13ad7ab2aae760e09e41e0459bd999a3695/srcpkgs/thin-provisioning-tools/patches/musl.patch";
sha256 = "1m8r3vhrnsy8drgs0svs3fgpi3mmxzdcqsv6bmvc0j52cvfqvhvy"; sha256 = "1m8r3vhrnsy8drgs0svs3fgpi3mmxzdcqsv6bmvc0j52cvfqvhvy";
extraPrefix = ""; # empty means add 'a/' and 'b/' extraPrefix = ""; # empty means add 'a/' and 'b/'
}) })

View File

@ -2,13 +2,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "opensm-${version}"; name = "opensm-${version}";
version = "3.3.21"; version = "3.3.22";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "linux-rdma"; owner = "linux-rdma";
repo = "opensm"; repo = "opensm";
rev = "${version}"; rev = "${version}";
sha256 = "0iikw28vslxq3baq9qmmw08yay7l524wciz7dv7km09ylcbx23b7"; sha256 = "1nb6zl93ffbgb8z8728j0dxrmvk3pm0i6a1sn7mpn8ki1vkf2y0j";
}; };
nativeBuildInputs = [ autoconf automake libtool bison flex ]; nativeBuildInputs = [ autoconf automake libtool bison flex ];

View File

@ -15,7 +15,7 @@ rustPlatform.buildRustPackage rec {
RUSTC_BOOTSTRAP = 1; RUSTC_BOOTSTRAP = 1;
cargoSha256 = "0bzid5wrpcrghazv5652ghyv4amp298p5kfridswv175kmr9gg0x"; cargoSha256 = "02xrz7vq8nan70f07xyf335blfmdc6gaz9sbfjipsi1drgfccf09";
meta = with lib; { meta = with lib; {
description = "An unofficial lightweight implementation of the Bitwarden server API using Rust and SQLite"; description = "An unofficial lightweight implementation of the Bitwarden server API using Rust and SQLite";

View File

@ -2,14 +2,14 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "lynis"; pname = "lynis";
version = "2.7.3"; version = "2.7.4";
name = "${pname}-${version}"; name = "${pname}-${version}";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "CISOfy"; owner = "CISOfy";
repo = "${pname}"; repo = "${pname}";
rev = "${version}"; rev = "${version}";
sha256 = "0md1w86i3fy9l78i98ijr5136nbhdiik2dxyw9qnzmvdlvkqmw70"; sha256 = "1jjk5hcxmp4f4ppsljiq95l2ln6b03azydap3b35lsvxkjybv88k";
}; };
nativeBuildInputs = [ makeWrapper ]; nativeBuildInputs = [ makeWrapper ];

View File

@ -2,13 +2,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "mkp224o-${version}"; name = "mkp224o-${version}";
version = "1.2.0"; version = "1.3.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "cathugger"; owner = "cathugger";
repo = "mkp224o"; repo = "mkp224o";
rev = "v${version}"; rev = "v${version}";
sha256 = "1m7r0jfm6na6rk75v1kals3bx2cs6jsfxdgpxdljn39j3qr4mxvd"; sha256 = "1il12ahcs5pj52hxn4xvpjfz801xcg31zk2jnkl80frzlwq040qi";
}; };
buildCommand = buildCommand =

View File

@ -2,11 +2,11 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "pdfcrack-${version}"; name = "pdfcrack-${version}";
version = "0.16"; version = "0.17";
src = fetchurl { src = fetchurl {
url = "mirror://sourceforge/pdfcrack/pdfcrack/pdfcrack-${version}.tar.gz"; url = "mirror://sourceforge/pdfcrack/pdfcrack/pdfcrack-${version}.tar.gz";
sha256 = "1vvkrg3niinz0j9wwm31laxgmd7wdz201kn82b3dbksc0w1v4rbq"; sha256 = "15hfxwr9yfzkx842p0jjdjnjarny6qc5fwcpy2f6lnq047pb26sn";
}; };
installPhase = '' installPhase = ''

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, autoconf, automake, makeWrapper { stdenv, fetchFromGitLab, autoconf, automake, makeWrapper
, python3, perl, perlPackages , python3, perl, perlPackages
, libmd, gnupg1, which, getopt, libpaper, nettools, qprint , libmd, gnupg1, which, getopt, libpaper, nettools, qprint
, sendmailPath ? "/run/wrappers/bin/sendmail" }: , sendmailPath ? "/run/wrappers/bin/sendmail" }:
@ -13,12 +13,15 @@ let
]; ];
in stdenv.mkDerivation rec { in stdenv.mkDerivation rec {
pname = "signing-party"; pname = "signing-party";
version = "2.9"; version = "2.10";
name = "${pname}-${version}"; name = "${pname}-${version}";
src = fetchurl { src = fetchFromGitLab {
url = "mirror://debian/pool/main/s/${pname}/${pname}_${version}.orig.tar.gz"; domain = "salsa.debian.org";
sha256 = "14pgi45zqa0zd1ldfj9mnf9jgv5kfrhl78lr8iy7k88p9h6b9n7n"; owner = "signing-party-team";
repo = "signing-party";
rev = "v${version}";
sha256 = "0lq8nmwjmysry0n4jg6vb7bh0lagbyb9pa11ii3s41p1mhzchf2r";
}; };
# TODO: Get this patch upstream... # TODO: Get this patch upstream...

View File

@ -0,0 +1,53 @@
{ fetchFromGitHub, python3Packages, stdenv }:
python3Packages.buildPythonPackage rec {
pname = "ssh-audit";
version = "1.7.0";
src = fetchFromGitHub {
owner = "arthepsy";
repo = pname;
rev = "refs/tags/v${version}";
sha256 = "0akrychkdym9f6830ysq787c9nc0bkyqvy4h72498lyghwvwc2ms";
};
checkInputs = [
python3Packages.pytest
python3Packages.pytestcov
];
checkPhase = ''
py.test --cov-report= --cov=ssh-audit -v test
'';
postPatch = ''
printf %s "$setupPy" > setup.py
mkdir scripts
cp ssh-audit.py scripts/ssh-audit
mkdir ssh_audit
cp ssh-audit.py ssh_audit/__init__.py
'';
setupPy = /* py */ ''
from distutils.core import setup
setup(
author='arthepsy',
description='${meta.description}',
license='${meta.license.spdxId}',
name='${pname}',
packages=['ssh_audit'],
scripts=['scripts/ssh-audit'],
url='${meta.homepage}',
version='${version}',
)
'';
meta = {
description = "Tool for ssh server auditing";
homepage = "https://github.com/arthepsy/ssh-audit";
license = stdenv.lib.licenses.mit;
maintainers = [
stdenv.lib.maintainers.tv
];
};
}

View File

@ -2,13 +2,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "inxi-${version}"; name = "inxi-${version}";
version = "3.0.33-1"; version = "3.0.34-1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "smxi"; owner = "smxi";
repo = "inxi"; repo = "inxi";
rev = version; rev = version;
sha256 = "19bfdid4zp39irsdq3m6yyqf2336c30da35qgslrzcr2vh815g8c"; sha256 = "0x2s40lwsan2pk292nspjgyw00f9f5fdfmwfvl50924pxhyxn2fh";
}; };
buildInputs = [ perl ]; buildInputs = [ perl ];

View File

@ -2,11 +2,11 @@
python3Packages.buildPythonApplication rec { python3Packages.buildPythonApplication rec {
pname = "FanFicFare"; pname = "FanFicFare";
version = "3.6.0"; version = "3.7.0";
src = python3Packages.fetchPypi { src = python3Packages.fetchPypi {
inherit pname version; inherit pname version;
sha256 = "1ir3m8wknr8shdbmbpiaw73mdpa7mvidkl6pbs9ca23mgwivxa84"; sha256 = "1h4a1y9m65lf495r52gayprlbxpd43hpbhcbawadbkxf26gr1vkk";
}; };
propagatedBuildInputs = with python3Packages; [ propagatedBuildInputs = with python3Packages; [

View File

@ -190,7 +190,7 @@ core-big = stdenv.mkDerivation { #TODO: upmendex
hardeningDisable = [ "format" ]; hardeningDisable = [ "format" ];
inherit (core) nativeBuildInputs; inherit (core) nativeBuildInputs;
buildInputs = core.buildInputs ++ [ core cairo harfbuzz icu graphite2 ]; buildInputs = core.buildInputs ++ [ core cairo harfbuzz icu graphite2 libX11 ];
configureFlags = common.configureFlags configureFlags = common.configureFlags
++ withSystemLibs [ "kpathsea" "ptexenc" "cairo" "harfbuzz" "icu" "graphite2" ] ++ withSystemLibs [ "kpathsea" "ptexenc" "cairo" "harfbuzz" "icu" "graphite2" ]

View File

@ -177,6 +177,8 @@ in
docker-sync = callPackage ../tools/misc/docker-sync { }; docker-sync = callPackage ../tools/misc/docker-sync { };
docui = callPackage ../tools/misc/docui { };
dotfiles = callPackage ../applications/misc/dotfiles { }; dotfiles = callPackage ../applications/misc/dotfiles { };
dotnetenv = callPackage ../build-support/dotnetenv { dotnetenv = callPackage ../build-support/dotnetenv {
@ -2102,10 +2104,14 @@ in
colormake = callPackage ../development/tools/build-managers/colormake { }; colormake = callPackage ../development/tools/build-managers/colormake { };
ethash = callPackage ../development/libraries/ethash { };
cpuminer = callPackage ../tools/misc/cpuminer { }; cpuminer = callPackage ../tools/misc/cpuminer { };
cpuminer-multi = callPackage ../tools/misc/cpuminer-multi { }; cpuminer-multi = callPackage ../tools/misc/cpuminer-multi { };
ethminer = callPackage ../tools/misc/ethminer { };
cuetools = callPackage ../tools/cd-dvd/cuetools { }; cuetools = callPackage ../tools/cd-dvd/cuetools { };
u3-tool = callPackage ../tools/filesystems/u3-tool { }; u3-tool = callPackage ../tools/filesystems/u3-tool { };
@ -5368,6 +5374,8 @@ in
rambox = callPackage ../applications/networking/instant-messengers/rambox { }; rambox = callPackage ../applications/networking/instant-messengers/rambox { };
rambox-pro = callPackage ../applications/networking/instant-messengers/rambox/pro.nix { };
ranger = callPackage ../applications/misc/ranger { }; ranger = callPackage ../applications/misc/ranger { };
rarcrack = callPackage ../tools/security/rarcrack { }; rarcrack = callPackage ../tools/security/rarcrack { };
@ -5760,6 +5768,8 @@ in
smenu = callPackage ../tools/misc/smenu { }; smenu = callPackage ../tools/misc/smenu { };
smesh = callPackage ../development/libraries/smesh {};
smugline = python3Packages.smugline; smugline = python3Packages.smugline;
snabb = callPackage ../tools/networking/snabb { } ; snabb = callPackage ../tools/networking/snabb { } ;
@ -8901,6 +8911,8 @@ in
libsigrok4dsl = callPackage ../applications/science/electronics/dsview/libsigrok4dsl.nix { }; libsigrok4dsl = callPackage ../applications/science/electronics/dsview/libsigrok4dsl.nix { };
libsigrokdecode4dsl = callPackage ../applications/science/electronics/dsview/libsigrokdecode4dsl.nix { }; libsigrokdecode4dsl = callPackage ../applications/science/electronics/dsview/libsigrokdecode4dsl.nix { };
cli11 = callPackage ../development/tools/misc/cli11 { };
dcadec = callPackage ../development/tools/dcadec { }; dcadec = callPackage ../development/tools/dcadec { };
dejagnu = callPackage ../development/tools/misc/dejagnu { }; dejagnu = callPackage ../development/tools/misc/dejagnu { };
@ -15768,35 +15780,9 @@ in
# Non-upstream U-Boots: # Non-upstream U-Boots:
ubootNanonote = callPackage ../misc/uboot/nanonote.nix { }; ubootNanonote = callPackage ../misc/uboot/nanonote.nix { };
inherit (let ubootRock64 = callPackage ../misc/uboot/rock64.nix { };
dtc = buildPackages.dtc.overrideAttrs (old: rec {
version = "1.4.5";
src = fetchgit {
url = "https://git.kernel.org/pub/scm/utils/dtc/dtc.git";
rev = "refs/tags/v${version}";
sha256 = "10y5pbkcj5gkijcgnlvrh6q2prpnvsgihb9asz3zfp66mcjwzsy3";
};
});
# Newer dtc versions are incompatible with U-Boot 2017.09
inherit (callPackage ../misc/uboot {
inherit dtc;
buildPackages = buildPackages // {
python2 = buildPackages.python2.override (old: {
packageOverrides = pySelf: pySuper: {
libfdt = pySelf.toPythonModule dtc;
};
});
};
}) buildUBoot;
in {
ubootRock64 = callPackage ../misc/uboot/rock64.nix {
inherit buildUBoot;
};
ubootRockPro64 = callPackage ../misc/uboot/rockpro64.nix { ubootRockPro64 = callPackage ../misc/uboot/rockpro64.nix { };
inherit buildUBoot;
};
}) ubootRock64 ubootRockPro64;
uclibc = callPackage ../os-specific/linux/uclibc { }; uclibc = callPackage ../os-specific/linux/uclibc { };
@ -16426,6 +16412,8 @@ in
termtekst = callPackage ../misc/emulators/termtekst { }; termtekst = callPackage ../misc/emulators/termtekst { };
tetra-gtk-theme = callPackage ../data/themes/tetra { };
tex-gyre = callPackages ../data/fonts/tex-gyre { }; tex-gyre = callPackages ../data/fonts/tex-gyre { };
tex-gyre-math = callPackages ../data/fonts/tex-gyre-math { }; tex-gyre-math = callPackages ../data/fonts/tex-gyre-math { };
@ -23500,8 +23488,6 @@ in
tetex = callPackage ../tools/typesetting/tex/tetex { libpng = libpng12; }; tetex = callPackage ../tools/typesetting/tex/tetex { libpng = libpng12; };
tetra-gtk-theme = callPackage ../misc/themes/tetra { };
tewi-font = callPackage ../data/fonts/tewi {}; tewi-font = callPackage ../data/fonts/tewi {};
texFunctions = callPackage ../tools/typesetting/tex/nix pkgs; texFunctions = callPackage ../tools/typesetting/tex/nix pkgs;
@ -23514,6 +23500,8 @@ in
ib-controller = callPackage ../applications/office/ib/controller { jdk=oraclejdk8; }; ib-controller = callPackage ../applications/office/ib/controller { jdk=oraclejdk8; };
ssh-audit = callPackage ../tools/security/ssh-audit { };
thermald = callPackage ../tools/system/thermald { }; thermald = callPackage ../tools/system/thermald { };
thinkfan = callPackage ../tools/system/thinkfan { }; thinkfan = callPackage ../tools/system/thinkfan { };

View File

@ -782,6 +782,10 @@ in {
python-mnist = callPackage ../development/python-modules/python-mnist { }; python-mnist = callPackage ../development/python-modules/python-mnist { };
pythonocc-core = toPythonModule (callPackage ../development/python-modules/pythonocc-core {
inherit (pkgs.xorg) libX11;
});
python-igraph = callPackage ../development/python-modules/python-igraph { python-igraph = callPackage ../development/python-modules/python-igraph {
pkgconfig = pkgs.pkgconfig; pkgconfig = pkgs.pkgconfig;
igraph = pkgs.igraph; igraph = pkgs.igraph;
@ -1917,6 +1921,8 @@ in {
fastcache = callPackage ../development/python-modules/fastcache { }; fastcache = callPackage ../development/python-modules/fastcache { };
fastentrypoints = callPackage ../development/python-modules/fastentrypoints { };
functools32 = callPackage ../development/python-modules/functools32 { }; functools32 = callPackage ../development/python-modules/functools32 { };
future-fstrings = callPackage ../development/python-modules/future-fstrings { }; future-fstrings = callPackage ../development/python-modules/future-fstrings { };