libkookie: update website

This also changes how the website is published (from fetchgit to
fetchFromGitea).
main
Katharina Fey 2 years ago
parent dac5f4d94e
commit aa6a6c0a6c
Signed by: kookie
GPG Key ID: F972AEEA2887D547
  1. 19
      infra/libkookie/overlays/kookie/spacekookie-de/default.nix

@ -1,4 +1,4 @@
{ lib, stdenv, fetchgit, python3Packages }:
{ lib, stdenv, fetchFromGitea, python3Packages }:
let
pelicanNoTest = (python3Packages.pelican.overrideAttrs ({ ... }: {
@ -8,18 +8,15 @@ in
stdenv.mkDerivation rec {
name = "spacekookie.de";
src = fetchgit {
name = "nomicon";
url = "https://dev.spacekookie.de/kookie/nomicon.git";
rev = "1e8ab6f281fa49c32d7f4e226e64954306029af1";
sha256 = "1prs5qqacs2k8xi5chf1xx2zqilchg16ww1d3zf176ikil03vlfz";
src = fetchFromGitea {
domain = "dev.spacekookie.de";
owner = "kookie";
repo = "nomicon";
rev = "dac5f4d94e1a9fdc9c247ab29a26bd5991b923eb";
sha256 = "bigHoHcGdqNl+TCsvBq02VuVgMue1il3bR4ekJTwFGs=";
};
postUnpack = ''
ls -al
'';
sourceRoot = "nomicon/infra/website/";
sourceRoot = "source/infra/website/";
buildInputs = with python3Packages; [ pelicanNoTest webassets markdown ];

Loading…
Cancel
Save