forked from mirrors/nixpkgs
oh-my-posh: init at 8.25.0
This commit is contained in:
parent
f48f608f8f
commit
45bc6744b2
26
pkgs/development/tools/oh-my-posh/default.nix
Normal file
26
pkgs/development/tools/oh-my-posh/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue