Merge pull request #211486 from figsoda/macchina

macchina: fix darwin build, add figsoda as a maintainer
This commit is contained in:
figsoda 2023-01-19 18:42:45 -05:00 committed by GitHub
commit 25940fd0df
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 10 deletions

View file

@ -1,10 +1,9 @@
{ lib
, stdenv
, rustPlatform
, fetchFromGitHub
, installShellFiles
, libiconv
, Foundation
, stdenv
, darwin
}:
rustPlatform.buildRustPackage rec {
@ -25,12 +24,12 @@ rustPlatform.buildRustPackage rec {
];
buildInputs = lib.optionals stdenv.isDarwin [
libiconv
Foundation
darwin.apple_sdk.frameworks.AppKit
darwin.apple_sdk.frameworks.DisplayServices
];
postInstall = ''
installShellCompletion target/completions/*.{bash,fish}
installManPage doc/macchina.{1,7}
'';
meta = with lib; {
@ -38,6 +37,6 @@ rustPlatform.buildRustPackage rec {
homepage = "https://github.com/Macchina-CLI/macchina";
changelog = "https://github.com/Macchina-CLI/macchina/releases/tag/v${version}";
license = with licenses; [ mit ];
maintainers = with maintainers; [ _414owen ];
maintainers = with maintainers; [ _414owen figsoda ];
};
}

View file

@ -9469,9 +9469,7 @@ with pkgs;
macchanger = callPackage ../os-specific/linux/macchanger { };
macchina = callPackage ../tools/misc/macchina {
inherit (darwin.apple_sdk.frameworks) Foundation;
};
macchina = callPackage ../tools/misc/macchina { };
madlang = haskell.lib.compose.justStaticExecutables haskellPackages.madlang;