Skip to content

Commit

Permalink
pkgs/hugo-bearblog: import
Browse files Browse the repository at this point in the history
  • Loading branch information
tomodachi94 committed Apr 20, 2024
1 parent 50c5d66 commit 7c8d811
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
18 changes: 18 additions & 0 deletions pkgs/all/hugo-bearblog.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{ stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
pname = "hugo-bearblog";
version = "2024-01-23";
src = fetchFromGitHub {
owner = "janraasch";
repo = "hugo-bearblog";
rev = "0b64d5ad103c716da5a79b48855f1489f6738ba7";
hash = "sha256-cyMWdCIZJV6zyIEgg3jbPV1BfDO4eRUY8pP6PmDfY6Y=";
};
phases = [ "installPhase" ];
installPhase = ''
mkdir $out
cp $src/theme.toml $out
cp -r $src/layouts $out
cp -r $src/archetypes $out
'';
}
1 change: 1 addition & 0 deletions pkgs/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ in
{
awesome-lint = cp ./all/awesome-lint { };
developercolorpicker = cp ./darwin/developercolorpicker.nix { };
hugo-bearblog = cp ./all/hugo-bearblog.nix { };
}

0 comments on commit 7c8d811

Please sign in to comment.