Loading pkgs/applications/science/electronics/qucs-s/default.nix +23 −2 Original line number Diff line number Diff line Loading @@ -29,8 +29,29 @@ stdenv.mkDerivation rec { hash = "sha256-ll5P8cqJBzoieExElggn5tRbDcmH7L3yvcbtAQ0BBww="; }; postPatch = '' # Workaround a CMake bug (we don't generally do distributable bundles in nixpkgs anyway): # warning: cannot resolve item '/usr/lib/libSystem.B.dylib' # # possible problems: # need more directories? # need to use InstallRequiredSystemLibraries? # run in install tree instead of build tree? for filename in \ qucs/CMakeLists.txt \ qucs-transcalc/CMakeLists.txt \ qucs-attenuator/CMakeLists.txt \ qucs-s-spar-viewer/CMakeLists.txt \ ; do substituteInPlace "$filename" \ --replace-fail 'fixup_bundle(' 'message(\"nixpkgs will not fixup_bundle: \" ' done ''; nativeBuildInputs = [ flex bison wrapQtAppsHook cmake ]; buildInputs = [ qtbase qttools qtcharts qtsvg qtwayland libX11 gperf adms ] ++ kernels; buildInputs = [ qtbase qttools qtcharts qtsvg gperf adms ] ++ lib.optionals stdenv.isLinux [ qtwayland libX11 ] ++ kernels; cmakeFlags = [ "-DWITH_QT6=ON" Loading @@ -56,6 +77,6 @@ stdenv.mkDerivation rec { license = licenses.gpl2Plus; mainProgram = "qucs-s"; maintainers = with maintainers; [ mazurel kashw2 thomaslepoix ]; platforms = with platforms; linux; platforms = with platforms; unix; }; } pkgs/by-name/ad/adms/package.nix +1 −1 Original line number Diff line number Diff line Loading @@ -40,6 +40,6 @@ stdenv.mkDerivation rec { homepage = "https://github.com/Qucs/adms"; license = lib.licenses.gpl3; maintainers = with lib.maintainers; [ disassembler ]; platforms = with lib.platforms; linux; platforms = with lib.platforms; unix; }; } pkgs/by-name/qu/qucsator-rf/package.nix +7 −1 Original line number Diff line number Diff line Loading @@ -22,6 +22,12 @@ stdenv.mkDerivation rec { hash = "sha256-IvB4CTvK6x4wwUXMoXIqBku1Hh9em6ITTpwFllYsTEg="; }; # Upstream forces NO_DEFAULT_PATH on APPLE postPatch = '' substituteInPlace CMakeLists.txt \ --replace-fail '"/usr/local/opt/bison/bin/"' '"${bison}/bin"' ''; nativeBuildInputs = [ cmake flex Loading @@ -43,6 +49,6 @@ stdenv.mkDerivation rec { license = lib.licenses.gpl2Plus; mainProgram = "qucsator_rf"; maintainers = with lib.maintainers; [ thomaslepoix ]; platforms = lib.platforms.linux; platforms = lib.platforms.unix; }; } Loading
pkgs/applications/science/electronics/qucs-s/default.nix +23 −2 Original line number Diff line number Diff line Loading @@ -29,8 +29,29 @@ stdenv.mkDerivation rec { hash = "sha256-ll5P8cqJBzoieExElggn5tRbDcmH7L3yvcbtAQ0BBww="; }; postPatch = '' # Workaround a CMake bug (we don't generally do distributable bundles in nixpkgs anyway): # warning: cannot resolve item '/usr/lib/libSystem.B.dylib' # # possible problems: # need more directories? # need to use InstallRequiredSystemLibraries? # run in install tree instead of build tree? for filename in \ qucs/CMakeLists.txt \ qucs-transcalc/CMakeLists.txt \ qucs-attenuator/CMakeLists.txt \ qucs-s-spar-viewer/CMakeLists.txt \ ; do substituteInPlace "$filename" \ --replace-fail 'fixup_bundle(' 'message(\"nixpkgs will not fixup_bundle: \" ' done ''; nativeBuildInputs = [ flex bison wrapQtAppsHook cmake ]; buildInputs = [ qtbase qttools qtcharts qtsvg qtwayland libX11 gperf adms ] ++ kernels; buildInputs = [ qtbase qttools qtcharts qtsvg gperf adms ] ++ lib.optionals stdenv.isLinux [ qtwayland libX11 ] ++ kernels; cmakeFlags = [ "-DWITH_QT6=ON" Loading @@ -56,6 +77,6 @@ stdenv.mkDerivation rec { license = licenses.gpl2Plus; mainProgram = "qucs-s"; maintainers = with maintainers; [ mazurel kashw2 thomaslepoix ]; platforms = with platforms; linux; platforms = with platforms; unix; }; }
pkgs/by-name/ad/adms/package.nix +1 −1 Original line number Diff line number Diff line Loading @@ -40,6 +40,6 @@ stdenv.mkDerivation rec { homepage = "https://github.com/Qucs/adms"; license = lib.licenses.gpl3; maintainers = with lib.maintainers; [ disassembler ]; platforms = with lib.platforms; linux; platforms = with lib.platforms; unix; }; }
pkgs/by-name/qu/qucsator-rf/package.nix +7 −1 Original line number Diff line number Diff line Loading @@ -22,6 +22,12 @@ stdenv.mkDerivation rec { hash = "sha256-IvB4CTvK6x4wwUXMoXIqBku1Hh9em6ITTpwFllYsTEg="; }; # Upstream forces NO_DEFAULT_PATH on APPLE postPatch = '' substituteInPlace CMakeLists.txt \ --replace-fail '"/usr/local/opt/bison/bin/"' '"${bison}/bin"' ''; nativeBuildInputs = [ cmake flex Loading @@ -43,6 +49,6 @@ stdenv.mkDerivation rec { license = lib.licenses.gpl2Plus; mainProgram = "qucsator_rf"; maintainers = with lib.maintainers; [ thomaslepoix ]; platforms = lib.platforms.linux; platforms = lib.platforms.unix; }; }