2017-09-03 19:21:52 +01:00
|
|
|
{stdenv, fetchFromGitHub, flex, bison, qt4, libX11, cmake, gperf, adms }:
|
2010-10-24 18:00:57 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2017-09-03 19:21:52 +01:00
|
|
|
version = "0.0.19";
|
|
|
|
name = "qucs-${version}";
|
2010-10-24 18:00:57 +01:00
|
|
|
|
2017-09-03 19:21:52 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Qucs";
|
|
|
|
repo = "qucs";
|
|
|
|
rev = "qucs-${version}";
|
|
|
|
sha256 = "106h3kjyg7c0hkmzkin7h8fcl32n60835121b2qqih8ixi6r5id6";
|
2010-10-24 18:00:57 +01:00
|
|
|
};
|
|
|
|
|
2014-10-29 09:29:30 +00:00
|
|
|
QTDIR=qt4;
|
2013-02-24 14:11:19 +00:00
|
|
|
|
2017-09-03 19:21:52 +01:00
|
|
|
patches = [
|
|
|
|
./cmakelists.patch
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [ flex bison qt4 libX11 cmake gperf adms ];
|
2010-10-24 18:00:57 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Integrated circuit simulator";
|
|
|
|
homepage = http://qucs.sourceforge.net;
|
2014-06-19 05:19:00 +01:00
|
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
2010-10-24 18:00:57 +01:00
|
|
|
maintainers = with stdenv.lib.maintainers; [viric];
|
|
|
|
platforms = with stdenv.lib.platforms; linux;
|
|
|
|
};
|
|
|
|
}
|