feat: added derivations
This commit is contained in:
parent
8e23015029
commit
9c64f21bbc
4 changed files with 26 additions and 2 deletions
21
overlays/derivations/fairfax.nix
Normal file
21
overlays/derivations/fairfax.nix
Normal file
|
@ -0,0 +1,21 @@
|
|||
{
|
||||
stdenvNoCC,
|
||||
fetchzip,
|
||||
lib,
|
||||
}:
|
||||
stdenvNoCC.mkDerivation {
|
||||
pname = "fairfaxHD";
|
||||
version = "20240601";
|
||||
src = lib.cleanSourceWith {
|
||||
filter = _path: type: type == "regular";
|
||||
src = fetchzip {
|
||||
url = "https://github.com/kreativekorp/open-relay/releases/download/2024-06-01/FairfaxHD.zip";
|
||||
hash = "sha256-kwdpWFOYhXt0HNqfWP3EeKYhJWgKsRs7cAbzHEasM80=";
|
||||
stripRoot = true;
|
||||
};
|
||||
};
|
||||
installPhase = ''
|
||||
mkdir -p $out/share/fonts
|
||||
cp *.ttf $out/share/fonts
|
||||
'';
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue