Merge staging-next into staging

main
github-actions[bot] 2 years ago committed by GitHub
commit c9945b4333
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      pkgs/applications/version-management/git-and-tools/git-machete/default.nix
  2. 20
      pkgs/data/fonts/work-sans/default.nix
  3. 4
      pkgs/development/libraries/libkqueue/default.nix
  4. 6
      pkgs/development/libraries/microsoft_gsl/default.nix
  5. 6
      pkgs/development/python-modules/emcee/default.nix
  6. 4
      pkgs/development/python-modules/itemadapter/default.nix
  7. 4
      pkgs/development/python-modules/karton-core/default.nix
  8. 4
      pkgs/development/python-modules/rethinkdb/default.nix
  9. 1
      pkgs/development/tools/misc/libtree/default.nix
  10. 10
      pkgs/servers/invidious/lsquic.nix
  11. 7
      pkgs/tools/admin/certigo/default.nix
  12. 6
      pkgs/tools/security/yubikey-agent/default.nix

@ -12,13 +12,13 @@
buildPythonApplication rec { buildPythonApplication rec {
pname = "git-machete"; pname = "git-machete";
version = "3.9.0"; version = "3.9.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "virtuslab"; owner = "virtuslab";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-AuF4KUayMRQ2TsvjzpMHpppM+0e6igs7MrAXzGP9yp0="; sha256 = "sha256-/oX3x5F5/gV8YuRLzAviE7RM+Gen0gIypHs34iUnVOM=";
}; };
nativeBuildInputs = [ installShellFiles ]; nativeBuildInputs = [ installShellFiles ];

