Merge master into staging-next

This commit is contained in:
github-actions[bot] 2022-07-23 00:02:26 +00:00 committed by GitHub
commit 055dd8a26e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 63 additions and 26 deletions

View File

@ -25,13 +25,13 @@
}:
buildPythonApplication rec {
pname = "visidata";
version = "2.8";
version = "2.9.1";
src = fetchFromGitHub {
owner = "saulpw";
repo = "visidata";
rev = "v${version}";
sha256 = "1lcx444yrzmcvix977cgaf18lfrf9yrn2r14ln7knx8ghc15vkqb";
hash = "sha256-PKj+imTSAGMpF1tkN0WmE3l/4FmWkm/ktIDzF2ku48s=";
};
propagatedBuildInputs = [

View File

@ -32,9 +32,9 @@
}
},
"dev": {
"version": "105.0.5176.3",
"sha256": "11zdihvy1n7d3vfl88477ppbfjd3mmkdsj4pfmfqm4mpw7zgi7fy",
"sha256bin64": "08rhg2am01dbb15djh7200wsg0wb48na09i706035wnnf0d8z313",
"version": "105.0.5191.2",
"sha256": "1vfgazay1h125qjiy9fnymmdskw06l8lhvllkbbpvz08zf9jfmaj",
"sha256bin64": "06l9ypr945dic3kj5m12dr9x098lfh208blp8gax6rxvdj8br4wh",
"deps": {
"gn": {
"version": "2022-07-11",

View File

@ -8,7 +8,7 @@
, git
, python3
, swig4
, boost172
, boost17x
, cimg
, eigen
, lcov
@ -27,14 +27,14 @@
mkDerivation rec {
pname = "openroad";
version = "2.0";
version = "unstable-2022-07-19";
src = fetchFromGitHub {
owner = "The-OpenROAD-Project";
repo = "OpenROAD";
rev = "v${version}";
rev = "2610b3953ef62651825d89fb96917cf5d20af0f1";
fetchSubmodules = true;
sha256 = "1p677xh16wskfj06jnplhpc3glibhdaqxmk0j09832chqlryzwyx";
sha256 = "sha256-BP0JSnxl1XyqHzDY4eITaGHevqd+rbjWZy/LAfDfELs=";
};
nativeBuildInputs = [
@ -47,7 +47,7 @@ mkDerivation rec {
];
buildInputs = [
boost172
boost17x
cimg
eigen
lcov
@ -70,7 +70,11 @@ mkDerivation rec {
'';
# Enable output images from the placer.
cmakeFlags = [ "-DUSE_CIMG_LIB=ON" ];
cmakeFlags = [
"-DUSE_SYSTEM_BOOST=ON"
"-DUSE_CIMG_LIB=ON"
"-DOPENROAD_VERSION=${src.rev}"
];
# Resynthesis needs access to the Yosys binaries.
qtWrapperArgs = [ "--prefix PATH : ${lib.makeBinPath [ yosys ]}" ];
@ -84,6 +88,12 @@ mkDerivation rec {
test/regression
'';
doInstallCheck = true;
installCheckPhase = ''
$out/bin/openroad -version
$out/bin/sta -version
'';
meta = with lib; {
description = "OpenROAD's unified application implementing an RTL-to-GDS flow";
homepage = "https://theopenroadproject.org";

View File

@ -2,11 +2,11 @@
stdenv.mkDerivation rec {
pname = "atkmm";
version = "2.36.1";
version = "2.36.2";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "sha256-4RMkv+0bbjMKAtslzswUXcoD+w3/R/BxDIXjF2h9pFg=";
sha256 = "sha256-b2LdmfdGmF5XNgWTdXfM/JRDaPYGpxykY0LXDhza4Hk=";
};
outputs = [ "out" "dev" ];

View File

@ -2,11 +2,11 @@
stdenv.mkDerivation rec {
pname = "atkmm";
version = "2.28.2";
version = "2.28.3";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "sha256-oLtJdlzszCk6ssZzW6EAQxgH04T/oUwuvTDgeZP9L6Q=";
sha256 = "sha256-fCCItIapCb6NorGDBOVsX5CITRNDyNpzZ+pc0yWLmWk=";
};
outputs = [ "out" "dev" ];

View File

@ -48,7 +48,7 @@ in
};
fmt_8 = generic {
version = "8.0.1";
sha256 = "1mnvxqsan034d2jiqnw2yvkljl7lwvhakmj5bscwp1fpkn655bbw";
version = "8.1.1";
sha256 = "sha256-leb2800CwdZMJRWF5b1Y9ocK0jXpOX/nwo95icDf308=";
};
}

View File

@ -4,11 +4,11 @@
stdenv.mkDerivation {
pname = "cnijfilter2";
version = "6.10";
version = "6.40";
src = fetchzip {
url = "https://gdlp01.c-wss.com/gds/1/0100010921/01/cnijfilter2-source-6.10-1.tar.gz";
sha256 = "0w121issdjxdv5i9ksa5m23if6pz1r9ql8p894f1pqn16w0kw1ix";
url = "https://gdlp01.c-wss.com/gds/1/0100011381/01/cnijfilter2-source-6.40-1.tar.gz";
sha256 = "3RoG83jLOsdTEmvUkkxb7wa8oBrJA4v1mGtxTGwSowU=";
};
nativeBuildInputs = [ automake autoconf ];
@ -16,6 +16,10 @@ stdenv.mkDerivation {
cups glib libxml2 libusb1 libtool
];
patches = [
./patches/get_protocol.patch
];
# lgmon3's --enable-libdir flag is used soley for specifying in which
# directory the cnnnet.ini cache file should reside.
# NixOS uses /var/cache/cups, and given the name, it seems like a reasonable
@ -25,7 +29,7 @@ stdenv.mkDerivation {
# $out/lib/cups/filter/libcnbpcnclapicom2.so
buildPhase = ''
mkdir -p $out/lib
cp com/libs_bin64/* $out/lib
cp com/libs_bin_x86_64/* $out/lib
mkdir -p $out/lib/cups/filter
ln -s $out/lib/libcnbpcnclapicom2.so $out/lib/cups/filter
@ -51,6 +55,12 @@ stdenv.mkDerivation {
make
)
(
cd cmdtocanonij3
./autogen.sh --prefix=$out
make
)
(
cd cnijbe2
substituteInPlace src/Makefile.am \
@ -90,6 +100,11 @@ stdenv.mkDerivation {
make install
)
(
cd cmdtocanonij3
make install
)
(
cd cnijbe2
make install

View File

@ -0,0 +1,14 @@
# Resolves the compilation issue reported at https://github.com/NixOS/nixpkgs/pull/180681#issuecomment-1192304711
# An identical issue was previously reported in Gentoo: https://bugs.gentoo.org/723186
# This patch is taken from the solution of Alfredo Tupone (https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24688d64544b43f2c14be54531ad8764419dde09)
--- a/lgmon3/src/cnijlgmon3.c 2022-07-22 12:44:32.194641628 +0100
+++ b/lgmon3/src/cnijlgmon3.c 2022-07-22 12:43:53.954817724 +0100
@@ -55,7 +55,7 @@
int (*GET_STATUS)(char *, int, int *, int * , char *);
int (*GET_STATUS2)(char *, int, char *, int *, int * , char *, char *);
int (*GET_STATUS2_MAINTENANCE)(char *, int, char *, int *, int * , char *, char *);
-int (*GET_PROTOCOL)(char *, size_t);
+static int (*GET_PROTOCOL)(char *, size_t);
int main(int argc, char *argv[])

View File

@ -2,16 +2,16 @@
buildGoModule rec {
pname = "fzf";
version = "0.30.0";
version = "0.31.0";
src = fetchFromGitHub {
owner = "junegunn";
repo = pname;
rev = version;
sha256 = "sha256-7E6fj/Sjew+zz+iMFkiSJjVn2rymKRvZtEJZH65INxk=";
sha256 = "sha256-HKwf/ogNx+jCNSVHI8rt6WYRbuyT18V4nnMyZ6TmwVQ=";
};
vendorSha256 = "sha256-omvCzM5kH3nAE57S33NV0OFRJmU+Ty7hhriaG/Dc0o0=";
vendorSha256 = "sha256-3ry93xV3KKtFoFGt2yxzMd4jx3QG2+8TBrEEywj7HPQ=";
outputs = [ "out" "man" ];
@ -34,8 +34,6 @@ buildGoModule rec {
# Has a sneaky dependency on perl
# Include first args to make sure we're patching the right thing
substituteInPlace shell/key-bindings.zsh \
--replace " perl -ne " " ${perl}/bin/perl -ne "
substituteInPlace shell/key-bindings.bash \
--replace " perl -n " " ${perl}/bin/perl -n "
'';