Merge master into staging-next

This commit is contained in:
github-actions[bot] 2022-07-27 06:01:18 +00:00 committed by GitHub
commit 7dca425a79
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 52 additions and 13 deletions

View File

@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, pkg-config, openssl, libbsd, libuuid, libmd, zlib, ncurses }:
{ lib, stdenv, fetchurl, pkg-config, openssl, libbsd, libuuid, libossp_uuid, libmd, zlib, ncurses }:
stdenv.mkDerivation rec {
pname = "got";
@ -11,7 +11,8 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ pkg-config ];
buildInputs = [ openssl libbsd libuuid libmd zlib ncurses ];
buildInputs = [ openssl libbsd libuuid libmd zlib ncurses ]
++ lib.optionals stdenv.isDarwin [ libossp_uuid ];
doInstallCheck = true;
@ -34,7 +35,7 @@ stdenv.mkDerivation rec {
'';
homepage = "https://gameoftrees.org";
license = licenses.isc;
platforms = platforms.linux;
platforms = platforms.linux ++ platforms.darwin;
maintainers = with maintainers; [ abbe ];
};
}

View File

@ -2,16 +2,16 @@
buildGoModule rec {
pname = "golangci-lint";
version = "1.46.2";
version = "1.47.2";
src = fetchFromGitHub {
owner = "golangci";
repo = "golangci-lint";
rev = "v${version}";
sha256 = "sha256-7sDAwWz+qoB/ngeH35tsJ5FZUfAQvQsU6kU9rUHIHMk=";
sha256 = "sha256-ttxRVmv1Z/NOjzVN7izBJm5xQWdSAm/jTzw0klFzyck=";
};
vendorSha256 = "sha256-w38OKN6HPoz37utG/2QSPMai55IRDXCIIymeMe6ogIU=";
vendorSha256 = "sha256-zIsvXtyC3wjfoKcOJ1MG/KSGApuVlvuHDYDmbmGEgTc=";
doCheck = false;
@ -20,7 +20,11 @@ buildGoModule rec {
nativeBuildInputs = [ installShellFiles ];
ldflags = [
"-s" "-w" "-X main.version=${version}" "-X main.commit=v${version}" "-X main.date=19700101-00:00:00"
"-s"
"-w"
"-X main.version=${version}"
"-X main.commit=v${version}"
"-X main.date=19700101-00:00:00"
];
postInstall = ''

View File

@ -0,0 +1,33 @@
{ fetchFromGitHub
, lib
, rustPlatform }:
let
# Constants
pname = "cargo-profiler";
owner = "svenstaro";
# Version-specific variables
version = "0.2.0";
rev = "0a8ab772fd5c0f1579e4847c5d05aa443ffa2bc8";
sha256 = "sha256-ZRAbvSMrPtgaWy9RwlykQ3iiPxHCMh/tS5p67/4XqqA=";
cargoSha256 = "sha256-qt3S6ZcLEP9ZQoP5+kSQdmBlxdMgGUqLszdU7JkFNVI=";
inherit (rustPlatform) buildRustPackage;
in buildRustPackage rec {
inherit pname version;
src = fetchFromGitHub {
inherit owner rev sha256;
repo = pname;
};
inherit cargoSha256;
meta = with lib; {
description = "Cargo subcommand for profiling Rust binaries";
homepage = "https://github.com/svenstaro/cargo-profiler";
license = licenses.mit;
maintainers = with maintainers; [ lucperkins ];
};
}

View File

@ -7,8 +7,8 @@ let
in
buildNodejs {
inherit enableNpm;
version = "18.6.0";
sha256 = "0k05phvlpwf467sbaxcvdzr4ncclm9fpldml8fbfrjigl4rhr2sz";
version = "18.7.0";
sha256 = "sha256-iDSjPJLf5rqJA+ZxXK6qJd/0ZX5wPFTNBuwRNJPiw8I=";
patches = [
./disable-darwin-v8-system-instrumentation.patch
];

View File

@ -24,11 +24,11 @@ assert withRest -> withJson;
stdenv.mkDerivation rec {
pname = "freeradius";
version = "3.0.25";
version = "3.2.0";
src = fetchurl {
url = "ftp://ftp.freeradius.org/pub/freeradius/freeradius-server-${version}.tar.gz";
hash = "sha256-SIOmi7PO5GAlNZqXwWkc5lXour/W3DwCHQDhCaL/TBA=";
hash = "sha256-QtGgoC7CrxRyjcdoySHUeAC8gwP0FyIetvMvBCNbBDE=";
};
nativeBuildInputs = [ autoreconfHook ];

View File

@ -13,8 +13,8 @@
let
sha256 = "1yglnmwspdncqmy5x0zc0g43bfm4597zfmwfvs7qkalv1pprf0s3";
# specVersion taken from: https://www.linode.com/docs/api/openapi.yaml at `info.version`.
specVersion = "4.130.0";
specSha256 = "0qwydx6bsbi37135zmwm8vx1yzwa5gyi8bz1zsvkd64wjv79yra1";
specVersion = "4.132.0";
specSha256 = "0r0l23bvaj406xam7hglfx637cxja3g2vqdqx3x0ag7jfhg0s3k5";
spec = fetchurl {
url = "https://raw.githubusercontent.com/linode/linode-api-docs/v${specVersion}/openapi.yaml";
sha256 = specSha256;

View File

@ -14231,6 +14231,7 @@ with pkgs;
inherit (darwin.apple_sdk.frameworks) Security;
};
cargo-play = callPackage ../development/tools/rust/cargo-play { };
cargo-profiler = callPackage ../development/tools/rust/cargo-profiler {};
cargo-raze = callPackage ../development/tools/rust/cargo-raze {
inherit (darwin.apple_sdk.frameworks) Security;
};