Merge pull request #270376 from wahjava/update-fnc

fnc: 0.15 -> 0.16
This commit is contained in:
Weijia Wang
2023-12-10 13:54:53 +01:00
committed by GitHub
2 changed files with 9 additions and 6 deletions
@@ -1,12 +1,12 @@
{ lib, fetchurl, fetchpatch, stdenv, zlib, ncurses, libiconv }:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "fnc";
version = "0.15";
version = "0.16";
src = fetchurl {
url = "https://fnc.bsdbox.org/tarball/${version}/fnc-${version}.tar.gz";
sha256 = "sha256-8up844ekIOMcPlfB2DJzR/GgJY9s/sBeYpG+YtdauvU=";
url = "https://fnc.bsdbox.org/tarball/${finalAttrs.version}/fnc-${finalAttrs.version}.tar.gz";
hash = "sha256-6I6wtSMHaKdnlUK4pYiaybJeODGu2P+smYW8lQDIWGM=";
};
buildInputs = [ libiconv ncurses zlib ];
@@ -16,6 +16,9 @@ stdenv.mkDerivation rec {
env.NIX_CFLAGS_COMPILE = toString (lib.optionals stdenv.cc.isGNU [
# Needed with GCC 12
"-Wno-error=maybe-uninitialized"
] ++ lib.optionals stdenv.isDarwin [
# error: 'strtonum' is only available on macOS 11.0 or newer
"-Wno-error=unguarded-availability-new"
]);
preInstall = ''
@@ -35,4 +38,4 @@ stdenv.mkDerivation rec {
maintainers = with maintainers; [ abbe ];
mainProgram = "fnc";
};
}
})
+1 -1
View File
@@ -31612,7 +31612,7 @@ with pkgs;
fmsynth = callPackage ../applications/audio/fmsynth { };
fnc = callPackage ../applications/version-management/fnc { };
fnc = darwin.apple_sdk_11_0.callPackage ../applications/version-management/fnc { };
focus = callPackage ../tools/X11/focus { };