pkgs#pure: init at 0e87bd8

This commit is contained in:
Timothy DeHerrera 2020-01-07 13:05:38 -07:00
parent 56be97690f
commit ef5d61af76
No known key found for this signature in database
GPG key ID: 8985725DB5B0C122
3 changed files with 30 additions and 1 deletions

View file

@ -28,7 +28,7 @@
in overlays;
packages.x86_64-linux = {
inherit (pkgs) sddm-chili dejavu_nerdfont purs;
inherit (pkgs) sddm-chili dejavu_nerdfont purs pure;
};
nixosModules = let

View file

@ -3,4 +3,5 @@ final: prev: {
prev.callPackage ./applications/display-managers/sddm/themes/chili { };
dejavu_nerdfont = prev.callPackage ./data/fonts/dejavu-nerdfont { };
purs = prev.callPackage ./shells/zsh/purs { };
pure = prev.callPackage ./shells/zsh/pure { };
}

View file

@ -0,0 +1,28 @@
{ stdenv, fetchFromGitHub, openssl, pkgconfig, rustPlatform }:
stdenv.mkDerivation rec {
name = "pure-${version}";
version = "0e87bd8";
srcs = fetchFromGitHub {
owner = "sindresorhus";
repo = "pure";
rev = "0e87bd897bb67049329c55174dcc643926337b01";
hash = "sha256-JytsTviVHphYnP5KTbSkbaiNeg2fMufYc6r0X0SQyqI=";
};
buildPhase = "true";
installPhase = ''
mkdir -p $out/share/zsh/plugins/pure
cp -r ./ $out/share/zsh/plugins/pure
'';
meta = with stdenv.lib; {
description = "Pretty, minimal and fast ZSH prompt";
homepage = "https://github.com/sindresorhus/pure";
maintainers = [ maintainers.nrdxp ];
license = licenses.mit;
inherit version;
};
}