Merge staging-next into staging

This commit is contained in:
github-actions[bot] 2023-04-26 12:01:54 +00:00 committed by GitHub
commit 3ce5f1b230
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
108 changed files with 769 additions and 403 deletions

View file

@ -11,11 +11,11 @@
stdenv.mkDerivation rec {
pname = "ocenaudio";
version = "3.11.22";
version = "3.11.24";
src = fetchurl {
url = "https://www.ocenaudio.com/downloads/index.php/ocenaudio_debian9_64.deb?version=${version}";
sha256 = "sha256-mmPFASc2ARI1ht9SYhFsDjTkWfhxXdc2zEi5rvfanZc=";
sha256 = "sha256-3NM2jw3XvzMxLpDQAR3LZzCJXwSnQXSDoN7IK4nr4wM=";
};
nativeBuildInputs = [

View file

@ -2,7 +2,7 @@
let
pname = "erigon";
version = "2.42.0";
version = "2.43.0";
in
buildGoModule {
inherit pname version;
@ -11,11 +11,11 @@ buildGoModule {
owner = "ledgerwatch";
repo = pname;
rev = "v${version}";
sha256 = "sha256-M2u8/WKo1yZu27KjTJhJFqycCxCopJqtVQpIs9inswI=";
sha256 = "sha256-3o7vu2bA8lB1CiVaSF6YU9WjwNliQAK5AcGl82GCqFg=";
fetchSubmodules = true;
};
vendorSha256 = "sha256-Vyurf4wSN4zSDjcH8FC+OOiviiSjRVF4RId/eqFDd+c=";
vendorSha256 = "sha256-JhMefeUxo9ksyCnNsLgAhGG0Ix7kxCA/cYyiELd0H64=";
proxyVendor = true;
# Build errors in mdbx when format hardening is enabled:

View file

@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
pname = "f3d";
version = "1.3.1";
version = "2.0.0";
src = fetchFromGitHub {
owner = "f3d-app";
repo = "f3d";
rev = "v${version}";
hash = "sha256-dOpiX7xJWDKHqPLGvlgv7NHgfzyeZhJd898+KzAmD4Q=";
hash = "sha256-od8Wu8+HyQb8qTA6C4kiw5hNI2WPBs/EMt321BJDZoc=";
};
nativeBuildInputs = [ cmake ];

View file

@ -39,7 +39,7 @@
, soqt
, spaceNavSupport ? stdenv.isLinux
, swig
, vtk_8
, vtk
, wrapQtAppsHook
, wrapGAppsHook
, xercesc
@ -97,7 +97,7 @@ mkDerivation rec {
shiboken2
soqt
swig
vtk_8
vtk
xercesc
zlib
] ++ lib.optionals spaceNavSupport [

View file

@ -44,6 +44,7 @@
, libheif
, libgudev
, openexr
, desktopToDarwinBundle
, AppKit
, Cocoa
, gtk-mac-integration-gtk2
@ -84,6 +85,8 @@ in stdenv.mkDerivation (finalAttrs: {
gettext
makeWrapper
gtk-doc
] ++ lib.optionals stdenv.isDarwin [
desktopToDarwinBundle
];
buildInputs = [

View file

@ -3,7 +3,7 @@
exiv2, kactivities, kactivities-stats, karchive, kbookmarks, kconfig, kconfigwidgets,
kcoreaddons, kdbusaddons, kdsoap, kguiaddons, kdnssd, kiconthemes, ki18n, kio,
khtml, kpty, syntax-highlighting, libmtp, libssh, openexr, libtirpc,
ilmbase, openslp, phonon, qtsvg, samba, solid, gperf, taglib
ilmbase, phonon, qtsvg, samba, solid, gperf, taglib
}:
mkDerivation {
@ -16,7 +16,7 @@ mkDerivation {
buildInputs = [
exiv2 kactivities kactivities-stats karchive kbookmarks kconfig kconfigwidgets kcoreaddons
kdbusaddons kdsoap kguiaddons kdnssd kiconthemes ki18n kio khtml
kpty syntax-highlighting libmtp libssh openexr libtirpc openslp
kpty syntax-highlighting libmtp libssh openexr libtirpc
phonon qtsvg samba solid gperf taglib
];

View file

@ -8,13 +8,13 @@
stdenv.mkDerivation rec {
pname = "dunst";
version = "1.9.1";
version = "1.9.2";
src = fetchFromGitHub {
owner = "dunst-project";
repo = "dunst";
rev = "v${version}";
sha256 = "sha256-oCeC/rbI/sydcQ7Rv9feEzw2Gcl7mUde4OOv50dyUSg=";
sha256 = "sha256-8IH0WTPSaAundhYh4l7gQR66nyT38H4DstRTm+Xh+Z8=";
};
nativeBuildInputs = [ perl pkg-config which systemd makeWrapper ];

View file

@ -86,11 +86,11 @@ let
in
stdenv.mkDerivation rec {
pname = "appgate-sdp";
version = "6.1.2";
version = "6.1.3";
src = fetchurl {
url = "https://bin.appgate-sdp.com/${lib.versions.majorMinor version}/client/appgate-sdp_${version}_amd64.deb";
sha256 = "sha256-nTQDQxXWMHkHgKlr7mIlazH7kW3HJqNLrUATo4s0N1g=";
sha256 = "sha256-uk7+XBKtTGnX/bHBQttmxlu9+gKvFqu3VhzC7uIYCNQ=";
};
# just patch interpreter

View file

@ -8,16 +8,16 @@
buildGoModule rec {
pname = "kubeone";
version = "1.6.1";
version = "1.6.2";
src = fetchFromGitHub {
owner = "kubermatic";
repo = "kubeone";
rev = "v${version}";
hash = "sha256-bFkJXnz4Nm1XfQMaBWSHfCxaTbGQQwKXRd1ktZKs7hY=";
hash = "sha256-dLpe3C1gMnEyajJFPawDlTchYKA8cAy2QUAae6+7QBQ=";
};
vendorHash = "sha256-ZpTUhJyM+9e8b2EZzv4hsnV5G3HVPo6ga0pF3Ab53+A=";
vendorHash = "sha256-aCRrf/E4UVL6PwUPRRzLjD+MzL8gcNJrc2IgKKyIIHI=";
ldflags = [
"-s"

View file

@ -12,11 +12,11 @@
mkDerivation rec {
pname = "datovka";
version = "4.22.0";
version = "4.22.1";
src = fetchurl {
url = "https://gitlab.nic.cz/datovka/datovka/-/archive/v${version}/datovka-v${version}.tar.gz";
sha256 = "sha256-MM2fTONdgvCOrVlMlBgpaoaZLbuSMVG/ENOx2egug98=";
sha256 = "sha256-R18dBsfrMBcBB3EraC0tIJABwZBROFqi/fhm62IDa2g=";
};
buildInputs = [ libdatovka qmake qtbase qtsvg libxml2 qtwebsockets ];

View file

@ -39,7 +39,7 @@
stdenv.mkDerivation rec {
pname = "armcord";
version = "3.1.6";
version = "3.1.7";
src =
let
@ -48,11 +48,11 @@ stdenv.mkDerivation rec {
{
x86_64-linux = fetchurl {
url = "${base}/v${version}/ArmCord_${version}_amd64.deb";
sha256 = "sha256-xCwAkRtsFmGOIyCftjNqUsaw7/PcxSgWGqW/D1NhC5M=";
sha256 = "sha256-c0ejSivQbxpPUQ6P0YUya3q1EJ1yF4RFGur11BMwz3o=";
};
aarch64-linux = fetchurl {
url = "${base}/v${version}/ArmCord_${version}_arm64.deb";
sha256 = "sha256-ka8hwHhMVTXNS1rktTs3yXfXnyxSmRt41IE8z/ftUVc=";
sha256 = "sha256-4yqe4eIO4AxsZNYCn99KTBqjQURB+G+gpT0Q17pcEvU=";
};
}.${stdenv.hostPlatform.system} or (throw "Unsupported system: ${stdenv.hostPlatform.system}");

View file

@ -13,11 +13,11 @@
stdenv.mkDerivation rec {
pname = "appflowy";
version = "0.1.2";
version = "0.1.3";
src = fetchzip {
url = "https://github.com/AppFlowy-IO/appflowy/releases/download/${version}/AppFlowy_x86_64-unknown-linux-gnu_ubuntu-20.04.tar.gz";
sha256 = "sha256-fOPODq938ejJY4QDJawN/WFv6Ynr9pGgJPWnjWD/rQk=";
sha256 = "sha256-dZqnwROrw3ioCzUNvpklGOCr5cyjXU1Iqkp6xBdr3rA=";
stripRoot = false;
};
@ -39,7 +39,7 @@ stdenv.mkDerivation rec {
installPhase = ''
runHook preInstall
cd AppFlowy/
cd AppFlowy_x86_64-unknown-linux-gnu_ubuntu-20.04/AppFlowy/
mkdir -p $out/opt/
mkdir -p $out/bin/

View file

@ -7,33 +7,24 @@
, libuuid
, openjdk
, gperftools
, gtest
, uhdm
, antlr4
, flatbuffers
, fetchpatch
, capnproto
}:
stdenv.mkDerivation rec {
pname = "surelog";
version = "1.45";
version = "1.57";
src = fetchFromGitHub {
owner = "chipsalliance";
repo = pname;
rev = "v${version}";
hash = "sha256-/SSKcEIhmWDOKN4v3djWTwZ5/nQvR8ibflzSVFDt/rM=";
fetchSubmodules = true;
hash = "sha256-Gty0OSNG5Nonyw7v2KiKP51LhiugMY7uqI6aJ6as0SQ=";
};
# This prevents race conditions in unit tests that surface since we run
# ctest in parallel.
# This patch can be removed with the next version of surelog
patches = [
(fetchpatch {
url = "https://github.com/chipsalliance/Surelog/commit/9a54efbd156becf65311a4272104810f36041fa6.patch";
sha256 = "sha256-rU1Z/0wlVTgnPLqTN/87n+gI1iJ+6k/+sunVVd0ulhQ=";
name = "parallel-test-running.patch";
})
];
nativeBuildInputs = [
cmake
pkg-config
@ -42,16 +33,25 @@ stdenv.mkDerivation rec {
psutil
orderedmultidict
]))
gtest
antlr4
];
buildInputs = [
libuuid
gperftools
flatbuffers
uhdm
capnproto
antlr4.runtime.cpp
];
cmakeFlags = [
"-DSURELOG_USE_HOST_FLATBUFFERS=On"
"-DSURELOG_USE_HOST_UHDM=On"
"-DSURELOG_USE_HOST_GTEST=On"
"-DSURELOG_USE_HOST_ANTLR=On"
"-DANTLR_JAR_LOCATION=${antlr4.jarLocation}"
];
doCheck = true;
@ -62,16 +62,11 @@ stdenv.mkDerivation rec {
runHook postCheck
'';
postInstall = ''
mv $out/lib/surelog/* $out/lib/
mv $out/lib/pkg $out/lib/surelog/
'';
meta = {
description = "SystemVerilog 2017 Pre-processor, Parser, Elaborator, UHDM Compiler";
homepage = "https://github.com/chipsalliance/Surelog";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ matthuszagh ];
platforms = lib.platforms.linux;
platforms = lib.platforms.all;
};
}

View file

@ -3,56 +3,39 @@
, fetchFromGitHub
, cmake
, python3
, capnproto
, gtest
, fetchpatch
}:
stdenv.mkDerivation rec {
pname = "UHDM";
version = "1.45";
version = "1.57";
src = fetchFromGitHub {
owner = "chipsalliance";
repo = pname;
rev = "v${version}";
hash = "sha256-mxQRmI8yUUrSUYa4kUT9URgfqYvuz3V9e1IGjtiHyhc=";
fetchSubmodules = true;
hash = "sha256-z3vURlKXCW5W2naVwJjBXcn94u80JsBxlUOIy9ylsJw=";
};
# Add ability to use local googletest provided from nix instead of
# the version from the submodule in third_party/. The third_party/ version
# is slightly older and does not work with our hydra Darwin builds that needs
# to set a particular temp directory.
# This patch allows to choose UHDM_USE_HOST_GTEST=On in the cflags.
patches = [
(fetchpatch {
url = "https://github.com/chipsalliance/UHDM/commit/ad60fdb65a7c49fdc8ee3fffdca791f9364af4f5.patch";
sha256 = "sha256-IkwnepWWmBychJ0mu+kaddUEc9jkldIRq+GyJkhrO8A=";
name = "allow-local-gtest.patch";
})
];
nativeBuildInputs = [
cmake
];
buildInputs = [
(python3.withPackages (p: with p; [ orderedmultidict ]))
gtest
];
buildInputs = [
capnproto
];
cmakeFlags = [
"-DUHDM_USE_HOST_GTEST=On"
"-DUHDM_USE_HOST_CAPNP=On"
];
doCheck = true;
checkPhase = "make test";
postInstall = ''
mv $out/lib/uhdm/* $out/lib/
rm -rf $out/lib/uhdm
'';
meta = {
description = "Universal Hardware Data Model";
homepage = "https://github.com/chipsalliance/UHDM";

View file

@ -4,12 +4,12 @@ let
majorVersion = "0";
minorVersion = "102";
in
stdenvNoCC.mkDerivation (self: {
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "aileron";
version = "${majorVersion}.${minorVersion}";
src = fetchzip {
url = "https://dotcolon.net/download/fonts/${self.pname}_${majorVersion}${minorVersion}.zip";
url = "https://dotcolon.net/download/fonts/${finalAttrs.pname}_${majorVersion}${minorVersion}.zip";
hash = "sha256-Ht48gwJZrn0djo1yl6jHZ4+0b710FVwStiC1Zk5YXME=";
stripRoot = false;
};
@ -23,7 +23,7 @@ stdenvNoCC.mkDerivation (self: {
'';
meta = with lib; {
homepage = "http://dotcolon.net/font/${self.pname}/";
homepage = "http://dotcolon.net/font/${finalAttrs.pname}/";
description = "A helvetica font in nine weights";
platforms = platforms.all;
maintainers = with maintainers; [ leenaars minijackson ];

View file

@ -1,12 +1,12 @@
{ lib, fetchFromGitHub, stdenvNoCC }:
stdenvNoCC.mkDerivation (self: {
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "blackout";
version = "2014-07-29";
src = fetchFromGitHub {
owner = "theleagueof";
repo = self.pname;
repo = finalAttrs.pname;
rev = "4864cfc1749590e9f78549c6e57116fe98480c0f";
hash = "sha256-UmJVmtuPQYW/w+mdnJw9Ql4R1xf/07l+/Ky1wX9WKqw=";
};

View file

@ -1,12 +1,12 @@
{ lib, fetchFromGitHub, stdenvNoCC }:
stdenvNoCC.mkDerivation (self: {
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "chunk";
version = "2021-03-03";
src = fetchFromGitHub {
owner = "theleagueof";
repo = self.pname;
repo = finalAttrs.pname;
rev = "12a243f3fb7c7a68844901023f7d95d6eaf14104";
hash = "sha256-NMkRvrUgy9yzOT3a1rN6Ch/p8Cr902CwL4G0w7jVm1E=";
};

View file

@ -4,12 +4,12 @@ let
majorVersion = "0";
minorVersion = "200";
in
stdenvNoCC.mkDerivation (self: {
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "eunomia";
version = "${majorVersion}.${minorVersion}";
src = fetchzip {
url = "https://dotcolon.net/download/fonts/${self.pname}_${majorVersion}${minorVersion}.zip";
url = "https://dotcolon.net/download/fonts/${finalAttrs.pname}_${majorVersion}${minorVersion}.zip";
hash = "sha256-Rd2EakaTWjzoEV00tHTgg/bXgJUFfPjCyQUWi7QhFG4=";
stripRoot = false;
};

View file

@ -4,7 +4,7 @@ let
majorVersion = "1";
minorVersion = "101";
in
stdenvNoCC.mkDerivation (self: {
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "f1_8";
version = "${majorVersion}.${minorVersion}";
@ -24,7 +24,7 @@ stdenvNoCC.mkDerivation (self: {
'';
meta = with lib; {
homepage = "http://dotcolon.net/font/${self.pname}/";
homepage = "http://dotcolon.net/font/${finalAttrs.pname}/";
description = "A weighted decorative font";
platforms = platforms.all;
maintainers = with maintainers; [ minijackson ];

View file

@ -4,12 +4,12 @@ let
majorVersion = "0";
minorVersion = "110";
in
stdenvNoCC.mkDerivation (self: {
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "f5_6";
version = "${majorVersion}.${minorVersion}";
src = fetchzip {
url = "https://dotcolon.net/download/fonts/${self.pname}_${majorVersion}${minorVersion}.zip";
url = "https://dotcolon.net/download/fonts/${finalAttrs.pname}_${majorVersion}${minorVersion}.zip";
hash = "sha256-FeCU+mzR0iO5tixI72XUnhvpGj+WRfKyT3mhBtud3uE=";
stripRoot = false;
};
@ -23,7 +23,7 @@ stdenvNoCC.mkDerivation (self: {
'';
meta = with lib; {
homepage = "http://dotcolon.net/font/${self.pname}/";
homepage = "http://dotcolon.net/font/${finalAttrs.pname}/";
description = "A weighted decorative font";
platforms = platforms.all;
maintainers = with maintainers; [ leenaars minijackson ];

View file

@ -4,12 +4,12 @@ let
majorVersion = "0";
minorVersion = "100";
in
stdenvNoCC.mkDerivation (self: {
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "fa_1";
version = "${majorVersion}.${minorVersion}";
src = fetchzip {
url = "https://dotcolon.net/download/fonts/${self.pname}_${majorVersion}${minorVersion}.zip";
url = "https://dotcolon.net/download/fonts/${finalAttrs.pname}_${majorVersion}${minorVersion}.zip";
hash = "sha256-BPJ+wZMYXY/yg5oEgBc5YnswA6A7w6V0gdv+cac0qdc=";
stripRoot = false;
};
@ -23,7 +23,7 @@ stdenvNoCC.mkDerivation (self: {
'';
meta = with lib; {
homepage = "http://dotcolon.net/font/${self.pname}/";
homepage = "http://dotcolon.net/font/${finalAttrs.pname}/";
description = "A weighted decorative font";
platforms = platforms.all;
maintainers = with maintainers; [ minijackson ];

View file

@ -1,12 +1,12 @@
{ lib, fetchFromGitHub, stdenvNoCC }:
stdenvNoCC.mkDerivation (self: {
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "fanwood";
version = "2011-05-11";
src = fetchFromGitHub {
owner = "theleagueof";
repo = self.pname;
repo = finalAttrs.pname;
rev = "cbaaed9704e7d37d3dcdbdf0b472e9efd0e39432";
hash = "sha256-OroFhhb4RxPHkx+/8PtFnxs1GQVXMPiYTd+2vnRbIjg=";
};

View file

@ -4,12 +4,12 @@ let
majorVersion = "0";
minorVersion = "200";
in
stdenvNoCC.mkDerivation (self: {
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "ferrum";
version = "${majorVersion}.${minorVersion}";
src = fetchzip {
url = "https://dotcolon.net/download/fonts/${self.pname}_${majorVersion}${minorVersion}.zip";
url = "https://dotcolon.net/download/fonts/${finalAttrs.pname}_${majorVersion}${minorVersion}.zip";
hash = "sha256-NDJwgFWZgyhMkGRWlY55l2omEw6ju3e3dHCEsWNzQIc=";
stripRoot = false;
};
@ -23,7 +23,7 @@ stdenvNoCC.mkDerivation (self: {
'';
meta = with lib; {
homepage = "http://dotcolon.net/font/${self.pname}/";
homepage = "http://dotcolon.net/font/${finalAttrs.pname}/";
description = "A decorative font";
platforms = platforms.all;
maintainers = with maintainers; [ leenaars minijackson ];

View file

@ -1,12 +1,12 @@
{ lib, fetchFromGitHub, stdenvNoCC }:
stdenvNoCC.mkDerivation (self: {
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "goudy-bookletter-1911";
version = "2011-05-11";
src = fetchFromGitHub {
owner = "theleagueof";
repo = self.pname;
repo = finalAttrs.pname;
rev = "85ff5b834b4f63feb36fd2053949c19660580e48";
hash = "sha256-11axs1+SRQj+1lYTq2LYf1I65WrrvB/UnAgZkHPP1N8=";
};

View file

@ -1,12 +1,12 @@
{ lib, fetchFromGitHub, stdenvNoCC }:
stdenvNoCC.mkDerivation (self: {
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "junction";
version = "2014-05-29";
src = fetchFromGitHub {
owner = "theleagueof";
repo = self.pname;
repo = finalAttrs.pname;
rev = "fb73260e86dd301b383cf6cc9ca8e726ef806535";
hash = "sha256-Zqh23HPWGed+JkADYjYdsVNRxqJDvC9xhnqAqWZ3Eu8=";
};

View file

@ -1,12 +1,12 @@
{ lib, fetchFromGitHub, stdenvNoCC }:
stdenvNoCC.mkDerivation (self: {
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "knewave";
version = "2012-07-30";
src = fetchFromGitHub {
owner = "theleagueof";
repo = self.pname;
repo = finalAttrs.pname;
rev = "f335d5ff1f12e4acf97d4208e1c37b4d386e57fb";
hash = "sha256-SaJU2GlxU7V3iJNQzFKg1YugaPsiJuSZpC8NCqtWyz0=";
};

View file

@ -1,11 +1,11 @@
{ lib, fetchzip, stdenvNoCC }:
stdenvNoCC.mkDerivation (self: {
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "league-gothic";
version = "1.601";
src = fetchzip {
url = "https://github.com/theleagueof/league-gothic/releases/download/${self.version}/LeagueGothic-${self.version}.tar.xz";
url = "https://github.com/theleagueof/league-gothic/releases/download/${finalAttrs.version}/LeagueGothic-${finalAttrs.version}.tar.xz";
hash = "sha256-emkXKyQw4R0Zgg02oJsvBkqV0jmczP0tF0K2IKqJHMA=";
};

View file

@ -1,12 +1,12 @@
{ lib, fetchFromGitHub, stdenvNoCC }:
stdenvNoCC.mkDerivation (self: {
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "league-script-number-one";
version = "2011-05-25";
src = fetchFromGitHub {
owner = "theleagueof";
repo = self.pname;
repo = finalAttrs.pname;
rev = "225add0b37cf8268759ba4572e02630d9fb54ecf";
hash = "sha256-Z3Zrp0Os3On0tESVical1Qh6wY1H2Hc0OPTlkbtsrCI=";
};

View file

@ -1,11 +1,11 @@
{ lib, fetchzip, stdenvNoCC }:
stdenvNoCC.mkDerivation (self: {
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "league-spartan";
version = "2.220";
src = fetchzip {
url = "https://github.com/theleagueof/league-spartan/releases/download/${self.version}/LeagueSpartan-${self.version}.tar.xz";
url = "https://github.com/theleagueof/league-spartan/releases/download/${finalAttrs.version}/LeagueSpartan-${finalAttrs.version}.tar.xz";
hash = "sha256-dkvWRYli8vk+E0DkZ2NWCJKfSfdo4jEcGo0puQpFVVc=";
};

View file

@ -1,12 +1,12 @@
{ lib, fetchFromGitHub, stdenvNoCC }:
stdenvNoCC.mkDerivation (self: {
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "linden-hill";
version = "2011-05-25";
src = fetchFromGitHub {
owner = "theleagueof";
repo = self.pname;
repo = finalAttrs.pname;
rev = "a3f7ae6c4cac1b7e5ce5269e1fcc6a2fbb9e31ee";
hash = "sha256-EjXcLjzVQeOJgLxGua8t0oMc+APOsONGGpG6VJVCgFw=";
};

View file

@ -4,12 +4,12 @@ let
majorVersion = "0";
minorVersion = "200";
in
stdenvNoCC.mkDerivation (self: {
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "medio";
version = "${majorVersion}.${minorVersion}";
src = fetchzip {
url = "https://dotcolon.net/download/fonts/${self.pname}_${majorVersion}${minorVersion}.zip";
url = "https://dotcolon.net/download/fonts/${finalAttrs.pname}_${majorVersion}${minorVersion}.zip";
hash = "sha256-S+CcwD4zGVk7cIFD6K4NnpE/0mrJq4RnDJC576rhcLQ=";
stripRoot = false;
};
@ -23,7 +23,7 @@ stdenvNoCC.mkDerivation (self: {
'';
meta = with lib; {
homepage = "http://dotcolon.net/font/${self.pname}/";
homepage = "http://dotcolon.net/font/${finalAttrs.pname}/";
description = "Serif font designed by Sora Sagano";
longDescription = ''
Medio is a serif font designed by Sora Sagano, based roughly

View file

@ -4,12 +4,12 @@ let
majorVersion = "0";
minorVersion = "200";
in
stdenvNoCC.mkDerivation (self: {
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "melete";
version = "${majorVersion}.${minorVersion}";
src = fetchzip {
url = "https://dotcolon.net/download/fonts/${self.pname}_${majorVersion}${minorVersion}.zip";
url = "https://dotcolon.net/download/fonts/${finalAttrs.pname}_${majorVersion}${minorVersion}.zip";
hash = "sha256-y1xtNM1Oy92gOvbr9J71XNxb1JeTzOgxKms3G2YHK00=";
stripRoot = false;
};
@ -23,7 +23,7 @@ stdenvNoCC.mkDerivation (self: {
'';
meta = with lib; {
homepage = "http://dotcolon.net/font/${self.pname}/";
homepage = "http://dotcolon.net/font/${finalAttrs.pname}/";
description = "A headline typeface that could be used as a movie title";
platforms = platforms.all;
maintainers = with maintainers; [ minijackson ];

View file

@ -4,12 +4,12 @@ let
majorVersion = "1";
minorVersion = "00";
in
stdenvNoCC.mkDerivation (self: {
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "nacelle";
version = "${majorVersion}.${minorVersion}";
src = fetchzip {
url = "https://dotcolon.net/download/fonts/${self.pname}_${majorVersion}${minorVersion}.zip";
url = "https://dotcolon.net/download/fonts/${finalAttrs.pname}_${majorVersion}${minorVersion}.zip";
hash = "sha256-e4QsPiyfWEAYHWdwR3CkGc2UzuA3hZPYYlWtIubY0Oo=";
stripRoot = false;
};
@ -23,7 +23,7 @@ stdenvNoCC.mkDerivation (self: {
'';
meta = with lib; {
homepage = "http://dotcolon.net/font/${self.pname}/";
homepage = "http://dotcolon.net/font/${finalAttrs.pname}/";
description = "A improved version of the Aileron font";
platforms = platforms.all;
maintainers = with maintainers; [ minijackson ];

View file

@ -1,12 +1,12 @@
{ lib, stdenvNoCC, fetchFromGitHub }:
stdenvNoCC.mkDerivation (self: {
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "orbitron";
version = "2011-05-25";
src = fetchFromGitHub {
owner = "theleagueof";
repo = self.pname;
repo = finalAttrs.pname;
rev = "13e6a5222aa6818d81c9acd27edd701a2d744152";
hash = "sha256-zjNPVrDUxcQbrsg1/8fFa6Wenu1yuG/XDfKA7NVZ0rA=";
};

View file

@ -1,12 +1,12 @@
{ lib, fetchFromGitHub, stdenvNoCC }:
stdenvNoCC.mkDerivation (self: {
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "ostrich-sans";
version = "2014-04-18";
src = fetchFromGitHub {
owner = "theleagueof";
repo = self.pname;
repo = finalAttrs.pname;
rev = "a949d40d0576d12ba26e2a45e19c91fd0228c964";
hash = "sha256-vvTNtl+fO2zWooH1EvCmO/dPYYgCkj8Ckg5xfg1gtnw=";
};

View file

@ -4,12 +4,12 @@ let
majorVersion = "0";
minorVersion = "100";
in
stdenvNoCC.mkDerivation (self: {
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "penna";
version = "${majorVersion}.${minorVersion}";
src = fetchzip {
url = "https://dotcolon.net/download/fonts/${self.pname}_${majorVersion}${minorVersion}.zip";
url = "https://dotcolon.net/download/fonts/${finalAttrs.pname}_${majorVersion}${minorVersion}.zip";
hash = "sha256-fmCJnEaoUGdW9JK3J7JSm5D4qOMRW7qVKPgVE7uCH5w=";
stripRoot = false;
};
@ -23,7 +23,7 @@ stdenvNoCC.mkDerivation (self: {
'';
meta = with lib; {
homepage = "http://dotcolon.net/font/${self.pname}/";
homepage = "http://dotcolon.net/font/${finalAttrs.pname}/";
description = "Geometric sans serif designed by Sora Sagano";
longDescription = ''
Penna is a geometric sans serif designed by Sora Sagano,

View file

@ -1,12 +1,12 @@
{ lib, fetchFromGitHub, stdenvNoCC }:
stdenvNoCC.mkDerivation (self: {
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "prociono";
version = "2011-05-25";
src = fetchFromGitHub {
owner = "theleagueof";
repo = self.pname;
repo = finalAttrs.pname;
rev = "f9d9680de6d6f0c13939f23c9dd14cd7853cf844";
hash = "sha256-gC5E0Z0O2cnthoBEu+UOQLsr3/a/3/JPIx3WCPsXXtk=";
};

View file

@ -1,11 +1,11 @@
{ lib, fetchzip, stdenvNoCC }:
stdenvNoCC.mkDerivation (self: {
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "raleway";
version = "4.101";
src = fetchzip {
url = "https://github.com/theleagueof/raleway/releases/download/${self.version}/Raleway-${self.version}.tar.xz";
url = "https://github.com/theleagueof/raleway/releases/download/${finalAttrs.version}/Raleway-${finalAttrs.version}.tar.xz";
hash = "sha256-itNHIMoRjiaqYAJoDNetkCquv47VAfel8MAzwsd//Ww=";
};

View file

@ -4,12 +4,12 @@ let
majorVersion = "1";
minorVersion = "10";
in
stdenvNoCC.mkDerivation (self: {
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "route159";
version = "${majorVersion}.${minorVersion}";
src = fetchzip {
url = "https://dotcolon.net/download/fonts/${self.pname}_${majorVersion}${minorVersion}.zip";
url = "https://dotcolon.net/download/fonts/${finalAttrs.pname}_${majorVersion}${minorVersion}.zip";
hash = "sha256-1InyBW1LGbp/IU/ql9mvT14W3MTxJdWThFwRH6VHpTU=";
stripRoot = false;
};
@ -23,7 +23,7 @@ stdenvNoCC.mkDerivation (self: {
'';
meta = with lib; {
homepage = "http://dotcolon.net/font/${self.pname}/";
homepage = "http://dotcolon.net/font/${finalAttrs.pname}/";
description = "A weighted sans serif font";
platforms = platforms.all;
maintainers = with maintainers; [ leenaars minijackson ];

View file

@ -4,12 +4,12 @@ let
majorVersion = "0";
minorVersion = "100";
in
stdenvNoCC.mkDerivation (self: {
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "seshat";
version = "${majorVersion}.${minorVersion}";
src = fetchzip {
url = "https://dotcolon.net/download/fonts/${self.pname}_${majorVersion}${minorVersion}.zip";
url = "https://dotcolon.net/download/fonts/${finalAttrs.pname}_${majorVersion}${minorVersion}.zip";
hash = "sha256-XgprDhzAbcTzZw2QOwpCnzusYheYmSlM+ApU+Y0wO2Q=";
stripRoot = false;
};
@ -23,7 +23,7 @@ stdenvNoCC.mkDerivation (self: {
'';
meta = with lib; {
homepage = "http://dotcolon.net/font/${self.pname}/";
homepage = "http://dotcolon.net/font/${finalAttrs.pname}/";
description = "Roman body font designed for main text by Sora Sagano";
longDescription = ''
Seshat is a Roman body font designed for the main text. By

View file

@ -1,12 +1,12 @@
{ lib, fetchFromGitHub, stdenvNoCC }:
stdenvNoCC.mkDerivation (self: {
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "sniglet";
version = "2011-05-25";
src = fetchFromGitHub {
owner = "theleagueof";
repo = self.pname;
repo = finalAttrs.pname;
rev = "5c6b0860bdd0d8c4f16222e4de3918c384db17c4";
hash = "sha256-fLT2hZT9o1Ka30EB/6oWwmalhVJ+swXLRFG99yRWd2c=";
};

View file

@ -1,12 +1,12 @@
{ lib, fetchFromGitHub, stdenvNoCC }:
stdenvNoCC.mkDerivation (self: {
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "sorts-mill-goudy";
version = "2011-05-25";
src = fetchFromGitHub {
owner = "theleagueof";
repo = self.pname;
repo = finalAttrs.pname;
rev = "06072890c7b05f274215a24f17449655ccb2c8af";
hash = "sha256-NEfLBJatUmdUL5gJEimJHZfOd1OtI7pxTN97eWMODyM=";
};

View file

@ -4,12 +4,12 @@ let
majorVersion = "0";
minorVersion = "601";
in
stdenvNoCC.mkDerivation (self: {
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "tenderness";
version = "${majorVersion}.${minorVersion}";
src = fetchzip {
url = "https://dotcolon.net/download/fonts/${self.pname}_${majorVersion}${minorVersion}.zip";
url = "https://dotcolon.net/download/fonts/${finalAttrs.pname}_${majorVersion}${minorVersion}.zip";
hash = "sha256-bwJKW+rY7/r2pBCSA6HYlaRMsI/U8UdW2vV4tmYuJww=";
stripRoot = false;
};
@ -23,7 +23,7 @@ stdenvNoCC.mkDerivation (self: {
'';
meta = with lib; {
homepage = "http://dotcolon.net/font/${self.pname}/";
homepage = "http://dotcolon.net/font/${finalAttrs.pname}/";
description = "Serif font designed by Sora Sagano with old-style figures";
platforms = platforms.all;
maintainers = with maintainers; [ leenaars minijackson ];

View file

@ -1,11 +1,11 @@
{ lib, fetchzip, stdenvNoCC }:
stdenvNoCC.mkDerivation (self: {
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "the-neue-black";
version = "1.007";
src = fetchzip {
url = "https://github.com/theleagueof/the-neue-black/releases/download/${self.version}/TheNeueBlack-${self.version}.tar.xz";
url = "https://github.com/theleagueof/the-neue-black/releases/download/${finalAttrs.version}/TheNeueBlack-${finalAttrs.version}.tar.xz";
hash = "sha256-AsB6w1000xdl+pOPDXqqzQhru1T/VD0hIJ4gFec7mU4=";
};

View file

@ -4,12 +4,12 @@ let
majorVersion = "0";
minorVersion = "701";
in
stdenvNoCC.mkDerivation (self: {
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "vegur";
version = "${majorVersion}.${minorVersion}";
src = fetchzip {
url = "https://dotcolon.net/download/fonts/${self.pname}_${majorVersion}${minorVersion}.zip";
url = "https://dotcolon.net/download/fonts/${finalAttrs.pname}_${majorVersion}${minorVersion}.zip";
hash = "sha256-sGb3mEb3g15ZiVCxEfAanly8zMUopLOOjw8W4qbXLPA=";
stripRoot = false;
};

View file

@ -56,14 +56,14 @@ let
cmakeFeatureFlag = feature: flag:
"-D${feature}=${if flag then "on" else "off"}";
in
stdenv.mkDerivation (self: {
stdenv.mkDerivation (finalAttrs: {
pname = "arcan" + lib.optionalString useStaticOpenAL "-static-openal";
version = "0.6.2.1";
src = fetchFromGitHub {
owner = "letoram";
repo = "arcan";
rev = self.version;
rev = finalAttrs.version;
hash = "sha256-7H3fVSsW5VANLqwhykY+Q53fPjz65utaGksh/OpZnJM=";
};
@ -172,7 +172,7 @@ stdenv.mkDerivation (self: {
"-DBUILD_PRESET=everything"
# The upstream project recommends tagging the distribution
"-DDISTR_TAG=Nixpkgs"
"-DENGINE_BUILDTAG=${self.version}"
"-DENGINE_BUILDTAG=${finalAttrs.version}"
(cmakeFeatureFlag "HYBRID_SDL" true)
(cmakeFeatureFlag "BUILTIN_LUA" useBuiltinLua)
(cmakeFeatureFlag "DISABLE_JIT" useBuiltinLua)

View file

@ -3,7 +3,7 @@
, fetchFromGitHub
}:
stdenvNoCC.mkDerivation (self: {
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "cat9";
version = "unstable-2023-02-11";

View file

@ -3,7 +3,7 @@
, fetchFromGitHub
}:
stdenvNoCC.mkDerivation (self: {
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "durden";
version = "unstable-2023-01-19";

View file

@ -3,7 +3,7 @@
, fetchFromGitHub
}:
stdenvNoCC.mkDerivation (self: {
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "prio";
version = "unstable-2018-09-13";

View file

@ -1,7 +1,6 @@
{ stdenv
, lib
, fetchFromGitHub
, fetchpatch
, cmake
, qttools
, pkg-config
@ -15,23 +14,15 @@
stdenv.mkDerivation rec {
pname = "deepin-draw";
version = "5.11.7";
version = "6.0.5";
src = fetchFromGitHub {
owner = "linuxdeepin";
repo = pname;
rev = version;
sha256 = "sha256-oryh1b7/78Hp3JclN9vKvfcKRg58nsfGZQvBx6VyJBs";
sha256 = "sha256-WeubXsshN4tUlIwEHTxHXv1L2dvJ2DZ6qtSPyiVtc98=";
};
patches = [
(fetchpatch {
name = "chore-use-GNUInstallDirs-in-CmakeLists.patch";
url = "https://github.com/linuxdeepin/deepin-draw/commit/dac714fe603e1b77fc39952bfe6949852ee6c2d5.patch";
sha256 = "sha256-zajxmKkZJT1lcyvPv/PRPMxcstF69PB1tC50gYKDlWA=";
})
];
postPatch = ''
substituteInPlace com.deepin.Draw.service \
--replace "/usr/bin/deepin-draw" "$out/bin/deepin-draw"

View file

@ -1,24 +1,24 @@
let version = "2.19.3"; in
{ fetchurl }: {
let version = "2.19.6"; in
{ fetchurl }: {
versionUsed = version;
"${version}-x86_64-darwin" = fetchurl {
url = "https://storage.googleapis.com/dart-archive/channels/stable/release/${version}/sdk/dartsdk-macos-x64-release.zip";
sha256 = "193hf56j7bws8bzqxxzz2sgbn2d80g5s8vp8ihi22cm3mmppfi4v";
sha256 = "1nlmzappjk1f85iajlvqkvkqfd8ka7svsmglbh57ivvssvb6d6lr";
};
"${version}-aarch64-darwin" = fetchurl {
url = "https://storage.googleapis.com/dart-archive/channels/stable/release/${version}/sdk/dartsdk-macos-arm64-release.zip";
sha256 = "0b30l8kfcsl1j6w2vbq08p0v4h4gca013l5fpznjqq0midxhybnw";
sha256 = "1dpd8czllsxqly7hrcazp8g9b5zj6ibs93l5qyykijjbyjv58srw";
};
"${version}-aarch64-linux" = fetchurl {
url = "https://storage.googleapis.com/dart-archive/channels/stable/release/${version}/sdk/dartsdk-linux-arm64-release.zip";
sha256 = "0qyi7ppsf4rmzx1qgx3qbn4k7bgbncxjql6a9f2b1aj6l6lllvmg";
sha256 = "170bzz4505fffz4lbaxif9ryaw8pl8ylgkbjsd0w32xpng0bf4v9";
};
"${version}-x86_64-linux" = fetchurl {
url = "https://storage.googleapis.com/dart-archive/channels/stable/release/${version}/sdk/dartsdk-linux-x64-release.zip";
sha256 = "0iq7mdwpsnykk3j2bsgmazg30m4qg7i2lpv1ygbhy2lbhrkdpdck";
sha256 = "0kvhvwd2q8s7mnjgvhl6gr3y73agcd0y79sm844xd8ybd9gg5pqg";
};
"${version}-i686-linux" = fetchurl {
url = "https://storage.googleapis.com/dart-archive/channels/stable/release/${version}/sdk/dartsdk-linux-ia32-release.zip";
sha256 = "0xksis14ff6bzjvycgxgldg96n88rh42adjyrrhcay2s183vh480";
sha256 = "02iyzdz9grm3rc2dg7l1clww6n5n4kncv0gg6mlkgvmhk4hn9w1r";
};
}

View file

@ -3,7 +3,7 @@
, fetchFromGitHub
}:
stdenv.mkDerivation (self: {
stdenv.mkDerivation (finalAttrs: {
pname = "dev86";
version = "unstable-2022-07-19";

View file

@ -4,14 +4,14 @@
, installShellFiles
}:
stdenv.mkDerivation (self: {
stdenv.mkDerivation (finalAttrs: {
pname = "dxa";
version = "0.1.5";
src = fetchurl {
urls = [
"https://www.floodgap.com/retrotech/xa/dists/dxa-${self.version}.tar.gz"
"https://www.floodgap.com/retrotech/xa/dists/unsupported/dxa-${self.version}.tar.gz"
"https://www.floodgap.com/retrotech/xa/dists/dxa-${finalAttrs.version}.tar.gz"
"https://www.floodgap.com/retrotech/xa/dists/unsupported/dxa-${finalAttrs.version}.tar.gz"
];
hash = "sha256-jkDtd4FlgfmtlaysLtaaL7KseFDkM9Gc1oQZOkWCZ5k=";
};

View file

@ -4,14 +4,14 @@
, perl
}:
stdenv.mkDerivation (self: {
stdenv.mkDerivation (finalAttrs: {
pname = "xa";
version = "2.3.14";
src = fetchurl {
urls = [
"https://www.floodgap.com/retrotech/xa/dists/xa-${self.version}.tar.gz"
"https://www.floodgap.com/retrotech/xa/dists/unsupported/xa-${self.version}.tar.gz"
"https://www.floodgap.com/retrotech/xa/dists/xa-${finalAttrs.version}.tar.gz"
"https://www.floodgap.com/retrotech/xa/dists/unsupported/xa-${finalAttrs.version}.tar.gz"
];
hash = "sha256-G5u6vdvY07lBC4UuUKEo7qQeaBM55vdsPoB2+lQg8C4=";
};

View file

@ -1,15 +0,0 @@
diff --git a/yql-qlf-plugin/Makefile b/ql-qlf-plugin/Makefile
index 2819055c9fe..0e391581012 100644
--- a/ql-qlf-plugin/Makefile
+++ b/ql-qlf-plugin/Makefile
@@ -55,10 +55,6 @@ VERILOG_MODULES = $(COMMON)/cells_sim.v \
$(PP3_DIR)/mult_sim.v \
$(PP3_DIR)/qlal3_sim.v \
-retrieve-pmgen:=$(shell mkdir -p pmgen && wget -nc -O pmgen/pmgen.py https://raw.githubusercontent.com/SymbiFlow/yosys/master%2Bwip/passes/pmgen/pmgen.py)
-
-pre-build:=$(shell python3 pmgen/pmgen.py -o pmgen/ql-dsp-pm.h -p ql_dsp ql_dsp.pmg)
-
install_modules: $(VERILOG_MODULES)
$(foreach f,$^,install -D $(f) $(DATA_DIR)/quicklogic/$(f);)

View file

@ -8,18 +8,21 @@
, zlib
, yosys-symbiflow
, uhdm
, capnproto
, surelog
, antlr4
, flatbuffers
, pkg-config
}: let
src = fetchFromGitHub {
owner = "chipsalliance";
repo = "yosys-f4pga-plugins";
rev = "08430ec4f53d1cf9d6a2091211d6c5ce501d5486";
hash = "sha256-xCFi8OrNfsKt7bVSYJ/yuBify/pyCU1rI16gaCBgil8=";
};
version = "1.20230425";
version = "2023.02.08";
src = fetchFromGitHub {
owner = "chipsalliance";
repo = "yosys-f4pga-plugins";
rev = "v${version}";
hash = "sha256-KNkmhvpKTby85P88+DqCOOGxIKpzbw5KF9ymqy40pfw=";
};
# Supported symbiflow plugins.
#
@ -38,7 +41,7 @@
"systemverilog"
];
static_gtest = gtest.dev.overrideAttrs (old: {
static_gtest = gtest.overrideAttrs (old: {
dontDisableStatic = true;
disableHardening = [ "pie" ];
cmakeFlags = old.cmakeFlags ++ ["-DBUILD_SHARED_LIBS=OFF"];
@ -49,23 +52,26 @@ in lib.genAttrs plugins (plugin: stdenv.mkDerivation (rec {
inherit src version plugin;
enableParallelBuilding = true;
nativeBuildInputs = [ python3 ];
buildInputs = [ yosys readline zlib uhdm surelog ];
nativeBuildInputs = [ python3 pkg-config ];
buildInputs = [
yosys
readline
zlib
uhdm
surelog
capnproto
antlr4.runtime.cpp
];
# xdc has an incorrect path to a test which has yet to be patched
doCheck = plugin != "xdc";
nativeCheckInputs = [ static_gtest ];
# ql-qlf tries to fetch a yosys script from github
# Run the script in preBuild instead.
patches = lib.optional ( plugin == "ql-qlf" ) ./symbiflow-pmgen.patch;
# A Makefile rule tries to wget-fetch a yosys script from github.
# Link the script from our yosys sources in preBuild instead, so that
# the Makefile rule is a no-op.
preBuild = ''
export LDFLAGS="-L${flatbuffers}/lib"
mkdir -p ql-qlf-plugin/pmgen
''
+ lib.optionalString ( plugin == "ql-qlf" ) ''
python3 ${yosys.src}/passes/pmgen/pmgen.py -o ql-qlf-plugin/pmgen/ql-dsp-pm.h -p ql_dsp ql-qlf-plugin/ql_dsp.pmg
ln -s ${yosys.src}/passes/pmgen/pmgen.py pmgen.py
'';
# Providing a symlink avoids the need for patching the test makefile
@ -83,10 +89,9 @@ in lib.genAttrs plugins (plugin: stdenv.mkDerivation (rec {
"YOSYS_DATA_DIR=\${out}/share/yosys/"
];
checkTarget = "test";
checkFlags = [
"YOSYS_PLUGINS_DIR=\${NIX_BUILD_TOP}/source/${plugin}-plugin"
"YOSYS_DATA_DIR=\${NIX_BUILD_TOP}/source/${plugin}-plugin"
( "NIX_YOSYS_PLUGIN_DIRS=\${NIX_BUILD_TOP}/source/${plugin}-plugin"
( "NIX_YOSYS_PLUGIN_DIRS=\${NIX_BUILD_TOP}/source/${plugin}-plugin/build"
# sdc and xdc plugins use design introspection for their tests
+ (lib.optionalString ( plugin == "sdc" || plugin == "xdc" )
":${yosys-symbiflow.design_introspection}/share/yosys/plugins/")

View file

@ -988,11 +988,13 @@ self: super: builtins.intersectAttrs super {
hnix-store-core = super.hnix-store-core_0_6_1_0;
});
cachix_1_3_3 = super.cachix_1_3_3.override {
cachix_1_3_3 = overrideCabal (drv: {
hydraPlatforms = pkgs.lib.platforms.all;
}) (super.cachix_1_3_3.override {
nix = self.hercules-ci-cnix-store.nixPackage;
fsnotify = dontCheck super.fsnotify_0_4_1_0;
hnix-store-core = super.hnix-store-core_0_6_1_0;
};
});
hercules-ci-agent = super.hercules-ci-agent.override { nix = self.hercules-ci-cnix-store.passthru.nixPackage; };
hercules-ci-cnix-expr = addTestToolDepend pkgs.git (super.hercules-ci-cnix-expr.override { nix = self.hercules-ci-cnix-store.passthru.nixPackage; });

View file

@ -8,12 +8,12 @@
, ncurses
}:
stdenv.mkDerivation (self: {
stdenv.mkDerivation (finalAttrs: {
pname = "yabasic";
version = "2.90.3";
src = fetchurl {
url = "http://www.yabasic.de/download/yabasic-${self.version}.tar.gz";
url = "http://www.yabasic.de/download/yabasic-${finalAttrs.version}.tar.gz";
hash = "sha256-ItmlkraNUE0qlq1RghUJcDq4MHb6HRKNoIRylugjboA=";
};

View file

@ -4,14 +4,14 @@
, cmake
}:
stdenv.mkDerivation (self: {
stdenv.mkDerivation (finalAttrs: {
pname = "cgreen";
version = "1.6.2";
src = fetchFromGitHub {
owner = "cgreen-devs";
repo = "cgreen";
rev = self.version;
rev = finalAttrs.version;
sha256 = "sha256-beaCoyDCERb/bdKcKS7dRQHlI0auLOStu3cZr1dhubg=";
};

View file

@ -3,9 +3,10 @@
, fetchFromGitHub
, cmake
, enableVTK ? true
, vtk_8
, vtk
, ApplicationServices
, Cocoa
, libiconv
, enablePython ? false
, python ? null
, swig
@ -18,13 +19,17 @@ stdenv.mkDerivation rec {
src = fetchFromGitHub {
owner = "malaterre";
repo = "GDCM";
rev = "v${version}";
sha256 = "sha256-BmUJCqCGt+BvVpLG4bzCH4lsqmhWHU0gbOIU2CCIMGU=";
rev = "refs/tags/v${version}";
hash = "sha256-BmUJCqCGt+BvVpLG4bzCH4lsqmhWHU0gbOIU2CCIMGU=";
};
cmakeFlags = [
"-DGDCM_BUILD_APPLICATIONS=ON"
"-DGDCM_BUILD_SHARED_LIBS=ON"
# hack around usual "`RUNTIME_DESTINATION` must not be an absolute path" issue:
"-DCMAKE_INSTALL_LIBDIR=lib"
"-DCMAKE_INSTALL_BINDIR=bin"
"-DCMAKE_INSTALL_INCLUDEDIR=include"
] ++ lib.optionals enableVTK [
"-DGDCM_USE_VTK=ON"
] ++ lib.optionals enablePython [
@ -35,10 +40,11 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake ];
buildInputs = lib.optionals enableVTK [
vtk_8
vtk
] ++ lib.optionals stdenv.isDarwin [
ApplicationServices
Cocoa
libiconv
] ++ lib.optionals enablePython [ swig python ];
meta = with lib; {
@ -50,5 +56,6 @@ stdenv.mkDerivation rec {
homepage = "https://gdcm.sourceforge.net/";
license = with licenses; [ bsd3 asl20 ];
maintainers = with maintainers; [ tfmoraes ];
platforms = platforms.all;
};
}

View file

@ -14,14 +14,14 @@
, python3
}:
stdenv.mkDerivation (self: {
stdenv.mkDerivation (finalAttrs: {
pname = "libbytesize";
version = "2.8";
src = fetchFromGitHub {
owner = "storaged-project";
repo = "libbytesize";
rev = self.version;
rev = finalAttrs.version;
hash = "sha256-/TVv/srhbotIkne0G77hgBF4j+74INqVUr8zlKsaoM0=";
};

View file

@ -32,6 +32,9 @@ stdenv.mkDerivation rec {
platforms = platforms.all;
# never built on aarch64-darwin since first introduction in nixpkgs
broken = stdenv.isDarwin && stdenv.isAarch64;
knownVulnerabilities = [
"CVE-2023-29552: UDP Reflection Attack with ampliciation factor of up to 2200"
];
};
}

View file

@ -8,7 +8,7 @@
buildPythonPackage rec {
pname = "ailment";
version = "9.2.47";
version = "9.2.48";
format = "pyproject";
disabled = pythonOlder "3.8";
@ -17,7 +17,7 @@ buildPythonPackage rec {
owner = "angr";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-11lvarj2l/cPiGI+Ro88NuHa2CBJYI7S95H3sSv1ln8=";
hash = "sha256-abUxA2ndkOlLMWdPspKKTgWGuoGYyypAq43MrgaW+AY=";
};
nativeBuildInputs = [

View file

@ -13,7 +13,7 @@
buildPythonPackage rec {
pname = "aioesphomeapi";
version = "13.7.0";
version = "13.7.2";
format = "setuptools";
disabled = pythonOlder "3.9";
@ -22,7 +22,7 @@ buildPythonPackage rec {
owner = "esphome";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-05UT9CsfO8onEHqnJlXNfzf1acfwiIC07ewCWBE8HPA=";
hash = "sha256-V4sOpgrDF+h+um/A7VwXKRE+aIUuus+eR1Z1tpt5C1g=";
};
propagatedBuildInputs = [

View file

@ -32,7 +32,7 @@
buildPythonPackage rec {
pname = "angr";
version = "9.2.47";
version = "9.2.48";
format = "pyproject";
disabled = pythonOlder "3.8";
@ -41,7 +41,7 @@ buildPythonPackage rec {
owner = pname;
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-fMFhNiYFAC2SW6jdB8RuMngIH/Dc8hznOyd7H9baUkE=";
hash = "sha256-KHeLi4b54gvWcCsbdIbJ2n1sRcowio7ng4eEqkGacTU=";
};
propagatedBuildInputs = [

View file

@ -8,7 +8,7 @@
buildPythonPackage rec {
pname = "archinfo";
version = "9.2.47";
version = "9.2.48";
format = "pyproject";
disabled = pythonOlder "3.8";
@ -17,7 +17,7 @@ buildPythonPackage rec {
owner = "angr";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-dZ4dbPgAsaSq2CChQ/Bh8nx1wY51kbJVblo1Aw4kOT4=";
hash = "sha256-WQkIw/tuT/KwRBVQ2+u2NXioAzisV0hCvTN8tfN+lRY=";
};
nativeBuildInputs = [

View file

@ -13,7 +13,7 @@
buildPythonPackage rec {
pname = "claripy";
version = "9.2.47";
version = "9.2.48";
format = "pyproject";
disabled = pythonOlder "3.8";
@ -22,7 +22,7 @@ buildPythonPackage rec {
owner = "angr";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-YleXykwajlGaqcNRrUYK8ttmzOYdVBpjjBi8aGMK75M=";
hash = "sha256-rkeshqKlsYA16TyXb4iRTnoTJwoB2kQJcdH/cBrgJng=";
};
nativeBuildInputs = [

View file

@ -16,7 +16,7 @@
let
# The binaries are following the argr projects release cycle
version = "9.2.47";
version = "9.2.48";
# Binary files from https://github.com/angr/binaries (only used for testing and only here)
binaries = fetchFromGitHub {
@ -38,7 +38,7 @@ buildPythonPackage rec {
owner = "angr";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-NwAKmmx9f+2Xxw9+/NI5khDTlAPJPcKtYRyK0khYNJE=";
hash = "sha256-D5qIuu8pqnkroU3ChmhseVitLrUJjwXr01MG7ing2Zk=";
};
nativeBuildInputs = [

View file

@ -14,6 +14,7 @@
let
fido2_0 = fido2.overridePythonAttrs (oldAttrs: rec {
version = "0.9.3";
format = "setuptools";
src = fetchPypi {
inherit (oldAttrs) pname;
inherit version;

View file

@ -11,14 +11,14 @@
buildPythonPackage rec {
pname = "fe25519";
version = "1.3.0";
version = "1.4.0";
format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-/grXAiWERDeTCWgFnNC1Ok8D5I9MBlwd1501TW0yK5c=";
hash = "sha256-KWHYlHWNG/ATZP8WJ7e2M8ubQbQoT2ritWqSrl+92h0=";
};
nativeBuildInputs = [

View file

@ -1,6 +1,7 @@
{ lib
, buildPythonPackage
, fetchPypi
, poetry-core
, six
, cryptography
, mock
@ -10,13 +11,16 @@
buildPythonPackage rec {
pname = "fido2";
version = "1.1.0";
version = "1.1.1";
format = "pyproject";
src = fetchPypi {
inherit pname version;
hash = "sha256-K0tOYgwhAEQsIGeODpUa1tHvs7pcqOu3IMTI1UMpNnQ=";
hash = "sha256-XcSVyoxZwcM3ODtLjDFNRrktXG/GUOcZhMbX+VQHn8M=";
};
nativeBuildInputs = [ poetry-core ];
propagatedBuildInputs = [ six cryptography ];
nativeCheckInputs = [ unittestCheckHook mock pyfakefs ];

View file

@ -12,14 +12,14 @@
buildPythonPackage rec {
pname = "ge25519";
version = "1.3.0";
version = "1.4.0";
format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-y9Nv59pLWk1kRjZG3EmalT34Mjx7RLZ4WkvJlRrK5LI=";
hash = "sha256-QDVhvOyTRwOgB9rCpLTpM4floLKa43hAxS2L0h4+HTU=";
};
nativeBuildInputs = [

View file

@ -14,7 +14,7 @@
}:
buildPythonPackage rec {
version = "0.8.0";
version = "0.12.2";
pname = "heudiconv";
disabled = isPy27;
@ -22,7 +22,7 @@ buildPythonPackage rec {
src = fetchPypi {
inherit pname version;
#sha256 = "0gzqqa4pzhywdbvks2qjniwhr89sgipl5k7h9hcjs7cagmy9gb05";
sha256 = "1r6y93125mc84c09970ifps5xysp8ffp62rwlzili3q2k1m3fh4v";
sha256 = "sha256-cYr74mw7tXRJRr8rXlu1UMZuU3YXXfDzhuc+vaa+7PQ=";
};
postPatch = ''

View file

@ -9,7 +9,7 @@
buildPythonPackage rec {
pname = "identify";
version = "2.5.22";
version = "2.5.23";
format = "setuptools";
disabled = pythonOlder "3.7";
@ -18,7 +18,7 @@ buildPythonPackage rec {
owner = "pre-commit";
repo = pname;
rev = "v${version}";
hash = "sha256-SSbphjcfgexVveXp2BfAiGzehb2tSBcsMEse5uSh9Xo=";
hash = "sha256-li38yO/34V+fjKUF+UgWct5u0RlIswD1ETGEkowRre4=";
};
nativeCheckInputs = [

View file

@ -6,14 +6,14 @@
buildPythonPackage rec {
pname = "mailchecker";
version = "5.0.8";
version = "5.0.9";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-rqayN1W+dqHSdRH7NFKtD07r2OztQq5FBhMaJEI3iwY=";
hash = "sha256-iwg5B9pC2qRI2T6xnwyXjd4uhWVhel52Jxs1pfcoXM0=";
};
# Module has no tests

View file

@ -22,6 +22,12 @@ buildPythonPackage rec {
hash = "sha256-lj6NTpAmL/bY3sBy6pcoXcN0ovacrXd29AgqvPah2K4=";
};
# https://github.com/gawel/pyquery/issues/248
postPatch = ''
substituteInPlace tests/test_pyquery.py \
--replace test_selector_html skip_test_selector_html
'';
propagatedBuildInputs = [
cssselect
lxml

View file

@ -14,7 +14,7 @@
buildPythonPackage rec {
pname = "pytest-aio";
version = "1.4.1";
version = "1.5.0";
format = "setuptools";
disabled = pythonOlder "3.7";
@ -22,8 +22,8 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "klen";
repo = "pytest-aio";
rev = version;
sha256 = "pLH0yXe/KS9ohI8+hWSprP1OA3Qjki2BPqeApMPMGDs=";
rev = "refs/tags/${version}";
hash = "sha256-BIVorMRWyboKFZCiELoBh/1oxSpdV263zfLce1fNVhU=";
};
postPatch = ''

View file

@ -13,14 +13,14 @@
buildPythonPackage rec {
pname = "pyvex";
version = "9.2.47";
version = "9.2.48";
format = "pyproject";
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit pname version;
hash = "sha256-X6PV54jP5gSo0kYy9QbJYv2fPdbJEB9D0TwQ55wJNLs=";
hash = "sha256-kdvmybMPtmCAHyXMzgRXdAPns5jN8N6IDGZ5f4rx7do=";
};
nativeBuildInputs = [

View file

@ -22,7 +22,7 @@
buildPythonPackage rec {
pname = "qcs-api-client";
version = "0.21.3";
version = "0.21.4";
format = "pyproject";
disabled = pythonOlder "3.7";
@ -31,7 +31,7 @@ buildPythonPackage rec {
owner = "rigetti";
repo = "qcs-api-client-python";
rev = "refs/tags/v${version}";
hash = "sha256-GEsCyqawLX6fTICjAOOREsO5FsmV6U/5+sDOW1v+VKE=";
hash = "sha256-eEN2K2x67dqTNsYMerLJIMV5xtRi4wiYvVql6JOcZh4=";
};
patches = [

View file

@ -0,0 +1,63 @@
{ lib
, stdenv
, pythonOlder
, buildPythonPackage
, fetchPypi
, ruff
, pygls
, lsprotocol
, hatchling
, typing-extensions
, unittestCheckHook
, python-lsp-jsonrpc
}:
buildPythonPackage rec {
pname = "ruff-lsp";
version = "0.0.24";
format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit version;
pname = "ruff_lsp";
sha256 = "sha256-1he/GYk8O9LqPXH3mu7eGWuRygiDG1OnJ+JNT2Pynzo=";
};
postPatch = ''
# ruff binary added to PATH in wrapper so it's not needed
sed -i '/"ruff>=/d' pyproject.toml
'';
nativeBuildInputs = [
hatchling
];
propagatedBuildInputs = [
pygls
lsprotocol
typing-extensions
];
doCheck = stdenv.isDarwin;
nativeCheckInputs = [
unittestCheckHook
python-lsp-jsonrpc
ruff
];
makeWrapperArgs = [
# prefer ruff from user's PATH, that's usually desired behavior
"--suffix PATH : ${lib.makeBinPath [ ruff ]}"
];
meta = with lib; {
homepage = "https://github.com/charliermarsh/ruff-lsp";
description = "A Language Server Protocol implementation for Ruff";
changelog = "https://github.com/charliermarsh/ruff-lsp/releases/tag/v${version}";
license = licenses.mit;
maintainers = with maintainers; [ kalekseev ];
};
}

View file

@ -1,47 +1,60 @@
{ pkgs
{ lib
, buildPythonPackage
, fetchPypi
, pytest
, python
, cython
, cssutils
, isPyPy
, cython
, fetchPypi
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "tinycss";
version = "0.4";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
sha256 = "12306fb50e5e9e7eaeef84b802ed877488ba80e35c672867f548c0924a76716e";
hash = "sha256-EjBvtQ5enn6u74S4Au2HdIi6gONcZyhn9UjAkkp2cW4=";
};
nativeCheckInputs = [ pytest ];
propagatedBuildInputs = [ cssutils ];
postPatch = ''
sed -i "/--cov/d" setup.cfg
'';
nativeBuildInputs = [
cython
];
propagatedBuildInputs = [
cssutils
];
nativeCheckInputs = [
pytestCheckHook
];
preBuild = ''
# Force cython to re-generate this file. If it is present, cython will
# Force Cython to re-generate this file. If it is present, Cython will
# think it is "up to date" even though it was generated with an older,
# incompatible version of cython. See
# incompatible version of Cython. See
# https://github.com/Kozea/tinycss/issues/17.
rm tinycss/speedups.c
'';
checkPhase = ''
py.test $out/${python.sitePackages}
'';
# Disable Cython tests
TINYCSS_SKIP_SPEEDUPS_TESTS = true;
# Disable Cython tests for PyPy
TINYCSS_SKIP_SPEEDUPS_TESTS = pkgs.lib.optional isPyPy true;
pythonImportsCheck = [
"tinycss"
];
meta = with pkgs.lib; {
meta = with lib; {
description = "Complete yet simple CSS parser for Python";
homepage = "https://tinycss.readthedocs.io";
changelog = "https://github.com/Kozea/tinycss/releases/tag/v${version}";
license = licenses.bsd3;
homepage = "https://pythonhosted.org/tinycss/";
maintainers = [ maintainers.costrouc ];
maintainers = with maintainers; [ costrouc ];
};
}

View file

@ -5,6 +5,7 @@
, buildPythonPackage
, cryptography
, fetchFromGitHub
, lru-dict
, poetry-core
, pytest-asyncio
, pytestCheckHook
@ -13,7 +14,7 @@
buildPythonPackage rec {
pname = "yalexs-ble";
version = "2.1.14";
version = "2.1.16";
format = "pyproject";
disabled = pythonOlder "3.9";
@ -22,7 +23,7 @@ buildPythonPackage rec {
owner = "bdraco";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-aTtcp6u+/fPHRB/FShdzfCv5haja+Vyo/WLm7GLvadw=";
hash = "sha256-dA0g5HAvbnN1t2D+JTfphxZUEbUT7NBLY6oCKFNf5E8=";
};
nativeBuildInputs = [
@ -34,6 +35,7 @@ buildPythonPackage rec {
bleak
bleak-retry-connector
cryptography
lru-dict
];
nativeCheckInputs = [

View file

@ -17,7 +17,7 @@
buildPythonPackage rec {
pname = "zigpy";
version = "0.54.1";
version = "0.55.0";
format = "setuptools";
disabled = pythonOlder "3.8";
@ -26,7 +26,7 @@ buildPythonPackage rec {
owner = "zigpy";
repo = "zigpy";
rev = "refs/tags/${version}";
hash = "sha256-CFrqDKLklvbPBWAA0S6APGBYEXdmHYRzvbTzSfJ451w=";
hash = "sha256-fc98V6KJ7zROgNktHZlWj9/BQRbCIWYT5Px09mFrwHQ=";
};
propagatedBuildInputs = [

View file

@ -8,12 +8,12 @@
, pkgsMusl # for passthru.tests
}:
stdenv.mkDerivation (self: {
stdenv.mkDerivation (finalAttrs: {
pname = "bmake";
version = "20230126";
src = fetchurl {
url = "http://www.crufty.net/ftp/pub/sjg/${self.pname}-${self.version}.tar.gz";
url = "http://www.crufty.net/ftp/pub/sjg/${finalAttrs.pname}-${finalAttrs.version}.tar.gz";
hash = "sha256-hk9yGFgs95Dsc7ILcQVCXLn/ozUiJUF3LwMTMGtqC8Q=";
};

View file

@ -2,7 +2,7 @@
stdenv.mkDerivation rec {
pname = "metals";
version = "0.11.11";
version = "0.11.12";
deps = stdenv.mkDerivation {
name = "${pname}-deps-${version}";
@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
'';
outputHashMode = "recursive";
outputHashAlgo = "sha256";
outputHash = "sha256-oz4lrRnpVzc9kN+iJv+mtV/S1wdMKwJBkKpvmWCSwE0=";
outputHash = "sha256-3zYjjrd3Hc2T4vwnajiAMNfTDUprKJZnZp2waRLQjI4=";
};
nativeBuildInputs = [ makeWrapper setJavaClassPath ];

View file

@ -1,10 +1,10 @@
{ lib, fetchurl, makeDesktopItem, appimageTools }:
let
name = "saleae-logic-2";
version = "2.4.6";
version = "2.4.7";
src = fetchurl {
url = "https://downloads.saleae.com/logic2/Logic-${version}-master.AppImage";
hash = "sha256-FYLjg4lzr8M22r4yoKfMIAx2HKGi2fcD28AaV1ChkLk=";
hash = "sha256-dMt8XWLatLNothU9oTJqYrBGNZZs0L5dXRMKP9ZeM6E=";
};
desktopItem = makeDesktopItem {
inherit name;
@ -59,7 +59,7 @@ appimageTools.wrapType2 {
alsa-lib
at-spi2-core
cups
libxcrypt
libxcrypt-legacy
];
meta = with lib; {

View file

@ -1,14 +1,12 @@
{ lib, stdenv, fetchurl, ocaml, findlib, ocamlbuild, ocamlmod, ocamlify }:
stdenv.mkDerivation {
version = "0.4.10";
version = "0.4.11";
pname = "ocaml-oasis";
# You must manually update the url, not just the version. OCamlforge keys off
# the number after download.php, not the filename.
src = fetchurl {
url = "https://forge.ocamlcore.org/frs/download.php/1694/oasis-0.4.10.tar.gz";
sha256 = "13ah03pbcvrjv5lmx971hvkm9rvbvimska5wmjfvgvd20ca0gn8w";
url = "https://download.ocamlcore.org/oasis/oasis/0.4.11/oasis-0.4.11.tar.gz";
hash = "sha256-GLc97vTtbpqDM38ks7vi3tZSaLP/cwn8wA0l5X4dwS4=";
};
createFindlibDestdir = true;
@ -40,10 +38,10 @@ stdenv.mkDerivation {
meta = with lib; {
description = "Configure, build and install system for OCaml projects";
homepage = "http://oasis.forge.ocamlcore.org/";
homepage = "https://github.com/ocaml/oasis";
license = licenses.lgpl21;
maintainers = with maintainers; [ vbgl maggesi ];
mainProgram = "oasis";
platforms = ocaml.meta.platforms or [];
inherit (ocaml.meta) platforms;
};
}

View file

@ -5,6 +5,9 @@ let
doCheck = lib.versionAtLeast ocaml.version "4.04";
in
lib.throwIf (lib.versionAtLeast ocaml.version "5.0")
"ocamlmod is not available for OCaml 5.0"
stdenv.mkDerivation {
pname = "ocamlmod";
version = "0.0.9";

View file

@ -5773,6 +5773,9 @@
"foundationdb61": [
"setuptools"
],
"foundationdb71": [
"setuptools"
],
"fountains": [
"setuptools"
],

View file

@ -5,16 +5,16 @@
rustPlatform.buildRustPackage rec {
pname = "cargo-expand";
version = "1.0.47";
version = "1.0.48";
src = fetchFromGitHub {
owner = "dtolnay";
repo = pname;
rev = version;
sha256 = "sha256-zbV0m9VezBO543uUvgazjvpbVUpQlJfasCI9b2aF+oA=";
sha256 = "sha256-AdL14usCV4iHkrSHcNI6Jg8xeI3ZQxOABLCOCBd+Isw=";
};
cargoHash = "sha256-TuGGDdciupk7nCq8r2hTbTPj1q638T9kGzgYMZe1O4g=";
cargoHash = "sha256-7sMKstWRAXFqBaEBLbetGH0l+9N4PchZ4IYshjmtxns=";
meta = with lib; {
description = "A utility and Cargo subcommand designed to let people expand macros in their Rust source code";

View file

@ -0,0 +1,30 @@
{ lib
, rustPlatform
, fetchCrate
, pkg-config
, udev
}:
rustPlatform.buildRustPackage rec {
pname = "ravedude";
version = "0.1.5";
src = fetchCrate {
inherit pname version;
hash = "sha256-wcY9fvfIn1pWMAh5FI/QFl18CV2xjmRGSwwoRfGvujo=";
};
cargoHash = "sha256-AOIrB0FRagbA2+JEURF41d+th0AbR++U5WKCcZmh4Os=";
nativeBuildInputs = [ pkg-config ];
buildInputs = [ udev ];
meta = with lib; {
description = "Tool to easily flash code onto an AVR microcontroller with avrdude";
homepage = "https://crates.io/crates/ravedude";
license = with licenses; [ mit /* or */ asl20 ];
platforms = platforms.linux;
maintainers = with maintainers; [ rvarago ];
};
}

View file

@ -2,16 +2,16 @@
rustPlatform.buildRustPackage rec {
pname = "typos";
version = "1.13.18";
version = "1.14.8";
src = fetchFromGitHub {
owner = "crate-ci";
repo = pname;
rev = "v${version}";
hash = "sha256-J7K7fqtHNQYk6JlcHhcyojHQlIyaQVlAsDnfJUX1Ess=";
hash = "sha256-x7Pcg2zgu2s+oLkOJj+Eo/Gs48BJO6+JATckMqaeaj4=";
};
cargoHash = "sha256-a6ENeLG/t8Nb8oTNkcIWlquav4wJ0a3CqDEMQwTiuMM=";
cargoHash = "sha256-4se9/lcVWAWhbi0i3FDGQraK5KhPZ6ongc2wmJV4gI0=";
meta = with lib; {
description = "Source code spell checker";

View file

@ -25,11 +25,11 @@ let
in
stdenv.mkDerivation rec {
pname = "unciv";
version = "4.6.4-patch2";
version = "4.6.5";
src = fetchurl {
url = "https://github.com/yairm210/Unciv/releases/download/${version}/Unciv.jar";
hash = "sha256-LI0PfSQq90f4Ci4np5Z+JgfVgU2b380pSIqNIpm2UKQ=";
hash = "sha256-+PXRNVLGCJmxIZSwuuRA4f1v0AxxPYesxby/wEOWR8Q=";
};
dontUnpack = true;

View file

@ -40,6 +40,7 @@ python.pkgs.buildPythonApplication rec {
"-DENABLE_USDT=ON"
"-DENABLE_CPP_API=ON"
"-DCMAKE_USE_LIBBPF_PACKAGE=ON"
"-DENABLE_LIBDEBUGINFOD=OFF"
];
# to replace this executable path:

View file

@ -1,52 +1,99 @@
{ stdenv, lib, fetchurl, gpm, freetype, fontconfig, pkg-config, ncurses, libx86 }:
{ stdenv
, autoreconfHook
, fetchFromGitLab
, fetchpatch
, fetchurl
, fontconfig
, freetype
, gpm
, lib
, ncurses
, pkg-config
}:
stdenv.mkDerivation rec {
version = "1.7.0";
version = "1.7-2";
pname = "fbterm";
src = fetchurl {
url = "https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/fbterm/fbterm-${version}.tar.gz";
sha256 = "0pciv5by989vzvjxsv1jsv4bdp4m8j0nfbl29jm5fwi12w4603vj";
src = fetchFromGitLab {
domain = "salsa.debian.org";
owner = "debian";
repo = pname;
rev = "debian/${version}";
hash = "sha256-vRUZgFpA1IkzkLzl7ImT+Yff5XqjFbUlkHmj/hd7XDE=";
};
nativeBuildInputs = [ pkg-config ncurses ];
buildInputs = [ gpm freetype fontconfig ncurses ]
++ lib.optional stdenv.hostPlatform.isx86 libx86;
nativeBuildInputs = [
autoreconfHook
pkg-config
ncurses
];
buildInputs = [
gpm
freetype
fontconfig
ncurses
];
preConfigure = ''
sed -e '/ifdef SYS_signalfd/atypedef long long loff_t;' -i src/fbterm.cpp
sed -e '/install-exec-hook:/,/^[^\t]/{d}; /.NOEXPORT/iinstall-exec-hook:\
' -i src/Makefile.in
export HOME=$PWD;
export NIX_LDFLAGS="$NIX_LDFLAGS -lfreetype"
# preConfigure = ''
# sed -e '/ifdef SYS_signalfd/atypedef long long loff_t;' -i src/fbterm.cpp
# sed -e '/install-exec-hook:/,/^[^\t]/{d}; /.NOEXPORT/iinstall-exec-hook:\
# ' -i src/Makefile.in
# export HOME=$PWD;
# export NIX_LDFLAGS="$NIX_LDFLAGS -lfreetype"
# '';
preInstall = ''
export HOME=$PWD
'';
preBuild = ''
postInstall =
let
fbtermrc = fetchurl {
url = "https://aur.archlinux.org/cgit/aur.git/plain/fbtermrc?h=fbterm";
hash = "sha256-zNIfi2ZjEGc5PLdOIirKGTXESb5Wm5XBAI1sfHa31LY=";
};
in
''
mkdir -p "$out/share/terminfo"
tic -a -v2 -o"$out/share/terminfo" terminfo/fbterm
makeFlagsArray+=("AR=$AR")
mkdir -p "$out/etc/fbterm"
cp "${fbtermrc}" "$out/etc/fbterm"
'';
# Patches from https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=fbterm
patches = [
# fixes from Arch Linux package
(fetchurl {
url = "https://raw.githubusercontent.com/glitsj16/fbterm-patched/d1fe03313be4654dd0a1c0bb5f51530732345134/gcc-6-build-fixes.patch";
sha256 = "1kl9fjnrri6pamjdl4jpkqxk5wxcf6jcchv5801xz8vxp4542m40";
(fetchpatch {
url = "https://aur.archlinux.org/cgit/aur.git/plain/fbconfig.patch?h=fbterm";
hash = "sha256-skCdUqyMkkqxS1YUI7cofsfnNNo3SL/qe4WEIXlhm/s=";
})
(fetchurl {
url = "https://raw.githubusercontent.com/glitsj16/fbterm-patched/d1fe03313be4654dd0a1c0bb5f51530732345134/insertmode-fix.patch";
sha256 = "1bad9mqcfpqb94lpx23lsamlhplil73ahzin2xjva0gl3gr1038l";
(fetchpatch {
url = "https://aur.archlinux.org/cgit/aur.git/plain/color_palette.patch?h=fbterm";
hash = "sha256-SkWxzfapyBTtMpTXkiFHRAw8/uXw7cAWwg5Q3TqWlk8=";
})
(fetchurl {
url = "https://raw.githubusercontent.com/glitsj16/fbterm-patched/d1fe03313be4654dd0a1c0bb5f51530732345134/miscoloring-fix.patch";
sha256 = "1mjszji0jgs2jsagjp671fv0d1983wmxv009ff1jfhi9pbay6jd0";
(fetchpatch {
url = "https://aur.archlinux.org/cgit/aur.git/plain/fbterm.patch?h=fbterm";
hash = "sha256-XNHBTGQGeaQPip2XgcKlr123VDwils2pnyiGqkBGhzU=";
})
(fetchpatch {
url = "https://aur.archlinux.org/cgit/aur.git/plain/0001-Fix-build-with-gcc-6.patch?h=fbterm";
hash = "sha256-3d3zBvr5upICVVkd6tn63IhuB0sF67f62aKnf8KvOwg=";
})
(fetchpatch {
url = "https://aur.archlinux.org/cgit/aur.git/plain/fix_ftbfs_crosscompile.patch?h=fbterm";
hash = "sha256-jv/FSG6dHR0jKjPXQIfqsvpiT/XYzwv/VwuV+qUSovM=";
})
(fetchpatch {
url = "https://aur.archlinux.org/cgit/aur.git/plain/fix_ftbfs_epoll.patch?h=fbterm";
hash = "sha256-wkhfG0uY/5ZApcXTERkaKqz5IDpnilxUEcxull4645A=";
})
./select.patch
];
meta = with lib; {
description = "Framebuffer terminal emulator";
homepage = "https://code.google.com/archive/p/fbterm/";
maintainers = with maintainers; [ raskin ];
homepage = "https://salsa.debian.org/debian/fbterm";
maintainers = with maintainers; [ lovesegfault raskin ];
license = licenses.gpl2;
platforms = platforms.linux;
};

View file

@ -25,12 +25,12 @@ rec {
stable = if stdenv.hostPlatform.system == "i686-linux" then legacy_390 else latest;
production = generic {
version = "525.105.17";
sha256_64bit = "sha256-xjWiGigsm1NIXxnrtkoPS1NqlouU1Nl2KeC8VHpYFCo=";
sha256_aarch64 = "sha256-FUbmupHNVab3sM/ShDXPM7pK+5GC2/ri1YW20Hx3vbE=";
openSha256 = "sha256-O3XB8tNLmNkzrYoVyJVEE0IcE772lOdr8qn4rQHIupE=";
settingsSha256 = "sha256-KUw31Am9Zfwk5QTs6th8+J3C4oUBacNgb7ZUNeV68W4=";
persistencedSha256 = "sha256-jhBtsf9MXrkU/SsBndR1ESGUHhgUWiSH7R75swk3m40=";
version = "525.116.03";
sha256_64bit = "sha256-XClbAuvsLpqewNebqSkutiO0svu6im7WGQYJKaMNBGk=";
sha256_aarch64 = "sha256-x4FZxtMDtlSwLvh0rCTdFp8+lCPoxdevCDA+b3I8De4=";
openSha256 = "sha256-AiUWHwVjXiii4hckWcFFGPyvSJfWqBlRi+lZKdfGsKM=";
settingsSha256 = "sha256-PgyV8YzEtLTER4ucnZuRjA2LkX1kqy+k0am0k9Ci40Q=";
persistencedSha256 = "sha256-Ok20+fGlTlmMyROzIPQ+V+cStsM7BTabTVORJTNZDf4=";
ibtSupport = true;
};
@ -72,21 +72,16 @@ rec {
# Last one supporting Kepler architecture
legacy_470 = generic {
version = "470.161.03";
sha256_64bit = "sha256-Xagqf4x254Hn1/C+e3mNtNNE8mvU+s+avPPHHHH+dkA=";
sha256_aarch64 = "sha256-Ak+j3CkQNCsclv0X23gP1fx3XPOSEyRkjyK5+GDxhn4=";
settingsSha256 = "sha256-ryUSiI8PsY3knkJLg0k1EmyYW5OWkhuZma/hmXNuojw=";
persistencedSha256 = "sha256-/2h90Gq9NQd9Q+9eLVE6vrxXmINXxlLcSNOHxKToOEE=";
version = "470.182.03";
sha256_64bit = "sha256-PbwUCPxIuGXT3azvxF9KP8E7kLg6Yo7lRrAIKrLD/Hk=";
sha256_aarch64 = "sha256-FEoWikgQjZKkHvAHgtkxnDhB41GdYplZTttEUBit4QQ=";
settingsSha256 = "sha256-TRKQ4brLnCbBZt1smGSIHTfwW+wEFPWWPEwDxjVXN7s=";
persistencedSha256 = "sha256-fSJMx49z9trdNxx0iPI45oG57smvvhaqVNxsRnfXKCI=";
prePatch = "pushd kernel";
postPatch = "popd";
patches = [
# source: https://gist.github.com/joanbm/963906fc6772d8955faf1b9cc46c6b04
(fetchpatch {
url = "https://gist.github.com/joanbm/963906fc6772d8955faf1b9cc46c6b04/raw/0f99aa10d47b524aa0e6e3845664deac3a1ad9d9/nvidia-470xx-fix-linux-6.2.patch";
hash = "sha256-5n5/4ivK8od8EJNJf0PI9ZZ4U5RjOw+h4HakA+lmW1c=";
})
# source: https://gist.github.com/joanbm/d10e9cbbbb8e245b6e7e27b2db338faf
(fetchpatch {
url = "https://gist.github.com/joanbm/d10e9cbbbb8e245b6e7e27b2db338faf/raw/f5d5238bdbaa16cd4008658a0f82b9dd84f1b38f/nvidia-470xx-fix-linux-6.3.patch";

View file

@ -1,7 +1,8 @@
# This builder is for FoundationDB CMake build system.
{ lib, fetchFromGitHub
, cmake, ninja, boost, python3, openjdk, mono, libressl
, cmake, ninja, python3, openjdk, mono, pkg-config
, msgpack, toml11
, gccStdenv, llvmPackages
, useClang ? false
@ -11,16 +12,23 @@
let
stdenv = if useClang then llvmPackages.libcxxStdenv else gccStdenv;
tests = with builtins;
builtins.replaceStrings [ "\n" ] [ " " ] (lib.fileContents ./test-list.txt);
tests = builtins.replaceStrings [ "\n" ] [ " " ] (lib.fileContents ./test-list.txt);
# Only even numbered versions compile on aarch64; odd numbered versions have avx enabled.
avxEnabled = version:
let
isOdd = n: lib.trivial.mod n 2 != 0;
patch = lib.toInt (lib.versions.patch version);
in isOdd patch;
makeFdb =
{ version
, branch # unused
, sha256
, rev ? "refs/tags/${version}"
, officialRelease ? true
, patches ? []
, boost
, ssl
}: stdenv.mkDerivation {
pname = "foundationdb";
inherit version;
@ -31,23 +39,28 @@ let
inherit rev sha256;
};
buildInputs = [ libressl boost ];
nativeBuildInputs = [ cmake ninja python3 openjdk mono ]
buildInputs = [ ssl boost ]
++ lib.optionals (lib.versionAtLeast version "7.1.0") [ msgpack toml11 ];
nativeBuildInputs = [ pkg-config cmake ninja python3 openjdk mono ]
++ lib.optionals useClang [ llvmPackages.lld ];
separateDebugInfo = true;
dontFixCmake = true;
cmakeFlags =
[ "-DCMAKE_BUILD_TYPE=Release"
(lib.optionalString officialRelease "-DFDB_RELEASE=TRUE")
[ (lib.optionalString officialRelease "-DFDB_RELEASE=TRUE")
# FIXME: why can't libressl be found automatically?
"-DLIBRESSL_USE_STATIC_LIBS=FALSE"
"-DLIBRESSL_INCLUDE_DIR=${libressl.dev}"
"-DLIBRESSL_CRYPTO_LIBRARY=${libressl.out}/lib/libcrypto.so"
"-DLIBRESSL_SSL_LIBRARY=${libressl.out}/lib/libssl.so"
"-DLIBRESSL_TLS_LIBRARY=${libressl.out}/lib/libtls.so"
# Disable CMake warnings for project developers.
"-Wno-dev"
# CMake Error at fdbserver/CMakeLists.txt:332 (find_library):
# > Could not find lz4_STATIC_LIBRARIES using the following names: liblz4.a
"-DSSD_ROCKSDB_EXPERIMENTAL=FALSE"
# FoundationDB's CMake is hardcoded to pull in jemalloc as an external
# project at build time.
"-DUSE_JEMALLOC=FALSE"
# LTO brings up overall build time, but results in much smaller
# binaries for all users and the cache.
@ -58,40 +71,47 @@ let
# Same with LLD when Clang is available.
(lib.optionalString useClang "-DUSE_LD=LLD")
(lib.optionalString (!useClang) "-DUSE_LD=GOLD")
] ++ lib.optionals (lib.versionOlder version "7.0.0")
[ # FIXME: why can't libressl be found automatically?
"-DLIBRESSL_USE_STATIC_LIBS=FALSE"
"-DLIBRESSL_INCLUDE_DIR=${ssl.dev}"
"-DLIBRESSL_CRYPTO_LIBRARY=${ssl.out}/lib/libcrypto.so"
"-DLIBRESSL_SSL_LIBRARY=${ssl.out}/lib/libssl.so"
"-DLIBRESSL_TLS_LIBRARY=${ssl.out}/lib/libtls.so"
] ++ lib.optionals (lib.versionAtLeast version "7.1.0" && lib.versionOlder version "7.2.0")
[ # FIXME: why can't openssl be found automatically?
"-DOPENSSL_USE_STATIC_LIBS=FALSE"
"-DOPENSSL_CRYPTO_LIBRARY=${ssl.out}/lib/libcrypto.so"
"-DOPENSSL_SSL_LIBRARY=${ssl.out}/lib/libssl.so"
];
env.NIX_CFLAGS_COMPILE = toString [
# Needed with GCC 12
"-Wno-error=missing-template-keyword"
# Needed to compile on aarch64
(lib.optionalString stdenv.isAarch64 "-march=armv8-a+crc")
];
inherit patches;
# fix up the use of the very weird and custom 'fdb_install' command by just
# replacing it with cmake's ordinary version.
postPatch = ''
for x in bindings/c/CMakeLists.txt fdbserver/CMakeLists.txt fdbmonitor/CMakeLists.txt fdbbackup/CMakeLists.txt fdbcli/CMakeLists.txt; do
substituteInPlace $x --replace 'fdb_install' 'install'
done
'';
# the install phase for cmake is pretty wonky right now since it's not designed to
# coherently install packages as most linux distros expect -- it's designed to build
# packaged artifacts that are shipped in RPMs, etc. we need to add some extra code to
# cmake upstream to fix this, and if we do, i think most of this can go away.
postInstall = ''
mv $out/sbin/fdbserver $out/bin/fdbserver
rm -rf \
$out/lib/systemd $out/Library $out/usr $out/sbin \
$out/var $out/log $out/etc
postInstall = lib.optionalString (lib.versionOlder version "7.0.0") ''
mv $out/fdbmonitor/fdbmonitor $out/bin/fdbmonitor && rm -rf $out/fdbmonitor
rm -rf $out/lib/foundationdb/
mkdir $out/libexec && ln -sfv $out/bin/fdbbackup $out/libexec/backup_agent
rm -rf $out/Library
rm -rf $out/lib/foundationdb/
mkdir $out/include/foundationdb && \
mv $out/include/*.h $out/include/*.options $out/include/foundationdb
'' + lib.optionalString (lib.versionAtLeast version "7.0.0") ''
mv $out/sbin/fdbmonitor $out/bin/fdbmonitor
mkdir $out/libexec && mv $out/usr/lib/foundationdb/backup_agent/backup_agent $out/libexec/backup_agent
'' + ''
mv $out/sbin/fdbserver $out/bin/fdbserver
rm -rf $out/etc $out/lib/foundationdb $out/lib/systemd $out/log $out/sbin $out/usr $out/var
# move results into multi outputs
mkdir -p $dev $lib
@ -113,12 +133,6 @@ let
# java bindings
mkdir -p $lib/share/java
mv lib/fdb-java-*.jar $lib/share/java/fdb-java.jar
# include the tests
mkdir -p $out/share/test
(cd ../tests && for x in ${tests}; do
cp --parents $x $out/share/test
done)
'';
outputs = [ "out" "dev" "lib" "pythonsrc" ];
@ -127,7 +141,8 @@ let
description = "Open source, distributed, transactional key-value store";
homepage = "https://www.foundationdb.org";
license = licenses.asl20;
platforms = [ "x86_64-linux" ];
platforms = [ "x86_64-linux" ]
++ lib.optionals (lib.versionAtLeast version "7.1.0" && !(avxEnabled version)) [ "aarch64-linux" ];
maintainers = with maintainers; [ thoughtpolice lostnet ];
};
};

View file

@ -2,16 +2,13 @@
, lib, fetchurl, fetchpatch, fetchFromGitHub
, cmake, ninja, which, findutils, m4, gawk
, python2, python3, openjdk, mono, libressl, boost168
, python2, python3, openjdk, mono, libressl, openssl, boost168, boost178
, pkg-config, msgpack, toml11
}@args:
let
vsmakeBuild = import ./vsmake.nix args;
cmakeBuild = import ./cmake.nix (args // {
gccStdenv = gccStdenv;
llvmPackages = llvmPackages;
boost = boost168;
});
cmakeBuild = import ./cmake.nix args;
python3-six-patch = fetchpatch {
name = "update-python-six.patch";
@ -79,8 +76,9 @@ in with builtins; {
foundationdb61 = cmakeBuild {
version = "6.1.13";
branch = "release-6.1";
sha256 = "10vd694dcnh2pp91mri1m80kfbwjanhiy50c53c5ncqfa6pwvk00";
boost = boost168;
ssl = libressl;
patches = [
./patches/clang-libcxx.patch
@ -90,4 +88,17 @@ in with builtins; {
];
};
foundationdb71 = cmakeBuild {
version = "7.1.26";
sha256 = "sha256-IVUFC2Z/nJAeKr/TtEiHAo+1HUeZuSZ2birwJtiYZx0=";
boost = boost178;
ssl = openssl;
patches = [
./patches/disable-flowbench.patch
./patches/don-t-run-tests-requiring-doctest.patch
./patches/don-t-use-static-boost-libs.patch
./patches/fix-open-with-O_CREAT.patch
];
};
}

View file

@ -0,0 +1,15 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 185b721eb..6752ff32d 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -185,7 +185,6 @@ endif()
add_subdirectory(fdbbackup)
add_subdirectory(contrib)
add_subdirectory(tests)
-add_subdirectory(flowbench EXCLUDE_FROM_ALL)
if(WITH_PYTHON AND WITH_C_BINDING)
add_subdirectory(bindings)
endif()
--
2.38.1

View file

@ -0,0 +1,128 @@
From 10c502fd36df24f1fdbdeff446982ff5247ba20e Mon Sep 17 00:00:00 2001
From: Jente Hidskes Ankarberg <jente@griffin.sh>
Date: Thu, 9 Feb 2023 12:40:21 +0100
Subject: [PATCH] Don't run tests requiring doctest
Doctest is unconditionally pulled in as an external project, which we can't do
---
bindings/c/CMakeLists.txt | 59 ---------------------------------------
1 file changed, 59 deletions(-)
diff --git bindings/c/CMakeLists.txt bindings/c/CMakeLists.txt
index b1a187b99..25b626819 100644
--- a/bindings/c/CMakeLists.txt
+++ b/bindings/c/CMakeLists.txt
@@ -84,7 +84,6 @@ if(NOT WIN32)
test/mako/mako.h
test/mako/utils.c
test/mako/utils.h)
- add_subdirectory(test/unit/third_party)
find_package(Threads REQUIRED)
set(UNIT_TEST_SRCS
test/unit/unit_tests.cpp
@@ -93,10 +92,6 @@ if(NOT WIN32)
set(UNIT_TEST_VERSION_510_SRCS test/unit/unit_tests_version_510.cpp)
set(TRACE_PARTIAL_FILE_SUFFIX_TEST_SRCS test/unit/trace_partial_file_suffix_test.cpp)
- set(DISCONNECTED_TIMEOUT_UNIT_TEST_SRCS
- test/unit/disconnected_timeout_tests.cpp
- test/unit/fdb_api.cpp
- test/unit/fdb_api.hpp)
set(API_TESTER_SRCS
test/apitester/fdb_c_api_tester.cpp
@@ -128,11 +123,7 @@ if(NOT WIN32)
add_library(fdb_c_txn_size_test OBJECT test/txn_size_test.c test/test.h)
add_library(fdb_c_client_memory_test OBJECT test/client_memory_test.cpp test/unit/fdb_api.cpp test/unit/fdb_api.hpp)
add_library(mako OBJECT ${MAKO_SRCS})
- add_library(fdb_c_setup_tests OBJECT test/unit/setup_tests.cpp)
- add_library(fdb_c_unit_tests OBJECT ${UNIT_TEST_SRCS})
- add_library(fdb_c_unit_tests_version_510 OBJECT ${UNIT_TEST_VERSION_510_SRCS})
add_library(trace_partial_file_suffix_test OBJECT ${TRACE_PARTIAL_FILE_SUFFIX_TEST_SRCS})
- add_library(disconnected_timeout_unit_tests OBJECT ${DISCONNECTED_TIMEOUT_UNIT_TEST_SRCS})
add_library(fdb_c_api_tester OBJECT ${API_TESTER_SRCS})
else()
add_executable(fdb_c_performance_test test/performance_test.c test/test.h)
@@ -140,11 +131,7 @@ if(NOT WIN32)
add_executable(fdb_c_txn_size_test test/txn_size_test.c test/test.h)
add_executable(fdb_c_client_memory_test test/client_memory_test.cpp test/unit/fdb_api.cpp test/unit/fdb_api.hpp)
add_executable(mako ${MAKO_SRCS})
- add_executable(fdb_c_setup_tests test/unit/setup_tests.cpp)
- add_executable(fdb_c_unit_tests ${UNIT_TEST_SRCS})
- add_executable(fdb_c_unit_tests_version_510 ${UNIT_TEST_VERSION_510_SRCS})
add_executable(trace_partial_file_suffix_test ${TRACE_PARTIAL_FILE_SUFFIX_TEST_SRCS})
- add_executable(disconnected_timeout_unit_tests ${DISCONNECTED_TIMEOUT_UNIT_TEST_SRCS})
add_executable(fdb_c_api_tester ${API_TESTER_SRCS})
strip_debug_symbols(fdb_c_performance_test)
strip_debug_symbols(fdb_c_ryw_benchmark)
@@ -155,20 +142,7 @@ if(NOT WIN32)
target_link_libraries(fdb_c_ryw_benchmark PRIVATE fdb_c Threads::Threads)
target_link_libraries(fdb_c_txn_size_test PRIVATE fdb_c Threads::Threads)
target_link_libraries(fdb_c_client_memory_test PRIVATE fdb_c Threads::Threads)
-
- add_dependencies(fdb_c_setup_tests doctest)
- add_dependencies(fdb_c_unit_tests doctest)
- add_dependencies(fdb_c_unit_tests_version_510 doctest)
- add_dependencies(disconnected_timeout_unit_tests doctest)
- target_include_directories(fdb_c_setup_tests PUBLIC ${DOCTEST_INCLUDE_DIR})
- target_include_directories(fdb_c_unit_tests PUBLIC ${DOCTEST_INCLUDE_DIR})
- target_include_directories(fdb_c_unit_tests_version_510 PUBLIC ${DOCTEST_INCLUDE_DIR})
- target_include_directories(disconnected_timeout_unit_tests PUBLIC ${DOCTEST_INCLUDE_DIR})
- target_link_libraries(fdb_c_setup_tests PRIVATE fdb_c Threads::Threads)
- target_link_libraries(fdb_c_unit_tests PRIVATE fdb_c Threads::Threads fdbclient)
- target_link_libraries(fdb_c_unit_tests_version_510 PRIVATE fdb_c Threads::Threads)
target_link_libraries(trace_partial_file_suffix_test PRIVATE fdb_c Threads::Threads flow)
- target_link_libraries(disconnected_timeout_unit_tests PRIVATE fdb_c Threads::Threads)
if(USE_SANITIZER)
target_link_libraries(fdb_c_api_tester PRIVATE fdb_c toml11_target Threads::Threads fmt::fmt boost_asan)
@@ -203,46 +177,13 @@ endif()
DEPENDS fdb_c
COMMENT "Copy libfdb_c to use as external client for test")
add_custom_target(external_client DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/libfdb_c_external.so)
- add_dependencies(fdb_c_unit_tests external_client)
- add_dependencies(disconnected_timeout_unit_tests external_client)
add_dependencies(fdb_c_api_tester external_client)
- add_fdbclient_test(
- NAME fdb_c_setup_tests
- COMMAND $<TARGET_FILE:fdb_c_setup_tests>)
- add_fdbclient_test(
- NAME fdb_c_unit_tests
- COMMAND $<TARGET_FILE:fdb_c_unit_tests>
- @CLUSTER_FILE@
- fdb)
- add_fdbclient_test(
- NAME fdb_c_unit_tests_version_510
- COMMAND $<TARGET_FILE:fdb_c_unit_tests_version_510>
- @CLUSTER_FILE@
- fdb)
add_fdbclient_test(
NAME trace_partial_file_suffix_test
COMMAND $<TARGET_FILE:trace_partial_file_suffix_test>
@CLUSTER_FILE@
fdb)
- add_fdbclient_test(
- NAME fdb_c_external_client_unit_tests
- COMMAND $<TARGET_FILE:fdb_c_unit_tests>
- @CLUSTER_FILE@
- fdb
- ${CMAKE_CURRENT_BINARY_DIR}/libfdb_c_external.so
- )
- add_unavailable_fdbclient_test(
- NAME disconnected_timeout_unit_tests
- COMMAND $<TARGET_FILE:disconnected_timeout_unit_tests>
- @CLUSTER_FILE@
- )
- add_unavailable_fdbclient_test(
- NAME disconnected_timeout_external_client_unit_tests
- COMMAND $<TARGET_FILE:disconnected_timeout_unit_tests>
- @CLUSTER_FILE@
- ${CMAKE_CURRENT_BINARY_DIR}/libfdb_c_external.so
- )
add_fdbclient_test(
NAME fdb_c_api_tests
DISABLE_LOG_DUMP
--
2.37.1 (Apple Git-137.1)

Some files were not shown because too many files have changed in this diff Show more