newsboat: migrate to pkgs/by-name

This commit is contained in:
Alexis Hildebrandt
2024-09-30 04:27:13 +02:00
parent d504fbf221
commit 0d65cdb64b
2 changed files with 2 additions and 6 deletions
@@ -1,5 +1,5 @@
{ lib, stdenv, rustPlatform, fetchFromGitHub, stfl, sqlite, curl, gettext, pkg-config, libxml2, json_c, ncurses
, asciidoctor, libiconv, Security, Foundation, makeWrapper, nix-update-script }:
, darwin, asciidoctor, libiconv, makeWrapper, nix-update-script }:
rustPlatform.buildRustPackage rec {
pname = "newsboat";
@@ -28,7 +28,7 @@ rustPlatform.buildRustPackage rec {
] ++ lib.optionals stdenv.hostPlatform.isDarwin [ makeWrapper ncurses ];
buildInputs = [ stfl sqlite curl libxml2 json_c ncurses ]
++ lib.optionals stdenv.hostPlatform.isDarwin [ Security Foundation libiconv gettext ];
++ lib.optionals stdenv.hostPlatform.isDarwin (with darwin.apple_sdk.frameworks; [ Security Foundation libiconv gettext ]);
postBuild = ''
make -j $NIX_BUILD_CORES prefix="$out"
-4
View File
@@ -10408,10 +10408,6 @@ with pkgs;
nm-tray = libsForQt5.callPackage ../tools/networking/networkmanager/tray.nix { };
newsboat = callPackage ../applications/networking/feedreaders/newsboat {
inherit (darwin.apple_sdk.frameworks) Security Foundation;
};
grocy = callPackage ../servers/grocy { };
inherit (callPackages ../servers/nextcloud {})