qfsm: add version 0.53.0
This commit is contained in:
parent
3d4068b11a
commit
0757af1693
3 changed files with 46 additions and 0 deletions
24
pkgs/applications/science/electronics/qfsm/default.nix
Normal file
24
pkgs/applications/science/electronics/qfsm/default.nix
Normal file
|
@ -0,0 +1,24 @@
|
|||
{ stdenv, fetchurl, qt4, cmake, graphviz, pkgconfig }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "qfsm-0.53.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/qfsm/${name}-Source.tar.bz2";
|
||||
sha256 = "1fx99dyai8zhs8s6mbr1i1467mnv1pf0ymh6mr0jm68mzj2jyzx4";
|
||||
};
|
||||
|
||||
buildInputs = [ qt4 cmake graphviz pkgconfig ];
|
||||
|
||||
patches = [ ./drop-hardcoded-prefix.patch ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = {
|
||||
description = "Graphical editor for finite state machines";
|
||||
homepage = "http://qfsm.sourceforge.net/";
|
||||
license = stdenv.lib.licenses.gpl3Plus;
|
||||
maintainers = [ stdenv.lib.maintainers.simons ];
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
};
|
||||
}
|
|
@ -0,0 +1,20 @@
|
|||
diff -ubrw qfsm-0.53.0-Source-orig/CMakeLists.txt qfsm-0.53.0-Source-new/CMakeLists.txt
|
||||
--- qfsm-0.53.0-Source-orig/CMakeLists.txt 2012-11-11 20:13:01.935856229 +0100
|
||||
+++ qfsm-0.53.0-Source-new/CMakeLists.txt 2012-11-11 20:13:24.962930007 +0100
|
||||
@@ -406,10 +406,6 @@
|
||||
|
||||
|
||||
IF(UNIX AND NOT WIN32)
|
||||
- SET(CMAKE_INSTALL_PREFIX "/usr")
|
||||
-ENDIF(UNIX AND NOT WIN32)
|
||||
-
|
||||
-IF(UNIX AND NOT WIN32)
|
||||
ADD_DEFINITIONS(-DQFSM_LANGUAGE_DIR="${CMAKE_INSTALL_PREFIX}/share/qfsm/")
|
||||
ADD_DEFINITIONS(-DQFSM_HELP_DIR="${CMAKE_INSTALL_PREFIX}/share/doc/qfsm/")
|
||||
ELSE(UNIX AND NOT WIN32)
|
||||
@@ -472,5 +468,3 @@
|
||||
)
|
||||
|
||||
ENDIF(UNIX AND NOT WIN32)
|
||||
-
|
||||
-
|
|
@ -1643,6 +1643,8 @@ let
|
|||
|
||||
tkabber_plugins = callPackage ../applications/networking/instant-messengers/tkabber-plugins { };
|
||||
|
||||
qfsm = callPackage ../applications/science/electronics/qfsm { };
|
||||
|
||||
tkgate = callPackage ../applications/science/electronics/tkgate/1.x.nix {
|
||||
inherit (xlibs) libX11 imake xproto gccmakedep;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue