28 lines
663 B
Nix
Raw Normal View History

2021-01-15 20:21:58 +07:00
{ lib, stdenv, fetchurl, qt4, cmake, graphviz, pkg-config }:
2012-11-11 20:32:41 +01:00
stdenv.mkDerivation rec {
2015-05-23 23:03:38 +02:00
name = "qfsm-0.54.0";
2012-11-11 20:32:41 +01:00
src = fetchurl {
url = "mirror://sourceforge/qfsm/${name}-Source.tar.bz2";
2015-05-23 23:03:38 +02:00
sha256 = "0rl7bc5cr29ng67yij4akciyid9z7npal812ys4c3m229vjvflrb";
2012-11-11 20:32:41 +01:00
};
nativeBuildInputs = [ cmake pkg-config ];
buildInputs = [ qt4 graphviz ];
2012-11-11 20:32:41 +01:00
2017-09-11 20:26:24 +02:00
patches = [
./drop-hardcoded-prefix.patch
./gcc6-fixes.patch
];
2012-11-11 20:32:41 +01:00
2016-08-27 21:53:49 +00:00
hardeningDisable = [ "format" ];
2012-11-11 20:32:41 +01:00
meta = {
description = "Graphical editor for finite state machines";
homepage = "http://qfsm.sourceforge.net/";
2021-01-15 20:21:58 +07:00
license = lib.licenses.gpl3Plus;
platforms = lib.platforms.unix;
2012-11-11 20:32:41 +01:00
};
}