Merge master into staging-next

This commit is contained in:
github-actions[bot] 2021-05-27 01:17:56 +00:00 committed by GitHub
commit ffa8e995ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
27 changed files with 312 additions and 78 deletions

View File

@ -8727,6 +8727,12 @@
githubId = 221121;
name = "Robert P. Seaton";
};
rraval = {
email = "ronuk.raval@gmail.com";
github = "rraval";
githubId = 373566;
name = "Ronuk Raval";
};
rszibele = {
email = "richard@szibele.com";
github = "rszibele";

View File

@ -436,7 +436,7 @@
</para>
<programlisting>
TMPDIR=$(mktemp -d)
slaptest -f /path/to/slapd.conf $TMPDIR
slaptest -f /path/to/slapd.conf -F $TMPDIR
slapcat -F $TMPDIR -n0 -H 'ldap:///???(!(objectClass=olcSchemaConfig))'
</programlisting>
<para>

View File

@ -0,0 +1,79 @@
{ lib
, stdenv
, fetchFromGitHub
, nix-update-script
, meson
, ninja
, gettext
, python3
, desktop-file-utils
, rustPlatform
, pkg-config
, glib
, libhandy
, gtk3
, openssl
, alsaLib
, libpulseaudio
, wrapGAppsHook
}:
stdenv.mkDerivation rec {
pname = "spot";
version = "0.1.14";
src = fetchFromGitHub {
owner = "xou816";
repo = "spot";
rev = version;
sha256 = "eHhbm1amTx3ngqsP32uDEdrhrBeurMftg5SToTQGX9o=";
};
cargoDeps = rustPlatform.fetchCargoTarball {
inherit src;
name = "${pname}-${version}";
hash = "sha256-jY7pWoY9IJi5hHVRS1gQKb+Vmfc+wxHvoAwupOtXXQs=";
};
nativeBuildInputs = [
gettext
meson
ninja
pkg-config
python3 # for meson postinstall script
gtk3 # for gtk-update-icon-cache
glib # for glib-compile-schemas
desktop-file-utils
rustPlatform.rust.cargo
rustPlatform.cargoSetupHook
rustPlatform.rust.rustc
wrapGAppsHook
];
buildInputs = [
glib
gtk3
libhandy
openssl
alsaLib
libpulseaudio
];
postPatch = ''
chmod +x build-aux/cargo.sh
patchShebangs build-aux/cargo.sh build-aux/meson/postinstall.py
'';
passthru = {
updateScript = nix-update-script {
attrPath = pname;
};
};
meta = with lib; {
description = "Native Spotify client for the GNOME desktop";
homepage = "https://github.com/xou816/spot";
license = licenses.mit;
maintainers = with maintainers; [ jtojnar ];
};
}

View File

@ -1,15 +0,0 @@
Subject: Prevent "-dirty" from being erroneously added to the version
diff --git a/src/Makefile.am b/src/Makefile.am
index d36d1a3..00048fc 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -28,7 +28,7 @@ always:
# Always rebuild because .git/HEAD is a symbolic ref one can't depend on
StellarCoreVersion.h: always
@vers=$$(cd "$(srcdir)" \
- && git describe --always --dirty --tags 2>/dev/null \
+ && git describe --always --tags 2>/dev/null \
|| echo "$(PACKAGE) $(VERSION)"); \
echo "#define STELLAR_CORE_VERSION \"$$vers\"" > $@~
@if cmp -s $@~ $@; then rm -f $@~; else \

View File

@ -1,31 +1,30 @@
{ lib, stdenv, fetchgit, autoconf, libtool, automake, pkg-config, git
, bison, flex, postgresql }:
{ lib, stdenv, fetchFromGitHub, autoconf, libtool, automake, pkg-config, git
, bison, flex, postgresql, ripgrep }:
let
stdenv.mkDerivation rec {
pname = "stellar-core";
version = "0.5.1";
version = "17.0.0";
in stdenv.mkDerivation {
name = "${pname}-${version}";
src = fetchgit {
url = "https://github.com/stellar/stellar-core.git";
rev = "refs/tags/v${version}";
sha256 = "0ldw3qr0sajgam38z2w2iym0214ial6iahbzx3b965cw92n8n88z";
src = fetchFromGitHub {
owner = "stellar";
repo = pname;
rev = "v${version}";
sha256 = "1ngl8yjqb8xzhdwzlxzzxf14q2hgwy2ysb17sn5380rrn0jswin1";
fetchSubmodules = true;
leaveDotGit = true;
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ autoconf automake libtool git ];
nativeBuildInputs = [ automake autoconf git libtool pkg-config ripgrep ];
propagatedBuildInputs = [ bison flex postgresql ];
patches = [ ./stellar-core-dirty-version.patch ];
preConfigure = ''
# Due to https://github.com/NixOS/nixpkgs/issues/8567 we cannot rely on
# having the .git directory present, so directly provide the version
substituteInPlace src/Makefile.am --replace '$$vers' '${pname} ${version}';
# Everything needs to be staged in git because the build uses
# `git ls-files` to search for source files to compile.
git init
git add .
./autogen.sh

View File

@ -6,13 +6,13 @@
stdenv.mkDerivation rec {
pname = "gcstar";
version = "1.7.2";
version = "1.7.3";
src = fetchFromGitLab {
owner = "Kerenoc";
repo = "GCstar";
rev = "v${version}";
sha256 = "1vqfff33sssvlvsva1dflggmwl00j5p64sn1669f9wrbvjkxgpv4";
sha256 = "1hah8ijh9mvcgbh36y3d3s6y79mzz27w24f2i29qllv7cayf6129";
};
nativeBuildInputs = [ wrapGAppsHook ];
@ -23,7 +23,8 @@ stdenv.mkDerivation rec {
DateCalc
DateTimeFormatStrptime
Glib
Gtk2
Gtk3
Gtk3SimpleList
GD
GDGraph
GDText

View File

@ -42,13 +42,13 @@
stdenv.mkDerivation rec {
pname = "polybar";
version = "3.5.5";
version = "3.5.6";
src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = version;
sha256 = "sha256-oRtTm5bXdL0C2WJsaK8H2Oc40DPWgAfjP7FgIHrpKGI=";
sha256 = "sha256-Uvj9V2M/uQxyziTx1hecrcaQZECijlpVmWcUeT+PqrI=";
fetchSubmodules = true;
};

View File

@ -440,10 +440,10 @@
"owner": "DeterminateSystems",
"provider-source-address": "registry.terraform.io/DeterminateSystems/hydra",
"repo": "terraform-provider-hydra",
"rev": "v0.1.1",
"sha256": "093al7crxgjimy4nnxvb1xy9p7yc0c7gf2rgvql7y3y3n8bz5q1b",
"rev": "v0.1.2",
"sha256": "1a1ah5pzng9ik8f18kqx87fdh1c5wqbn2bsbhqrzd1nb8fc5xl03",
"vendorSha256": null,
"version": "0.1.1"
"version": "0.1.2"
},
"ibm": {
"owner": "IBM-Cloud",

View File

@ -16,7 +16,7 @@ buildGoPackage rec {
owner = "containerd";
repo = "containerd";
rev = "v${version}";
sha256 = "sha256-1u+H/gJaQhltf/pq7uaAPEUlQ5R6ZByall2neNkon8s=";
sha256 = "sha256-jVyg+fyMuDnV/TM0Z2t+Cr17a6XBv11aWijhsqMnA5s=";
};
goPackagePath = "github.com/containerd/containerd";

View File

@ -18,11 +18,11 @@
stdenv.mkDerivation rec {
pname = "hitori";
version = "3.38.1";
version = "3.38.2";
src = fetchurl {
url = "mirror://gnome/sources/hitori/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "Ar0sQh1OIYAmVxToVL0S79PG0Vbd8h95599gAR1OQYQ=";
sha256 = "wmQ1cwN/ansW6SCK7e6GkQJvCBq6qhYJQu21LwkCnKw=";
};
nativeBuildInputs = [

View File

@ -2,12 +2,12 @@
stdenv.mkDerivation rec {
pname = "clojure";
version = "1.10.3.839";
version = "1.10.3.849";
src = fetchurl {
# https://clojure.org/releases/tools
url = "https://download.clojure.org/install/clojure-tools-${version}.tar.gz";
sha256 = "sha256-nf8Vd60Opobj3gUPyYohQTzkG1G4kW9wWdBKRUba9+c=";
sha256 = "sha256-0bHb6FsCZP1LdxY21+hz6lF+ka9N0yoIHUWVd+zc7wg=";
};
nativeBuildInputs = [
@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
makeWrapper
];
# See https://github.com/clojure/brew-install/blob/1.10.1/src/main/resources/clojure/install/linux-install.sh
# See https://github.com/clojure/brew-install/blob/1.10.3/src/main/resources/clojure/install/linux-install.sh
installPhase =
let
binPath = lib.makeBinPath [ rlwrap jdk ];
@ -34,6 +34,7 @@ stdenv.mkDerivation rec {
echo "Installing clojure and clj into $bin_dir"
substituteInPlace clojure --replace PREFIX $out
substituteInPlace clj --replace BINDIR $bin_dir
install -Dm755 clojure "$bin_dir/clojure"
install -Dm755 clj "$bin_dir/clj"

View File

@ -1,10 +1,10 @@
{ self, callPackage, lib }:
callPackage ./default.nix {
inherit self;
version = "2.0.5-2020-12-28";
rev = "56c04accf975bff2519c34721dccbbdb7b8e6963";
version = "2.0.5-2021-05-17";
rev = "44684fa71d8af6fa8b3051c7d763bbfdcf7915d7";
isStable = true;
sha256 = "0mmx7dy843iqdpyxxdfks860np0311gg58gi4zczx10h62y6jacm";
sha256 = "049d3l0miv4n0cnm35ml8flrb9vs12zvbda2743vypckymidliqp";
extraMeta = { # this isn't precise but it at least stops the useless Hydra build
platforms = with lib; filter (p: p != "aarch64-linux")
(platforms.linux ++ platforms.darwin);

View File

@ -1,8 +1,8 @@
{ self, callPackage }:
callPackage ./default.nix {
inherit self;
version = "2.1.0-2020-12-28";
rev = "65378759f38bb946e40f31799992434effd01bba";
version = "2.1.0-2021-05-22";
rev = "5783ba1bf73c53ca56e64ed0c462c62224f0393c";
isStable = false;
sha256 = "1h78gydlrmvkdrql4ra5a3xr78iiq12bfmny6kiq65v1jbk8f19g";
sha256 = "1j25xnbradks58lwsqnxcc7k29wsk2hnky0b1vjzpadrj0sxxc42";
}

View File

@ -65,10 +65,9 @@ stdenv.mkDerivation rec {
cairo
lcms
curl
nss
] ++ lib.optionals qt5Support [
qtbase
] ++ lib.optionals utils [
nss
] ++ lib.optionals introspectionSupport [
gobject-introspection
];

View File

@ -15,7 +15,7 @@ buildPythonPackage rec {
checkPhase = ''
pushd tests
py.test ./.
py.test -Wignore::DeprecationWarning ./.
popd
'';

View File

@ -3,6 +3,7 @@
, python
, pythonOlder
, fetchFromGitLab
, fetchpatch
, substituteAll
, bubblewrap
, exiftool
@ -49,6 +50,12 @@ buildPythonPackage rec {
./executable-name.patch
# hardcode path to mat2 executable
./tests.patch
# remove for next release
(fetchpatch {
name = "fix-tests-ffmpeg-4.4.patch";
url = "https://0xacab.org/jvoisin/mat2/-/commit/c9be50f968212b01f8d8ad85e59e19c3e67d8578.patch";
sha256 = "0895dkv6575ps3drdfnli15cggx27n9irjx0axigrm4ql4ma0648";
})
];
postPatch = ''

View File

@ -1,16 +1,17 @@
{ lib
, buildPythonPackage
, fetchPypi
, pytest
, pytestCheckHook
, pythonOlder
, libsodium
, cffi
, six
, hypothesis
}:
buildPythonPackage rec {
pname = "pynacl";
version = "1.4.0";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit version;
@ -18,15 +19,22 @@ buildPythonPackage rec {
sha256 = "01b56hxrbif3hx8l6rwz5kljrgvlbj7shmmd2rjh0hn7974a5sal";
};
checkInputs = [ pytest hypothesis ];
buildInputs = [ libsodium ];
propagatedBuildInputs = [ cffi six ];
buildInputs = [
libsodium
];
propagatedBuildInputs = [
cffi
];
checkInputs = [
hypothesis
pytestCheckHook
];
SODIUM_INSTALL = "system";
checkPhase = ''
py.test
'';
pythonImportsCheck = [ "nacl" ];
meta = with lib; {
maintainers = with maintainers; [ va1entin ];

View File

@ -1,25 +1,94 @@
{ buildPythonPackage, fetchPypi, lib, urllib3, pyee, tqdm, websockets, appdirs }:
{ lib
, appdirs
, buildPythonPackage
, fetchFromGitHub
, fetchpatch
, poetry-core
, pyee
, pytest-xdist
, pytestCheckHook
, pythonOlder
, syncer
, tqdm
, urllib3
, websockets
}:
buildPythonPackage rec {
pname = "pyppeteer";
version = "0.2.5";
disabled = pythonOlder "3.6";
format = "pyproject";
src = fetchPypi {
inherit pname version;
sha256 = "c2974be1afa13b17f7ecd120d265d8b8cd324d536a231c3953ca872b68aba4af";
src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = version;
sha256 = "1hl4rw8j5yiak0d34vx1l1blr8125bscjd8m46a5m8xzm98csjc7";
};
# tests want to write to /homeless-shelter
doCheck = false;
nativeBuildInputs = [
poetry-core
];
propagatedBuildInputs = [
appdirs
websockets
tqdm
pyee
tqdm
urllib3
websockets
];
checkInputs = [
syncer
pytest-xdist
pytestCheckHook
];
patches = [
# Switch to poetry-core, https://github.com/pyppeteer/pyppeteer/pull/262
(fetchpatch {
name = "switch-poetry-core.patch";
url = "https://github.com/pyppeteer/pyppeteer/commit/e248baebefcf262fd96f261d940e74ed49ba2df9.patch";
sha256 = "03g8n35kn2alqki37s0hf2231fk2zkr4nr1x1g2rfrhps9d6fyvw";
})
];
postPatch = ''
# https://github.com/pyppeteer/pyppeteer/pull/252
substituteInPlace pyproject.toml \
--replace 'websockets = "^8.1"' 'websockets = "*"'
'';
disabledTestPaths = [
# Requires network access
"tests/test_browser.py"
"tests/test_browser_context.py"
"tests/test_connection.py"
"tests/test_coverage.py"
"tests/test_dialog.py"
"tests/test_element_handle.py"
"tests/test_execution_context.py"
"tests/test_frame.py"
"tests/test_input.py"
"tests/test_launcher.py"
"tests/test_network.py"
"tests/test_page.py"
"tests/test_pyppeteer.py"
"tests/test_target.py"
"tests/test_tracing.py"
"tests/test_worker.py"
];
disabledTests = [
# Requires network access
"TestScreenShot"
"TestBrowserCrash"
"TestPDF"
];
pythonImportsCheck = [ "pyppeteer" ];
meta = {
description = "Headless chrome/chromium automation library (unofficial port of puppeteer)";
homepage = "https://github.com/pyppeteer/pyppeteer";

View File

@ -0,0 +1,30 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
}:
buildPythonPackage rec {
pname = "syncer";
version = "1.3.0";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "miyakogi";
repo = pname;
rev = "v${version}";
sha256 = "13y8jllix1ipkcg9lxa4nxk8kj24vivxfizf4d02cdrha9dw500v";
};
# Tests require an not maintained package (xfail)
doCheck = false;
pythonImportsCheck = [ "syncer" ];
meta = with lib; {
description = "Python async to sync converter";
homepage = "https://github.com/miyakogi/syncer";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}

View File

@ -2,16 +2,16 @@
buildGoModule rec {
pname = "fly";
version = "7.2.0";
version = "7.3.0";
src = fetchFromGitHub {
owner = "concourse";
repo = "concourse";
rev = "v${version}";
sha256 = "sha256-uKzN5h2gJqsD25ETgfYqu4ijC2b0ZLGdMGTiliFOatA=";
sha256 = "sha256-Hj6MqDTXGFuKNuG+bV154WnTR3BRnh9JcBuMecMKPY8=";
};
vendorSha256 = "sha256-2PvXylOPVA0/mIQhhKv8o65bfAxkvKP6FPunzTWwVtI=";
vendorSha256 = "sha256-30rrRkPIH0sr8koKRLs1Twe6Z55+lr9gkgUDrY+WOTw=";
doCheck = false;

View File

@ -16,6 +16,8 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ makeWrapper ];
patches = [ ./replace-i3lock.patch ];
installPhase =
let
PATH =

View File

@ -0,0 +1,14 @@
diff --git a/betterlockscreen b/betterlockscreen
index 6dd06e0..746d820 100755
--- a/betterlockscreen
+++ b/betterlockscreen
@@ -87,7 +87,7 @@ prelock() {
lock() {
#$1 image path
- i3lock \
+ i3lock-color \
-c 00000000 \
-t -i "$1" \
--timepos='x+110:h-70' \

View File

@ -8,7 +8,7 @@
stdenv.mkDerivation rec {
pname = "timescaledb";
version = "2.2.1";
version = "2.3.0";
nativeBuildInputs = [ cmake ];
buildInputs = [ postgresql openssl libkrb5 ];
@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
owner = "timescale";
repo = "timescaledb";
rev = "refs/tags/${version}";
sha256 = "1hk3yyiddhz9lxls981101malzs9b5vnw9wiiw2cxzcslkmg2gv9";
sha256 = "03k6skl3191i5jby710xr1caq85cvzbjqmqv59mfkfbvihn2zfx2";
};
cmakeFlags = [ "-DSEND_TELEMETRY_DEFAULT=OFF" "-DREGRESS_CHECKS=OFF" ]

View File

@ -0,0 +1,28 @@
{ lib, stdenv, fetchgit, autoreconfHook }:
stdenv.mkDerivation rec {
pname = "gfshare";
version = "2.0.0";
src = fetchgit {
url = "git://git.gitano.org.uk/libgfshare.git";
rev = version;
sha256 = "0s37xn9pr5p820hd40489xwra7kg3gzqrxhc2j9rnxnd489hl0pr";
};
nativeBuildInputs = [ autoreconfHook ];
doCheck = true;
outputs = [ "bin" "lib" "dev" "out" ];
meta = with lib; {
# Not the most descriptive homepage but it's what Debian and Ubuntu use
# https://packages.debian.org/sid/libgfshare2
# https://launchpad.net/ubuntu/impish/+source/libgfshare/+copyright
homepage = "https://git.gitano.org.uk/libgfshare.git/";
description = "Shamir's secret-sharing method in the Galois Field GF(2**8)";
license = licenses.mit;
platforms = platforms.all;
maintainers = [ maintainers.rraval ];
};
}

View File

@ -24,13 +24,13 @@
stdenv.mkDerivation rec {
pname = "snippetpixie";
version = "1.5.1";
version = "1.5.2";
src = fetchFromGitHub {
owner = "bytepixie";
repo = pname;
rev = version;
sha256 = "047ghk0zfmcsnbr4h2h5ar7g1sw2mnk8r2887v81dh3vf767rqg2";
sha256 = "173fm9h7lnhhbg5qbjz40g0fy60dwd2l55mdcc1j8dh73vz96pfr";
};
nativeBuildInputs = [

View File

@ -852,6 +852,8 @@ in
amidst = callPackage ../tools/games/amidst { };
gfshare = callPackage ../tools/security/gfshare { };
gobgp = callPackage ../tools/networking/gobgp { };
metapixel = callPackage ../tools/graphics/metapixel { };
@ -24199,6 +24201,8 @@ in
spectrwm = callPackage ../applications/window-managers/spectrwm { };
spot = callPackage ../applications/audio/spot { };
spotify-cli-linux = callPackage ../applications/audio/spotify-cli-linux { };
spotifyd = callPackage ../applications/audio/spotifyd {

View File

@ -8064,6 +8064,8 @@ in {
sympy = callPackage ../development/python-modules/sympy { };
syncer = callPackage ../development/python-modules/syncer { };
systembridge = callPackage ../development/python-modules/systembridge { };
systemd = callPackage ../development/python-modules/systemd {