powerline-go: init at 1.8.2
This commit is contained in:
parent
0f2dc6c209
commit
60646c10d5
26
pkgs/tools/misc/powerline-go/default.nix
Normal file
26
pkgs/tools/misc/powerline-go/default.nix
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
||||||
|
|
||||||
|
buildGoPackage rec {
|
||||||
|
pname = "powerline-go";
|
||||||
|
version = "1.8.2";
|
||||||
|
name = "${pname}-${version}";
|
||||||
|
rev = "v${version}";
|
||||||
|
|
||||||
|
goPackagePath = "github.com/justjanne/powerline-go";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "justjanne";
|
||||||
|
repo = pname;
|
||||||
|
inherit rev;
|
||||||
|
sha256 = "1q45hxbrnx0mgi7z1rqkxp47dk8yf4mzy62i0027fhr65aifq6xj";
|
||||||
|
};
|
||||||
|
|
||||||
|
goDeps = ./deps.nix;
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "A Powerline like prompt for Bash, ZSH and Fish";
|
||||||
|
license = licenses.gpl3;
|
||||||
|
platforms = platforms.unix;
|
||||||
|
maintainers = with maintainers; [ sifmelcara ];
|
||||||
|
};
|
||||||
|
}
|
48
pkgs/tools/misc/powerline-go/deps.nix
Normal file
48
pkgs/tools/misc/powerline-go/deps.nix
Normal file
@ -0,0 +1,48 @@
|
|||||||
|
# This file was generated by https://github.com/kamilchm/go2nix v1.2.1
|
||||||
|
[
|
||||||
|
{
|
||||||
|
goPackagePath = "github.com/mattn/go-runewidth";
|
||||||
|
fetch = {
|
||||||
|
type = "git";
|
||||||
|
url = "https://github.com/mattn/go-runewidth";
|
||||||
|
rev = "a9d6d1e4dc51df2130326793d49971f238839169";
|
||||||
|
sha256 = "1x6x5r6ijik5ardfrpncjbqvpv8j5m7yb94svzz83a15ln44ajmg";
|
||||||
|
};
|
||||||
|
}
|
||||||
|
{
|
||||||
|
goPackagePath = "golang.org/x/crypto";
|
||||||
|
fetch = {
|
||||||
|
type = "git";
|
||||||
|
url = "https://go.googlesource.com/crypto";
|
||||||
|
rev = "91a49db82a88618983a78a06c1cbd4e00ab749ab";
|
||||||
|
sha256 = "1xb4vlshx76xany4w60dkpz67plyfk7nr97pinf1bbha32pi36jc";
|
||||||
|
};
|
||||||
|
}
|
||||||
|
{
|
||||||
|
goPackagePath = "golang.org/x/sys";
|
||||||
|
fetch = {
|
||||||
|
type = "git";
|
||||||
|
url = "https://go.googlesource.com/sys";
|
||||||
|
rev = "dd2ff4accc098aceecb86b36eaa7829b2a17b1c9";
|
||||||
|
sha256 = "086j1kk56vm1m5m9sf3lcww9phqw6p2q3g0is1jn4ixfxd3wm2wg";
|
||||||
|
};
|
||||||
|
}
|
||||||
|
{
|
||||||
|
goPackagePath = "golang.org/x/text";
|
||||||
|
fetch = {
|
||||||
|
type = "git";
|
||||||
|
url = "https://go.googlesource.com/text";
|
||||||
|
rev = "b7ef84aaf62aa3e70962625c80a571ae7c17cb40";
|
||||||
|
sha256 = "0xfb515f3bmcq15sq1cm641qwgsmq1w5xjdx2mhwgns770jngndd";
|
||||||
|
};
|
||||||
|
}
|
||||||
|
{
|
||||||
|
goPackagePath = "gopkg.in/yaml.v2";
|
||||||
|
fetch = {
|
||||||
|
type = "git";
|
||||||
|
url = "https://gopkg.in/yaml.v2";
|
||||||
|
rev = "7f97868eec74b32b0982dd158a51a446d1da7eb5";
|
||||||
|
sha256 = "0a31jd1p00b9c82f3sfsbv2bdh7mlfy9vhcqxipll2cyvxplgfq8";
|
||||||
|
};
|
||||||
|
}
|
||||||
|
]
|
@ -14242,6 +14242,8 @@ with pkgs;
|
|||||||
|
|
||||||
powerline-fonts = callPackage ../data/fonts/powerline-fonts { };
|
powerline-fonts = callPackage ../data/fonts/powerline-fonts { };
|
||||||
|
|
||||||
|
powerline-go = callPackage ../tools/misc/powerline-go { };
|
||||||
|
|
||||||
profont = callPackage ../data/fonts/profont { };
|
profont = callPackage ../data/fonts/profont { };
|
||||||
|
|
||||||
proggyfonts = callPackage ../data/fonts/proggyfonts { };
|
proggyfonts = callPackage ../data/fonts/proggyfonts { };
|
||||||
|
Loading…
Reference in New Issue
Block a user