Merge pull request #40002 from jD91mZM2/powerline-rs

powerline-rs: init at 0.1.6
This commit is contained in:
Jan Tojnar 2018-05-05 16:35:17 +02:00 committed by GitHub
commit 7be2768a9c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 32 additions and 0 deletions

View file

@ -1740,6 +1740,11 @@
github = "jdagilliland";
name = "Jason Gilliland";
};
jD91mZM2 = {
email = "me@krake.one";
github = "jD91mZM2";
name = "jD91mZM2";
};
jefdaj = {
email = "jefdaj@gmail.com";
github = "jefdaj";

View file

@ -0,0 +1,25 @@
{ lib, rustPlatform, fetchFromGitHub, pkgconfig, file, perl, cmake, libgit2, openssl_1_1_0, libssh2, libzip }:
rustPlatform.buildRustPackage rec {
name = "powerline-rs-${version}";
version = "0.1.6";
src = fetchFromGitHub {
owner = "jD91mZM2";
repo = "powerline-rs";
rev = version;
sha256 = "11rhirnk8zh4vf00df9cgy9vw5h8n7kgnhjbjbnlpl9i6wal9nvl";
};
cargoSha256 = "184s432a6damzvl0lv6jar1iml9dq60r190aqjy44lcg938981zc";
nativeBuildInputs = [ pkgconfig file perl cmake ];
buildInputs = [ libgit2 ];
propagatedBuildInputs = [ openssl_1_1_0 libssh2 libzip ];
meta = with lib; {
description = "powerline-shell rewritten in Rust, inspired by powerline-go";
maintainers = with maintainers; [ jD91mZM2 ];
platforms = platforms.unix;
};
}

View file

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