about summary refs log tree commit diff
path: root/pkgs/development/libraries/libngspice/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/libngspice/default.nix')
-rw-r--r--pkgs/development/libraries/libngspice/default.nix55
1 files changed, 0 insertions, 55 deletions
diff --git a/pkgs/development/libraries/libngspice/default.nix b/pkgs/development/libraries/libngspice/default.nix
deleted file mode 100644
index 3578441dd61a..000000000000
--- a/pkgs/development/libraries/libngspice/default.nix
+++ /dev/null
@@ -1,55 +0,0 @@
-{ lib
-, stdenv
-, fetchurl
-, flex
-, bison
-, fftw
-, withNgshared ? true
-, libXaw
-, libXext
-, llvmPackages
-, readline
-}:
-
-stdenv.mkDerivation rec {
-  pname = "${lib.optionalString withNgshared "lib"}ngspice";
-  version = "43";
-
-  src = fetchurl {
-    url = "mirror://sourceforge/ngspice/ngspice-${version}.tar.gz";
-    hash = "sha256-FN1qbwhTHyBRwTrmN5CkVwi9Q/PneIamqEiYwpexNpk=";
-  };
-
-  nativeBuildInputs = [
-    flex
-    bison
-  ];
-
-  buildInputs = [
-    fftw
-    readline
-  ] ++ lib.optionals (!withNgshared) [
-    libXaw
-    libXext
-  ] ++ lib.optionals stdenv.isDarwin [
-    llvmPackages.openmp
-  ];
-
-  configureFlags = lib.optionals withNgshared [
-    "--with-ngshared"
-  ] ++ [
-    "--enable-xspice"
-    "--enable-cider"
-  ];
-
-  enableParallelBuilding = true;
-
-  meta = with lib; {
-    description = "Next Generation Spice (Electronic Circuit Simulator)";
-    mainProgram = "ngspice";
-    homepage = "http://ngspice.sourceforge.net";
-    license = with licenses; [ bsd3 gpl2Plus lgpl2Plus ]; # See https://sourceforge.net/p/ngspice/ngspice/ci/master/tree/COPYING
-    maintainers = with maintainers; [ bgamari rongcuid ];
-    platforms = platforms.unix;
-  };
-}