Merge pull request #85580 from siriobalmelli-foss/fix/mscgen
mscgen: fix build
This commit is contained in:
commit
59242df8d6
1 changed files with 16 additions and 2 deletions
|
@ -1,4 +1,15 @@
|
|||
{ stdenv, fetchurl, flex, bison, gd, libpng, libjpeg, freetype, zlib, libwebp, runtimeShell }:
|
||||
{ stdenv
|
||||
, bison
|
||||
, fetchurl
|
||||
, flex
|
||||
, gd
|
||||
, libjpeg
|
||||
, libpng
|
||||
, libwebp
|
||||
, pkg-config
|
||||
, runtimeShell
|
||||
, zlib
|
||||
}:
|
||||
|
||||
let
|
||||
version = "0.20";
|
||||
|
@ -12,13 +23,16 @@ stdenv.mkDerivation {
|
|||
sha256 = "3c3481ae0599e1c2d30b7ed54ab45249127533ab2f20e768a0ae58d8551ddc23";
|
||||
};
|
||||
|
||||
buildInputs = [ flex bison gd libjpeg libpng freetype zlib libwebp ];
|
||||
nativeBuildInputs = [ bison flex pkg-config ];
|
||||
buildInputs = [ gd libjpeg libpng libwebp zlib ];
|
||||
|
||||
doCheck = true;
|
||||
preCheck = ''
|
||||
sed -i -e "s|#!/bin/bash|#!${runtimeShell}|" test/renderercheck.sh
|
||||
'';
|
||||
|
||||
outputs = [ "out" "man" ];
|
||||
|
||||
meta = {
|
||||
homepage = "http://www.mcternan.me.uk/mscgen/";
|
||||
description = "Convert Message Sequence Chart descriptions into PNG, SVG, or EPS images";
|
||||
|
|
Loading…
Reference in a new issue