Merge pull request #206688 from aaqaishtyaq/add-iay-prompt
iay: init at v0.4.0
This commit is contained in:
commit
7d4dea4376
3 changed files with 57 additions and 0 deletions
|
@ -186,6 +186,12 @@
|
|||
githubId = 7755101;
|
||||
name = "Aaron Andersen";
|
||||
};
|
||||
aaqaishtyaq = {
|
||||
email = "aaqaishtyaq@gmail.com";
|
||||
github = "aaqaishtyaq";
|
||||
githubId = 22131756;
|
||||
name = "Aaqa Ishtyaq";
|
||||
};
|
||||
aaronjanse = {
|
||||
email = "aaron@ajanse.me";
|
||||
matrix = "@aaronjanse:matrix.org";
|
||||
|
|
47
pkgs/tools/misc/iay/default.nix
Normal file
47
pkgs/tools/misc/iay/default.nix
Normal file
|
@ -0,0 +1,47 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, rustPlatform
|
||||
, openssl
|
||||
, pkg-config
|
||||
, AppKit
|
||||
, Cocoa
|
||||
, Foundation
|
||||
, Security
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "iay";
|
||||
version = "0.4.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "aaqaishtyaq";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "0r2yp34gxkh32amrysfj1jg543dh0kyqxzcx0zyi6a8y9232d8ky";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-SMqiwM6LrXXjV4Mb2BY9WbeKKPkxiYxPyZ4aepVIAqU=";
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
|
||||
buildInputs = [
|
||||
openssl
|
||||
]
|
||||
++ lib.optionals stdenv.isDarwin [
|
||||
AppKit
|
||||
Cocoa
|
||||
Foundation
|
||||
Security
|
||||
];
|
||||
|
||||
NIX_LDFLAGS = lib.optionals stdenv.isDarwin [ "-framework" "AppKit" ];
|
||||
|
||||
meta = with lib; {
|
||||
description =
|
||||
"Minimalistic, blazing-fast, and extendable prompt for bash and zsh";
|
||||
homepage = "https://github.com/aaqaishtyaq/iay";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ aaqaishtyaq ];
|
||||
};
|
||||
}
|
|
@ -14628,6 +14628,10 @@ with pkgs;
|
|||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
};
|
||||
|
||||
iay = callPackage ../tools/misc/iay {
|
||||
inherit (darwin.apple_sdk.frameworks) AppKit Security Foundation Cocoa;
|
||||
};
|
||||
|
||||
idrisPackages = dontRecurseIntoAttrs (callPackage ../development/idris-modules {
|
||||
idris-no-deps = haskellPackages.idris;
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue