Merge staging-next into staging

This commit is contained in:
github-actions[bot] 2022-12-01 06:01:59 +00:00 committed by GitHub
commit d7555c9ff2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
44 changed files with 840 additions and 920 deletions

View File

@ -213,6 +213,7 @@ in {
fluentd = handleTest ./fluentd.nix {};
fluidd = handleTest ./fluidd.nix {};
fontconfig-default-fonts = handleTest ./fontconfig-default-fonts.nix {};
freenet = handleTest ./freenet.nix {};
freeswitch = handleTest ./freeswitch.nix {};
freshrss = handleTest ./freshrss.nix {};
frr = handleTest ./frr.nix {};

19
nixos/tests/freenet.nix Normal file
View File

@ -0,0 +1,19 @@
import ./make-test-python.nix ({ pkgs, ... }: {
name = "freenet";
meta = with pkgs.lib.maintainers; {
maintainers = [ nagy ];
};
nodes = {
machine = { ... }: {
services.freenet.enable = true;
};
};
testScript = ''
machine.wait_for_unit("freenet.service")
machine.wait_for_open_port(8888)
machine.wait_until_succeeds("curl -sfL http://localhost:8888/ | grep Freenet")
machine.succeed("systemctl stop freenet")
'';
})

View File

@ -8,7 +8,7 @@
, freetype
, glib
, gtk3
, jdk
, jdk17
, libX11
, libXrender
, libXtst
@ -46,7 +46,7 @@
freetype
glib
gtk3
jdk
jdk17
libX11
libXrender
libXtst
@ -92,8 +92,8 @@
ln -s $out/Applications/DBeaver.app/Contents/MacOS/dbeaver $out/bin/dbeaver
wrapProgram $out/Applications/DBeaver.app/Contents/MacOS/dbeaver \
--prefix JAVA_HOME : ${jdk.home} \
--prefix PATH : ${jdk}/bin
--prefix JAVA_HOME : ${jdk17.home} \
--prefix PATH : ${jdk17}/bin
runHook postInstall
'' else ''
@ -107,7 +107,7 @@
patchelf --set-interpreter $interpreter $out/dbeaver/dbeaver
makeWrapper $out/dbeaver/dbeaver $out/bin/dbeaver \
--prefix PATH : ${jdk}/bin \
--prefix PATH : ${jdk17}/bin \
--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath ([ glib gtk3 libXtst webkitgtk_4_1 glib-networking ])} \
--prefix GIO_EXTRA_MODULES : "${glib-networking}/lib/gio/modules" \
--prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH"

View File

@ -6,16 +6,16 @@
buildGoModule rec {
pname = "process-compose";
version = "0.24.1";
version = "0.28.0";
src = fetchFromGitHub {
owner = "F1bonacc1";
repo = pname;
rev = "v${version}";
sha256 = "TKLLq6I+Mcvdz51m8nydTWcslBcQlJCJFoJ10SgfVWU=";
sha256 = "7UVCGyFay0yQAcO1NKb1+vsNqX1v9Hf5NUgjnHlgnG0=";
};
ldflags = [ "-X main.version=v${version}" ];
ldflags = [ "-s" "-w" "-X main.version=v${version}" ];
nativeBuildInputs = [ installShellFiles ];
@ -37,6 +37,5 @@ buildGoModule rec {
homepage = "https://github.com/F1bonacc1/process-compose";
license = licenses.asl20;
maintainers = with maintainers; [ thenonameguy ];
mainProgram = "process-compose";
};
}

View File

@ -2,13 +2,13 @@
buildGoModule rec {
pname = "argocd";
version = "2.5.2";
version = "2.5.3";
src = fetchFromGitHub {
owner = "argoproj";
repo = "argo-cd";
rev = "v${version}";
sha256 = "sha256-xiqxCYGSpsREZyylWJCIbFPPr3jISxD0wS/L/P77BF8=";
sha256 = "sha256-cL1QV0D8m8rqSDuQgsYBPY7n5K2dy9s9c8VRx65+SV0=";
};
proxyVendor = true; # darwin/linux hash mismatch

View File

@ -2,13 +2,13 @@
buildGoModule rec {
pname = "cilium-cli";
version = "0.12.9";
version = "0.12.10";
src = fetchFromGitHub {
owner = "cilium";
repo = pname;
rev = "v${version}";
sha256 = "sha256-8SrAxPj4vW5+Je/VaYh30fABTmusWuOUUYQ/DDa7iUI=";
sha256 = "sha256-XDz98mMIRmzKTEsmhxMjcSoTfKwqTX4ekjrOnTzAGyk=";
};
vendorSha256 = null;

View File

@ -1,17 +1,17 @@
{ lib, buildGoModule, fetchFromGitHub, installShellFiles }:
{ lib, buildGoModule, fetchFromGitHub, installShellFiles, testers, clusterctl }:
buildGoModule rec {
pname = "clusterctl";
version = "1.2.6";
version = "1.2.7";
src = fetchFromGitHub {
owner = "kubernetes-sigs";
repo = "cluster-api";
rev = "v${version}";
sha256 = "sha256-32Y4HQqODRlYLqDLUOqDwOf4Yp2xpAOPUgz8gU3TaEE=";
sha256 = "sha256-h8VZCCl28Vd2VB+enLY28t8rNbzdZo3Y4ybElNAkvKU=";
};
vendorSha256 = "sha256-jvadtm8NprVwNf4+GaaANK1u4Y4ccbsTCZxQk21GW7c=";
vendorSha256 = "sha256-hhs/q0x5Qd7S18jX4SPVFPo+fsDE9snJVkiqKD+Qp74=";
subPackages = [ "cmd/clusterctl" ];
@ -32,6 +32,12 @@ buildGoModule rec {
--zsh <($out/bin/clusterctl completion zsh)
'';
passthru.tests.version = testers.testVersion {
package = clusterctl;
command = "HOME=$TMPDIR clusterctl version";
version = "v${version}";
};
meta = with lib; {
description = "Kubernetes cluster API tool";
homepage = "https://cluster-api.sigs.k8s.io/";

View File

@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
pname = "signalbackup-tools";
version = "20221128";
version = "20221130";
src = fetchFromGitHub {
owner = "bepaald";
repo = pname;
rev = version;
sha256 = "sha256-MpYesloIFBSOcBmkbzeKia3Gt6mwGq86GqqkgowY+Vk=";
sha256 = "sha256-xz9HSqDrkPP+5L499cT7cF/S3JYpBirTUze1Apkw120=";
};
postPatch = ''

View File

@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, jdk, bash, coreutils, substituteAll }:
{ lib, stdenv, fetchurl, jdk, bash, coreutils, substituteAll, nixosTests }:
let
version = "build01494";
@ -56,6 +56,8 @@ in stdenv.mkDerivation {
dontUnpack = true;
passthru.tests = { inherit (nixosTests) freenet; };
installPhase = ''
mkdir -p $out/bin
install -Dm555 $src $out/bin/freenet

View File

@ -4,11 +4,8 @@
# often change with updating of git or cgit.
# stripLen acts as the -p parameter when applying a patch.
{ lib, fetchurl, buildPackages }:
let
# 0.3.4 would change hashes: https://github.com/NixOS/nixpkgs/issues/25154
patchutils = buildPackages.patchutils_0_3_3;
in
{ lib, fetchurl, patchutils }:
{ relative ? null
, stripLen ? 0
, extraPrefix ? null

View File

@ -1,15 +1,19 @@
{ testers, fetchpatch, ... }:
let
isFetchpatch2 = fetchpatch.version == 2;
in
{
simple = testers.invalidateFetcherByDrvHash fetchpatch {
url = "https://github.com/facebook/zstd/pull/2724/commits/e1f85dbca3a0ed5ef06c8396912a0914db8dea6a.patch";
sha256 = "sha256-PuYAqnJWAE+L9bsroOnnBGJhERW8LHrGSLtIEkKU9vg=";
sha256 = if isFetchpatch2 then "sha256-01BrkHLye4KOdqCw3tv7AJzIF6578pl2fl270TJFTmw=" else "sha256-PuYAqnJWAE+L9bsroOnnBGJhERW8LHrGSLtIEkKU9vg=";
};
relative = testers.invalidateFetcherByDrvHash fetchpatch {
url = "https://github.com/boostorg/math/commit/7d482f6ebc356e6ec455ccb5f51a23971bf6ce5b.patch";
relative = "include";
sha256 = "sha256-KlmIbixcds6GyKYt1fx5BxDIrU7msrgDdYo9Va/KJR4=";
sha256 = if isFetchpatch2 then "sha256-1TtmuKeNIl/Yp+sfzBMR8Ue78tPIgjqGgjasa5IN52o=" else "sha256-KlmIbixcds6GyKYt1fx5BxDIrU7msrgDdYo9Va/KJR4=";
};
full = testers.invalidateFetcherByDrvHash fetchpatch {
@ -19,6 +23,6 @@
extraPrefix = "foo/bar/";
excludes = [ "foo/bar/bernoulli_no_atomic_mp.cpp" ];
revert = true;
sha256 = "sha256-+UKmEbr2rIAweCav/hR/7d4ZrYV84ht/domTrHtm8sM=";
sha256 = if isFetchpatch2 then "sha256-+UKmEbr2rIAweCav/hR/7d4ZrYV84ht/domTrHtm8sM=" else "sha256-+UKmEbr2rIAweCav/hR/7d4ZrYV84ht/domTrHtm8sM=";
};
}

View File

@ -9,20 +9,19 @@
, colorVariants ? [ ]
,
}:
let
pname = "Fluent-icon-theme";
let pname = "Fluent-icon-theme";
in
lib.checkListOfEnum "${pname}: available color variants" [ "standard" "green" "grey" "orange" "pink" "purple" "red" "yellow" "teal" "all" ] colorVariants
stdenvNoCC.mkDerivation rec {
inherit pname;
version = "2022-11-05";
version = "2022-11-30";
src = fetchFromGitHub {
owner = "vinceliuice";
repo = pname;
rev = version;
sha256 = "kKl/E2L1NL1U7PHbva+wUqQGbcHFbPgZBVhU/OgEuAE=";
hash = "sha256-sxs2GrPuUoitZtiIU7SWFSLGXOTitS41MGt17TeuICE=";
};
nativeBuildInputs = [ gtk3 jdupes ];

View File

@ -3,12 +3,12 @@
let
generator = pkgsBuildBuild.buildGoModule rec {
pname = "v2ray-domain-list-community";
version = "20220921050909";
version = "20221130032508";
src = fetchFromGitHub {
owner = "v2fly";
repo = "domain-list-community";
rev = version;
sha256 = "sha256-ujslsVqUQ16LFdCwwKmY2SnoqNTRenI5cEreupt/6c4=";
sha256 = "sha256-1UkP88HGh0KBYaekskeQHkJh02veUYmATKJD/wy4erc=";
};
vendorSha256 = "sha256-CCY3CgjA1w4svzmkaI2Jt272Rrt5UOt5sbVDAWRRfzk=";
meta = with lib; {

View File

@ -7,16 +7,13 @@
openjdk17.overrideAttrs (oldAttrs: rec {
pname = "jetbrains-jdk";
version = "17.0.3-b469.37";
version = "17.0.5-b653.14";
src = fetchFromGitHub {
owner = "JetBrains";
repo = "JetBrainsRuntime";
rev = "jb${version}";
hash =
# Upstream issue: https://github.com/JetBrains/JetBrainsRuntime/issues/163
if stdenv.isDarwin then "sha256-ExRvjs53rIuhUx4oCgAqu1Av3CNAgmE1ZlN0srEh3XM="
else "sha256-O+OIDRJcIsb/vhO2+SYuYdUYWYTGkBcQ9cHTExLIFDE=";
hash = "sha256-7Nx7Y12oMfs4zeQMSfnUaDCW1xJYMEkcoTapSpmVCfU=";
};
meta = with lib; {

View File

@ -1,14 +1,24 @@
{ lib, stdenv, fetchurl, readline }:
{ lib, stdenv, fetchurl, fetchpatch, readline }:
stdenv.mkDerivation rec {
pname = "mujs";
version = "1.2.0";
version = "1.3.2";
src = fetchurl {
url = "https://mujs.com/downloads/mujs-${version}.tar.xz";
sha256 = "sha256-ZpdtHgajUnVKI0Kvc9Guy7U8x82uK2jNoBO33c+SMjM=";
sha256 = "sha256-SIZZP8aIsM3M0x5ey+Wv560b7iOqaeZnuHGv1d/GQMM=";
};
patches = lib.optionals stdenv.isDarwin [
(fetchpatch {
# ld: library not found for -l:libmujs.a
name = "darwin-failures.patch";
url = "https://git.ghostscript.com/?p=mujs.git;a=patch;h=d592c785c0b2f9fea982ac3fe7b88fdd7c4817fc";
sha256 = "sha256-/57A7S65LWZFyQIGe+LtqDMu85K1N/hbztXB+/nCDJk=";
revert = true;
})
];
buildInputs = [ readline ];
makeFlags = [ "prefix=$(out)" ];

View File

@ -136,7 +136,6 @@ stdenv.mkDerivation rec {
enableParallelBuilding = false;
meta = with lib; {
broken = stdenv.isDarwin;
description = "A programmable programming language";
longDescription = ''
Racket is a full-spectrum programming language. It goes beyond

View File

@ -11,14 +11,14 @@
stdenv.mkDerivation rec {
pname = "crypto++";
version = "8.6.0";
version = "8.7.0";
underscoredVersion = lib.strings.replaceStrings ["."] ["_"] version;
src = fetchFromGitHub {
owner = "weidai11";
repo = "cryptopp";
rev = "CRYPTOPP_${underscoredVersion}";
hash = "sha256-a3TYaK34WvKEXN7LKAfGwQ3ZL6a3k/zMZyyVfnkQqO4=";
hash = "sha256-KtZXW7+J9a4uKHnK8sqj5WVaIjG3d6tzBBDxa7Wv4AE=";
};
outputs = [ "out" "dev" ];
@ -49,11 +49,6 @@ stdenv.mkDerivation rec {
installTargets = [ "install-lib" ];
installFlags = [ "LDCONF=true" ];
# TODO: remove postInstall hook with v8.7 -> https://github.com/weidai11/cryptopp/commit/230c558a
postInstall = lib.optionalString (!stdenv.hostPlatform.isDarwin) ''
ln -sr $out/lib/libcryptopp.so.${version} $out/lib/libcryptopp.so.${lib.versions.majorMinor version}
ln -sr $out/lib/libcryptopp.so.${version} $out/lib/libcryptopp.so.${lib.versions.major version}
'';
meta = with lib; {
description = "A free C++ class library of cryptographic schemes";

View File

@ -9,42 +9,29 @@ let
# FIXME: automatically add nativeLibs based on conditions signalled
# Try to keep this list sorted
extras = {
cffi-libffi = pkg: {
nativeBuildInputs = [ libffi ];
nativeLibs = [ libffi ];
};
"cl+ssl" = pkg: {
nativeLibs = [ openssl_1_1 ];
};
"cl-ana.hdf-cffi" = pkg: {
nativeBuildInputs = [ pkgs.hdf5 ];
nativeLibs = [ pkgs.hdf5 ];
NIX_LDFLAGS = [ "-lhdf5" ];
};
cl-async-ssl = pkg: {
nativeLibs = [ openssl_1_1 ];
};
cl-cffi-gtk-glib = pkg: {
nativeLibs = [ glib ];
};
cl-cffi-gtk-cairo = pkg: {
nativeLibs = [ cairo ];
};
cl-cairo2 = pkg: {
nativeLibs = [ cairo ];
};
cl-cairo2-xlib = pkg: {
nativeLibs = [ gtk2-x11 ];
};
cl-freetype2 = pkg: {
nativeLibs = [ freetype ];
nativeBuildInputs = [ freetype ];
patches = [ ./patches/cl-freetype2-fix-grovel-includes.patch ];
};
cl-pango = pkg: {
nativeLibs = [ pango ];
};
cl-gtk2-gdk = pkg: {
nativeLibs = [ gtk2-x11 ];
};
cl-gtk2-glib = pkg: {
nativeLibs = [ glib ];
};
cl-gtk2-pango = pkg: {
nativeLibs = [ pango ];
};
cl-rsvg2 = pkg: {
nativeLibs = [ librsvg ];
};
cl-cffi-gtk-gdk = pkg: {
nativeLibs = [ gtk3 ];
};
@ -54,53 +41,66 @@ let
cl-cffi-gtk-pango = pkg: {
nativeLibs = [ pango ];
};
cl-cairo2 = pkg: {
nativeLibs = [ cairo ];
};
cl-cairo2-xlib = pkg: {
nativeLibs = [ gtk2-x11 ];
};
cl-devil = pkg: {
nativeBuildInputs = [ pkgs.libdevil ];
nativeLibs = [ pkgs.libdevil ];
};
cl-freetype2 = pkg: {
nativeLibs = [ freetype ];
nativeBuildInputs = [ freetype ];
patches = [ ./patches/cl-freetype2-fix-grovel-includes.patch ];
};
cl-glfw = pkg: {
nativeLibs = [ glfw ];
};
cl-glfw-opengl-core = pkg: {
nativeLibs = [ libGL ];
};
cl-glfw3 = pkg: {
nativeLibs = [ glfw ];
};
cl-glu = pkg: {
nativeLibs = [ libGLU ];
};
cl-glut = pkg: {
nativeLibs = [ freeglut ];
};
cl-gobject-introspection = pkg: {
nativeLibs = [ glib gobject-introspection ];
};
cl-mysql = pkg: {
nativeLibs = [ mariadb.client ];
cl-gtk2-gdk = pkg: {
nativeLibs = [ gtk2-x11 ];
};
clsql-postgresql = pkg: {
nativeLibs = [ postgresql.lib ];
cl-gtk2-glib = pkg: {
nativeLibs = [ glib ];
};
clsql-sqlite3 = pkg: {
nativeLibs = [ sqlite ];
};
cl-webkit2 = pkg: {
nativeLibs = [ webkitgtk ];
};
dbd-mysql = pkg: {
nativeLibs = [ mariadb.client ];
};
lla = pkg: {
nativeLibs = [ openblas ];
};
cffi-libffi = pkg: {
nativeBuildInputs = [ libffi ];
nativeLibs = [ libffi ];
};
cl-rabbit = pkg: {
nativeBuildInputs = [ rabbitmq-c ];
nativeLibs = [ rabbitmq-c ];
};
trivial-ssh-libssh2 = pkg: {
nativeLibs = [ libssh2 ];
};
mssql = pkg: {
nativeLibs = [ freetds ];
};
sqlite = pkg: {
nativeLibs = [ sqlite ];
};
cl-libuv = pkg: {
nativeBuildInputs = [ libuv ];
nativeLibs = [ libuv ];
cl-gtk2-pango = pkg: {
nativeLibs = [ pango ];
};
cl-liballegro = pkg: {
# build doesnt fail without this, but fails on runtime
# weird...
nativeLibs = [ allegro5 ];
};
cl-libuv = pkg: {
nativeBuildInputs = [ libuv ];
nativeLibs = [ libuv ];
};
cl-libxml2 = pkg: {
nativeLibs = [ pkgs.libxml2 ];
};
cl-libyaml = pkg: {
nativeLibs = [ pkgs.libyaml ];
};
cl-mysql = pkg: {
nativeLibs = [ mariadb.client ];
};
cl-ode = pkg: {
nativeLibs = let
ode' = ode.overrideAttrs (o: {
@ -111,68 +111,76 @@ let
});
in [ ode' ];
};
classimp = pkg: {
nativeLibs = [ assimp ];
};
sdl2 = pkg: {
nativeLibs = [ SDL2 ];
};
lispbuilder-sdl-cffi = pkg: {
nativeLibs = [ SDL ];
};
cl-opengl = pkg: {
nativeLibs = [ libGL ];
};
cl-glu = pkg: {
nativeLibs = [ libGLU ];
cl-pango = pkg: {
nativeLibs = [ pango ];
};
cl-glut = pkg: {
nativeLibs = [ freeglut ];
};
cl-glfw = pkg: {
nativeLibs = [ glfw ];
};
cl-glfw-opengl-core = pkg: {
nativeLibs = [ libGL ];
};
cl-glfw3 = pkg: {
nativeLibs = [ glfw ];
};
lev = pkg: {
nativeLibs = [ libev ];
cl-rabbit = pkg: {
nativeBuildInputs = [ rabbitmq-c ];
nativeLibs = [ rabbitmq-c ];
};
cl-rdkafka = pkg: {
nativeBuildInputs = [ rdkafka ];
nativeLibs = [ rdkafka ];
};
cl-async-ssl = pkg: {
nativeLibs = [ openssl_1_1 ];
cl-readline = pkg: {
nativeLibs = [ pkgs.readline ];
};
osicat = pkg: {
LD_LIBRARY_PATH = "${pkg}/posix/";
cl-rsvg2 = pkg: {
nativeLibs = [ librsvg ];
};
"cl-sat.glucose" = pkg: {
propagatedBuildInputs = [ pkgs.glucose ];
patches = [ ./patches/cl-sat.glucose-binary-from-PATH-if-present.patch ];
};
"cl-sat.minisat" = pkg: {
propagatedBuildInputs = [ pkgs.minisat ];
};
cl-webkit2 = pkg: {
nativeLibs = [ webkitgtk ];
};
classimp = pkg: {
nativeLibs = [ assimp ];
};
clsql-postgresql = pkg: {
nativeLibs = [ postgresql.lib ];
};
clsql-sqlite3 = pkg: {
nativeLibs = [ sqlite ];
};
dbd-mysql = pkg: {
nativeLibs = [ mariadb.client ];
};
gsll = pkg: {
nativeBuildInputs = [ pkgs.gsl ];
nativeLibs = [ pkgs.gsl ];
};
iolib = pkg: {
nativeBuildInputs = [ libfixposix ];
nativeLibs = [ libfixposix ];
systems = [ "iolib" "iolib/os" "iolib/pathnames" ];
};
"cl-ana.hdf-cffi" = pkg: {
nativeBuildInputs = [ pkgs.hdf5 ];
nativeLibs = [ pkgs.hdf5 ];
NIX_LDFLAGS = [ "-lhdf5" ];
lev = pkg: {
nativeLibs = [ libev ];
};
gsll = pkg: {
nativeBuildInputs = [ pkgs.gsl ];
nativeLibs = [ pkgs.gsl ];
lispbuilder-sdl-cffi = pkg: {
nativeLibs = [ SDL ];
};
cl-libyaml = pkg: {
nativeLibs = [ pkgs.libyaml ];
lla = pkg: {
nativeLibs = [ openblas ];
};
cl-libxml2 = pkg: {
nativeLibs = [ pkgs.libxml2 ];
mssql = pkg: {
nativeLibs = [ freetds ];
};
cl-readline = pkg: {
nativeLibs = [ pkgs.readline ];
osicat = pkg: {
LD_LIBRARY_PATH = "${pkg}/posix/";
};
png = pkg: {
nativeBuildInputs = [ pkgs.libpng ];
nativeLibs = [ pkgs.libpng ];
};
pzmq = pkg: {
nativeBuildInputs = [ pkgs.zeromq ];
@ -190,16 +198,21 @@ let
nativeBuildInputs = [ pkgs.zeromq ];
nativeLibs = [ pkgs.zeromq ];
};
sdl2 = pkg: {
nativeLibs = [ SDL2 ];
};
sqlite = pkg: {
nativeLibs = [ sqlite ];
};
trivial-package-manager = pkg: {
propagatedBuildInputs = [ pkgs.which ];
};
"cl-sat.glucose" = pkg: {
propagatedBuildInputs = [ pkgs.glucose ];
patches = [ ./patches/cl-sat.glucose-binary-from-PATH-if-present.patch ];
trivial-ssh-libssh2 = pkg: {
nativeLibs = [ libssh2 ];
};
"cl-sat.minisat" = pkg: {
propagatedBuildInputs = [ pkgs.minisat ];
zmq = pkg: {
nativeBuildInputs = [ pkgs.zeromq ];
nativeLibs = [ pkgs.zeromq ];
};
};

View File

@ -5,13 +5,13 @@
buildGoModule rec {
pname = "brev-cli";
version = "0.6.181";
version = "0.6.184";
src = fetchFromGitHub {
owner = "brevdev";
repo = pname;
rev = "v${version}";
sha256 = "sha256-p1H/aTxOK+glnjM9FsnW3jCtL6zQsH3yaZWH2BZr3ms=";
sha256 = "sha256-5IyGThotK3YVvxuy4KGV7M5DpLsSqzpiCgychGGWDX0=";
};
vendorSha256 = "sha256-uaLoh1VhJAT5liGqL77DLhAWviy5Ci8B16LuzCWuek8=";

View File

@ -1,35 +1,24 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, fetchPypi
, requests
, isodate
, docstring-parser
, colorlog
, websocket-client
, pytestCheckHook
, fetchpatch
}:
buildPythonPackage rec {
pname = "chat-downloader";
version = "0.2.0";
version = "0.2.1";
format = "setuptools";
# PyPI tarball is missing files
src = fetchFromGitHub {
owner = "xenova";
repo = "chat-downloader";
rev = "v${version}";
sha256 = "sha256-SVZyDTma6qAgmOz+QsPnudPrX1Eswtc0IKFRx1HnWLY=";
src = fetchPypi {
inherit version pname;
sha256 = "6b6d63124371dc1f89979662209aad11dc9954faf8fadb5fa73bf711ff07800d";
};
patches = [
# Remove argparse from dependencies. https://github.com/xenova/chat-downloader/pull/167
(fetchpatch {
url = "https://github.com/xenova/chat-downloader/commit/cdaca5e3a334c8db1b37bebe191d181ebdfa576c.patch";
sha256 = "sha256-AgH305dJmNRZy23lAf1h40klDE67RSwEL8o2gxX0VGA=";
})
];
propagatedBuildInputs = [
requests
isodate
@ -48,6 +37,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "A simple tool used to retrieve chat messages from livestreams, videos, clips and past broadcasts";
homepage = "https://github.com/xenova/chat-downloader";
changelog = "https://github.com/xenova/chat-downloader/releases/tag/v${version}";
license = licenses.mit;
maintainers = with maintainers; [ marsam ];
};

View File

@ -0,0 +1,61 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, hdf5
, numpy
, opencv3
, pillow
, pyaml
, pyclipper
, python-bidi
, torch
, scikitimage
, scipy
, shapely
, torchvision
, onnx
}:
buildPythonPackage rec {
pname = "easyocr";
version = "1.6.2";
src = fetchFromGitHub {
owner = "JaidedAI";
repo = "EasyOCR";
rev = "v${version}";
sha256 = "sha256-f+JBSnFMRvVlhRRiL1rJb7a0CNjZPuh6r8r3K1meQCk=";
};
postPatch = ''
substituteInPlace requirements.txt \
--replace "opencv-python-headless<=4.5.4.60" "" \
--replace "ninja" ""
'';
propagatedBuildInputs = [
scikitimage
hdf5
python-bidi
numpy
opencv3
torchvision
pillow
pyaml
pyclipper
torch
scipy
shapely
];
checkInputs = [ onnx ];
pythonImportsCheck = [ "easyocr" ];
meta = with lib; {
description = "Ready-to-use OCR with 80+ supported languages and all popular writing scripts";
homepage = "https://github.com/JaidedAI/EasyOCR";
license = licenses.asl20;
maintainers = with maintainers; [ dit7ya ];
};
}

View File

@ -26,16 +26,18 @@ buildPythonPackage rec {
checkPhase = ''
runHook preCheck
# FIXME: Some numpy regression?
# Traceback (most recent call last):
# File "/build/source/tests/manifolds/test_hyperbolic.py", line 270, in test_second_order_function_approximation
# self.run_hessian_approximation_test()
# File "/build/source/tests/manifolds/_manifold_tests.py", line 29, in run_hessian_approximation_test
# assert np.allclose(np.linalg.norm(error), 0) or (2.95 <= slope <= 3.05)
# AssertionError
rm tests/manifolds/test_hyperbolic.py
# upstream themselves seem unsure about the robustness of these
# tests - see https://github.com/pymanopt/pymanopt/issues/219
grep -lr 'test_second_order_function_approximation' tests/ | while read -r fn ; do
substituteInPlace "$fn" \
--replace \
'test_second_order_function_approximation' \
'dont_test_second_order_function_approximation'
done
nose2 tests -v
runHook postCheck
'';

View File

@ -1,51 +1,51 @@
{
version = "2.9.1";
version = "2.9.3";
linux_py_37_cpu = {
url = "https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow_cpu-2.9.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl";
sha256 = "1wpqjqx3zfyrclhs6kkqhq76kmb45h2jv2jdi89jrk8pfk3mcf2k";
url = "https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow_cpu-2.9.3-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl";
sha256 = "0p1a4dlqj7kl4a3aad33r083f5pfspc0hm0x9a3b1qvvgaldww08";
};
linux_py_38_cpu = {
url = "https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow_cpu-2.9.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl";
sha256 = "1np06xy18z8k29q8vg5a8kmvxpbcz0grjjww3hcpb4kvy9rx01sw";
url = "https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow_cpu-2.9.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl";
sha256 = "1zq39ls1asha4zkrfqvg5375mmryf20hc1fi243k8z077391ihhv";
};
linux_py_39_cpu = {
url = "https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow_cpu-2.9.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl";
sha256 = "1gy258wfgjf2f1lcpayvgx5cnncnqjcp2mj70mz50bm9mhmzl4kd";
url = "https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow_cpu-2.9.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl";
sha256 = "16gz4bcw2gvwh3264wc8a2lyfr542avhgdrnmd0pxwszqg45rkdj";
};
linux_py_310_cpu = {
url = "https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow_cpu-2.9.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl";
sha256 = "0bh5xg4wfc86q1x7ph8bvdpa3arm6kmbvd4cg3d427sywkmdsrk6";
url = "https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow_cpu-2.9.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl";
sha256 = "1a5s19x8ybncmpx8hr116bm6cvjar3b0sj8k8w2wrpxhh02sndwh";
};
linux_py_37_gpu = {
url = "https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow_gpu-2.9.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl";
sha256 = "1qsq7la0fpmk2hych7sy9k8mza1q7w05c4nmgq92cxgkmpa7d17x";
url = "https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow_gpu-2.9.3-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl";
sha256 = "03zh1fzi7s5incxghgnk4hm9m9kg989pn420g532grzj1f85x23f";
};
linux_py_38_gpu = {
url = "https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow_gpu-2.9.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl";
sha256 = "0913znz5mg6mkryi24xhz4s7rwhxbx172fsk26lxl6w6qx219pfd";
url = "https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow_gpu-2.9.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl";
sha256 = "1czajraildk4acwn3rd921wfarl1jwbnmfiwk57ijsx5s9q4d328";
};
linux_py_39_gpu = {
url = "https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow_gpu-2.9.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl";
sha256 = "01srcvpcwpgpvb9inlc2mwsmf5sj13rqb695rvm50ybkjrrac7l4";
url = "https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow_gpu-2.9.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl";
sha256 = "0rk1ii9dqi856bgm596igbragvcwk3799cz05x6gyjkixdkbk5jj";
};
linux_py_310_gpu = {
url = "https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow_gpu-2.9.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl";
sha256 = "19g93jig1x389ybc25ifsh1grrsghn3w2xgk029289432bnlpzp4";
url = "https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow_gpu-2.9.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl";
sha256 = "1q6pf6140qza16p1yxw2z3n7ndfq3by2k6wc45lhpx4bl1vs7my7";
};
mac_py_37_cpu = {
url = "https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-2.9.1-cp37-cp37m-macosx_10_14_x86_64.whl";
sha256 = "0b2hirjhqw4jl75h0ik1a9hgbkkq0b3gj4wkkp9vb6mi4116gxxi";
url = "https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-2.9.3-cp37-cp37m-macosx_10_14_x86_64.whl";
sha256 = "05y3y18ggnrfzrcrzkxkb3djbhsm8001s1l1nmvvv9zq8v02b6hp";
};
mac_py_38_cpu = {
url = "https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-2.9.1-cp38-cp38-macosx_10_14_x86_64.whl";
sha256 = "0da6csvldvxg47r932wbx5z6w3hf1d107p9blayzrjchdwhqs16z";
url = "https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-2.9.3-cp38-cp38-macosx_10_14_x86_64.whl";
sha256 = "0qgzqdfv4q5bl6hd932jd6zfp47abva59nyrgxw19kiz0gzq3lw9";
};
mac_py_39_cpu = {
url = "https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-2.9.1-cp39-cp39-macosx_10_14_x86_64.whl";
sha256 = "1fa0nf4pj5sl5shifaahr8n30q86k6hdsg0qwvan0hyg75fh9bc1";
url = "https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-2.9.3-cp39-cp39-macosx_10_14_x86_64.whl";
sha256 = "1zjvjyvz0lshvqf5sc80bxkdwnk8b43abwmzsm9m6dyl8waj5d5r";
};
mac_py_310_cpu = {
url = "https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-2.9.1-cp310-cp310-macosx_10_14_x86_64.whl";
sha256 = "0baq0djx8vhn8d75wyf82m6iqgfxwcrgg4xcvlr20m4x9bmysxrc";
url = "https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-2.9.3-cp310-cp310-macosx_10_14_x86_64.whl";
sha256 = "0pncslab7m9d89syaad7n3fgxygkr07d5prir225a42kym8slni8";
};
}

View File

@ -9,7 +9,7 @@
, termcolor, grpcio, six, wrapt, protobuf-python, tensorflow-estimator
, dill, flatbuffers-python, portpicker, tblib, typing-extensions
# Common deps
, git, pybind11, which, binutils, glibcLocales, cython, perl
, git, pybind11, which, binutils, glibcLocales, cython, perl, coreutils
# Common libraries
, jemalloc, mpi, gast, grpc, sqlite, boringssl, jsoncpp, nsync
, curl, snappy, flatbuffers-core, lmdb-core, icu, double-conversion, libpng, libjpeg_turbo, giflib, protobuf-core
@ -76,7 +76,7 @@ let
tfFeature = x: if x then "1" else "0";
version = "2.10.0";
version = "2.10.1";
variant = if cudaSupport then "-gpu" else "";
pname = "tensorflow${variant}";
@ -190,7 +190,7 @@ let
owner = "tensorflow";
repo = "tensorflow";
rev = "v${version}";
hash = "sha256-Y6cujiMoQXKQlsLBr7d0T278ltdd00IfsTRycJbRVN4=";
hash = "sha256-AYHUtJEXYZdVDigKZo7mQnV+PDeQg8mi45YH18qXHZA=";
};
# On update, it can be useful to steal the changes from gentoo
@ -236,6 +236,8 @@ let
# arbitrarily set to the current latest bazel version, overly careful
TF_IGNORE_MAX_BAZEL_VERSION = true;
LIBTOOL = lib.optionalString stdenv.isDarwin "${cctools}/bin/libtool";
# Take as many libraries from the system as possible. Keep in sync with
# list of valid syslibs in
# https://github.com/tensorflow/tensorflow/blob/master/third_party/systemlibs/syslibs_configure.bzl
@ -308,6 +310,7 @@ let
postPatch = ''
# bazel 3.3 should work just as well as bazel 3.1
rm -f .bazelversion
patchShebangs .
'' + lib.optionalString (!withTensorboard) ''
# Tensorboard pulls in a bunch of dependencies, some of which may
# include security vulnerabilities. So we make it optional.
@ -367,15 +370,14 @@ let
dontAddBazelOpts = true;
fetchAttrs = {
# cudaSupport causes fetch of ncclArchive, resulting in different hashes
sha256 = if cudaSupport then
"sha256-KtVReqHL3zxE8TPrqIerSOt59Mgke/ftoFZKMzgX/u8="
else
if stdenv.isDarwin then
# FIXME: this checksum is currently wrong, since the tensorflow dependency fetch is broken on darwin
"sha256-j2k9Q+k41nq5nP1VjjkkNjXRov1uAda4RCMDMAthjr0="
else
"sha256-zH3xNFEU2JR0Ww8bpD4mCiorGtao0WVPP4vklVMgS4A=";
sha256 = {
x86_64-linux = if cudaSupport
then "sha256-SudzMTxfifKJJso6haCgOD2dXeAhYSXHA2nzq1ErTHg="
else "sha256-bwZwK24DlUevN5gIdKmBkq1dJpn0i2H4hq+IN77BzjE=";
aarch64-linux = "sha256-ZbCNZSHF9of+KGTNEqFdKQ44MVNto/rTyo2XEsKXISg=";
x86_64-darwin = "sha256-/qPUDgfKsWCZh/pgZM4wm9+4U9U5kxxv7q3Uh7zKSO4=";
aarch64-darwin = "sha256-u+ODHAZDlGe06PUWId4sNKyl60vhAPMd01jMm2EvN8E=";
}.${stdenv.hostPlatform.system} or (throw "unsupported system ${stdenv.hostPlatform.system}");
};
buildAttrs = {
@ -422,7 +424,7 @@ let
license = licenses.asl20;
maintainers = with maintainers; [ jyp abbradar ];
platforms = with platforms; linux ++ darwin;
broken = !(xlaSupport -> cudaSupport);
broken = !(xlaSupport -> cudaSupport) || (stdenv.hostPlatform.system == "x86_64-darwin");
} // lib.optionalAttrs stdenv.isDarwin {
timeout = 86400; # 24 hours
maxSilent = 14400; # 4h, double the default of 7200s

View File

@ -1,6 +1,6 @@
#!/usr/bin/env bash
version="2.9.1"
version="2.9.3"
bucket="https://storage.googleapis.com/tensorflow"

View File

@ -5,13 +5,13 @@
buildGoModule rec {
pname = "cirrus-cli";
version = "0.91.0";
version = "0.92.0";
src = fetchFromGitHub {
owner = "cirruslabs";
repo = pname;
rev = "v${version}";
sha256 = "sha256-nJd7azn42IqIx8CXL7RHJFAZUaN0uq4FumHL3uGIx9U=";
sha256 = "sha256-q6hpsyZZep8IERYh7/oVcCQdgc/s6HufiuE4oNPBaZc=";
};
vendorSha256 = "sha256-Llq6siZn34sHsZFneT+MLXf2W9cXqi4DZwrH1R5laOY=";

View File

@ -1,32 +1,45 @@
{ stdenv, lib, rustPlatform, fetchFromGitHub, makeWrapper, cargo-watch, zig, Security }:
{ lib
, rustPlatform
, fetchFromGitHub
, makeWrapper
, stdenv
, Security
, cargo-watch
, zig
}:
rustPlatform.buildRustPackage rec {
pname = "cargo-lambda";
version = "0.12.0";
version = "0.13.0";
src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = "v${version}";
sha256 = "sha256-SgA2eKXZIPWbyJkopk8E9rTgkUWl6LWP2dw2fn3H8qc=";
sha256 = "sha256-JwrTwCn4qXcjXjy4cPYM3WCblJS0J5Xxnc6WESMwCpU=";
};
cargoSha256 = "sha256-rTVc8zzbzLzP0LV8h7IWE1S+ZqDVfnO18iT0CrOrI9A=";
cargoSha256 = "sha256-p3q5S6IFQQgNp/MHGSUE1DVLFyMLWDTv/dxrUACKSWo=";
nativeBuildInputs = [ makeWrapper ];
buildInputs = lib.optionals stdenv.isDarwin [ Security ];
nativeBuildInputs = [ makeWrapper ];
checkFlags = [
# Disabled because it accesses the network.
"--skip=test_download_example"
];
# remove date from version output to make reproducible
postPatch = ''
rm crates/cargo-lambda-cli/build.rs
'';
postInstall = ''
wrapProgram $out/bin/cargo-lambda --prefix PATH : ${lib.makeBinPath [ cargo-watch zig ]}
'';
checkFlags = [
# Disabled because it accesses the network.
"--skip test_download_example"
# Disabled because it makes assumptions about the file system.
"--skip test_target_dir_from_env"
];
CARGO_LAMBDA_BUILD_INFO = "(nixpkgs)";
meta = with lib; {
description = "A Cargo subcommand to help you work with AWS Lambda";

View File

@ -10,16 +10,16 @@
rustPlatform.buildRustPackage rec {
pname = "cargo-release";
version = "0.23.1";
version = "0.24.0";
src = fetchFromGitHub {
owner = "crate-ci";
repo = "cargo-release";
rev = "v${version}";
sha256 = "sha256-C5m1mRpkMCeR4TCbaFvH+5Jyko9RGP9OMi+HJx5AIZg=";
sha256 = "sha256-+sMlbihareVn//TaCTEMU0iDnboneRhb8FcPmY0Q04A=";
};
cargoSha256 = "sha256-Nuc/kJdAOX1SDynZQNTvq7QJq1kYD/6TuEYonUhPVuU=";
cargoSha256 = "sha256-MqS8jSjukZfD86onInFZJOtI5ntNmpb/tvwAil2rAZA=";
nativeBuildInputs = [ pkg-config ];

View File

@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
pname = "zsa-udev-rules";
version = "2.1.3";
version = "unstable-2022-10-26";
src = fetchFromGitHub {
owner = "zsa";
repo = "wally";
rev = "${version}-linux";
sha256 = "mZzXKFKlO/jAitnqzfvmIHp46A+R3xt2gOhVC3qN6gM=";
rev = "623a50d0e0b90486e42ad8ad42b0a7313f7a37b3";
hash = "sha256-meR2V7T4hrJFXFPLENHoAgmOILxxynDBk0BLqzsAZvQ=";
};
# Only copies udevs rules

View File

@ -2,7 +2,7 @@
buildGoModule rec {
pname = "consul";
version = "1.14.1";
version = "1.14.2";
rev = "v${version}";
# Note: Currently only release tags are supported, because they have the Consul UI
@ -17,7 +17,7 @@ buildGoModule rec {
owner = "hashicorp";
repo = pname;
inherit rev;
sha256 = "sha256-iitwWFtgz4juqNFa6d6c+OzVo227gOOyWSwz+4cDgsc=";
sha256 = "sha256-fSEQZ+F3b8l1F/80A4hDPHE7kZMPARQXt/PJg/m4Srw=";
};
passthru.tests.consul = nixosTests.consul;
@ -26,7 +26,7 @@ buildGoModule rec {
# has a split module structure in one repo
subPackages = ["." "connect/certgen"];
vendorSha256 = "sha256-hECWi+jWfrmIqzsWQSoWxohGbF9Hcg2ZkBHBaTrjK+U=";
vendorSha256 = "sha256-4tidE6LKYhi8ilM08Rn3F5snhxebdgOOeSrIIkXZ384=";
doCheck = false;

View File

@ -5,17 +5,17 @@
buildGoModule rec {
pname = "node_exporter";
version = "1.4.0";
version = "1.5.0";
rev = "v${version}";
src = fetchFromGitHub {
inherit rev;
owner = "prometheus";
repo = "node_exporter";
sha256 = "sha256-KO33Cyrc4Oh6vvTMazo5iuekpyxNsi18gIb66Z8B9i4=";
sha256 = "sha256-jzgf7XVqtqHf5Uqkcr/0epC0R0fw7l7acr+F8jZ6M68=";
};
vendorSha256 = "sha256-eJbb56U6VStwfi6iSemWrriDYNaPiDegW3KJr8rH1NU=";
vendorSha256 = "sha256-k4Wolrp/mebwA6ZLftCNVFOdHoXHcJZI9JWrhBxX5Pk=";
# FIXME: tests fail due to read-only nix store
doCheck = false;

View File

@ -31,6 +31,7 @@ with pkgs;
fetchurl = callPackages ../build-support/fetchurl/tests.nix { };
fetchpatch = callPackages ../build-support/fetchpatch/tests.nix { };
fetchpatch2 = callPackages ../build-support/fetchpatch/tests.nix { fetchpatch = fetchpatch2; };
fetchzip = callPackages ../build-support/fetchzip/tests.nix { };
fetchgit = callPackages ../build-support/fetchgit/tests.nix { };
fetchFirefoxAddon = callPackages ../build-support/fetchfirefoxaddon/tests.nix { };

View File

@ -1,12 +1,12 @@
{ lib, stdenv, fetchFromGitHub, jre, makeWrapper, ant, jdk }:
stdenv.mkDerivation rec {
version = "1.2.1";
version = "1.6.3";
pname = "jugglinglab";
src = fetchFromGitHub {
owner = "jkboyce";
repo = "jugglinglab";
rev = "1908012682d8c39a9b92248a20f285455104c510"; # v1.2.1 does not have a tag on Github
sha256 = "0dvcyjwynvapqbjchrln59vdskrm3w6kh0knxcn4bx61vcz3171z";
rev = "v${version}";
sha256 = "sha256-Gq8V7gLl9IakQi7xaK8TCI/B2+6LlLjoLdcv9zlalIE=";
};
buildInputs = [ jre ];
nativeBuildInputs = [ ant jdk makeWrapper ];
@ -15,14 +15,20 @@ stdenv.mkDerivation rec {
installPhase = ''
mkdir -p "$out/bin"
mkdir -p "$out/lib"
cp bin/JugglingLab.jar $out/lib/
cp bin/*.jar $out/lib/
# copied from the upstream shell wrapper
classpath=$out/lib/JugglingLab.jar:$out/lib/commons-math3-3.6.1.jar:$out/lib/protobuf.jar:$out/lib/com.google.ortools.jar
makeWrapper ${jre}/bin/java $out/bin/jugglinglab \
--add-flags "-jar $out/lib/JugglingLab.jar"
--add-flags "-cp $classpath" \
--add-flags "-Xss2048k -Djava.library.path=ortools-lib" \
--add-flags jugglinglab.JugglingLab
'';
meta = with lib; {
description = "A program to visualize different juggling pattens";
homepage = "https://jugglinglab.org/";
license = licenses.gpl2;
maintainers = with maintainers; [ wnklmnn ];
platforms = platforms.all;

View File

@ -10,16 +10,16 @@
rustPlatform.buildRustPackage rec {
pname = "topgrade";
version = "10.2.0";
version = "10.2.1";
src = fetchFromGitHub {
owner = "topgrade-rs";
repo = "topgrade";
rev = "v${version}";
sha256 = "sha256-gIRK0ZMDivyQ1nUF3QU5tQYy/2RsNKMOuKNr42tJNVM=";
sha256 = "sha256-ljjbTqFhDDHqyA+UzqxICAM9YI1U0fI6J864o9ee6kg=";
};
cargoSha256 = "sha256-wgPafGFi5wPsFS1Ya4Dg/lq5tEtf9vfzR6EGXo3veEg=";
cargoSha256 = "sha256-PezSEd2/98us2KPNPTmVIuPlWcRIWF7TUuT/m4df1Fs=";
nativeBuildInputs = [ installShellFiles ];
@ -28,6 +28,12 @@ rustPlatform.buildRustPackage rec {
NIX_CFLAGS_COMPILE = lib.optionals stdenv.isDarwin [ "-framework" "AppKit" ];
postInstall = ''
installShellCompletion --cmd topgrade \
--bash <($out/bin/topgrade --gen-completion bash) \
--fish <($out/bin/topgrade --gen-completion fish) \
--zsh <($out/bin/topgrade --gen-completion zsh)
$out/bin/topgrade --gen-manpage > topgrade.8
installManPage topgrade.8
'';

View File

@ -0,0 +1,24 @@
{ lib
, buildGoModule
, fetchFromSourcehut
}:
buildGoModule rec {
pname = "undocker";
version = "1.0.3";
src = fetchFromSourcehut {
owner = "~motiejus";
repo = pname;
rev = "v${version}";
hash = "sha256-SmtM25sijcm5NF0ZrSqrRQDXiLMNp8WGAZX9yKvj1rQ=";
};
vendorHash = "sha256-pQpattmS9VmO3ZIQUFn66az8GSmB4IvYhTTCFn6SUmo=";
meta = with lib; {
homepage = "https://git.sr.ht/~motiejus/undocker";
description = "A CLI tool to convert a Docker image to a flattened rootfs tarball";
license = licenses.mit;
maintainers = with maintainers; [ jordanisaacs ];
};
}

View File

@ -1,20 +1,19 @@
# This file was generated by go2nix.
{ lib, buildGoPackage, fetchFromGitHub }:
{ lib, buildGoModule, fetchFromGitHub }:
buildGoPackage rec {
buildGoModule rec {
pname = "gx-go";
version = "1.9.0";
goPackagePath = "github.com/whyrusleeping/gx-go";
version = "unstable-2020-03-03";
src = fetchFromGitHub {
owner = "whyrusleeping";
repo = pname;
rev = "refs/tags/v${version}";
sha256 = "0fdy4b3ymqw6hzvvjwq37mfrdmizc8lxm53axw93n3x6118na9jc";
rev = "9c30fadeac4aee8346d28c36d6bd5063da3d189a";
hash = "sha256-lrfAyqAyRnhyw9dPURM1NeFIJW/Zug53ThZiwa89z2M=";
};
goDeps = ./deps.nix;
vendorHash = "sha256-A3jZYu7+LGCukzlrxgIPmnkcxSoWm5YJZmFG3hliMm4=";
ldflags = [ "-s" "-w" ];
meta = with lib; {
description = "A tool for importing go packages into gx";

View File

@ -1,246 +0,0 @@
# This file was generated by https://github.com/kamilchm/go2nix v1.3.0
[
{
goPackagePath = "github.com/btcsuite/btcd";
fetch = {
type = "git";
url = "https://github.com/btcsuite/btcd";
rev = "67e573d211ace594f1366b4ce9d39726c4b19bd0";
sha256 = "04s92gsy71w1jirlr5lkk9y6r5cparbas7nmf6ywbp7kq7fn8ajn";
};
}
{
goPackagePath = "github.com/gogo/protobuf";
fetch = {
type = "git";
url = "https://github.com/gogo/protobuf";
rev = "07eab6a8298cf32fac45cceaac59424f98421bbc";
sha256 = "1l2v9yq74qsiq3q7kii091rzx67jx6isz5szs27hyhsdwvy0y2p7";
};
}
{
goPackagePath = "github.com/gxed/hashland";
fetch = {
type = "git";
url = "https://github.com/gxed/hashland";
rev = "d9f6b97f8db22dd1e090fd0bbbe98f09cc7dd0a8";
sha256 = "1q23y4lacsz46k9gmgfw4iwwydw36j2601rbidmmswl94grpc386";
};
}
{
goPackagePath = "github.com/ipfs/go-ipfs-api";
fetch = {
type = "git";
url = "https://github.com/ipfs/go-ipfs-api";
rev = "b4fd7838d9771414868cb78fa8c4f97e47cad013";
sha256 = "1kb0ja6bji9q1ly66hx3490mjmk3w56zpwl9c0pkfy6da9x4dkyr";
};
}
{
goPackagePath = "github.com/ipfs/go-ipfs-files";
fetch = {
type = "git";
url = "https://github.com/ipfs/go-ipfs-files";
rev = "90d206a6f3947f904673ebffd376a2dcbbd84942";
sha256 = "0bq6lciqba362lqmszjf1x33qwdpfrfik6r680iqr5c4sybywzqv";
};
}
{
goPackagePath = "github.com/kr/fs";
fetch = {
type = "git";
url = "https://github.com/kr/fs";
rev = "1455def202f6e05b95cc7bfc7e8ae67ae5141eba";
sha256 = "11zg176x9hr9q7fsk95r6q0wf214gg4czy02slax4x56n79g6a7q";
};
}
{
goPackagePath = "github.com/libp2p/go-flow-metrics";
fetch = {
type = "git";
url = "https://github.com/libp2p/go-flow-metrics";
rev = "7e5a55af485341567f98d6847a373eb5ddcdcd43";
sha256 = "1p87iyk6q6f3g3xkncssx400qlld8f2z93qiz8m1f97grfyhjif1";
};
}
{
goPackagePath = "github.com/libp2p/go-libp2p-crypto";
fetch = {
type = "git";
url = "https://github.com/libp2p/go-libp2p-crypto";
rev = "3120e9f9526fe05f2d3905961a5e0701b85579d9";
sha256 = "05i8jcfmk51zln634x782jvjmmn5l11104ylzqfnjxgjibz9pyd7";
};
}
{
goPackagePath = "github.com/libp2p/go-libp2p-metrics";
fetch = {
type = "git";
url = "https://github.com/libp2p/go-libp2p-metrics";
rev = "2d5733beaa2a9fdd05ef696d7a734aa61549fb2a";
sha256 = "1g59z1mn483npmzgdyxn5w7w1k94phi5lgqkw3lq8i1b2jdy5mci";
};
}
{
goPackagePath = "github.com/libp2p/go-libp2p-peer";
fetch = {
type = "git";
url = "https://github.com/libp2p/go-libp2p-peer";
rev = "d3df4bca884d7a9c2d350c8120240db3c2b0f2ee";
sha256 = "0hn75dnr80f846jj38bpcjw5z73iw292ygcqsfbghvdrwl2pf5xm";
};
}
{
goPackagePath = "github.com/libp2p/go-libp2p-protocol";
fetch = {
type = "git";
url = "https://github.com/libp2p/go-libp2p-protocol";
rev = "b29f3d97e3a2fb8b29c5d04290e6cb5c5018004b";
sha256 = "1xgjfnx9zcqglg9li29wdqywsp8hz22wx6phns9zscni2jsfidld";
};
}
{
goPackagePath = "github.com/minio/blake2b-simd";
fetch = {
type = "git";
url = "https://github.com/minio/blake2b-simd";
rev = "3f5f724cb5b182a5c278d6d3d55b40e7f8c2efb4";
sha256 = "0b6jbnj62c0gmmfd4zdmh8xbg01p80f13yygir9xprqkzk6fikmd";
};
}
{
goPackagePath = "github.com/minio/sha256-simd";
fetch = {
type = "git";
url = "https://github.com/minio/sha256-simd";
rev = "51976451ce1942acbb55707a983ed232fa027110";
sha256 = "0kaxvpidf6ygkkb06vi95pirll31jnmywhyalfjvf7djhim2wr8f";
};
}
{
goPackagePath = "github.com/mitchellh/go-homedir";
fetch = {
type = "git";
url = "https://github.com/mitchellh/go-homedir";
rev = "ae18d6b8b3205b561c79e8e5f69bff09736185f4";
sha256 = "0f0z0aa4wivk4z1y503dmnw0k0g0g403dly8i4q263gfshs82sbq";
};
}
{
goPackagePath = "github.com/mr-tron/base58";
fetch = {
type = "git";
url = "https://github.com/mr-tron/base58";
rev = "c8897612421d88a51012eaa53bf7267686173ae5";
sha256 = "10lr50ia7xccfdvg772f7nb2azn81djcpnckhblhwq6l6a1fpm48";
};
}
{
goPackagePath = "github.com/multiformats/go-multiaddr";
fetch = {
type = "git";
url = "https://github.com/multiformats/go-multiaddr";
rev = "ec8630b6b7436b5d7f6c1c2366d3d7214d1b29e2";
sha256 = "1npx4d3scj087a54m6my2xnd0wga8bkklswnbhzghwhhpsgmy800";
};
}
{
goPackagePath = "github.com/multiformats/go-multiaddr-net";
fetch = {
type = "git";
url = "https://github.com/multiformats/go-multiaddr-net";
rev = "f0af4033635f1241179700537dacdc04f2803df8";
sha256 = "0s90ix09mm6dc8319l48g3zhnjl1mkih168wsdh6fdf73801lhg5";
};
}
{
goPackagePath = "github.com/multiformats/go-multihash";
fetch = {
type = "git";
url = "https://github.com/multiformats/go-multihash";
rev = "a91e75d03bf4dba801af7b159c8b2aa7b5f47ea8";
sha256 = "1xvj944qg17vmdgzhyn5qryqrksyxi1q188f91my52wfkz23qmmm";
};
}
{
goPackagePath = "github.com/sabhiram/go-gitignore";
fetch = {
type = "git";
url = "https://github.com/sabhiram/go-gitignore";
rev = "d3107576ba9425fc1c85f4b3569c4631b805a02e";
sha256 = "1rdwyxgcsiwgmlqnc3k6h300mzlvjc3j21np4yh1h476wc8dvl0l";
};
}
{
goPackagePath = "github.com/spaolacci/murmur3";
fetch = {
type = "git";
url = "https://github.com/spaolacci/murmur3";
rev = "f09979ecbc725b9e6d41a297405f65e7e8804acc";
sha256 = "1lv3zyz3jy2d76bhvvs8svygx66606iygdvwy5cwc0p5z8yghq25";
};
}
{
goPackagePath = "github.com/urfave/cli";
fetch = {
type = "git";
url = "https://github.com/urfave/cli";
rev = "b67dcf995b6a7b7f14fad5fcb7cc5441b05e814b";
sha256 = "0n5vq4nydlhb7w12jiwphvxqdy4jwpxc3zwlxyhf05lq1nxfb56h";
};
}
{
goPackagePath = "github.com/whyrusleeping/gx";
fetch = {
type = "git";
url = "https://github.com/whyrusleeping/gx";
rev = "733691bc18c0858a3d7e1a6e0a42df7d0bcac1de";
sha256 = "0pfx2p59xdbmqzfbgaf8xvlnzh8m05hkg596glq5kvl8ib65i4ha";
};
}
{
goPackagePath = "github.com/whyrusleeping/progmeter";
fetch = {
type = "git";
url = "https://github.com/whyrusleeping/progmeter";
rev = "f3e57218a75b913eff88d49a52c1debf9684ea04";
sha256 = "0xs8rz6yhpvj9512c5v3b8dwr2kivywnyyfxzdfbr6fy1xc8zskb";
};
}
{
goPackagePath = "github.com/whyrusleeping/stump";
fetch = {
type = "git";
url = "https://github.com/whyrusleeping/stump";
rev = "206f8f13aae1697a6fc1f4a55799faf955971fc5";
sha256 = "1s40qdppjnk8gijk7x6kbviiqz62nz3h6gic2q9cwcmq8r5isw7n";
};
}
{
goPackagePath = "github.com/whyrusleeping/tar-utils";
fetch = {
type = "git";
url = "https://github.com/whyrusleeping/tar-utils";
rev = "8c6c8ba81d5c71fd69c0f48dbde4b2fb422b6dfc";
sha256 = "14jjdw3yics0k467xsyk388684wdpi0bbx8nqj0y4pqxa0s0in6s";
};
}
{
goPackagePath = "golang.org/x/crypto";
fetch = {
type = "git";
url = "https://go.googlesource.com/crypto";
rev = "3d3f9f413869b949e48070b5bc593aa22cc2b8f2";
sha256 = "0rbkcq48lkiw043sm8hciprqy2d77s4agpj6rwy2qgbqm8gvv3a6";
};
}
{
goPackagePath = "golang.org/x/sys";
fetch = {
type = "git";
url = "https://go.googlesource.com/sys";
rev = "ec83556a53fe16b65c452a104ea9d1e86a671852";
sha256 = "1ijlbyn5gs8g6z2pjlj5h77lg7wrljqxdls4xlcfqxmghxiyci2f";
};
}
]

View File

@ -2,16 +2,16 @@
buildGoModule rec {
pname = "nfpm";
version = "2.22.1";
version = "2.22.2";
src = fetchFromGitHub {
owner = "goreleaser";
repo = pname;
rev = "v${version}";
sha256 = "sha256-BdPY1DzF2zunhEp7Z13X3jOxhTPHHUejAe7HZSoexYk=";
sha256 = "sha256-XxRIXNu35J5v4Wl2gasR+aIxxIst6/7D5aVWzRlI4ag=";
};
vendorSha256 = "sha256-fvSA0BQQKhXxyNu0/ilNcMmTBtLm/piA4rJu6p5+8GU=";
vendorSha256 = "sha256-DUgBaHyFl7Q3EP3pX74fi+CnJN+YTysR2Kgq9+SiKwI=";
ldflags = [ "-s" "-w" "-X main.version=${version}" ];

View File

@ -6,16 +6,16 @@
buildGoModule rec {
pname = "vault";
version = "1.12.1";
version = "1.12.2";
src = fetchFromGitHub {
owner = "hashicorp";
repo = "vault";
rev = "v${version}";
sha256 = "sha256-qUCJFlnh4NIV0GH+yuOahC3arRWwPoPjVo3h881OtUY=";
sha256 = "sha256-P/mQoW4lG6U83WEjn5urpFa7q5mN+XOrIOkzf2pslwQ=";
};
vendorSha256 = "sha256-2JlnSdwXaYG2e1A67c2tt5zg5ZN37m/Wsp6WUpOtR1o=";
vendorSha256 = "sha256-Z1iwJXbnSqIu/zo7iKLnh0yy1Dh0e5HwXoBkkt9xaqA=";
subPackages = [ "." ];

View File

@ -2,7 +2,7 @@
stdenv.mkDerivation rec {
pname = "vault-bin";
version = "1.12.0";
version = "1.12.2";
src =
let
@ -16,11 +16,11 @@ stdenv.mkDerivation rec {
aarch64-darwin = "darwin_arm64";
};
sha256 = selectSystem {
x86_64-linux = "sha256-khDTpgezINAIZ8YFhOGoTSe6qzA6bkyhyX25VgcFAhU=";
aarch64-linux = "sha256-XOiuH9KmwXz8sR9FzH+wEIg0xzrMAIZaHVHf3TdJp10=";
i686-linux = "sha256-jCXQX04/Q1dHCIEcFlq60ICib/kjM8bE8ZKjF+0YPjE=";
x86_64-darwin = "sha256-fQaHI0ySer6lRdaEcNl7GN51IP+F5y/FR99Q66LQl3k=";
aarch64-darwin = "sha256-ME1u/g3l5Jqwvk9Qw4tTmbIvHOKkPMRayhRgPbZIYnA=";
x86_64-linux = "sha256-viBGcd6MmevCOKBmizzTKzcAQ93kcvg4dZE70dhy4O4=";
aarch64-linux = "sha256-2Zy96bTP3N6CFCOJgPI0DTnsAvraBlFax3TeB+j/7Yw=";
i686-linux = "sha256-PZLDSeg9d01iL6e+EoRjpXwnoA8DUwTFcKL7X3S26mw=";
x86_64-darwin = "sha256-xV6bZVpTtEIZMeMVff+hmDKK7qVkItQ0ZRC0yycxad0=";
aarch64-darwin = "sha256-K0b8O04ZSrKbuM8tu3nt2tI7FktOpqwHEpoNTWYJpm4=";
};
in
fetchzip {

View File

@ -5,16 +5,16 @@
rustPlatform.buildRustPackage rec {
pname = "automatic-timezoned";
version = "1.0.43";
version = "1.0.45";
src = fetchFromGitHub {
owner = "maxbrunet";
repo = pname;
rev = "v${version}";
sha256 = "sha256-AZkLUGFl0XMh0ZLGz+ZSB1l/0VzcuCjy6OCHGF1OT4k=";
sha256 = "sha256-Q/FekjyEgeZAhX4Ni8XcBPSto/UwXU4TD9b3yrBNIZ4=";
};
cargoSha256 = "sha256-xAp9VI9SFhQfLYIybSRU50AzekZw6eItqNcKhaY4y7A=";
cargoSha256 = "sha256-gvJRN9YGaY1mfBn8gopTW8p+7AE7JI/A/1rixWVX2tU=";
meta = with lib; {
description = "Automatically update system timezone based on location";

View File

@ -1,17 +1,17 @@
{ lib, buildGoModule, fetchFromGitHub, coreutils }:
{ lib, buildGoModule, fetchFromGitHub, coreutils, runtimeShell, testers, skeema }:
buildGoModule rec {
pname = "skeema";
version = "1.8.2";
version = "1.9.0";
src = fetchFromGitHub {
owner = "skeema";
repo = "skeema";
rev = "v${version}";
sha256 = "sha256-PyQ5nLoJl3N/ewmHTZZHRLj9WV3EsUjL6fyESc8POss=";
hash = "sha256-mzxoA5oWX94EdiapSCgyC62RCffuutWzC1YKkGfJSEU=";
};
vendorSha256 = null;
vendorHash = null;
CGO_ENABLED = 0;
@ -36,10 +36,14 @@ buildGoModule rec {
--replace /bin/echo "${coreutils}/bin/echo" \
--replace /usr/bin/printf "${coreutils}/bin/printf"
substituteInPlace internal/util/shellout_unix_test.go \
--replace /bin/echo "${coreutils}/bin/echo"
substituteInPlace internal/util/shellout_unix.go \
--replace /bin/sh "${runtimeShell}"
'';
passthru.tests.version = testers.testVersion {
package = skeema;
};
meta = with lib; {
description = "Declarative pure-SQL schema management for MySQL and MariaDB";
homepage = "https://skeema.io/";

File diff suppressed because it is too large Load Diff

View File

@ -2826,6 +2826,8 @@ self: super: with self; {
easygui = callPackage ../development/python-modules/easygui { };
easyocr = callPackage ../development/python-modules/easyocr { };
EasyProcess = callPackage ../development/python-modules/easyprocess { };
easy-thumbnails = callPackage ../development/python-modules/easy-thumbnails { };