You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
735 B
30 lines
735 B
{ lib, stdenv, fetchgit, python3Packages }:
|
|
|
|
let
|
|
pelicanNoTest = (python3Packages.pelican.overrideAttrs ({ ... }: {
|
|
doInstallCheck = false;
|
|
}));
|
|
in
|
|
stdenv.mkDerivation rec {
|
|
name = "spacekookie.de";
|
|
|
|
src = fetchgit {
|
|
url = "https://git.sr.ht/~spacekookie/website";
|
|
rev = "f6ca92954f6b825f933f685cb3c27990b96b1721";
|
|
sha256 = "0414351da5hy1096lrmmpm2jwdrxb8j5v59ccz6ayzpv1vwxk5qd";
|
|
};
|
|
|
|
buildInputs = with python3Packages; [ pelicanNoTest webassets markdown ];
|
|
|
|
installPhase = ''
|
|
pelican content
|
|
cp -r output $out
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "The `about` and `blog` part of spacekookie.de";
|
|
homepage = "https://spacekookie.de";
|
|
license = licenses.mit;
|
|
};
|
|
}
|
|
|
|
|