Unverified Commit 837f5b89 authored by Pol Dellaiera's avatar Pol Dellaiera Committed by GitHub
Browse files

Merge pull request #312172 from patricoferris/russ-darwin

russ: fix darwin
parents b6e2eeaf b39f5941
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -3,6 +3,7 @@
, fetchFromGitHub
, rustPlatform
, xorg
, darwin
}:

rustPlatform.buildRustPackage {
@@ -21,6 +22,11 @@ rustPlatform.buildRustPackage {
  # tests are network based :(
  doCheck = false;

  buildInputs = lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [
    CoreServices
    AppKit
  ]);

  meta = with lib; {
    description = "A TUI RSS reader with vim-like controls and a local-first, offline-first focus";
    mainProgram = "russ";
@@ -28,6 +34,5 @@ rustPlatform.buildRustPackage {
    license = with licenses; [ agpl3Only ];
    maintainers = with maintainers; [ blusk ];
    changelog = "https://github.com/ckampfe/russ/blob/master/CHANGELOG.md";
    broken = stdenv.isDarwin;
  };
}