From 7a07421c76d002ba97a986b90d6e0a55100b7900 Mon Sep 17 00:00:00 2001 From: emaryn Date: Sun, 11 May 2025 12:33:40 +0800 Subject: [PATCH] nbfc-linux: 0.2.7 -> 0.3.15 Diff: https://github.com/nbfc-linux/nbfc-linux/compare/0.2.7...0.3.15 --- pkgs/by-name/nb/nbfc-linux/package.nix | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/pkgs/by-name/nb/nbfc-linux/package.nix b/pkgs/by-name/nb/nbfc-linux/package.nix index 2ae265b615db..8f3d6e7be515 100644 --- a/pkgs/by-name/nb/nbfc-linux/package.nix +++ b/pkgs/by-name/nb/nbfc-linux/package.nix @@ -3,21 +3,24 @@ stdenv, fetchFromGitHub, autoreconfHook, + curl, }: + stdenv.mkDerivation (finalAttrs: { pname = "nbfc-linux"; - version = "0.2.7"; + version = "0.3.15"; src = fetchFromGitHub { owner = "nbfc-linux"; repo = "nbfc-linux"; - rev = "${finalAttrs.version}"; - hash = "sha256-1tLW/xEh01y8BjVbgIa95DkYWf7CDVSo/lI/1U28Xs8="; + tag = "${finalAttrs.version}"; + hash = "sha256-i6G7r9Mg90WMWjSIDDbyNLAr2ZxJX9D02bNaL5EY48I="; }; - nativeBuildInputs = [ - autoreconfHook - ]; + nativeBuildInputs = [ autoreconfHook ]; + + buildInputs = [ curl ]; + configureFlags = [ "--prefix=${placeholder "out"}" "--sysconfdir=${placeholder "out"}/etc"