Skip to content

Commit

Permalink
Merge staging-next into staging
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored Jan 14, 2021
2 parents c50dca4 + 183b673 commit fb6ed8a
Show file tree
Hide file tree
Showing 60 changed files with 971 additions and 330 deletions.
6 changes: 6 additions & 0 deletions maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8681,6 +8681,12 @@
githubId = 2666479;
name = "Y Nguyen";
};
superherointj = {
name = "Sérgio G.";
email = "5861043+superherointj@users.noreply.github.com";
github = "superherointj";
githubId = 5861043;
};
SuperSandro2000 = {
email = "sandro.jaeckel@gmail.com";
github = "SuperSandro2000";
Expand Down
6 changes: 3 additions & 3 deletions maintainers/scripts/nix-generate-from-cpan.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, makeWrapper, perl, perlPackages }:
{ stdenv, lib, makeWrapper, perl, perlPackages }:

stdenv.mkDerivation {
name = "nix-generate-from-cpan-3";
Expand All @@ -18,8 +18,8 @@ stdenv.mkDerivation {
'';

meta = {
maintainers = with stdenv.lib.maintainers; [ eelco rycee ];
maintainers = with lib.maintainers; [ eelco rycee ];
description = "Utility to generate a Nix expression for a Perl package from CPAN";
platforms = stdenv.lib.platforms.unix;
platforms = lib.platforms.unix;
};
}
1 change: 1 addition & 0 deletions nixos/modules/module-list.nix
Original file line number Diff line number Diff line change
Expand Up @@ -956,6 +956,7 @@
./services/x11/urxvtd.nix
./services/x11/window-managers/awesome.nix
./services/x11/window-managers/default.nix
./services/x11/window-managers/clfswm.nix
./services/x11/window-managers/fluxbox.nix
./services/x11/window-managers/icewm.nix
./services/x11/window-managers/bspwm.nix
Expand Down
4 changes: 2 additions & 2 deletions nixos/modules/services/x11/window-managers/clfswm.nix
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ in
services.xserver.windowManager.session = singleton {
name = "clfswm";
start = ''
${pkgs.clfswm}/bin/clfswm &
${pkgs.lispPackages.clfswm}/bin/clfswm &
waitPID=$!
'';
};
environment.systemPackages = [ pkgs.clfswm ];
environment.systemPackages = [ pkgs.lispPackages.clfswm ];
};
}
1 change: 1 addition & 0 deletions nixos/modules/services/x11/window-managers/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ in
./berry.nix
./bspwm.nix
./cwm.nix
./clfswm.nix
./dwm.nix
./evilwm.nix
./exwm.nix
Expand Down
1 change: 1 addition & 0 deletions pkgs/applications/editors/kakoune/plugins/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,5 @@
kak-prelude = pkgs.callPackage ./kak-prelude.nix { };
kak-vertical-selection = pkgs.callPackage ./kak-vertical-selection.nix { };
openscad-kak = pkgs.callPackage ./openscad.kak.nix { };
quickscope-kak = pkgs.callPackage ./quickscope.kak.nix { };
}
29 changes: 29 additions & 0 deletions pkgs/applications/editors/kakoune/plugins/quickscope.kak.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{ stdenv, fetchgit, lua5_3 }:

stdenv.mkDerivation rec {
pname = "quickscope-kak";
version = "1.0.0";

src = fetchgit {
url = "https://git.sr.ht/~voroskoi/quickscope.kak";
rev = "v${version}";
sha256 = "0y1g3zpa2ql8l9rl5i2w84bka8a09kig9nq9zdchaff5pw660mcx";
};

buildInputs = [ lua5_3 ];

installPhase = ''
mkdir -p $out/share/kak/autoload/plugins/
cp quickscope.* $out/share/kak/autoload/plugins/
# substituteInPlace does not like the pipe
sed -e 's,[|] *lua,|${lua5_3}/bin/lua,' quickscope.kak >$out/share/kak/autoload/plugins/quickscope.kak
'';

meta = with stdenv.lib; {
description = "Highlight f and t jump positions";
homepage = "https://sr.ht/~voroskoi/quickscope.kak/";
license = licenses.unlicense;
maintainers = with maintainers; [ eraserhd ];
platforms = platforms.all;
};
}
2 changes: 1 addition & 1 deletion pkgs/applications/graphics/zgrviewer/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
cp -r target/* "$out/share/java/zvtm/"
echo '#!${runtimeShell}' > "$out/bin/zgrviewer"
echo "${jre}/lib/openjdk/jre/bin/java -jar '$out/share/java/zvtm/zgrviewer-${version}.jar' \"\$@\"" >> "$out/bin/zgrviewer"
echo "${jre}/bin/java -jar '$out/share/java/zvtm/zgrviewer-${version}.jar' \"\$@\"" >> "$out/bin/zgrviewer"
chmod a+x "$out/bin/zgrviewer"
'';
meta = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,5 +104,6 @@ in stdenv.mkDerivation rec {
license = [ licenses.mpl20 licenses.gpl3 ];
maintainers = with maintainers; [ TheBrainScrambler ];
platforms = [ "i686-linux" "x86_64-linux" ];
broken = true; # 2021-01-07
};
}
6 changes: 3 additions & 3 deletions pkgs/applications/networking/cluster/argo/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,16 @@ let
in
buildGoModule rec {
pname = "argo";
version = "2.11.8";
version = "2.12.4";

src = fetchFromGitHub {
owner = "argoproj";
repo = "argo";
rev = "v${version}";
sha256 = "19nkkj69506759qjfrz6d7j57z8rqjslgfrdrkx01ri68cil4mfh";
sha256 = "04r3y71l9849wlhpzzcg2wcqnqdp5nnnhy4s205rp9xswa3mw0k3";
};

vendorSha256 = "1ca0ssvbi4vrsn9ljc783hnh9bmf5p8nr1lz5wm8g3gbrrrf1ray";
vendorSha256 = "0m24wi91638zyrp7mpri4862dbx1p0glscjd0hdy0xb56vcr3i09";

doCheck = false;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, glib, openssl
, glibcLocales, expect, ncurses, libotr, curl, readline, libuuid
, cmocka, libmicrohttpd, expat, sqlite, libmesode, fetchpatch
, autoconf-archive
, cmocka, libmicrohttpd, expat, sqlite, libmesode, autoconf-archive

, autoAwaySupport ? true, libXScrnSaver ? null, libX11 ? null
, notifySupport ? true, libnotify ? null, gdk-pixbuf ? null
Expand All @@ -22,20 +21,16 @@ with stdenv.lib;

stdenv.mkDerivation rec {
pname = "profanity";
version = "0.9.5";
version = "0.10.0";

src = fetchFromGitHub {
owner = "profanity-im";
repo = "profanity";
rev = version;
sha256 = "14vbblf639f90bb4npg2xv53cpvk9am9ic4pmc1vnv4m3zsndjg5";
sha256 = "0a9rzhnivxcr8v02xxzrbck7pvvv4c66ap2zy0gzxhri5p8ac03r";
};

patches = [
(fetchpatch {
url = "https://github.com/profanity-im/profanity/commit/54667c022f17bdb547c3b8b4eec1c2889c9d60f3.patch";
sha256 = "0aqrq45im1qnq308hyhh7dqbggzmcqb0b868wr5v8v08pd94s45k";
})
./patches/packages-osx.patch
];

Expand Down Expand Up @@ -80,6 +75,8 @@ stdenv.mkDerivation rec {
homepage = "http://www.profanity.im/";
license = licenses.gpl3Plus;
platforms = platforms.unix;
changelog = "https://github.com/profanity-im/profanity/releases/tag/${version}";
downloadPage = "https://github.com/profanity-im/profanity/releases/";
maintainers = [ maintainers.devhell ];
updateWalker = true;
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
let
inherit (python27Packages) python;
requirements = (import ./requirements.nix {
inherit stdenv fetchurl;
inherit lib fetchurl;
pythonPackages = python27Packages;
});

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{ fetchurl
, lib, stdenv
, lib
, pythonPackages
}:

Expand All @@ -8,7 +8,7 @@ let

xe = buildPythonPackage rec {
url = "http://www.blarg.net/%7Esteveha/xe-0.7.4.tar.gz";
name = stdenv.lib.nameFromURL url ".tar";
name = lib.nameFromURL url ".tar";
src = fetchurl {
inherit url;
sha256 = "0v9878cl0y9cczdsr6xjy8v9l139lc23h4m5f86p4kpf2wlnpi42";
Expand All @@ -28,7 +28,7 @@ in {
pyfeed = (buildPythonPackage rec {
url = "http://www.blarg.net/%7Esteveha/pyfeed-0.7.4.tar.gz";

name = stdenv.lib.nameFromURL url ".tar";
name = lib.nameFromURL url ".tar";

src = fetchurl {
inherit url;
Expand All @@ -49,7 +49,7 @@ in {

wokkel = buildPythonPackage (rec {
url = "http://wokkel.ik.nu/releases/0.7.0/wokkel-0.7.0.tar.gz";
name = stdenv.lib.nameFromURL url ".tar";
name = lib.nameFromURL url ".tar";
src = fetchurl {
inherit url;
sha256 = "0rnshrzw8605x05mpd8ndrx3ri8h6cx713mp8sl4f04f4gcrz8ml";
Expand Down
6 changes: 6 additions & 0 deletions pkgs/applications/networking/mailreaders/notmuch/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,12 @@ stdenv.mkDerivation rec {
gdb man emacs
];

# Expects there to always be a thread with ID
# thread:0000000000000009, but notmuch new is non-deterministic so
# this isn't always the case. Upstream bug report:
# https://nmbug.notmuchmail.org/nmweb/show/871reno6g7.fsf%40alyssa.is
NOTMUCH_SKIP_TESTS = "lib-thread";

installTargets = [ "install" "install-man" "install-info" ];

postInstall = stdenv.lib.optionalString withEmacs ''
Expand Down
35 changes: 24 additions & 11 deletions pkgs/applications/science/logic/opensmt/default.nix
Original file line number Diff line number Diff line change
@@ -1,25 +1,38 @@
{ lib, stdenv, fetchurl, automake, libtool, autoconf, intltool, perl
, gmpxx, flex, bison
{ stdenv, lib, fetchFromGitHub
, cmake, libedit, gmpxx, bison, flex
, enableReadline ? false, readline
, gtest
}:

stdenv.mkDerivation rec {
pname = "opensmt";
version = "20101017";
version = "2.0.1";

src = fetchurl {
url = "http://opensmt.googlecode.com/files/opensmt_src_${version}.tgz";
sha256 = "0xrky7ixjaby5x026v7hn72xh7d401w9jhccxjn0khhn1x87p2w1";
src = fetchFromGitHub {
owner = "usi-verification-and-security";
repo = "opensmt";
rev = "v${version}";
sha256 = "uoIcXWsxxRsIuFsou3RcN9e48lc7cWMgRPVJLFVslDE=";
};

buildInputs = [ automake libtool autoconf intltool perl gmpxx flex bison ];
nativeBuildInputs = [ cmake bison flex ];
buildInputs = [ libedit gmpxx ]
++ lib.optional enableReadline readline;

preConfigure = ''
substituteInPlace test/CMakeLists.txt \
--replace 'FetchContent_Populate' '#FetchContent_Populate'
'';
cmakeFlags = [
"-Dgoogletest_SOURCE_DIR=${gtest.src}"
"-Dgoogletest_BINARY_DIR=./gtest-build"
];

meta = with lib; {
description = "A satisfiability modulo theory (SMT) solver";
maintainers = [ maintainers.raskin ];
platforms = platforms.linux;
license = licenses.gpl3;
homepage = "http://code.google.com/p/opensmt/";
broken = true;
downloadPage = "http://code.google.com/p/opensmt/downloads/list";
license = if enableReadline then licenses.gpl2Plus else licenses.mit;
homepage = "https://github.com/usi-verification-and-security/opensmt";
};
}
4 changes: 2 additions & 2 deletions pkgs/data/icons/luna-icons/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@

stdenv.mkDerivation rec {
pname = "luna-icons";
version = "0.9.1";
version = "0.9.2";

src = fetchFromGitHub {
owner = "darkomarko42";
repo = pname;
rev = version;
sha256 = "0mz5cayjgsc109nv7kdkn3gn1n79bl3hb773lrzrr0k2zblxg353";
sha256 = "0ajx7yjkgj5ynbjmd6k3cldjn0qr51h6k80hjgr7vqd0ybyylh5p";
};

nativeBuildInputs = [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@

stdenv.mkDerivation rec {
pname = "gnome-shell-extension-draw-on-your-screen";
version = "6";
version = "10";

src = fetchgit {
url = "https://framagit.org/abakkk/DrawOnYourScreen/";
rev = "v${version}";
sha256 = "05i20ii8lv6mg56rz8lng80dx35l6g45j8wr7jgbp591hg0spj1w";
sha256 = "07adzg3mf6k0pmd9lc358w0w3l4pr3p6374day1qhmci2p4zxq6p";
};

uuid = "drawOnYourScreen@abakkk.framagit.org";
Expand All @@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
meta = with lib; {
description = "A drawing extension for GNOME Shell";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ ericdallo ];
maintainers = with maintainers; [ ericdallo ahuzik ];
platforms = gnome3.gnome-shell.meta.platforms;
homepage = "https://framagit.org/abakkk/DrawOnYourScreen";
};
Expand Down
3 changes: 3 additions & 0 deletions pkgs/desktops/lxqt/liblxqt/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ mkDerivation rec {
xorg.libXScrnSaver
];

# convert name of wrapped binary, e.g. .lxqt-whatever-wrapped to the original name, e.g. lxqt-whatever so binaries can find their resources
patches = [ ./fix-application-path.patch ];

postPatch = ''
sed -i "s|\''${POLKITQT-1_POLICY_FILES_INSTALL_DIR}|''${out}/share/polkit-1/actions|" CMakeLists.txt
'';
Expand Down
23 changes: 23 additions & 0 deletions pkgs/desktops/lxqt/liblxqt/fix-application-path.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
--- a/lxqtapplication.cpp
+++ b/lxqtapplication.cpp
@@ -77,7 +77,7 @@ Application::Application(int &argc, char** argv, bool handleQuitSignals)

void Application::updateTheme()
{
- const QString styleSheetKey = QFileInfo(applicationFilePath()).fileName();
+ const QString styleSheetKey = QFileInfo(applicationFilePath()).fileName().mid(1).chopped(8);
setStyleSheet(lxqtTheme.qss(styleSheetKey));
Q_EMIT themeChanged();
}

--- a/lxqttranslator.cpp
+++ b/lxqttranslator.cpp
@@ -147,7 +147,7 @@ bool Translator::translateApplication(const QString &applicationName)
if (!applicationName.isEmpty())
return translate(applicationName);
else
- return translate(QFileInfo(QCoreApplication::applicationFilePath()).baseName());
+ return translate(QFileInfo(QCoreApplication::applicationFilePath()).baseName().mid(1).chopped(8));
}


4 changes: 2 additions & 2 deletions pkgs/development/compilers/idris2/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
# Uses scheme to bootstrap the build of idris2
stdenv.mkDerivation rec {
pname = "idris2";
version = "0.2.2";
version = "0.3.0";

src = fetchFromGitHub {
owner = "idris-lang";
repo = "Idris2";
rev = "v${version}";
sha256 = "18m483vccijfh9z6x4zgi37fql3q765x3ypkwixv3rwq9nxnd6hm";
sha256 = "0sa2lpb7n6xqfknwld9rzm4bnb6qcd0ja1n63cnc5v8wdzr8q7kh";
};

strictDeps = true;
Expand Down
1 change: 1 addition & 0 deletions pkgs/development/coq-modules/mathcomp-analysis/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ with lib; mkCoqDerivation {

meta = {
description = "Analysis library compatible with Mathematical Components";
maintainers = [ maintainers.cohencyril ];
license = licenses.cecill-c;
};
}
Loading

0 comments on commit fb6ed8a

Please sign in to comment.