pkgs#pure: init at 0e87bd8
This commit is contained in:
parent
56be97690f
commit
ef5d61af76
|
@ -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
|
||||
|
|
|
@ -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 { };
|
||||
}
|
||||
|
|
28
pkgs/shells/zsh/pure/default.nix
Normal file
28
pkgs/shells/zsh/pure/default.nix
Normal 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;
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue