1
0
Fork 0

chore: rename to minindie

This commit is contained in:
Tommy 2024-10-05 23:47:29 +02:00
parent 4019b32b15
commit 863eea9993
Signed by: tommy
SSH key fingerprint: SHA256:1LWgQT3QPHIT29plS8jjXc3S1FcE/4oGvsx3Efxs6Uc
2 changed files with 18 additions and 18 deletions

View file

@ -1,5 +1,5 @@
{
description = "Nix flake to use indieweb static files as a theme for website deployment";
description = "Nix flake to use minindie static files as a theme for website deployment";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs";
@ -12,19 +12,19 @@
pkgs = nixpkgs.legacyPackages.${system};
in {
packages = rec {
indiewebTheme = pkgs.stdenv.mkDerivation {
pname = "indieweb-theme";
minindieTheme = pkgs.stdenv.mkDerivation {
pname = "minindie-theme";
version = "1.0.0";
src = ./.;
installPhase = ''
mkdir -p $out/themes/indieweb
cp -r archetypes theme.toml layouts static $out/themes/indieweb
mkdir -p $out/themes/minindie
cp -r archetypes theme.toml layouts static $out/themes/minindie
'';
meta = with pkgs.lib; {
description = "Static files for the indieweb theme to be used in the website deployment";
description = "Static files for the minindie theme to be used in the website deployment";
homepage = "https://your-homepage-url";
license = licenses.mit;
maintainers = [ maintainers.yourname ];
@ -33,11 +33,11 @@
};
};
defaultPackage.${system} = self.packages.${system}.indiewebTheme;
defaultPackage.${system} = self.packages.${system}.minindieTheme;
apps = rec {
indiewebTheme = flake-utils.lib.mkApp { drv = self.packages.${system}.indiewebTheme; };
default = indiewebTheme;
minindieTheme = flake-utils.lib.mkApp { drv = self.packages.${system}.minindieTheme; };
default = minindieTheme;
};
}
);

View file

@ -1,5 +1,5 @@
{
description = "Nix flake to use indieweb static files as a theme for website deployment";
description = "Nix flake to use minindie static files as a theme for website deployment";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs";
@ -12,19 +12,19 @@
pkgs = nixpkgs.legacyPackages.${system};
in {
packages = rec {
indiewebTheme = pkgs.stdenv.mkDerivation {
pname = "indieweb-theme";
minindieTheme = pkgs.stdenv.mkDerivation {
pname = "minindie-theme";
version = "1.0.0";
src = ./.;
installPhase = ''
mkdir -p $out/themes/indieweb
cp -r archetypes theme.toml layouts static $out/themes/indieweb
mkdir -p $out/themes/minindie
cp -r archetypes theme.toml layouts static $out/themes/minindie
'';
meta = with pkgs.lib; {
description = "Static files for the indieweb theme to be used in the website deployment";
description = "Static files for the minindie theme to be used in the website deployment";
homepage = "https://your-homepage-url";
license = licenses.mit;
maintainers = [ maintainers.yourname ];
@ -33,11 +33,11 @@
};
};
defaultPackage.${system} = self.packages.${system}.indiewebTheme;
defaultPackage.${system} = self.packages.${system}.minindieTheme;
apps = rec {
indiewebTheme = flake-utils.lib.mkApp { drv = self.packages.${system}.indiewebTheme; };
default = indiewebTheme;
minindieTheme = flake-utils.lib.mkApp { drv = self.packages.${system}.minindieTheme; };
default = minindieTheme;
};
}
);