1ae14203fc
GitOrigin-RevId: 68398d2dd50efc2d878bf0f83bbc8bc323b6b0e0
30 lines
704 B
Nix
30 lines
704 B
Nix
{lib, stdenv, fetchFromGitHub, flex, bison, qt4, libX11, cmake, gperf, adms }:
|
|
|
|
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
|
|
];
|
|
|
|
nativeBuildInputs = [ cmake flex bison ];
|
|
buildInputs = [ qt4 libX11 gperf adms ];
|
|
|
|
meta = {
|
|
description = "Integrated circuit simulator";
|
|
homepage = "http://qucs.sourceforge.net";
|
|
license = lib.licenses.gpl2Plus;
|
|
maintainers = with lib.maintainers; [viric];
|
|
platforms = with lib.platforms; linux;
|
|
};
|
|
}
|