2021-01-17 00:15:33 +00:00
|
|
|
{lib, stdenv, fetchFromGitHub, flex, bison, qt4, libX11, cmake, gperf, adms }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
version = "0.0.19";
|
|
|
|
pname = "qucs";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Qucs";
|
|
|
|
repo = "qucs";
|
|
|
|
rev = "qucs-${version}";
|
|
|
|
sha256 = "106h3kjyg7c0hkmzkin7h8fcl32n60835121b2qqih8ixi6r5id6";
|
|
|
|
};
|
|
|
|
|
|
|
|
QTDIR=qt4;
|
|
|
|
|
|
|
|
patches = [
|
|
|
|
./cmakelists.patch
|
|
|
|
];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
nativeBuildInputs = [ cmake flex bison ];
|
|
|
|
buildInputs = [ qt4 libX11 gperf adms ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Integrated circuit simulator";
|
|
|
|
homepage = "http://qucs.sourceforge.net";
|
2021-01-17 00:15:33 +00:00
|
|
|
license = lib.licenses.gpl2Plus;
|
|
|
|
maintainers = with lib.maintainers; [viric];
|
|
|
|
platforms = with lib.platforms; linux;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|