Skip to content
This repository was archived by the owner on Apr 12, 2021. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs-channels
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: b48970807726
Choose a base ref
...
head repository: NixOS/nixpkgs-channels
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 4a672de9e65e
Choose a head ref

Commits on Feb 12, 2020

  1. groovy: 2.5.9 -> 3.0.0

    r-ryantm committed Feb 12, 2020
    Copy the full SHA
    146e914 View commit details

Commits on Feb 22, 2020

  1. inadyn: 2.5 -> 2.6

    r-ryantm committed Feb 22, 2020
    Copy the full SHA
    72c2f16 View commit details

Commits on Mar 2, 2020

  1. libgpiod: 1.4.2 -> 1.5

    r-ryantm committed Mar 2, 2020
    Copy the full SHA
    29b91a1 View commit details

Commits on Mar 8, 2020

  1. Copy the full SHA
    efc919a View commit details

Commits on Mar 9, 2020

  1. nixos/supybot: stateDir in /var/lib, use tmpfiles

    Moving the stateDir is needed in order to use ProtectSystem=strict
    systemd option.
    mmilata committed Mar 9, 2020
    Copy the full SHA
    b150e08 View commit details
  2. Copy the full SHA
    57f5fb6 View commit details
  3. nixos/supybot: python3 switch, add plugin options

    Python2 seems to be no longer supported by limnoria upstream.
    mmilata committed Mar 9, 2020
    Copy the full SHA
    1affd47 View commit details
  4. Copy the full SHA
    aa618bb View commit details

Commits on Mar 10, 2020

  1. tpm2-pkcs11: 1.0.1 -> 1.1.0

    r-ryantm committed Mar 10, 2020
    Copy the full SHA
    fbd175b View commit details

Commits on Mar 14, 2020

  1. frp: 0.31.2 -> 0.32.0

    r-ryantm committed Mar 14, 2020
    Copy the full SHA
    7f255ec View commit details
  2. gnss-sdr: 0.0.11 -> 0.0.12

    r-ryantm committed Mar 14, 2020
    Copy the full SHA
    348bcc9 View commit details
  3. renderizer: 2.0.5 -> 2.0.9

    r-ryantm committed Mar 14, 2020
    Copy the full SHA
    9143a9d View commit details
  4. berglas: 0.5.0 -> 0.5.1

    r-ryantm authored and marsam committed Mar 14, 2020

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    marsam Mario Rodas
    Copy the full SHA
    98aa4da View commit details

Commits on Mar 15, 2020

  1. rust-cbindgen: upgrade cargo fetcher and cargoSha256

    Infra upgrade as part of #79975; no functional change expected.
    bhipple committed Mar 15, 2020
    Copy the full SHA
    0ab1692 View commit details

Commits on Mar 16, 2020

  1. Copy the full SHA
    9cadac7 View commit details
  2. Verified

    This commit was signed with the committer’s verified signature.
    veprbl Dmitry Kalinkin
    Copy the full SHA
    2217b1d View commit details
  3. nuweb: 1.58 -> 1.60

    veprbl committed Mar 16, 2020

    Verified

    This commit was signed with the committer’s verified signature.
    veprbl Dmitry Kalinkin
    Copy the full SHA
    9a21dd1 View commit details
  4. nuweb: enable on darwin

    veprbl committed Mar 16, 2020

    Verified

    This commit was signed with the committer’s verified signature.
    veprbl Dmitry Kalinkin
    Copy the full SHA
    fe6839b View commit details
  5. simg2img: 1.1.3 -> 1.1.4

    r-ryantm committed Mar 16, 2020
    Copy the full SHA
    21cca85 View commit details
  6. saga: 7.5.0 -> 7.6.1

    r-ryantm committed Mar 16, 2020
    Copy the full SHA
    c9836e9 View commit details
  7. Copy the full SHA
    8cdfd69 View commit details
  8. tintin: 2.02.01 -> 2.02.02

    r-ryantm committed Mar 16, 2020
    Copy the full SHA
    57e3093 View commit details
  9. zabbix-cli: 2.1.1 -> 2.2.1

    r-ryantm committed Mar 16, 2020
    Copy the full SHA
    22805c0 View commit details
  10. tor-browser-bundle-bin: 9.0.5 -> 9.0.6

    mehlon committed Mar 16, 2020
    Copy the full SHA
    4b80e8a View commit details

Commits on Mar 17, 2020

  1. brial: 1.2.7 -> 1.2.8

    r-ryantm committed Mar 17, 2020
    Copy the full SHA
    707e0b1 View commit details
  2. Copy the full SHA
    9c8068c View commit details
  3. Copy the full SHA
    b8ed075 View commit details
  4. Merge pull request #82773 from timokau/rpy2-pandas-1.x

    python3.pkgs.rpy2: fix tests with pandas 1.x, 3.2.5 -> 3.2.6
    timokau authored Mar 17, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    4ad4523 View commit details
  5. Doc: Fix typo

    davidak committed Mar 17, 2020
    Copy the full SHA
    dc434b0 View commit details
  6. Verified

    This commit was signed with the committer’s verified signature.
    turboMaCk Marek Fajkus
    Copy the full SHA
    baf37aa View commit details
  7. Verified

    This commit was signed with the committer’s verified signature.
    turboMaCk Marek Fajkus
    Copy the full SHA
    d52fdec View commit details
  8. Merge pull request #82726 from r-ryantm/auto-update/tintin

    tintin: 2.02.01 -> 2.02.02
    marsam authored Mar 17, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    cddbcd7 View commit details
  9. Merge pull request #82731 from r-ryantm/auto-update/zabbix-cli

    zabbix-cli: 2.1.1 -> 2.2.1
    marsam authored Mar 17, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    6536311 View commit details
  10. Merge pull request #82539 from r-ryantm/auto-update/frp

    frp: 0.31.2 -> 0.32.0
    marsam authored Mar 17, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    8b488f2 View commit details
  11. Merge pull request #82716 from r-ryantm/auto-update/simg2img

    simg2img: 1.1.3 -> 1.1.4
    marsam authored Mar 17, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    e51f529 View commit details
  12. Merge pull request #82721 from r-ryantm/auto-update/unicode-character…

    …-database
    
    unicode-character-database: 12.1.0 -> 13.0.0
    marsam authored Mar 17, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    461389e View commit details
  13. Merge pull request #82575 from r-ryantm/auto-update/renderizer

    renderizer: 2.0.5 -> 2.0.9
    ryantm authored Mar 17, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    62a4870 View commit details
  14. Merge pull request #82195 from r-ryantm/auto-update/spice-protocol

    spice-protocol: 0.14.0 -> 0.14.1
    marsam authored Mar 17, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    26bb35a View commit details
  15. Merge pull request #82717 from r-ryantm/auto-update/saga

    saga: 7.5.0 -> 7.6.1
    marsam authored Mar 17, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    fa92901 View commit details
  16. Merge pull request #82046 from r-ryantm/auto-update/intel-media-driver

    intel-media-driver: 19.3.0 -> 19.4.0r
    marsam authored Mar 17, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    d175ae3 View commit details
  17. Merge pull request #82241 from r-ryantm/auto-update/tpm2-pkcs11

    tpm2-pkcs11: 1.0.1 -> 1.1.0
    marsam authored Mar 17, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    788a7c4 View commit details
  18. Merge pull request #81505 from r-ryantm/auto-update/libgpiod

    libgpiod: 1.4.2 -> 1.5
    marsam authored Mar 17, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    1c797f0 View commit details
  19. Merge pull request #79920 from r-ryantm/auto-update/groovy

    groovy: 2.5.9 -> 3.0.0
    marsam authored Mar 17, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    ef35625 View commit details
  20. Merge pull request #80833 from r-ryantm/auto-update/inadyn

    inadyn: 2.5 -> 2.6
    marsam authored Mar 17, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    988de96 View commit details
  21. Merge pull request #82588 from r-ryantm/auto-update/berglas

    berglas: 0.5.0 -> 0.5.1
    marsam authored Mar 17, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    29f90a1 View commit details
  22. Merge pull request #82707 from r-ryantm/auto-update/python2.7-uamqp

    python27Packages.uamqp: 1.2.5 -> 1.2.6
    marsam authored Mar 17, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    db02235 View commit details
  23. Merge pull request #82542 from r-ryantm/auto-update/gnss-sdr

    gnss-sdr: 0.0.11 -> 0.0.12
    marsam authored Mar 17, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    d76dc11 View commit details
  24. Merge pull request #82778 from turboMaCk/elmi-to-json-1.3.0

    elmPackages.elmi-to-json: 1.2.0 -> 1.3.0
    domenkozar authored Mar 17, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    cf15f09 View commit details
  25. Merge pull request #82779 from turboMaCk/elm-coverage

    elmPackages.elm-coverage: init at 0.0.3
    domenkozar authored Mar 17, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    e6b5bcd View commit details
  26. Merge pull request #82766 from r-ryantm/auto-update/brial

    brial: 1.2.7 -> 1.2.8
    timokau authored Mar 17, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    d8d0b60 View commit details
