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: 337f8f7301ae
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 0f21becbabc8
Choose a head ref
  • 1 commit
  • 2 files changed
  • 1 contributor

Commits on Nov 11, 2018

  1. spaceship-prompt: init at 3.7.1 (#50177)

    * spaceship-prompt: init at 3.7.1
    
    * spaceship-prompt: useless zsh argument
    nyanloutre authored and infinisil committed Nov 11, 2018

    Verified

    This commit was signed with the committer’s verified signature.
    Mic92 Jörg Thalheim
    Copy the full SHA
    0f21bec View commit details
Showing with 35 additions and 0 deletions.
  1. +33 −0 pkgs/shells/zsh/spaceship-prompt/default.nix
  2. +2 −0 pkgs/top-level/all-packages.nix
33 changes: 33 additions & 0 deletions pkgs/shells/zsh/spaceship-prompt/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{ stdenv, fetchFromGitHub }:

stdenv.mkDerivation rec{
name = "spaceship-prompt-${version}";
version = "3.7.1";

src = fetchFromGitHub {
owner = "denysdovhan";
repo = "spaceship-prompt";
sha256 = "0laihax18bs254rm2sww5wkjbmkp4m5c8aicgqpi4diz7difxk6z";
rev = "aaa34aeab9ba0a99416788f627ec9aeffba392f0";
};

installPhase = ''
install -D -m644 LICENSE.md "$out/share/licenses/spaceship-prompt/LICENSE"
install -D -m644 README.md "$out/share/doc/spaceship-prompt/README.md"
find docs -type f -exec install -D -m644 {} "$out/share/doc/spaceship-prompt/{}" \;
find lib -type f -exec install -D -m644 {} "$out/lib/spaceship-prompt/{}" \;
find scripts -type f -exec install -D -m644 {} "$out/lib/spaceship-prompt/{}" \;
find sections -type f -exec install -D -m644 {} "$out/lib/spaceship-prompt/{}" \;
install -D -m644 spaceship.zsh "$out/lib/spaceship-prompt/spaceship.zsh"
install -d "$out/share/zsh/themes/"
ln -s "$out/lib/spaceship-prompt/spaceship.zsh" "$out/share/zsh/themes/spaceship.zsh-theme"
'';

meta = with stdenv.lib; {
description = "Zsh prompt for Astronauts";
homepage = https://github.com/halfo/lambda-mod-zsh-theme/;
license = licenses.mit;
platforms = platforms.linux;
maintainers = with maintainers; [ nyanloutre ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
@@ -12360,6 +12360,8 @@ with pkgs;

spandsp = callPackage ../development/libraries/spandsp {};

spaceship-prompt = callPackage ../shells/zsh/spaceship-prompt {};

spatialite_tools = callPackage ../development/libraries/spatialite-tools { };

spdk = callPackage ../development/libraries/spdk { };