gitAndTools.git-interactive-rebase-tool: enable on darwin

This commit is contained in:
Mario Rodas 2020-02-02 21:15:10 -05:00
parent e3968c67f0
commit 378be0a542
No known key found for this signature in database
GPG Key ID: 325649BCA6D53027
2 changed files with 6 additions and 4 deletions

View File

@ -103,7 +103,9 @@ let
git-imerge = callPackage ./git-imerge { };
git-interactive-rebase-tool = callPackage ./git-interactive-rebase-tool {};
git-interactive-rebase-tool = callPackage ./git-interactive-rebase-tool {
inherit (darwin.apple_sdk.frameworks) Security;
};
git-machete = python3Packages.callPackage ./git-machete { };

View File

@ -1,4 +1,4 @@
{ lib, ncurses5, fetchFromGitHub, rustPlatform }:
{ stdenv, ncurses5, fetchFromGitHub, rustPlatform, libiconv, Security }:
rustPlatform.buildRustPackage rec {
pname = "git-interactive-rebase-tool";
@ -13,11 +13,11 @@ rustPlatform.buildRustPackage rec {
cargoSha256 = "002kr52vlpv1rhnxki29xflpmgk6bszrw0dsxcc34kyal0593ajk";
buildInputs = [ ncurses5 ];
buildInputs = [ ncurses5 ] ++ stdenv.lib.optionals stdenv.isDarwin [ libiconv Security ];
checkFlagsArray = [ "--test-threads=1" ];
meta = with lib; {
meta = with stdenv.lib; {
homepage = "https://github.com/MitMaro/git-interactive-rebase-tool";
description = "Native cross platform full feature terminal based sequence editor for git interactive rebase";
changelog = "https://github.com/MitMaro/git-interactive-rebase-tool/releases/tag/${version}";