Showing with 1,935 additions and 616 deletions.
  1. +1 −1 nixos/doc/manual/release-notes/rl-2003.xml
  2. +10 −0 nixos/doc/manual/release-notes/rl-2009.xml
  3. +92 −17 nixos/modules/services/networking/supybot.nix
  4. +4 −4 pkgs/applications/gis/saga/default.nix
  5. +3 −3 pkgs/applications/networking/browsers/tor-browser-bundle-bin/default.nix
  6. +2 −2 pkgs/applications/networking/instant-messengers/riot/riot-desktop.nix
  7. +2 −2 pkgs/applications/networking/instant-messengers/riot/riot-web.nix
  8. +3 −3 pkgs/applications/radio/gnss-sdr/default.nix
  9. +18 −21 pkgs/applications/science/logic/abc/default.nix
  10. +10 −7 pkgs/applications/science/logic/mcy/default.nix
  11. +6 −6 pkgs/applications/science/logic/symbiyosys/default.nix
  12. +2 −2 pkgs/data/misc/unicode-character-database/default.nix
  13. +21 −1 pkgs/development/compilers/elm/default.nix
  14. +4 −4 pkgs/development/compilers/elm/packages/elmi-to-json.nix
  15. +1 −1 pkgs/development/compilers/elm/packages/node-composition.nix
  16. +7 −6 pkgs/development/compilers/elm/packages/node-packages.json
  17. +918 −440 pkgs/development/compilers/elm/packages/node-packages.nix
  18. +21 −20 pkgs/development/compilers/yosys/default.nix
  19. +2 −2 pkgs/development/interpreters/groovy/default.nix
  20. +3 −3 pkgs/development/libraries/intel-media-driver/default.nix
  21. +3 −3 pkgs/development/libraries/libgpiod/default.nix
  22. +3 −3 pkgs/development/libraries/science/math/brial/default.nix
  23. +3 −3 pkgs/development/libraries/spice-protocol/default.nix
  24. +18 −15 pkgs/development/python-modules/imapclient/default.nix
  25. +2 −2 pkgs/development/python-modules/matrix-nio/default.nix
  26. +11 −2 pkgs/development/python-modules/rpy2/default.nix
  27. +3 −3 pkgs/development/python-modules/uamqp/default.nix
  28. +28 −0 pkgs/development/python-modules/wsgitools/default.nix
  29. +1 −0 pkgs/development/python-modules/z3c-checkversions/default.nix
  30. +3 −3 pkgs/development/tools/literate-programming/nuweb/default.nix
  31. +3 −3 pkgs/development/tools/renderizer/default.nix
  32. +1 −4 pkgs/development/tools/rust/cbindgen/default.nix
  33. +2 −2 pkgs/games/tintin/default.nix
  34. +3 −3 pkgs/misc/tpm2-pkcs11/default.nix
  35. +15 −0 pkgs/misc/vim-plugins/overrides.nix
  36. +7 −8 pkgs/tools/admin/berglas/default.nix
  37. +2 −2 pkgs/tools/filesystems/simg2img/default.nix
  38. +570 −0 pkgs/tools/misc/peep/0001-Add-Cargo.lock-by-running-cargo-vendor.patch
  39. +23 −0 pkgs/tools/misc/peep/default.nix
  40. +2 −2 pkgs/tools/misc/zabbix-cli/default.nix
  41. +3 −3 pkgs/tools/networking/frp/default.nix
  42. +47 −0 pkgs/tools/networking/http2tcp/default.nix
  43. +3 −3 pkgs/tools/networking/inadyn/default.nix
  44. +34 −0 pkgs/tools/networking/openapi-generator-cli/unstable.nix
  45. +3 −3 pkgs/tools/security/jwt-cli/default.nix
  46. +4 −3 pkgs/tools/system/inxi/default.nix
  47. +6 −1 pkgs/top-level/all-packages.nix
  48. +2 −0 pkgs/top-level/python-packages.nix
2 changes: 1 addition & 1 deletion nixos/doc/manual/release-notes/rl-2003.xml
Original file line number Diff line number Diff line change
@@ -235,7 +235,7 @@ services.xserver.displayManager.defaultSession = "xfce+icewm";
<listitem>
<para>
The <literal>buildRustCrate</literal> infrastructure now produces <literal>lib</literal> outputs in addition to the <literal>out</literal> output.
This has led to drastically reduced closed sizes for some rust crates since development dependencies are now in the <literal>lib</literal> output.
This has led to drastically reduced closure sizes for some rust crates since development dependencies are now in the <literal>lib</literal> output.
</para>
</listitem>
<listitem>
10 changes: 10 additions & 0 deletions nixos/doc/manual/release-notes/rl-2009.xml
Original file line number Diff line number Diff line change
@@ -86,6 +86,16 @@
}</programlisting>
</para>
</listitem>
<listitem>
<para>
The <link linkend="opt-services.supybot.enable">supybot</link> module now uses <literal>/var/lib/supybot</literal>
as its default <link linkend="opt-services.supybot.stateDir">stateDir</link> path if <literal>stateVersion</literal>
is 20.09 or higher. It also enables number of
<link xlink:href="https://www.freedesktop.org/software/systemd/man/systemd.exec.html#Sandboxing">systemd sandboxing options</link>
which may possibly interfere with some plugins. If this is the case you can disable the options through attributes in
<option>systemd.services.supybot.serviceConfig</option>.
</para>
</listitem>
</itemizedlist>
</section>

109 changes: 92 additions & 17 deletions nixos/modules/services/networking/supybot.nix
Original file line number Diff line number Diff line change
@@ -3,54 +3,90 @@
with lib;

let

cfg = config.services.supybot;

isStateDirHome = hasPrefix "/home/" cfg.stateDir;
isStateDirVar = cfg.stateDir == "/var/lib/supybot";
pyEnv = pkgs.python3.withPackages (p: [ p.limnoria ] ++ (cfg.extraPackages p));
in

{

options = {

services.supybot = {

enable = mkOption {
type = types.bool;
default = false;
description = "Enable Supybot, an IRC bot";
description = "Enable Supybot, an IRC bot (also known as Limnoria).";
};

stateDir = mkOption {
# Setting this to /var/lib/supybot caused useradd to fail
default = "/home/supybot";
type = types.path;
default = if versionAtLeast config.system.stateVersion "20.09"
then "/var/lib/supybot"
else "/home/supybot";
defaultText = "/var/lib/supybot";
description = "The root directory, logs and plugins are stored here";
};

configFile = mkOption {
type = types.path;
description = ''
Path to a supybot config file. This can be generated by
Path to initial supybot config file. This can be generated by
running supybot-wizard.
Note: all paths should include the full path to the stateDir
directory (backup conf data logs logs/plugins plugins tmp web).
'';
};

plugins = mkOption {
type = types.attrsOf types.path;
default = {};
description = ''
Attribute set of additional plugins that will be symlinked to the
<filename>plugin</filename> subdirectory.
Please note that you still need to add the plugins to the config
file (or with <literal>!load</literal>) using their attribute name.
'';
example = literalExample ''
let
plugins = pkgs.fetchzip {
url = "https://github.com/ProgVal/Supybot-plugins/archive/57c2450c.zip";
sha256 = "077snf84ibnva3sbpzdfpfma6hcdw7dflwnhg6pw7mgnf0nd84qd";
};
in
{
Wikipedia = "''${plugins}/Wikipedia";
Decide = ./supy-decide;
}
'';
};

extraPackages = mkOption {
default = p: [];
description = ''
Extra Python packages available to supybot plugins. The
value must be a function which receives the attrset defined
in <varname>python3Packages</varname> as the sole argument.
'';
example = literalExample ''p: [ p.lxml p.requests ]'';
};

};

};


config = mkIf cfg.enable {

environment.systemPackages = [ pkgs.pythonPackages.limnoria ];
environment.systemPackages = [ pkgs.python3Packages.limnoria ];

users.users.supybot = {
uid = config.ids.uids.supybot;
group = "supybot";
description = "Supybot IRC bot user";
home = cfg.stateDir;
createHome = true;
isSystemUser = true;
};

users.groups.supybot = {
@@ -59,28 +95,67 @@ in

systemd.services.supybot = {
description = "Supybot, an IRC bot";
documentation = [ "https://limnoria.readthedocs.io/" ];
after = [ "network.target" ];
wantedBy = [ "multi-user.target" ];
path = [ pkgs.pythonPackages.limnoria ];
preStart = ''
cd ${cfg.stateDir}
mkdir -p backup conf data plugins logs/plugins tmp web
ln -sf ${cfg.configFile} supybot.cfg
# This needs to be created afresh every time
rm -f supybot.cfg.bak
rm -f '${cfg.stateDir}/supybot.cfg.bak'
'';

serviceConfig = {
ExecStart = "${pkgs.pythonPackages.limnoria}/bin/supybot ${cfg.stateDir}/supybot.cfg";
ExecStart = "${pyEnv}/bin/supybot ${cfg.stateDir}/supybot.cfg";
PIDFile = "/run/supybot.pid";
User = "supybot";
Group = "supybot";
UMask = "0007";
Restart = "on-abort";
StartLimitInterval = "5m";
StartLimitBurst = "1";

NoNewPrivileges = true;
PrivateDevices = true;
PrivateMounts = true;
PrivateTmp = true;
ProtectControlGroups = true;
ProtectKernelModules = true;
ProtectKernelTunables = true;
RestrictAddressFamilies = [ "AF_INET" "AF_INET6" ];
RestrictSUIDSGID = true;
SystemCallArchitectures = "native";
RestrictNamespaces = true;
RestrictRealtime = true;
LockPersonality = true;
MemoryDenyWriteExecute = true;
RemoveIPC = true;
ProtectHostname = true;
CapabilityBoundingSet = "";
ProtectSystem = "full";
}
// optionalAttrs isStateDirVar {
StateDirectory = "supybot";
ProtectSystem = "strict";
}
// optionalAttrs (!isStateDirHome) {
ProtectHome = true;
};
};

systemd.tmpfiles.rules = [
"d '${cfg.stateDir}' 0700 supybot supybot - -"
"d '${cfg.stateDir}/backup' 0750 supybot supybot - -"
"d '${cfg.stateDir}/conf' 0750 supybot supybot - -"
"d '${cfg.stateDir}/data' 0750 supybot supybot - -"
"d '${cfg.stateDir}/plugins' 0750 supybot supybot - -"
"d '${cfg.stateDir}/logs' 0750 supybot supybot - -"
"d '${cfg.stateDir}/logs/plugins' 0750 supybot supybot - -"
"d '${cfg.stateDir}/tmp' 0750 supybot supybot - -"
"d '${cfg.stateDir}/web' 0750 supybot supybot - -"
"L '${cfg.stateDir}/supybot.cfg' - - - - ${cfg.configFile}"
]
++ (flip mapAttrsToList cfg.plugins (name: dest:
"L+ '${cfg.stateDir}/plugins/${name}' - - - - ${dest}"
));

};
}
8 changes: 4 additions & 4 deletions pkgs/applications/gis/saga/default.nix
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@

