added blobhaj
This commit is contained in:
parent
3e715817fc
commit
36853433f5
1 changed files with 30 additions and 0 deletions
30
modules/fedi/blobhaj.nix
Normal file
30
modules/fedi/blobhaj.nix
Normal 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
|
||||
'';
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue