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 = {
|
inputs = {
|
||||||
nixpkgs.url = "github:NixOS/nixpkgs";
|
nixpkgs.url = "github:NixOS/nixpkgs";
|
||||||
|
@ -12,19 +12,19 @@
|
||||||
pkgs = nixpkgs.legacyPackages.${system};
|
pkgs = nixpkgs.legacyPackages.${system};
|
||||||
in {
|
in {
|
||||||
packages = rec {
|
packages = rec {
|
||||||
indiewebTheme = pkgs.stdenv.mkDerivation {
|
minindieTheme = pkgs.stdenv.mkDerivation {
|
||||||
pname = "indieweb-theme";
|
pname = "minindie-theme";
|
||||||
version = "1.0.0";
|
version = "1.0.0";
|
||||||
|
|
||||||
src = ./.;
|
src = ./.;
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/themes/indieweb
|
mkdir -p $out/themes/minindie
|
||||||
cp -r archetypes theme.toml layouts static $out/themes/indieweb
|
cp -r archetypes theme.toml layouts static $out/themes/minindie
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with pkgs.lib; {
|
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";
|
homepage = "https://your-homepage-url";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
maintainers = [ maintainers.yourname ];
|
maintainers = [ maintainers.yourname ];
|
||||||
|
@ -33,11 +33,11 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
defaultPackage.${system} = self.packages.${system}.indiewebTheme;
|
defaultPackage.${system} = self.packages.${system}.minindieTheme;
|
||||||
|
|
||||||
apps = rec {
|
apps = rec {
|
||||||
indiewebTheme = flake-utils.lib.mkApp { drv = self.packages.${system}.indiewebTheme; };
|
minindieTheme = flake-utils.lib.mkApp { drv = self.packages.${system}.minindieTheme; };
|
||||||
default = indiewebTheme;
|
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 = {
|
inputs = {
|
||||||
nixpkgs.url = "github:NixOS/nixpkgs";
|
nixpkgs.url = "github:NixOS/nixpkgs";
|
||||||
|
@ -12,19 +12,19 @@
|
||||||
pkgs = nixpkgs.legacyPackages.${system};
|
pkgs = nixpkgs.legacyPackages.${system};
|
||||||
in {
|
in {
|
||||||
packages = rec {
|
packages = rec {
|
||||||
indiewebTheme = pkgs.stdenv.mkDerivation {
|
minindieTheme = pkgs.stdenv.mkDerivation {
|
||||||
pname = "indieweb-theme";
|
pname = "minindie-theme";
|
||||||
version = "1.0.0";
|
version = "1.0.0";
|
||||||
|
|
||||||
src = ./.;
|
src = ./.;
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/themes/indieweb
|
mkdir -p $out/themes/minindie
|
||||||
cp -r archetypes theme.toml layouts static $out/themes/indieweb
|
cp -r archetypes theme.toml layouts static $out/themes/minindie
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with pkgs.lib; {
|
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";
|
homepage = "https://your-homepage-url";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
maintainers = [ maintainers.yourname ];
|
maintainers = [ maintainers.yourname ];
|
||||||
|
@ -33,11 +33,11 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
defaultPackage.${system} = self.packages.${system}.indiewebTheme;
|
defaultPackage.${system} = self.packages.${system}.minindieTheme;
|
||||||
|
|
||||||
apps = rec {
|
apps = rec {
|
||||||
indiewebTheme = flake-utils.lib.mkApp { drv = self.packages.${system}.indiewebTheme; };
|
minindieTheme = flake-utils.lib.mkApp { drv = self.packages.${system}.minindieTheme; };
|
||||||
default = indiewebTheme;
|
default = minindieTheme;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue