3
0
Fork 0
forked from mirrors/nixpkgs

oh-my-posh: init at 8.25.0

This commit is contained in:
Luc Perkins 2022-08-01 17:21:38 +02:00
parent f48f608f8f
commit 45bc6744b2
No known key found for this signature in database
GPG key ID: 4F102D0C16E232F2
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

@ -9238,6 +9238,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 { };