Unverified Commit 9a50eb24 authored by Bjørn Forsman's avatar Bjørn Forsman Committed by GitHub
Browse files

ascii: 3.31 -> 3.32 (#502069)

parents 450ad55d 04580fc3
Loading
Loading
Loading
Loading
+5 −9
Original line number Diff line number Diff line
@@ -8,26 +8,22 @@

stdenv.mkDerivation (finalAttrs: {
  pname = "ascii";
  version = "3.31";
  version = "3.32";

  src = fetchFromGitLab {
    owner = "esr";
    repo = "ascii";
    tag = finalAttrs.version;
    hash = "sha256-fXVREwjiSpLdwNAm6hbuPiCNFqFlpeBiwKsXGaMiY6s=";
    hash = "sha256-dqleZdqJIjwUy6Ky0329iLfYSluAgHs68LHgLkQcu5Y=";
  };

  nativeBuildInputs = [
    asciidoctor
  ];

  prePatch = ''
    sed -i -e "s|^PREFIX = .*|PREFIX = $out|" Makefile
  '';

  preInstall = ''
    mkdir -vp "$out/bin" "$out/share/man/man1"
  '';
  makeFlags = [
    "PREFIX=$(out)"
  ];

  passthru.updateScript = gitUpdater { };