chore: rename to minindie
This commit is contained in:
parent
4019b32b15
commit
863eea9993
2 changed files with 18 additions and 18 deletions
18
default.nix
18
default.nix
|
@ -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;
|
||||
};
|
||||
}
|
||||
);
|
||||
|
|
18
flake.nix
18
flake.nix
|
@ -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;
|
||||
};
|
||||
}
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue