depot/third_party/nixpkgs/pkgs/applications/misc/slweb/default.nix
Default email 94427deb9d Project import generated by Copybara.
GitOrigin-RevId: f91ee3065de91a3531329a674a45ddcb3467a650
2023-05-24 16:37:59 +03:00

35 lines
754 B
Nix

{ lib
, stdenv
, fetchFromSourcehut
, redo-apenwarr
}:
stdenv.mkDerivation rec {
pname = "slweb";
version = "0.5.5";
src = fetchFromSourcehut {
owner = "~strahinja";
repo = pname;
rev = "v${version}";
sha256 = "sha256-Hk3L++J8JiCRXitNHi9uWb7aYN8lMG3GjfpmNyIpoKU=";
};
nativeBuildInputs = [ redo-apenwarr ];
installPhase = ''
runHook preInstall
PREFIX=$out redo install
runHook postInstall
'';
enableParallelBuilding = true;
meta = with lib; {
description = "A static website generator which aims at being simplistic";
homepage = "https://strahinja.srht.site/slweb/";
license = licenses.gpl3Plus;
platforms = platforms.linux;
maintainers = with maintainers; [ GaetanLepage ];
};
}