Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 1dddd0d03b2f
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 884cbc5d5d6e
Choose a head ref
  • 1 commit
  • 1 file changed
  • 2 contributors

Commits on Jan 11, 2020

  1. powerline-rs: 0.1.9 -> 0.2.0

    Now *finally* uses crate2nix because it's awesome!
    
    ----------------
    
    Squashed with:
    
    Apply suggestions from code review
    
    Co-Authored-By: Jon <jonringer@users.noreply.github.com>
    jD91mZM2 and Jon committed Jan 11, 2020
    Copy the full SHA
    884cbc5 View commit details
Showing with 5 additions and 7 deletions.
  1. +5 −7 pkgs/tools/misc/powerline-rs/default.nix
12 changes: 5 additions & 7 deletions pkgs/tools/misc/powerline-rs/default.nix
Original file line number Diff line number Diff line change
@@ -1,20 +1,18 @@
{ stdenv, lib, rustPlatform, fetchFromGitLab, pkgconfig, file, perl, curl, cmake, openssl, libssh2, libgit2, libzip, Security }:

rustPlatform.buildRustPackage rec {
pname = "powerline-rs";
version = "0.1.9";
version = "0.2.0";

src = fetchFromGitLab {
owner = "jD91mZM2";
repo = "powerline-rs";
#rev = version;

# Support for $COMPLETION_OUT:
rev = "44679385a95dd9f3ebd9b093f9ef8925610e9a23";
rev = version;

sha256 = "1mxkw6ydnqjyplbki2j9pbnlhxmkw9qqw54443a3cjmn2g08jyzp";
sha256 = "0rqlxxl58dpfvm2idhi0vzinraf4bgiapmawiih9wxs599fnhm3y";
};

cargoSha256 = "1d0f1c1vp1r9r3ic921xkcr59f4a45y2xbxm4gl6grhb9z6p5k7l";
cargoSha256 = "1vdx5nwj4qmkb3rdgnchd9xixc5pmhvskvn6dmqgm91s41p2al1p";

nativeBuildInputs = [ pkgconfig file perl cmake curl ];
buildInputs = [ openssl libssh2 libgit2 libzip ] ++ lib.optional stdenv.isDarwin Security;