scdoc: 1.11.2 -> 1.11.2-unstable-2023-03-08

This commit is contained in:
Anderson Torres 2023-10-05 21:47:45 -03:00
parent 4fb9541e1a
commit b604023e0a

View File

@ -6,20 +6,20 @@
stdenv.mkDerivation (finalAttrs: { stdenv.mkDerivation (finalAttrs: {
pname = "scdoc"; pname = "scdoc";
version = "1.11.2"; version = "1.11.2-unstable-2023-03-08";
src = fetchFromSourcehut { src = fetchFromSourcehut {
owner = "~sircmpwn"; owner = "~sircmpwn";
repo = "scdoc"; repo = "scdoc";
rev = finalAttrs.version; rev = "afeda241f3f9b2c27e461f32d9c2a704ab82ef61";
hash = "sha256-2NVC+1in1Yt6/XGcHXP+V4AAz8xW/hSq9ctF/Frdgh0="; hash = "sha256-jIYygjUXP/6o5d9drlZjdr25KjEQx8oy4TaQwQEu8fM=";
}; };
outputs = [ "out" "man" "dev" ]; outputs = [ "out" "man" "dev" ];
postPatch = '' postPatch = ''
substituteInPlace Makefile \ substituteInPlace Makefile \
--replace "-static" "" --replace "LDFLAGS+=-static" "LDFLAGS+="
''; '';
makeFlags = [ makeFlags = [
@ -33,10 +33,10 @@ stdenv.mkDerivation (finalAttrs: {
meta = { meta = {
description = "A simple man page generator written in C99 for POSIX systems"; description = "A simple man page generator written in C99 for POSIX systems";
homepage = "https://git.sr.ht/~sircmpwn/scdoc"; homepage = "https://git.sr.ht/~sircmpwn/scdoc";
changelog = "https://git.sr.ht/~sircmpwn/scdoc/refs/${finalAttrs.version}"; changelog = "https://git.sr.ht/~sircmpwn/scdoc/refs/${finalAttrs.src.rev}";
license = lib.licenses.mit; license = lib.licenses.mit;
mainProgram = "scdoc";
maintainers = with lib.maintainers; [ primeos AndersonTorres ]; maintainers = with lib.maintainers; [ primeos AndersonTorres ];
platforms = lib.platforms.unix; platforms = lib.platforms.unix;
mainProgram = "scdoc";
}; };
}) })