Skip to content

Commit

Permalink
packages: add write-emojivoto-demo
Browse files Browse the repository at this point in the history
  • Loading branch information
wirungu authored and burgerdev committed Apr 23, 2024
1 parent 20e9337 commit 0c93b2c
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions packages/scripts.nix
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,20 @@ with pkgs;
'';
};

write-emojivoto-demo = writeShellApplication {
name = "write-emojivoto-demo";
runtimeInputs = [
contrast
kypatch
];
text = ''
imageReplacements=$1
destinationFile=$2
resourcegen --image-replacements="$imageReplacements" emojivoto "$destinationFile"
nix run .#kypatch namespace -- "$destinationFile" --replace edg-default default
'';
};

fetch-latest-contrast = writeShellApplication {
name = "fetch-latest-contrast";
runtimeInputs = [
Expand Down

0 comments on commit 0c93b2c

Please sign in to comment.