mirror of
https://github.com/tuxdotrs/tawm.git
synced 2025-07-06 04:56:34 +05:30
formatted the code with alejandra
This commit is contained in:
@ -1,30 +1,32 @@
|
||||
{ lib, stdenv, pkgs }:
|
||||
|
||||
let
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
pkgs,
|
||||
}: let
|
||||
user = ./user;
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
pname = "astronvim";
|
||||
version = "3.44.1";
|
||||
stdenv.mkDerivation {
|
||||
pname = "astronvim";
|
||||
version = "3.44.1";
|
||||
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "AstroNvim";
|
||||
repo = "AstroNvim";
|
||||
rev = "refs/heads/main";
|
||||
sha256 = "sha256-1nfMx9XaTOfuz1IlvepJdEfrX539RRVN5RXzUR00tfk=";
|
||||
};
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "AstroNvim";
|
||||
repo = "AstroNvim";
|
||||
rev = "refs/heads/main";
|
||||
sha256 = "sha256-1nfMx9XaTOfuz1IlvepJdEfrX539RRVN5RXzUR00tfk=";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
mkdir $out
|
||||
cp -r * "$out/"
|
||||
mkdir -p "$out/lua/user"
|
||||
cp -r ${user}/* "$out/lua/user/"
|
||||
'';
|
||||
installPhase = ''
|
||||
mkdir $out
|
||||
cp -r * "$out/"
|
||||
mkdir -p "$out/lua/user"
|
||||
cp -r ${user}/* "$out/lua/user/"
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "AstroNvim";
|
||||
homepage = "https://github.com/AstroNvim/AstroNvim";
|
||||
platforms = platforms.all;
|
||||
license = licenses.gpl3;
|
||||
};
|
||||
}
|
||||
meta = with lib; {
|
||||
description = "AstroNvim";
|
||||
homepage = "https://github.com/AstroNvim/AstroNvim";
|
||||
platforms = platforms.all;
|
||||
license = licenses.gpl3;
|
||||
};
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ pkgs, ... }: {
|
||||
nvchad = pkgs.callPackage ./nvchad { };
|
||||
astronvim = pkgs.callPackage ./astronvim { };
|
||||
{pkgs, ...}: {
|
||||
nvchad = pkgs.callPackage ./nvchad {};
|
||||
astronvim = pkgs.callPackage ./astronvim {};
|
||||
}
|
||||
|
@ -1,30 +1,32 @@
|
||||
{ stdenv, lib, fetchFromGitHub }:
|
||||
|
||||
let
|
||||
{
|
||||
stdenv,
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
}: let
|
||||
custom = ./custom;
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
pname = "nvchad";
|
||||
version = "2.0.0";
|
||||
stdenv.mkDerivation {
|
||||
pname = "nvchad";
|
||||
version = "2.0.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "NvChad";
|
||||
repo = "NvChad";
|
||||
rev = "refs/heads/v2.0";
|
||||
sha256 = "sha256-tKMvKdB3jPSvcyewaOe8oak3pXhjAcLyyxgGMiMeqeU=";
|
||||
};
|
||||
src = fetchFromGitHub {
|
||||
owner = "NvChad";
|
||||
repo = "NvChad";
|
||||
rev = "refs/heads/v2.0";
|
||||
sha256 = "sha256-tKMvKdB3jPSvcyewaOe8oak3pXhjAcLyyxgGMiMeqeU=";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
mkdir $out
|
||||
cp -r * "$out/"
|
||||
mkdir -p "$out/lua/custom"
|
||||
cp -r ${custom}/* "$out/lua/custom/"
|
||||
'';
|
||||
installPhase = ''
|
||||
mkdir $out
|
||||
cp -r * "$out/"
|
||||
mkdir -p "$out/lua/custom"
|
||||
cp -r ${custom}/* "$out/lua/custom/"
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "NvChad";
|
||||
homepage = "https://github.com/NvChad/NvChad";
|
||||
platforms = platforms.all;
|
||||
license = licenses.gpl3;
|
||||
};
|
||||
}
|
||||
meta = with lib; {
|
||||
description = "NvChad";
|
||||
homepage = "https://github.com/NvChad/NvChad";
|
||||
platforms = platforms.all;
|
||||
license = licenses.gpl3;
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user