3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/science/electronics/qfsm/default.nix
John Ericson 531e4b80c9 misc pkgs: Basic sed to get fix pkgconfig and autoreconfHook buildInputs
Only acts on one-line dependency lists.
2017-09-21 15:49:53 -04:00

30 lines
702 B
Nix

{ stdenv, fetchurl, qt4, cmake, graphviz, pkgconfig }:
stdenv.mkDerivation rec {
name = "qfsm-0.54.0";
src = fetchurl {
url = "mirror://sourceforge/qfsm/${name}-Source.tar.bz2";
sha256 = "0rl7bc5cr29ng67yij4akciyid9z7npal812ys4c3m229vjvflrb";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ qt4 cmake graphviz ];
patches = [
./drop-hardcoded-prefix.patch
./gcc6-fixes.patch
];
hardeningDisable = [ "format" ];
enableParallelBuilding = true;
meta = {
description = "Graphical editor for finite state machines";
homepage = http://qfsm.sourceforge.net/;
license = stdenv.lib.licenses.gpl3Plus;
platforms = stdenv.lib.platforms.unix;
};
}