@ -1,23 +1,19 @@
{ lib, fetchFromGitHub }: { lib, fetchzip }:
let let
version = "1.6"; version = "2.010";
in fetchFromGitHub { in
fetchzip {
name = "work-sans-${version}"; name = "work-sans-${version}";
owner = "weiweihuanghuang"; url = "https://github.com/weiweihuanghuang/Work-Sans/archive/refs/tags/v${version}.zip";
repo = "Work-Sans";
rev = "v${version}";
postFetch = '' postFetch = ''
tar xf $downloadedFile --strip=1 mkdir -p $out/share/fonts
install -m444 -Dt $out/share/fonts/opentype/ fonts/desktop/*.otf unzip -j $downloadedFile "*/fonts/*.ttf" -d $out/share/fonts/opentype
install -m444 -Dt $out/share/fonts/truetype/ fonts/webfonts/ttf/*.ttf
install -m444 -Dt $out/share/fonts/woff/ fonts/webfonts/woff/*.woff
install -m444 -Dt $out/share/fonts/woff2/ fonts/webfonts/woff2/*.woff2
''; '';
sha256 = "01kjidk6zv80rqxapcdwhd9wxzrjfc6lj4gkf6dwa4sskw5x3b8a"; sha256 = "sha256-S4O5EoKY4w/p+MHeHRCmPyQRAOUfEwNiETxMgNcsrws=";
meta = with lib; { meta = with lib; {
description = "A grotesque sans"; description = "A grotesque sans";

@ -2,13 +2,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "libkqueue"; pname = "libkqueue";
version = "2.6.0"; version = "2.6.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "mheily"; owner = "mheily";
repo = "libkqueue"; repo = "libkqueue";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-qh1r95A/ngg4KWSVYlC8ldv2ClV+rRPNcJDH+aAGxHs="; sha256 = "sha256-YKKBHOxjUS7+/ib4gcR7EYjjVOwhHVksYasLhErdV8s=";
}; };
nativeBuildInputs = [ cmake ]; nativeBuildInputs = [ cmake ];

@ -3,7 +3,7 @@
, fetchFromGitHub , fetchFromGitHub
, cmake , cmake
, gtest , gtest
, fetchurl , fetchpatch
, pkg-config , pkg-config
}: }:
@ -20,9 +20,9 @@ stdenv.mkDerivation rec {
patches = [ patches = [
# Search for GoogleTest via pkg-config first, ref: https://github.com/NixOS/nixpkgs/pull/130525 # Search for GoogleTest via pkg-config first, ref: https://github.com/NixOS/nixpkgs/pull/130525
(fetchurl { (fetchpatch {
url = "https://github.com/microsoft/GSL/commit/f5cf01083baf7e8dc8318db3648bc6098dc32d67.patch"; url = "https://github.com/microsoft/GSL/commit/f5cf01083baf7e8dc8318db3648bc6098dc32d67.patch";
sha256 = "sha256-uouv35crtly8kYhKyvMyZkqwTKt1jXC6dZjw4sQ6uv0="; sha256 = "sha256-HJxG87nVFo1CGNivCqt/JhjTj2xLzQe8bF5Km7/KG+Y=";
}) })
]; ];

@ -8,13 +8,13 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "emcee"; pname = "emcee";
version = "3.1.1"; version = "3.1.2";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "dfm"; owner = "dfm";
repo = pname; repo = pname;
rev = "v${version}"; rev = "refs/tags/v${version}";
sha256 = "0q9dj7mihjjkcy6famzwhz1xcxxzzvm00n01w4bbm66ax9zvis52"; sha256 = "sha256-MguhnLLo1zeNuMca8vWpxwysh9YJDD+IzvGQDbScK2M=";
}; };
SETUPTOOLS_SCM_PRETEND_VERSION = version; SETUPTOOLS_SCM_PRETEND_VERSION = version;

@ -6,14 +6,14 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "itemadapter"; pname = "itemadapter";
version = "0.5.0"; version = "0.6.0";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
hash = "sha256-BbanndMaepk9+y6Dhqkcl+O4xs8otyVT6AjmJeC4fCA="; hash = "sha256-Px9g69bJGwAiKCDzi/USaqSaj7bkZ9NR8DZEIflToV0=";
}; };
# Infinite recursion with Scrapy # Infinite recursion with Scrapy

@ -8,13 +8,13 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "karton-core"; pname = "karton-core";
version = "4.4.0"; version = "4.4.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "CERT-Polska"; owner = "CERT-Polska";
repo = "karton"; repo = "karton";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
sha256 = "sha256-TwTq44l/Nx+FQ6tFZHat4SPGOmHSwYfg7ShbGnxpkVw="; sha256 = "sha256-smgKrFexuL0bgt/1Ikm1tpSGPJNJm7Ko68iZn3AQw5E=";
}; };
propagatedBuildInputs = [ minio redis ]; propagatedBuildInputs = [ minio redis ];

@ -7,11 +7,11 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "rethinkdb"; pname = "rethinkdb";
version = "2.4.8"; version = "2.4.9";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "9f75a72bcd899ab0f6b0677873b89fba99c512bc7895eb5fbc1dc9a228b8aaee"; sha256 = "sha256-dV8I9xdTWlXAUSj2vmwoJI+pr/JningWqrh+H59YFcE=";
}; };
propagatedBuildInputs = [ six setuptools ]; propagatedBuildInputs = [ six setuptools ];

@ -1,7 +1,6 @@
{ lib { lib
, stdenv , stdenv
, fetchFromGitHub , fetchFromGitHub
, fetchpatch
, binutils , binutils
, chrpath , chrpath
, cmake , cmake

@ -1,9 +1,11 @@
{ lib, boringssl, stdenv, fetchgit, fetchFromGitHub, cmake, zlib, perl, libevent }: { lib, boringssl, stdenv, fetchgit, fetchFromGitHub, cmake, zlib, perl, libevent, gcc10Stdenv, buildGoModule }:
let let
versions = builtins.fromJSON (builtins.readFile ./versions.json); versions = builtins.fromJSON (builtins.readFile ./versions.json);
buildGoModuleGcc10 = buildGoModule.override { stdenv = gcc10Stdenv; };
# lsquic requires a specific boringssl version (noted in its README) # lsquic requires a specific boringssl version (noted in its README)
boringssl' = boringssl.overrideAttrs (old: { boringssl' = (boringssl.overrideAttrs (old: {
version = versions.boringssl.rev; version = versions.boringssl.rev;
src = fetchgit { src = fetchgit {
url = "https://boringssl.googlesource.com/boringssl"; url = "https://boringssl.googlesource.com/boringssl";
@ -14,7 +16,9 @@ let
# Use /etc/ssl/certs/ca-certificates.crt instead of /etc/ssl/cert.pem # Use /etc/ssl/certs/ca-certificates.crt instead of /etc/ssl/cert.pem
./use-etc-ssl-certs.patch ./use-etc-ssl-certs.patch
]; ];
}); })).override {
buildGoModule = buildGoModuleGcc10;
};
in in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "lsquic"; pname = "lsquic";

@ -1,4 +1,4 @@
{ lib, buildGoModule, fetchFromGitHub }: { lib, stdenv, buildGoModule, fetchFromGitHub }:
buildGoModule rec { buildGoModule rec {
pname = "certigo"; pname = "certigo";
@ -13,6 +13,11 @@ buildGoModule rec {
vendorSha256 = "sha256-qS/tIi6umSuQcl43SI4LyL0k5eWfRWs7kVybRPGKcbs="; vendorSha256 = "sha256-qS/tIi6umSuQcl43SI4LyL0k5eWfRWs7kVybRPGKcbs=";
# Go running under Hydra Darwin x86_64 picks CHAPOLY instead of AES-GCM as
# the default TLS ciphersuite, and breaks the arguably flakey `TestConnect`
# test.
doCheck = !(stdenv.isDarwin && stdenv.isx86_64);
meta = with lib; { meta = with lib; {
description = "A utility to examine and validate certificates in a variety of formats"; description = "A utility to examine and validate certificates in a variety of formats";
homepage = "https://github.com/square/certigo"; homepage = "https://github.com/square/certigo";

@ -1,4 +1,4 @@
{ stdenv, lib, fetchFromGitHub, buildGoModule, libnotify, makeWrapper, pcsclite, pkg-config, darwin }: { stdenv, lib, fetchFromGitHub, buildGoModule, libnotify, pcsclite, pkg-config, darwin }:
buildGoModule rec { buildGoModule rec {
pname = "yubikey-agent"; pname = "yubikey-agent";
@ -15,7 +15,7 @@ buildGoModule rec {
lib.optional stdenv.isLinux (lib.getDev pcsclite) lib.optional stdenv.isLinux (lib.getDev pcsclite)
++ lib.optional stdenv.isDarwin (darwin.apple_sdk.frameworks.PCSC); ++ lib.optional stdenv.isDarwin (darwin.apple_sdk.frameworks.PCSC);
nativeBuildInputs = [ makeWrapper pkg-config ]; nativeBuildInputs = lib.optionals stdenv.isLinux [ pkg-config ];
postPatch = lib.optionalString stdenv.isLinux '' postPatch = lib.optionalString stdenv.isLinux ''
substituteInPlace main.go --replace 'notify-send' ${libnotify}/bin/notify-send substituteInPlace main.go --replace 'notify-send' ${libnotify}/bin/notify-send
@ -27,6 +27,8 @@ buildGoModule rec {
subPackages = [ "." ]; subPackages = [ "." ];
ldflags = [ "-s" "-w" "-X main.Version=${version}" ];
postInstall = lib.optionalString stdenv.isLinux '' postInstall = lib.optionalString stdenv.isLinux ''
mkdir -p $out/lib/systemd/user mkdir -p $out/lib/systemd/user
substitute contrib/systemd/user/yubikey-agent.service $out/lib/systemd/user/yubikey-agent.service \ substitute contrib/systemd/user/yubikey-agent.service $out/lib/systemd/user/yubikey-agent.service \

Loading…
Cancel
Save