2012-11-11 19:32:41 +00:00
|
|
|
{ stdenv, fetchurl, qt4, cmake, graphviz, pkgconfig }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2015-05-23 22:03:38 +01:00
|
|
|
name = "qfsm-0.54.0";
|
2012-11-11 19:32:41 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/qfsm/${name}-Source.tar.bz2";
|
2015-05-23 22:03:38 +01:00
|
|
|
sha256 = "0rl7bc5cr29ng67yij4akciyid9z7npal812ys4c3m229vjvflrb";
|
2012-11-11 19:32:41 +00:00
|
|
|
};
|
|
|
|
|
2017-09-05 22:26:13 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ qt4 cmake graphviz ];
|
2012-11-11 19:32:41 +00:00
|
|
|
|
2017-09-11 19:26:24 +01:00
|
|
|
patches = [
|
|
|
|
./drop-hardcoded-prefix.patch
|
|
|
|
./gcc6-fixes.patch
|
|
|
|
];
|
2012-11-11 19:32:41 +00:00
|
|
|
|
2016-08-27 22:53:49 +01:00
|
|
|
hardeningDisable = [ "format" ];
|
|
|
|
|
2012-11-11 19:32:41 +00:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Graphical editor for finite state machines";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://qfsm.sourceforge.net/";
|
2012-11-11 19:32:41 +00:00
|
|
|
license = stdenv.lib.licenses.gpl3Plus;
|
2016-08-02 18:50:55 +01:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2012-11-11 19:32:41 +00:00
|
|
|
};
|
|
|
|
}
|