From 36853433f5e02904e51ce46ab8b3d409f515fcec Mon Sep 17 00:00:00 2001 From: twoneis Date: Mon, 24 Feb 2025 20:24:48 +0100 Subject: [PATCH] added blobhaj --- modules/fedi/blobhaj.nix | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 modules/fedi/blobhaj.nix diff --git a/modules/fedi/blobhaj.nix b/modules/fedi/blobhaj.nix new file mode 100644 index 0000000..a8a775f --- /dev/null +++ b/modules/fedi/blobhaj.nix @@ -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 + ''; +}