Merge pull request #36337 from sifmelcara/add/powerlines

powerline-go: init at 1.8.2
This commit is contained in:
lewo 2018-03-05 15:06:44 +01:00 committed by GitHub
commit 91280690af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 76 additions and 0 deletions

@ -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 ];
};
}

@ -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";
};
}
]

@ -14269,6 +14269,8 @@ with pkgs;
powerline-fonts = callPackage ../data/fonts/powerline-fonts { };
powerline-go = callPackage ../tools/misc/powerline-go { };
profont = callPackage ../data/fonts/profont { };
proggyfonts = callPackage ../data/fonts/proggyfonts { };