1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

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