Skip to content

Commit

Permalink
Merge master into haskell-updates
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored May 15, 2022
2 parents d386160 + bd79e92 commit 6bb10cf
Show file tree
Hide file tree
Showing 159 changed files with 1,628 additions and 1,327 deletions.
6 changes: 6 additions & 0 deletions maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
Expand Up @@ -1544,6 +1544,12 @@
githubId = 410028;
name = "Tobias Bergkvist";
};
berryp = {
email = "[email protected]";
github = "berryp";
githubId = 19911;
name = "Berry Phillips";
};
betaboon = {
email = "[email protected]";
github = "betaboon";
Expand Down
14 changes: 8 additions & 6 deletions nixos/tests/chromium.nix
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,14 @@ mapAttrs (channel: chromiumPkg: makeTest {

enableOCR = true;

machine.imports = [ ./common/user-account.nix ./common/x11.nix ];
machine.virtualisation.memorySize = 2047;
machine.test-support.displayManager.auto.user = user;
machine.environment = {
systemPackages = [ chromiumPkg ];
variables."XAUTHORITY" = "/home/alice/.Xauthority";
nodes.machine = { ... }: {
imports = [ ./common/user-account.nix ./common/x11.nix ];
virtualisation.memorySize = 2047;
test-support.displayManager.auto.user = user;
environment = {
systemPackages = [ chromiumPkg ];
variables."XAUTHORITY" = "/home/alice/.Xauthority";
};
};

testScript = let
Expand Down
6 changes: 3 additions & 3 deletions pkgs/applications/accessibility/squeekboard/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@

stdenv.mkDerivation rec {
pname = "squeekboard";
version = "1.16.0";
version = "1.17.0";

src = fetchFromGitLab {
domain = "gitlab.gnome.org";
group = "World";
owner = "Phosh";
repo = pname;
rev = "v${version}";
sha256 = "sha256-51Grkn6NSR6azTRuq1vdbDg7d3HuQQ+ZJCsM2mSrSHk=";
sha256 = "sha256-U46OQ0bXkXv6za8vUZxtbxJKqiF/X/xxJsqQGpnRIpg=";
};

cargoDeps = rustPlatform.fetchCargoTarball {
Expand All @@ -37,7 +37,7 @@ stdenv.mkDerivation rec {
cat Cargo.toml.in Cargo.deps > Cargo.toml
'';
name = "${pname}-${version}";
sha256 = "sha256-vQaiEENxaQxBGYP1br03wSkU7OGOYkJvMBUAOeb3jGk=";
sha256 = "sha256-4q8MW1n/xu538+R5ZlA+p/hd6pOQPKj7jOFwnuMc7sk=";
};

nativeBuildInputs = [
Expand Down
101 changes: 0 additions & 101 deletions pkgs/applications/audio/axoloti/default.nix

This file was deleted.

31 changes: 0 additions & 31 deletions pkgs/applications/audio/axoloti/dfu-util.nix

This file was deleted.

39 changes: 0 additions & 39 deletions pkgs/applications/audio/axoloti/libusb1.nix

This file was deleted.

14 changes: 9 additions & 5 deletions pkgs/applications/audio/sptlrx/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, buildGoModule, fetchFromGitHub, testers, sptlrx }:
{ lib, buildGoModule, fetchFromGitHub, nix-update-script, testers, sptlrx }:

buildGoModule rec {
pname = "sptlrx";
Expand All @@ -15,15 +15,19 @@ buildGoModule rec {

ldflags = [ "-s" "-w" ];

passthru.tests.version = testers.testVersion {
package = sptlrx;
# TODO Wrong version in `0.2.0`. Has been fixed upstream.
version = "v0.1.0";
passthru = {
updateScript = nix-update-script { attrPath = pname; };
tests.version = testers.testVersion {
package = sptlrx;
# TODO Wrong version in `0.2.0`. Has been fixed upstream.
version = "v0.1.0";
};
};

meta = with lib; {
description = "Spotify lyrics in your terminal";
homepage = "https://github.com/raitonoberu/sptlrx";
changelog = "https://github.com/raitonoberu/sptlrx/releases/tag/v${version}";
license = licenses.mit;
maintainers = with maintainers; [ MoritzBoehme ];
};
Expand Down
10 changes: 5 additions & 5 deletions pkgs/applications/blockchains/btcdeb/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,22 +7,22 @@

with lib;
stdenv.mkDerivation rec {
pname = "btcdeb-unstable";
version = "200806";
pname = "btcdeb";
version = "unstable-2022-04-03";

src = fetchFromGitHub {
owner = "bitcoin-core";
repo = "btcdeb";
rev = "f6708c397c64894c9f9e31bea2d22285d9462de7";
sha256 = "0qkmf89z2n7s95vhw3n9vh9dbi14zy4vqw3ffdh1w911jwm5ry3z";
rev = "3ba1ec7f4d37f7d2ff0544403465004c6e12036e";
hash = "sha256-l/PGXXX288mnoSFZ32t2Xd13dC6JCU5wDHoDxb+fcp0=";
};

nativeBuildInputs = [ pkg-config autoreconfHook ];
buildInputs = [ openssl ];

meta = {
description = "Bitcoin Script Debugger";
homepage = "https://github.com/kallewoof/btcdeb";
homepage = "https://github.com/bitcoin-core/btcdeb";
license = licenses.mit;
maintainers = with maintainers; [ akru ];
platforms = platforms.unix;
Expand Down
30 changes: 15 additions & 15 deletions pkgs/applications/blockchains/zcash/default.nix
Original file line number Diff line number Diff line change
@@ -1,18 +1,19 @@
{ rust, rustPlatform, stdenv, lib, fetchFromGitHub, fetchpatch, autoreconfHook
, makeWrapper, cargo, pkg-config, curl, coreutils, boost178, db62, hexdump
, libsodium, libevent, utf8cpp, util-linux, withDaemon ? true, withMining ? true
, withUtils ? true, withWallet ? true, withZmq ? true, zeromq
, makeWrapper, cargo, pkg-config, curl, coreutils, boost179, db62, hexdump
, libsodium, libevent, testers, utf8cpp, util-linux, withDaemon ? true
, withMining ? true, withUtils ? true, withWallet ? true, withZmq ? true, zcash
, zeromq
}:

rustPlatform.buildRustPackage.override { stdenv = stdenv; } rec {
pname = "zcash";
version = "4.7.0";
version = "5.0.0";

src = fetchFromGitHub {
owner = "zcash";
repo = "zcash";
rev = "v${version}";
sha256 = "sha256-yF+/QepSiZwsdZydWjvxDIFeFyJbJyqZmCdMyQHmrzI=";
sha256 = "sha256-5PlqFs2njqNeZgmNz0VKMWcRY5lPaF9oTsoh/uLEWi8=";
};

prePatch = lib.optionalString stdenv.isAarch64 ''
Expand All @@ -21,17 +22,10 @@ rustPlatform.buildRustPackage.override { stdenv = stdenv; } rec {
--replace "linker = \"aarch64-linux-gnu-gcc\"" ""
'';

cargoPatches = [
(fetchpatch {
url = "https://github.com/zcash/zcash/commit/61cd19a52d41d60c1987ecf269f7aa8e4d527310.diff";
sha256 = "sha256-/7T2yCSVlRN7qfFjrZlfBNMlbVHb/KRjtUBY2xFr0mo=";
})
];

cargoSha256 = "sha256-+BLfO5OnCBqQTIqMXKJdoPCRgtENa+m0WOHKG9gkdMk=";
cargoSha256 = "sha256-eRRRjUbOieRC88wf+f1jAYvqGFmogBEla67NnImicEc=";

nativeBuildInputs = [ autoreconfHook cargo hexdump makeWrapper pkg-config ];
buildInputs = [ boost178 libevent libsodium utf8cpp ]
buildInputs = [ boost179 libevent libsodium utf8cpp ]
++ lib.optional withWallet db62
++ lib.optional withZmq zeromq;

Expand All @@ -50,7 +44,7 @@ rustPlatform.buildRustPackage.override { stdenv = stdenv; } rec {

configureFlags = [
"--disable-tests"
"--with-boost-libdir=${lib.getLib boost178}/lib"
"--with-boost-libdir=${lib.getLib boost179}/lib"
"CXXFLAGS=-I${lib.getDev utf8cpp}/include/utf8cpp"
"RUST_TARGET=${rust.toRustTargetSpec stdenv.hostPlatform}"
] ++ lib.optional (!withWallet) "--disable-wallet"
Expand All @@ -63,6 +57,12 @@ rustPlatform.buildRustPackage.override { stdenv = stdenv; } rec {
# Requires hundreds of megabytes of zkSNARK parameters.
doCheck = false;

passthru.tests.version = testers.testVersion {
package = zcash;
command = "zcashd --version";
version = "v${zcash.version}";
};

postInstall = ''
wrapProgram $out/bin/zcash-fetch-params \
--set PATH ${lib.makeBinPath [ coreutils curl util-linux ]}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@

trivialBuild {
pname = "ement";
version = "unstable-2022-05-05";
version = "unstable-2022-05-14";

src = fetchFromGitHub {
owner = "alphapapa";
repo = "ement.el";
rev = "84739451afa8355360966dfa788d469d9dc4a8e3";
sha256 = "sha256-XdegBKZfoKbFaMM/l8249VD9KKC5/4gQIK6ggPcoOaE=";
rev = "961d650377f9e7440e47c36c0386e899f5b2d86b";
sha256 = "sha256-4KTSPgso7UvzCRKNFI3YaPR1t4DUwggO4KtBYLm0W4Y=";
};

packageRequires = [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
diff --git a/ement.el b/ement.el
index c9596a7..1b33045 100644
--- a/ement.el
+++ b/ement.el
@@ -682,14 +682,15 @@ can cause undesirable underlining."
diff --git a/ement-lib.el b/ement-lib.el
index f0b2738..025a191 100644
--- a/ement-lib.el
+++ b/ement-lib.el
@@ -644,14 +644,15 @@ can cause undesirable underlining."
"Return a copy of IMAGE set to MAX-WIDTH and MAX-HEIGHT.
IMAGE should be one as created by, e.g. `create-image'."
;; It would be nice if the image library had some simple functions to do this sort of thing.
Expand All @@ -24,5 +24,5 @@ index c9596a7..1b33045 100644
+ (image-property new-image :max-height) max-height)
+ new-image)))

;;;;; Reading/writing sessions

(defun ement--room-alias (room)
"Return latest m.room.canonical_alias event in ROOM."
Loading

0 comments on commit 6bb10cf

Please sign in to comment.