Commit b604023e authored by Anderson Torres's avatar Anderson Torres
Browse files

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

parent 4fb9541e
Loading
Loading
Loading
Loading
+6 −6
Original line number Diff line number Diff line
@@ -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";
  };
})