Merge pull request #184670 from lucperkins/lperkins/oh-my-posh

oh-my-posh: init at 8.33.0
This commit is contained in:
Jonas Heinrich 2022-08-23 19:50:34 +02:00 committed by GitHub
commit 055ab526bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,26 @@
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "oh-my-posh";
version = "8.33.0";
src = fetchFromGitHub {
owner = "jandedobbeleer";
repo = pname;
rev = "v${version}";
sha256 = "sha256-7sK5Gv0EFa2ljkERYgDBwKffSv5xGaDBVAqP38Smyz4=";
};
vendorSha256 = "sha256-t4FpvXsGVsTYoGM8wY2JelscnlmDzrLMPYk7zGUfo58=";
sourceRoot = "source/src";
ldflags = [ "-s" "-w" "-X" "main.Version=${version}" ];
meta = with lib; {
description = "A prompt theme engine for any shell";
homepage = "https://ohmyposh.dev";
license = licenses.mit;
maintainers = with maintainers; [ lucperkins ];
};
}

View File

@ -9361,6 +9361,8 @@ with pkgs;
ogdf = callPackage ../development/libraries/ogdf { };
oh-my-posh = callPackage ../development/tools/oh-my-posh {};
oh-my-zsh = callPackage ../shells/zsh/oh-my-zsh { };
ola = callPackage ../applications/misc/ola { };