2021-11-16 22:39:27 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, cmake
|
|
|
|
, libpng
|
|
|
|
, zlib
|
|
|
|
, qt4
|
|
|
|
, bison
|
|
|
|
, flex
|
|
|
|
, libGLU
|
|
|
|
, python3Packages
|
2018-06-20 18:42:10 +00:00
|
|
|
}:
|
|
|
|
|
2021-11-16 16:24:51 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "seexpr";
|
2021-11-16 16:24:51 +00:00
|
|
|
version = "3.0.1";
|
|
|
|
|
2018-06-20 18:42:10 +00:00
|
|
|
src = fetchFromGitHub {
|
2021-11-16 22:39:27 +00:00
|
|
|
owner = "wdas";
|
|
|
|
repo = "SeExpr";
|
|
|
|
rev = "v${version}";
|
2021-11-16 16:24:51 +00:00
|
|
|
sha256 = "sha256-r6mgyb/FGz4KYZOgLDgmIqjO+PSmneD3KUWjymZXtEk=";
|
2018-06-20 18:42:10 +00:00
|
|
|
};
|
|
|
|
|
2021-11-16 16:24:51 +00:00
|
|
|
cmakeFlags = [ "-DENABLE_SSE4=OFF" ];
|
|
|
|
|
2020-12-31 07:48:55 +00:00
|
|
|
nativeBuildInputs = [ cmake ];
|
2021-11-16 16:24:51 +00:00
|
|
|
buildInputs = [ libGLU libpng zlib qt4 python3Packages.pyqt4 python3Packages.boost bison flex ];
|
|
|
|
|
2021-01-22 11:25:31 +00:00
|
|
|
meta = with lib; {
|
2018-06-20 18:42:10 +00:00
|
|
|
description = "Embeddable expression evaluation engine from Disney Animation";
|
2021-11-16 16:24:51 +00:00
|
|
|
homepage = "https://wdas.github.io/SeExpr/";
|
2018-06-20 18:42:10 +00:00
|
|
|
maintainers = with maintainers; [ hodapp ];
|
|
|
|
license = licenses.asl20;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|