qucs-s: 24.1.0 -> 24.4.1 (#348331)
This commit is contained in:
@@ -22385,6 +22385,12 @@
|
||||
githubId = 1634990;
|
||||
name = "Tom McLaughlin";
|
||||
};
|
||||
thomaslepoix = {
|
||||
email = "thomas.lepoix@protonmail.ch";
|
||||
github = "thomaslepoix";
|
||||
githubId = 26417323;
|
||||
name = "Thomas Lepoix";
|
||||
};
|
||||
ThomasMader = {
|
||||
email = "thomas.mader@gmail.com";
|
||||
github = "ThomasMader";
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
, flex
|
||||
, bison
|
||||
, qtbase
|
||||
, qtcharts
|
||||
, qttools
|
||||
, qtsvg
|
||||
, qtwayland
|
||||
@@ -13,22 +14,27 @@
|
||||
, gperf
|
||||
, adms
|
||||
, ngspice
|
||||
, kernels ? [ ngspice ]
|
||||
, qucsator-rf
|
||||
, kernels ? [ ngspice qucsator-rf ]
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "qucs-s";
|
||||
version = "24.1.0";
|
||||
version = "24.4.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ra3xdh";
|
||||
repo = "qucs_s";
|
||||
rev = version;
|
||||
sha256 = "sha256-ei9CPlJg+Kfjh7vu5VnT6DNLmmnA8wZ2A1jXnm//Fgo=";
|
||||
hash = "sha256-ll5P8cqJBzoieExElggn5tRbDcmH7L3yvcbtAQ0BBww=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ flex bison wrapQtAppsHook cmake ];
|
||||
buildInputs = [ qtbase qttools qtsvg qtwayland libX11 gperf adms ] ++ kernels;
|
||||
buildInputs = [ qtbase qttools qtcharts qtsvg qtwayland libX11 gperf adms ] ++ kernels;
|
||||
|
||||
cmakeFlags = [
|
||||
"-DWITH_QT6=ON"
|
||||
];
|
||||
|
||||
# Make custom kernels avaible from qucs-s
|
||||
qtWrapperArgs = [ "--prefix" "PATH" ":" (lib.makeBinPath kernels) ];
|
||||
@@ -48,7 +54,8 @@ stdenv.mkDerivation rec {
|
||||
'';
|
||||
homepage = "https://ra3xdh.github.io/";
|
||||
license = licenses.gpl2Plus;
|
||||
maintainers = with maintainers; [ mazurel kashw2 ];
|
||||
mainProgram = "qucs-s";
|
||||
maintainers = with maintainers; [ mazurel kashw2 thomaslepoix ];
|
||||
platforms = with platforms; linux;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -0,0 +1,48 @@
|
||||
{
|
||||
stdenv,
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
cmake,
|
||||
bison,
|
||||
flex,
|
||||
dos2unix,
|
||||
gperf,
|
||||
adms,
|
||||
withAdms ? false,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "qucsator-rf";
|
||||
version = "1.0.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ra3xdh";
|
||||
repo = "qucsator_rf";
|
||||
rev = version;
|
||||
hash = "sha256-IvB4CTvK6x4wwUXMoXIqBku1Hh9em6ITTpwFllYsTEg=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
flex
|
||||
bison
|
||||
gperf
|
||||
dos2unix
|
||||
];
|
||||
|
||||
buildInputs = lib.optionals withAdms [ adms ];
|
||||
|
||||
cmakeFlags = [
|
||||
"-DBISON_DIR=${bison}/bin"
|
||||
(lib.cmakeBool "WITH_ADMS" withAdms)
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "RF circuit simulation kernel for Qucs-S";
|
||||
homepage = "https://github.com/ra3xdh/qucsator_rf";
|
||||
license = lib.licenses.gpl2Plus;
|
||||
mainProgram = "qucsator_rf";
|
||||
maintainers = with lib.maintainers; [ thomaslepoix ];
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user