stdenv.mkDerivation {
pname = "saga";
version = "7.5.0";
version = "7.6.1";

# See https://groups.google.com/forum/#!topic/nix-devel/h_vSzEJAPXs
# for why the have additional buildInputs on darwin
@@ -18,13 +18,13 @@ stdenv.mkDerivation {
CXXFLAGS = stdenv.lib.optionalString stdenv.cc.isClang "-std=c++11 -Wno-narrowing";

src = fetchurl {
url = "https://sourceforge.net/projects/saga-gis/files/SAGA%20-%207/SAGA%20-%207.5.0/saga-7.5.0.tar.gz";
sha256 = "0s5195802xwlkb2w4i4vd9ys95d7fnzn5cnnixh1csaqc2x1qp6r";
url = "https://sourceforge.net/projects/saga-gis/files/SAGA%20-%207/SAGA%20-%207.6.1/saga-7.6.1.tar.gz";
sha256 = "1i0cp1lms6cmjl7f5vgr9pl3qc02fmappn4kq21y0dn2gy7j2mkn";
};

meta = with stdenv.lib; {
description = "System for Automated Geoscientific Analyses";
homepage = http://www.saga-gis.org;
homepage = "http://www.saga-gis.org";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ michelk mpickering ];
platforms = with platforms; unix;
Original file line number Diff line number Diff line change
@@ -90,19 +90,19 @@ let
fteLibPath = makeLibraryPath [ stdenv.cc.cc gmp ];

# Upstream source
version = "9.0.5";
version = "9.0.6";

lang = "en-US";

srcs = {
x86_64-linux = fetchurl {
url = "https://dist.torproject.org/torbrowser/${version}/tor-browser-linux64-${version}_${lang}.tar.xz";
sha256 = "1d4c3mrvqd6v086mwn3rnv776y2j3y45agnd0k5njqnmr53ybn2s";
sha256 = "1vk1pww8zmpjd5snyfz0if9v17g140ymlp6navxp28snzlffahss";
};

i686-linux = fetchurl {
url = "https://dist.torproject.org/torbrowser/${version}/tor-browser-linux32-${version}_${lang}.tar.xz";
sha256 = "040nh79hjkg5afvzshzhp7588dbi1pcpjsyk8phfqaapds74ma8y";
sha256 = "0bhikdilfz31iilgb48mayy9f4lilycq24pqsrq7w3dqdjg4v55v";
};
};
in
Original file line number Diff line number Diff line change
@@ -6,12 +6,12 @@

let
executableName = "riot-desktop";
version = "1.5.12";
version = "1.5.13";
riot-web-src = fetchFromGitHub {
owner = "vector-im";
repo = "riot-web";
rev = "v${version}";
sha256 = "1qz3n2dlklhbi6rbhv2v769xbr4rcp9s6pm2cc9r33ak6axn4aym";
sha256 = "1p2bdqq8yziv3l7kjkwqvi27a8djav7rk3lsipl7dvdjk1926941";
};
electron = electron_7;

Original file line number Diff line number Diff line change
@@ -12,11 +12,11 @@ let

in stdenv.mkDerivation rec {
pname = "riot-web";
version = "1.5.12";
version = "1.5.13";

src = fetchurl {
url = "https://github.com/vector-im/riot-web/releases/download/v${version}/riot-v${version}.tar.gz";
sha256 = "064zghrsl348ydzngwxhwjn0d0gkkf3nkzq03v5gad2f11qwnwb6";
sha256 = "0xghpf9rv7ns5aipc6n517qd9dp50rr93arvx6r36kqhkdyzbfad";
};

installPhase = ''
6 changes: 3 additions & 3 deletions pkgs/applications/radio/gnss-sdr/default.nix
Original file line number Diff line number Diff line change
@@ -20,13 +20,13 @@

stdenv.mkDerivation rec {
pname = "gnss-sdr";
version = "0.0.11";
version = "0.0.12";

src = fetchFromGitHub {
owner = "gnss-sdr";
repo = "gnss-sdr";
rev = "v${version}";
sha256 = "0ajj0wx68yyzigppxxa1wag3hzkrjj8dqq8k28rj0jhp8a6bw2q7";
sha256 = "0i9cz85jc2m758pzy3bq4dk4vj9wv7k2z118lasb09xldx01dwsq";
};

buildInputs = [
@@ -73,7 +73,7 @@ stdenv.mkDerivation rec {

meta = with stdenv.lib; {
description = "An open source Global Navigation Satellite Systems software-defined receiver";
homepage = https://gnss-sdr.org/;
homepage = "https://gnss-sdr.org/";
license = licenses.gpl3Plus;
platforms = platforms.linux;
};
39 changes: 18 additions & 21 deletions pkgs/applications/science/logic/abc/default.nix
Original file line number Diff line number Diff line change
@@ -1,35 +1,32 @@
{ fetchFromGitHub, stdenv, readline, cmake }:
{ stdenv, fetchFromGitHub
, readline, cmake
}:

let
rev = "71f2b40320127561175ad60f6f2428f3438e5243";
in stdenv.mkDerivation {
pname = "abc-verifier";
version = "2020-01-11";
stdenv.mkDerivation rec {
pname = "abc-verifier";
version = "2020.03.05";

src = fetchFromGitHub {
inherit rev;
owner = "berkeley-abc";
repo = "abc";
sha256 = "15sn146ajxql7l1h8rsag5lhn4spwvgjhwzqawfr78snzadw8by3";
owner = "berkeley-abc";
repo = "abc";
rev = "ed90ce20df9c7c4d6e1db5d3f786f9b52e06bab1";
sha256 = "01sw67pkrb6wzflkxbkxzwsnli3nvp0yxwp3j1ngb3c0j86ri437";
};

passthru.rev = rev;

nativeBuildInputs = [ cmake ];
buildInputs = [ readline ];

enableParallelBuilding = true;
installPhase = "mkdir -p $out/bin && mv abc $out/bin";

installPhase = ''
mkdir -p $out/bin
mv abc $out/bin
'';
# needed by yosys
passthru.rev = src.rev;

meta = {
meta = with stdenv.lib; {
description = "A tool for squential logic synthesis and formal verification";
homepage = https://people.eecs.berkeley.edu/~alanmi/abc;
license = stdenv.lib.licenses.mit;
platforms = stdenv.lib.platforms.unix;
maintainers = [ stdenv.lib.maintainers.thoughtpolice ];
homepage = "https://people.eecs.berkeley.edu/~alanmi/abc";
license = licenses.mit;
platforms = platforms.unix;
maintainers = with maintainers; [ thoughtpolice ];
};
}
17 changes: 10 additions & 7 deletions pkgs/applications/science/logic/mcy/default.nix
Original file line number Diff line number Diff line change
@@ -7,28 +7,31 @@ let
in
stdenv.mkDerivation {
pname = "mcy";
version = "2020.02.05";
version = "2020.03.16";

src = fetchFromGitHub {
owner = "YosysHQ";
repo = "mcy";
rev = "83deeddd12d583a89ad4aa1d2147efa4d6adc33c";
sha256 = "1i0cabiqr68zflwzc6z894i4n7k6m3hbfck58vzh8zb9jwxwizav";
rev = "562c02375067428bb657f57faa5131ee1ab44051";
sha256 = "0q77v2hxnmv61zx5bl4lrqiavgvsiyb5qxdp9hnihimj1m30bc5h";
};

buildInputs = [ python ];
patchPhase = ''
substituteInPlace mcy.py \
--replace yosys '${yosys}/bin/yosys' \
--replace 'os.execvp("mcy-dash"' "os.execvp(\"$out/libexec/mcy/mcy-dash.py\""
--replace 'os.execvp("mcy-dash"' "os.execvp(\"$out/bin/mcy-dash\""
substituteInPlace mcy-dash.py \
--replace 'app.run(debug=True)' 'app.run(host="0.0.0.0",debug=True)'
'';

# the build needs a bit of work...
buildPhase = "true";
installPhase = ''
mkdir -p $out/bin $out/libexec/mcy
install mcy.py $out/bin/mcy && chmod +x $out/bin/mcy
install mcy-dash.py $out/libexec/mcy/mcy-dash.py
mkdir -p $out/bin $out/share/mcy/dash
install mcy.py $out/bin/mcy && chmod +x $out/bin/mcy
install mcy-dash.py $out/bin/mcy-dash && chmod +x $out/bin/mcy-dash
cp -r dash/. $out/share/mcy/dash/.
'';

meta = {
12 changes: 6 additions & 6 deletions pkgs/applications/science/logic/symbiyosys/default.nix
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
{ stdenv, fetchFromGitHub
, bash, python3, yosys
, yices, boolector, aiger, abc-verifier
, yices, boolector, aiger
}:

stdenv.mkDerivation {
pname = "symbiyosys";
version = "2020.02.08";
version = "2020.02.11";

src = fetchFromGitHub {
owner = "YosysHQ";
repo = "SymbiYosys";
rev = "500b526131f434b9679732fc89515dbed67c8d7d";
sha256 = "1pwbirszc80r288x81nx032snniqgmc80i09bbha2i3zd0c3pj5h";
rev = "0a7013017f9d583ef6cc8d10712f4bf11cf6e024";
sha256 = "08xz8sgvs1qy7jxp8ma5yl49i6nl7k6bkhry4afdvwg3fvwis39c";
};

buildInputs = [ python3 ];
@@ -29,8 +29,8 @@ stdenv.mkDerivation {
--replace ': "btormc"' ': "${boolector}/bin/btormc"' \
--replace ': "yosys"' ': "${yosys}/bin/yosys"' \
--replace ': "yosys-smtbmc"' ': "${yosys}/bin/yosys-smtbmc"' \
--replace ': "yosys-abc"' ': "${abc-verifier}/bin/abc"' \
--replace ': "aigbmc"' ': "${aiger}/bin/aigbmc"' \
--replace ': "yosys-abc"' ': "${yosys}/bin/yosys-abc"' \
--replace ': "aigbmc"' ': "${aiger}/bin/aigbmc"' \
'';

buildPhase = "true";
4 changes: 2 additions & 2 deletions pkgs/data/misc/unicode-character-database/default.nix
Original file line number Diff line number Diff line change
@@ -5,11 +5,11 @@

stdenv.mkDerivation rec {
pname = "unicode-character-database";
version = "12.1.0";
version = "13.0.0";

src = fetchurl {
url = "https://www.unicode.org/Public/zipped/${version}/UCD.zip";
sha256 = "19m06iw0jl7lhlggcmghi12p6jld0qrmfpksgc243yn6sjh53fi5";
sha256 = "0ld97ppkb5f8d5b3mlkxfwnr6f3inijyqias9xc4bbin9lxrfxig";
};

nativeBuildInputs = [
22 changes: 21 additions & 1 deletion pkgs/development/compilers/elm/default.nix
Original file line number Diff line number Diff line change
@@ -91,9 +91,29 @@ let
inherit nodejs pkgs;
inherit (stdenv.hostPlatform) system;
};
in with hsPkgs.elmPkgs; {
in with hsPkgs.elmPkgs; rec {
elm-test = patchBinwrap [elmi-to-json] nodePkgs.elm-test;
elm-verify-examples = patchBinwrap [elmi-to-json] nodePkgs.elm-verify-examples;
elm-coverage =
let patched = patchBinwrap [elm elmi-to-json] nodePkgs.elm-coverage;
in patched.override {
preRebuild = ''
sed 's/\"install\".*/\"install\":\"echo no-op\"/g' --in-place package.json
# This should not be needed (thanks to binwrap* being nooped) but for some reason it still needs to be done
# in case of just this package
sed 's/\"install\".*/\"install\":\"echo no-op\",/g' --in-place node_modules/elmi-to-json/package.json
rm node_modules/elm/install.js
echo "console.log('no-op');" > node_modules/elm/install.js
'';

# Link Elm instrument binary
postInstall = patched.postInstall + ''
mkdir -p unpacked_bin
ln -sf ${elm-instrument}/bin/elm-instrument unpacked_bin/elm-instrument
'';
};
elm-language-server = nodePkgs."@elm-tooling/elm-language-server";

inherit (nodePkgs) elm-doc-preview elm-live elm-upgrade elm-xref elm-analyse;
8 changes: 4 additions & 4 deletions pkgs/development/compilers/elm/packages/elmi-to-json.nix
Original file line number Diff line number Diff line change
@@ -5,11 +5,11 @@
}:
mkDerivation {
pname = "elmi-to-json";
version = "1.2.0";
version = "1.3.0";
src = fetchgit {
url = "https://github.com/stoeffel/elmi-to-json.git";
sha256 = "1kxai87h2g0749yq0fkxwk3xaavydraaivhnavbwr62q2hw4wrj7";
rev = "af08ceafe742a252f1f1f3c229b0ce3b3e00084d";
url = "https://github.com/stoeffel/elmi-to-json";
sha256 = "11j56vcyhijkwi9hzggkwwmxlhzhgm67ab2m7kxkhcbbqgpasa8n";
rev = "ae40d1aa1e3d6878f2af514e611d44890e7abc1e";
fetchSubmodules = true;
};
isLibrary = true;
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# This file has been generated by node2nix 1.8.0. Do not edit!
# This file has been generated by node2nix 1.7.0. Do not edit!

{pkgs ? import <nixpkgs> {
inherit system;
13 changes: 7 additions & 6 deletions pkgs/development/compilers/elm/packages/node-packages.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
[
"elm-test",
"elm-verify-examples",
"elm-doc-preview",
"elm-upgrade",
"elm-analyse",
"elm-coverage",
"elm-doc-preview",
"@elm-tooling/elm-language-server",
"elm-live",
"elm-xref",
"@elm-tooling/elm-language-server"
"elm-test",
"elm-upgrade",
"elm-verify-examples",
"elm-xref"
]
1,358 changes: 918 additions & 440 deletions pkgs/development/compilers/elm/packages/node-packages.nix

Large diffs are not rendered by default.

41 changes: 21 additions & 20 deletions pkgs/development/compilers/yosys/default.nix
Original file line number Diff line number Diff line change
@@ -14,14 +14,14 @@
}:

stdenv.mkDerivation rec {
pname = "yosys";
version = "2020.02.25";
pname = "yosys";
version = "2020.03.16";

src = fetchFromGitHub {
owner = "YosysHQ";
repo = "yosys";
rev = "6edca05793197a846bbfb0329e836c87fa5aabb6";
sha256 = "1cwps3nsld80bh2b66l8fx3fa2zsx174mw72kqxyihpfdm0m0z1s";
rev = "ed4fa19ba2812c286562baf26bbbcb49afad83bc";
sha256 = "1sza5ng0q8dy6p4hks9b2db129xjcid9n6l8aglf2cj5ks82k5nv";
};

enableParallelBuilding = true;
@@ -51,7 +51,7 @@ stdenv.mkDerivation rec {
# we have to do this ourselves for some reason...
(cd misc && ${protobuf}/bin/protoc --cpp_out ../backends/protobuf/ ./yosys.proto)
if ! grep -q "ABCREV = ${shortAbcRev}" Makefile;then
if ! grep -q "ABCREV = ${shortAbcRev}" Makefile; then
echo "yosys isn't compatible with the provided abc (${shortAbcRev}), failing."
exit 1
fi
@@ -60,20 +60,21 @@ stdenv.mkDerivation rec {
doCheck = true;
checkInputs = [ verilog ];

meta = {
description = "Framework for RTL synthesis tools";
longDescription = ''
Yosys is a framework for RTL synthesis tools. It currently has
extensive Verilog-2005 support and provides a basic set of
synthesis algorithms for various application domains.
Yosys can be adapted to perform any synthesis job by combining
the existing passes (algorithms) using synthesis scripts and
adding additional passes as needed by extending the yosys C++
code base.
'';
homepage = http://www.clifford.at/yosys/;
license = stdenv.lib.licenses.isc;
maintainers = with stdenv.lib.maintainers; [ shell thoughtpolice emily ];
platforms = stdenv.lib.platforms.all;
# Internally, yosys knows to use the specified hardcoded ABCEXTERNAL binary.
# But other tools (like mcy or symbiyosys) can't know how yosys was built, so
# they just assume that 'yosys-abc' is available -- but it's not installed
# when using ABCEXTERNAL
#
# add a symlink to fake things so that both variants work the same way.
postInstall = ''
ln -sfv ${abc-verifier}/bin/abc $out/bin/yosys-abc
'';

meta = with stdenv.lib; {
description = "Open RTL synthesis framework and tools";
homepage = "http://www.clifford.at/yosys/";
license = licenses.isc;
platforms = platforms.all;
maintainers = with maintainers; [ shell thoughtpolice emily ];
};
}
4 changes: 2 additions & 2 deletions pkgs/development/interpreters/groovy/default.nix
Original file line number Diff line number Diff line change
@@ -4,11 +4,11 @@

stdenv.mkDerivation rec {
pname = "groovy";
version = "2.5.9";
version = "3.0.0";

src = fetchurl {
url = "http://dl.bintray.com/groovy/maven/apache-groovy-binary-${version}.zip";
sha256 = "16xq8mz7270kmiq4xb0g52y7ik1bbl2nb8aaz9zw8a9h38rdr9zy";
sha256 = "10nn04hfky4x75nss33vvslw958pjvhw35lcfb3lxvaifqg23cpl";
};

buildInputs = [ unzip makeWrapper ];
6 changes: 3 additions & 3 deletions pkgs/development/libraries/intel-media-driver/default.nix
Original file line number Diff line number Diff line change
@@ -5,13 +5,13 @@

stdenv.mkDerivation rec {
pname = "intel-media-driver";
version = "19.3.0";
version = "19.4.0r";

src = fetchFromGitHub {
owner = "intel";
repo = "media-driver";
rev = "intel-media-${version}";
sha256 = "1vzh11qr7dwmi3d10nq46k754h3q1yya71nk2jgicaj2mm0ylzx6";
sha256 = "0gnd82z0wgiw5my1hnqlk9hcjjqpsgasqq5xcdrbkfa40wpb132a";
};

cmakeFlags = [
@@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
buildInputs = [ libva libpciaccess intel-gmmlib libX11 ];

meta = with stdenv.lib; {
homepage = https://github.com/intel/media-driver;
homepage = "https://github.com/intel/media-driver";
license = with licenses; [ bsd3 mit ];
description = "Intel Media Driver for VAAPI — Broadwell+ iGPUs";
platforms = platforms.linux;
6 changes: 3 additions & 3 deletions pkgs/development/libraries/libgpiod/default.nix
Original file line number Diff line number Diff line change
@@ -2,11 +2,11 @@

stdenv.mkDerivation rec {
pname = "libgpiod";
version = "1.4.2";
version = "1.5";

src = fetchurl {
url = "https://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git/snapshot/libgpiod-${version}.tar.gz";
sha256 = "0r0hdindy6pi1va3mhk2lg5dis0qbi535k790w76dxfx1hyavk70";
sha256 = "1r337ici2nvi9v2h33nf3b7nisirc4s8p31cpv1cg8jbzn3wi15g";
};

buildInputs = [ kmod ];
@@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
the character device instead. This library encapsulates the ioctl calls and
data structures behind a straightforward API.
'';
homepage = https://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git/about/;
homepage = "https://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git/about/";
license = licenses.lgpl2;
maintainers = [ maintainers.expipiplus1 ];
platforms = platforms.linux;
6 changes: 3 additions & 3 deletions pkgs/development/libraries/science/math/brial/default.nix
Original file line number Diff line number Diff line change
@@ -8,14 +8,14 @@
}:

stdenv.mkDerivation rec {
version = "1.2.7";
version = "1.2.8";
pname = "brial";

src = fetchFromGitHub {
owner = "BRiAl";
repo = "BRiAl";
rev = version;
sha256 = "1s0wmbb42sq6a5kxgzsz5srphclmfa4cvxdx2h9kzp0da2zcp3cm";
sha256 = "0qhgckd4fvbs40jw14mvw89rccv94d3df27kipd27hxd4cx7y80y";
};

# FIXME package boost-test and enable checks
@@ -37,7 +37,7 @@ stdenv.mkDerivation rec {
];

meta = with stdenv.lib; {
homepage = https://github.com/BRiAl/BRiAl;
homepage = "https://github.com/BRiAl/BRiAl";
description = "Legacy version of PolyBoRi maintained by sagemath developers";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ timokau ];
6 changes: 3 additions & 3 deletions pkgs/development/libraries/spice-protocol/default.nix
Original file line number Diff line number Diff line change
@@ -2,11 +2,11 @@

stdenv.mkDerivation rec {
pname = "spice-protocol";
version = "0.14.0";
version = "0.14.1";

src = fetchurl {
url = "https://www.spice-space.org/download/releases/${pname}-${version}.tar.bz2";
sha256 = "1b3f44c13pqsp7aabmcinfbmgl79038bp5548l5pjs16lcfam95n";
sha256 = "0ahk5hlanwhbc64r80xmchdav3ls156cvh9l68a0l22bhdhxmrkr";
};

postInstall = ''
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {

meta = with stdenv.lib; {
description = "Protocol headers for the SPICE protocol";
homepage = https://www.spice-space.org/;
homepage = "https://www.spice-space.org/";
license = licenses.bsd3;
maintainers = with maintainers; [ bluescreen303 ];
platforms = platforms.linux;
33 changes: 18 additions & 15 deletions pkgs/development/python-modules/imapclient/default.nix
Original file line number Diff line number Diff line change
@@ -1,32 +1,35 @@
{ stdenv
, buildPythonPackage
, fetchurl
, isPy34
, isPy35
, fetchFromGitHub
, mock
, six
}:

buildPythonPackage rec {
pname = "IMAPClient";
version = "0.13";
disabled = isPy34 || isPy35;
version = "2.1.0";

src = fetchurl {
url = "https://freshfoo.com/projects/IMAPClient/${pname}-${version}.tar.gz";
sha256 = "0v7kd1crdbff0rmh4ddm5qszkis6hpk9084qh94al8h7g4y9l3is";
src = fetchFromGitHub {
owner = "mjs";
repo = "imapclient";
rev = version;
sha256 = "1zc8qj8ify2zygbz255b6fcg7jhprswf008ccwjmbrnj08kh9l4x";
};

buildInputs = [ mock ];

preConfigure = ''
sed -i '/distribute_setup/d' setup.py
substituteInPlace setup.py --replace "mock==0.8.0" "mock"
# fix test failing in python 36
postPatch = ''
substituteInPlace tests/test_imapclient.py \
--replace "if sys.version_info >= (3, 7):" "if sys.version_info >= (3, 6, 4):"
'';

propagatedBuildInputs = [ six ];

checkInputs = [ mock ];

meta = with stdenv.lib; {
homepage = https://imapclient.readthedocs.io/en/2.1.0/;
homepage = "https://imapclient.readthedocs.io";
description = "Easy-to-use, Pythonic and complete IMAP client library";
license = licenses.bsd3;
maintainers = [ maintainers.almac ];
};

}
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/matrix-nio/default.nix
Original file line number Diff line number Diff line change
@@ -20,13 +20,13 @@

buildPythonPackage rec {
pname = "nio";
version = "0.8.0";
version = "0.9.0";

src = fetchFromGitHub {
owner = "poljar";
repo = "matrix-nio";
rev = version;
sha256 = "151c59a913y6kx99g7g3mhpgbgavwic1mh21nfrr9x0rm98ilay9";
sha256 = "0gqhk9d06w1in6dj7aqy45skzyg8018nmclqd5r0m5nnw8yns6gz";
};

nativeBuildInputs = [
13 changes: 11 additions & 2 deletions pkgs/development/python-modules/rpy2/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{ lib
, python
, buildPythonPackage
, fetchpatch
, fetchPypi
, isPyPy
, R
@@ -24,13 +25,13 @@
}:

buildPythonPackage rec {
version = "3.2.5";
version = "3.2.6";
pname = "rpy2";

disabled = isPyPy;
src = fetchPypi {
inherit version pname;
sha256 = "0pnk363klic4smb3jnkm4lnh984c2cpqzawrg2j52hgy8k1bgyrk";
sha256 = "1p990cqx3p2pd1rc9wn66m56wahaq8dlr88frz49vb7nv4zw4a8q";
};

buildInputs = [
@@ -68,6 +69,14 @@ buildPythonPackage rec {
# R_LIBS_SITE is used by the nix r package to point to the installed R libraries.
# This patch sets R_LIBS_SITE when rpy2 is imported.
./rpy2-3.x-r-libs-site.patch

# pandas 1.x compatibility, already merged upstream
# https://github.com/rpy2/rpy2/issues/636
(fetchpatch {
name = "pandas-1.x.patch";
url = "https://github.com/rpy2/rpy2/commit/fbd060e364b70012e8d26cc74df04ee53f769379.patch";
sha256 = "19rdqydwjmqg25ibmsbx7lggrr9fsyjn283zgvz1wj4iyfjwp1za";
})
];
postPatch = ''
substituteInPlace 'rpy2/rinterface_lib/embedded.py' --replace '@NIX_R_LIBS_SITE@' "$R_LIBS_SITE"
6 changes: 3 additions & 3 deletions pkgs/development/python-modules/uamqp/default.nix
Original file line number Diff line number Diff line change
@@ -11,11 +11,11 @@

buildPythonPackage rec {
pname = "uamqp";
version = "1.2.5";
version = "1.2.6";

src = fetchPypi {
inherit pname version;
sha256 = "02d78242fcd0a58489aaf275964a6cf7581d7a2334ee240d2d547f8aca8607c6";
sha256 = "1pzgj85c6g8vr3dq215cd1y2pn8pxc6wa7mjd9m0zrglr1qwwhdz";
};

buildInputs = [
@@ -39,7 +39,7 @@ buildPythonPackage rec {

meta = with lib; {
description = "An AMQP 1.0 client library for Python";
homepage = https://github.com/Azure/azure-uamqp-python;
homepage = "https://github.com/Azure/azure-uamqp-python";
license = licenses.mit;
maintainers = with maintainers; [ mwilsoninsight ];
};
28 changes: 28 additions & 0 deletions pkgs/development/python-modules/wsgitools/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{lib
,buildPythonPackage
,fetchPypi
}:

buildPythonPackage rec {
pname = "wsgitools";
version = "0.3.1";

src = fetchPypi {
inherit pname version;
sha256 = "0q6kmrkqf02fgww7z1g9cw8f70fimdzs1bvv9inb7fsk0c3pcf1i";
};

meta = with lib; {
maintainers = with maintainers; [ clkamp ];
description = "A set of tools working with WSGI";
longDescription = ''
wsgitools is a set of tools working with WSGI (see PEP 333). It
includes classes for filtering content, middlewares for caching,
logging and tracebacks as well as two backends for SCGI. Goals
in writing it were portability and simplicity.
'';
homepage = "https://subdivi.de/~helmut/wsgitools/";
license = licenses.gpl2Plus;
platforms = platforms.all;
};
}
Original file line number Diff line number Diff line change
@@ -18,6 +18,7 @@ buildPythonPackage rec {

propagatedBuildInputs = [ zc_buildout ];
checkInputs = [ zope_testrunner ];
doCheck = !python.pkgs.isPy27;
checkPhase = ''
${python.interpreter} -m zope.testrunner --test-path=src []
'';
6 changes: 3 additions & 3 deletions pkgs/development/tools/literate-programming/nuweb/default.nix
Original file line number Diff line number Diff line change
@@ -3,11 +3,11 @@
stdenv.mkDerivation rec{

pname = "nuweb";
version = "1.58";
version = "1.60";

src = fetchurl {
url = "mirror://sourceforge/project/nuweb/${pname}-${version}.tar.gz";
sha256 = "0q51i3miy15fv4njjp82yws01qfjxvqx5ly3g3vh8z3h7iq9p47y";
sha256 = "08xmwq48biy2c1fr8wnyknyvqs9jfsj42cb7fw638xqv35f0xxvl";
};

buildInputs = [ tex ];
@@ -32,7 +32,7 @@ stdenv.mkDerivation rec{
homepage = http://nuweb.sourceforge.net;
license = licenses.free;
maintainers = [ maintainers.AndersonTorres ];
platforms = platforms.linux;
platforms = platforms.unix;
};
}
# TODO: nuweb.el Emacs integration
6 changes: 3 additions & 3 deletions pkgs/development/tools/renderizer/default.nix
Original file line number Diff line number Diff line change
@@ -2,16 +2,16 @@

buildGoModule rec {
pname = "renderizer";
version = "2.0.5";
version = "2.0.9";

src = fetchFromGitHub {
owner = "gomatic";
repo = pname;
rev = version;
sha256 = "186wcfzw60z6i59yl37rkppw8w88z5kikvsi65k4r9kwpll2z6z4";
sha256 = "1bip12pcn8bqgph7vd7bzzadwbyqh80fx7gqciv9fchycwsj04rf";
};

modSha256 = "1sxg9skd5hjpg2f4wyxh5hwjrplw3b3v32gn61a9yixfk3wvi05x";
modSha256 = "0ss5l2n1sl1i2hvxsdzy6p61mnnxmm6h256jvv0p0ajynx8g538q";

meta = with stdenv.lib; {
description = "CLI to render Go template text files";
5 changes: 1 addition & 4 deletions pkgs/development/tools/rust/cbindgen/default.nix
Original file line number Diff line number Diff line change
@@ -11,10 +11,7 @@ rustPlatform.buildRustPackage rec {
sha256 = "1x21g66gri6z9bnnfn7zmnf2lwdf5ing76pcmw0ilx4nzpvfhkg0";
};

# Delete this on next update; see #79975 for details
legacyCargoFetcher = true;

cargoSha256 = "13fb8cdg6r0g5jb3vaznvv5aaywrnsl2yp00h4k8028vl8jwwr79";
cargoSha256 = "13fbahdih5whll09pfgyb1bjag1f0d0xfwgm2s342bs1krxsrbh3";

buildInputs = stdenv.lib.optional stdenv.isDarwin Security;

4 changes: 2 additions & 2 deletions pkgs/games/tintin/default.nix
Original file line number Diff line number Diff line change
@@ -6,11 +6,11 @@
assert tlsSupport -> gnutls != null;

stdenv.mkDerivation rec {
name = "tintin-2.02.01";
name = "tintin-2.02.02";

src = fetchurl {
url = "mirror://sourceforge/tintin/${name}.tar.gz";
sha256 = "15ajs6d0rb3xchd46gyziciz9vv0ks75schk1s4hs7pr30yr7k6y";
sha256 = "11ylbp8ip7dwmh4gzb53z147pcfxkl3lwhyy8ngyn2zc634vdn65";
};

nativeBuildInputs = lib.optional tlsSupport gnutls.dev;
6 changes: 3 additions & 3 deletions pkgs/misc/tpm2-pkcs11/default.nix
Original file line number Diff line number Diff line change
@@ -6,13 +6,13 @@

stdenv.mkDerivation rec {
pname = "tpm2-pkcs11";
version = "1.0.1";
version = "1.1.0";

src = fetchFromGitHub {
owner = "tpm2-software";
repo = pname;
rev = version;
sha256 = "sha256:06kpf730al50xv1q53ahycky3im23ysrqp40libls4k24zxs9ha2";
sha256 = "0gqbbxh1y2vcznxw96xn1wpcvg613zzzrbbfrqbw3p7spbn65yfq";
};

patches = lib.singleton (
@@ -71,7 +71,7 @@ stdenv.mkDerivation rec {

meta = with lib; {
description = "A PKCS#11 interface for TPM2 hardware";
homepage = https://github.com/tpm2-software/tpm2-pkcs11;
homepage = "https://github.com/tpm2-software/tpm2-pkcs11";
license = licenses.bsd2;
platforms = platforms.linux;
maintainers = with maintainers; [ lschuermann ];
15 changes: 15 additions & 0 deletions pkgs/misc/vim-plugins/overrides.nix
Original file line number Diff line number Diff line change
@@ -112,6 +112,21 @@ self: super: {
'';
});

vim-pandoc = super.vim-pandoc.overrideAttrs(old: {
patches = (super.patches or []) ++ [
# Fix a failure on startup, which breaks the rplugin manifest generation
# https://github.com/vim-pandoc/vim-pandoc/pull/363#issuecomment-599080366
(fetchpatch {
name = "fix-fdetect.patch";
url = "https://github.com/vim-pandoc/vim-pandoc/commit/da4c0b0325c1bfad20f7cfd15abb53943fe22fc4.patch";
revert = true;
# For some reason that part was already reverted upstream.
excludes = ["ftdetect/pandoc.vim"];
sha256 = "10nykgsqpxx5hlagk83khjl8p58zx7z3bcryzinv5vv52wlqkq5p";
})
];
});

clighter8 = super.clighter8.overrideAttrs(old: {
preFixup = ''
sed "/^let g:clighter8_libclang_path/s|')$|${llvmPackages.clang.cc.lib}/lib/libclang.so')|" \
15 changes: 7 additions & 8 deletions pkgs/tools/admin/berglas/default.nix
Original file line number Diff line number Diff line change
@@ -1,22 +1,21 @@
{ stdenv, buildGoModule, fetchFromGitHub }:

buildGoModule rec {

name = "berglas-${version}";
version = "0.5.0";
pname = "berglas";
version = "0.5.1";

src = fetchFromGitHub {
owner = "GoogleCloudPlatform";
repo = "berglas";
rev = "v0.5.0";
sha256 = "1y5w2czipwj069w4zxnyb9xqv5mx0yjjramykf3vm3q478bk3rm7";
repo = pname;
rev = "v${version}";
sha256 = "0y393g36h35zzqyf5b10j6qq2jhvz83j17cmasnv6wbyrb3vnn0n";
};

modSha256 = "0y4ajii3pv25s4gjazf6fl0b9wax17cmwhbmiybqhp61annca7kr";
modSha256 = "0m2bqx102lf6nihdjbl8a08xcwi80rawvh91j1cav0njm9w5vmmm";

meta = with stdenv.lib; {
description = "A tool for managing secrets on Google Cloud";
homepage = https://github.com/GoogleCloudPlatform/berglas;
homepage = "https://github.com/GoogleCloudPlatform/berglas";
license = licenses.asl20;
platforms = platforms.unix;
};
4 changes: 2 additions & 2 deletions pkgs/tools/filesystems/simg2img/default.nix
Original file line number Diff line number Diff line change
@@ -2,13 +2,13 @@

stdenv.mkDerivation rec {
pname = "simg2img";
version = "1.1.3";
version = "1.1.4";

src = fetchFromGitHub {
owner = "anestisb";
repo = "android-simg2img";
rev = version;
sha256 = "119gl9i61g2wr07hzv6mi1ihql6yd6pwq94ki2pgcpfbamv8f6si";
sha256 = "1xm9kaqs2w8c7a4psv78gv66gild88mpgjn5lj087d7jh1jxy7bf";
};

buildInputs = [ zlib ];
570 changes: 570 additions & 0 deletions pkgs/tools/misc/peep/0001-Add-Cargo.lock-by-running-cargo-vendor.patch

Large diffs are not rendered by default.

23 changes: 23 additions & 0 deletions pkgs/tools/misc/peep/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{ lib, rustPlatform, fetchFromGitHub }:

rustPlatform.buildRustPackage rec {
pname = "peep";
version = "0.1.4";

src = fetchFromGitHub {
owner = "ryochack";
repo = "peep";
rev = "v${version}";
sha256 = "0c0fphnhq9vg9jjnkl35k56jbcnyz2ballsnkbm2xrh8vbyvk1av";
};

cargoPatches = [ ./0001-Add-Cargo.lock-by-running-cargo-vendor.patch ];
cargoSha256 = "15qc9a4zpnq7lbcaji1mkik93qkx366misczbi1mipiq5w7sgn0l";

meta = with lib; {
description = "The CLI text viewer tool that works like less command on small pane within the terminal window";
license = licenses.mit;
homepage = "https://github.com/ryochack/peep";
maintainers = with maintainers; [ ma27 ];
};
}
4 changes: 2 additions & 2 deletions pkgs/tools/misc/zabbix-cli/default.nix
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@ let

in pythonPackages.buildPythonApplication rec {
pname = "zabbix-cli";
version = "2.1.1";
version = "2.2.1";

propagatedBuildInputs = with pythonPackages; [ ipaddr requests ];

@@ -17,7 +17,7 @@ in pythonPackages.buildPythonApplication rec {
owner = "usit-gd";
repo = "zabbix-cli";
rev = version;
sha256 = "10a1cvjqwlqqfz52ajv9i53h6v95w8y7xmgqr79q2c4v1nz5bfks";
sha256 = "0wzmrn8p09ksqhhgawr179c4az7p2liqr0l4q2dra62bxliawyqz";
};

meta = with lib; {
6 changes: 3 additions & 3 deletions pkgs/tools/networking/frp/default.nix
Original file line number Diff line number Diff line change
@@ -2,16 +2,16 @@

buildGoModule rec {
pname = "frp";
version = "0.31.2";
version = "0.32.0";

src = fetchFromGitHub {
owner = "fatedier";
repo = pname;
rev = "v${version}";
sha256 = "0947psq6qcr175xsgwr5k6idphs3s4vdv130ms738bcqf0h9snky";
sha256 = "1hj3xy7ihwl66hyxc1m8k3fwgz5jyx1bd32f80d7266klhjqf6nw";
};

modSha256 = "1zbl0gfc99pbzdacxhfa1k3y6i7v13sb441wpbp9aygxhvwqrms9";
modSha256 = "1v90w5grc0vjpcp0m56d73zi0qnbswgz1rcvcwrjfa3rwqhigbal";

subPackages = [ "cmd/frpc" "cmd/frps" ];

47 changes: 47 additions & 0 deletions pkgs/tools/networking/http2tcp/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
{ lib
, python3
, stdenv
, fetchurl
}:

stdenv.mkDerivation rec {
pname = "http2tcp";
version = "0.5";

src = fetchurl {
url = "https://www.linta.de/~aehlig/http2tcp/${pname}-${version}.tar.gz";
sha256 = "34fb83c091689dee398ca80db76487e0c39abb17cef390d845ffd888009a5caa";
};

buildInputs = [
(python3.withPackages (ps: [
ps.wsgitools
]))
];

dontBuild = true;

installPhase = ''
mkdir -p $out/{bin,share/${pname}}
cp http2tcp* $out/bin
cp Protocol $out/share/${pname}/
'';

meta = with lib; {
maintainers = with maintainers; [ clkamp ];
description = "A tool for tunneling TCP connections via HTTP GET requests";
longDescription = ''
The http2tcp tools allow to tunnel tcp connections (presumably
ssh) via syntactically correct http requests. It is designed to
work in the presence of so-called "transparent"
store-and-forward proxies disallowing POST requests.
It also turned out to be useful to stabilise connections where
the client's internet connection is unreliable (frequent long
network outages, rapidly changing IP address, etc).
'';
homepage = "https://www.linta.de/~aehlig/http2tcp/";
license = licenses.bsd3;
platforms = platforms.all;
};
}
6 changes: 3 additions & 3 deletions pkgs/tools/networking/inadyn/default.nix
Original file line number Diff line number Diff line change
@@ -3,13 +3,13 @@

stdenv.mkDerivation rec {
pname = "inadyn";
version = "2.5";
version = "2.6";

src = fetchFromGitHub {
owner = "troglobit";
repo = "inadyn";
rev = "v${version}";
sha256 = "0izhynqfj4xafsrc653wym8arwps0qim203w8l0g5z9vzfxfnvqw";
sha256 = "013kxlglxliajv3lrsix4w88w40g709rvycajb6ad6gbh8giqv47";
};

nativeBuildInputs = [ autoreconfHook pkgconfig ];
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;

meta = with stdenv.lib; {
homepage = http://troglobit.com/project/inadyn/;
homepage = "http://troglobit.com/project/inadyn/";
description = "Free dynamic DNS client";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ ];
34 changes: 34 additions & 0 deletions pkgs/tools/networking/openapi-generator-cli/unstable.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{ stdenv, fetchurl, jre, makeWrapper }:

stdenv.mkDerivation rec {
version = "5.0.0-2020-02-04";
pname = "openapi-generator-cli";

jarfilename = "${pname}-${version}.jar";

nativeBuildInputs = [
makeWrapper
];

src = fetchurl {
url = "https://oss.sonatype.org/content/repositories/snapshots/org/openapitools/openapi-generator-cli/5.0.0-SNAPSHOT/openapi-generator-cli-5.0.0-20200204.091421-37.jar";
sha256 = "0swv976fcr2z8g53avr0r706c31xacb2dlnl8b4c8mzmi49byy7k";
};

phases = [ "installPhase" ];

installPhase = ''
install -D "$src" "$out/share/java/${jarfilename}"
makeWrapper ${jre}/bin/java $out/bin/${pname} \
--add-flags "-jar $out/share/java/${jarfilename}"
'';

meta = with stdenv.lib; {
description = "Allows generation of API client libraries (SDK generation), server stubs and documentation automatically given an OpenAPI Spec";
homepage = https://github.com/OpenAPITools/openapi-generator;
license = licenses.asl20;
maintainers = [ maintainers.shou ];
};
}

6 changes: 3 additions & 3 deletions pkgs/tools/security/jwt-cli/default.nix
Original file line number Diff line number Diff line change
@@ -2,16 +2,16 @@

rustPlatform.buildRustPackage rec {
pname = "jwt-cli";
version = "2.5.2";
version = "3.0.1";

src = fetchFromGitHub {
owner = "mike-engel";
repo = pname;
rev = version;
sha256 = "1q6dqh8z6mhiksjrhi602cvq31jgc18pfbwf6mlm9gi1grpgm5dl";
sha256 = "108pwk0h6zcbfmp0k8rhjxaa9yk8rhb78aaql22x48n11fnjl27i";
};

cargoSha256 = "1krsr4a1f5rdba4l0i90yr5s8k8hg1np9n85ingx37gar9ahr1y3";
cargoSha256 = "1xh2ylx5fqblhlrs8yhl3zf8kvgrqnwdwmix6yzch9bi5mv5c11w";

buildInputs = stdenv.lib.optional stdenv.isDarwin Security;

7 changes: 4 additions & 3 deletions pkgs/tools/system/inxi/default.nix
Original file line number Diff line number Diff line change
@@ -2,13 +2,13 @@

stdenv.mkDerivation rec {
pname = "inxi";
version = "3.0.37-1";
version = "3.0.38-1";

src = fetchFromGitHub {
owner = "smxi";
repo = "inxi";
rev = version;
sha256 = "15wvj9w601ci3bavd1hk5qlm8dfm7a7cjglczk29yir5yw2jww3f";
sha256 = "1qw3sxgd3ly916bzzl3873s3flngwd3vh57slw0shsj7ivz8bfnm";
};

buildInputs = [ perl makeWrapper ];
@@ -24,7 +24,8 @@ stdenv.mkDerivation rec {

meta = with stdenv.lib; {
description = "A full featured CLI system information tool";
homepage = https://smxi.org/docs/inxi.htm;
homepage = "https://smxi.org/docs/inxi.htm";
changelog = "https://github.com/smxi/inxi/blob/${version}/inxi.changelog";
license = licenses.gpl3Plus;
platforms = platforms.unix;
maintainers = with maintainers; [ primeos ];
7 changes: 6 additions & 1 deletion pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
@@ -960,6 +960,8 @@ in

hpe-ltfs = callPackage ../tools/backup/hpe-ltfs { };

http2tcp = callPackage ../tools/networking/http2tcp { };

httperf = callPackage ../tools/networking/httperf { };

ili2c = callPackage ../tools/misc/ili2c { };
@@ -5535,6 +5537,7 @@ in
onioncircuits = callPackage ../tools/security/onioncircuits { };

openapi-generator-cli = callPackage ../tools/networking/openapi-generator-cli { };
openapi-generator-cli-unstable = callPackage ../tools/networking/openapi-generator-cli/unstable.nix { };

opencc = callPackage ../tools/text/opencc { };

@@ -5716,6 +5719,8 @@ in

pazi = callPackage ../tools/misc/pazi { };

peep = callPackage ../tools/misc/peep { };

pell = callPackage ../applications/misc/pell { };

pepper = callPackage ../tools/admin/salt/pepper { };
@@ -10499,7 +10504,7 @@ in
# NOTE: Override and set icon-lang = null to use Awk instead of Icon.
noweb = callPackage ../development/tools/literate-programming/noweb { };

nuweb = callPackage ../development/tools/literate-programming/nuweb { tex = texlive.combined.scheme-small; };
nuweb = callPackage ../development/tools/literate-programming/nuweb { tex = texlive.combined.scheme-medium; };

nrfutil = callPackage ../development/tools/misc/nrfutil { };

2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
@@ -6245,6 +6245,8 @@ in {

wsgiproxy2 = callPackage ../development/python-modules/wsgiproxy2 { };

wsgitools = callPackage ../development/python-modules/wsgitools { };

wurlitzer = callPackage ../development/python-modules/wurlitzer { };

xcaplib = callPackage ../development/python-modules/xcaplib { };