mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 14:43:37 +00:00
36 lines
752 B
Nix
36 lines
752 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromSourcehut
|
|
, redo-apenwarr
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "slweb";
|
|
version = "0.5";
|
|
|
|
src = fetchFromSourcehut {
|
|
owner = "~strahinja";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-GoDumiysqIkWj2HTPQv2gheYsf4fWjtCNPFS/1R0tzc=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|