feat(pkgs/keycloak-theme-keywind): add package
This commit is contained in:
parent
c849583f7a
commit
b34a820a9e
@ -53,7 +53,13 @@
|
|||||||
darwin,
|
darwin,
|
||||||
home-manager,
|
home-manager,
|
||||||
...
|
...
|
||||||
} @ inputs: {
|
} @ inputs: let
|
||||||
|
forAllSystems = nixpkgs.lib.genAttrs utils.lib.defaultSystems;
|
||||||
|
in {
|
||||||
|
# Your custom packages
|
||||||
|
# Accessible through 'nix build', 'nix shell', etc
|
||||||
|
packages = forAllSystems (system: import ./pkgs nixpkgs.legacyPackages.${system});
|
||||||
|
|
||||||
# This repo's overlay plus any other overlays you use
|
# This repo's overlay plus any other overlays you use
|
||||||
# If you want to use packages from flakes that are not nixpkgs (such as NUR), add their overlays here.\
|
# If you want to use packages from flakes that are not nixpkgs (such as NUR), add their overlays here.\
|
||||||
overlays = {
|
overlays = {
|
||||||
|
3
pkgs/default.nix
Normal file
3
pkgs/default.nix
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
pkgs: {
|
||||||
|
keycloak-theme-keywind = pkgs.callPackage ./keywind {};
|
||||||
|
}
|
20
pkgs/keywind/default.nix
Normal file
20
pkgs/keywind/default.nix
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
{
|
||||||
|
stdenv,
|
||||||
|
fetchFromGitHub,
|
||||||
|
}:
|
||||||
|
stdenv.mkDerivation {
|
||||||
|
pname = "keycloak-theme-keywind";
|
||||||
|
version = "0.0.1-dev";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "lukin";
|
||||||
|
repo = "keywind";
|
||||||
|
rev = "bdf966fdae0071ccd46dab4efdc38458a643b409";
|
||||||
|
hash = "sha256-8N+OQ6Yg9RKxqGd8kgsbvrYuVgol49bo/iJeIJXr3Sg=";
|
||||||
|
};
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
mkdir -p $out
|
||||||
|
cp -a theme/keywind/login $out
|
||||||
|
'';
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user