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