added blobhaj

This commit is contained in:
twoneis 2025-02-24 20:24:48 +01:00
parent 3e715817fc
commit 36853433f5

30
modules/fedi/blobhaj.nix Normal file
View file

@ -0,0 +1,30 @@
{
stdenvNoCC,
fetchurl,
unzip,
}: let
day = "13";
month = "12";
year = "2022";
in stdenvNoCC.mkDerivation rec {
pname = "blobhaj";
version = "${month}-${day}-${year}";
src = fetchurl {
url = "https://heatherhorns.com/wp-content/uploads/${year}/${month}/Blobhaj-${version}.zip";
hash = "";
};
sourceRoot = ".";
nativeBuildInputs = [ unzip ];
installPhase = ''
runHook preInstall
mkdir -p $out
cp 512w/*.png $out
runHook postInstall
'';
}