mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 21:03:15 +00:00
04aa238c1a
Gnucap relies on LD_LIBRARY_PATH both in its build process and in code, which Darwin does not understand.
28 lines
896 B
Nix
28 lines
896 B
Nix
{ lib, stdenv, fetchurl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "gnucap";
|
|
version = "20210107";
|
|
|
|
src = fetchurl {
|
|
url = "https://git.savannah.gnu.org/cgit/gnucap.git/snapshot/${pname}-${version}.tar.gz";
|
|
sha256 = "12rlwd4mfc54qq1wrx5k8qk578xls5z4isf94ybkf2z6qxk4mhnj";
|
|
};
|
|
|
|
doCheck = true;
|
|
|
|
meta = with lib; {
|
|
description = "Gnu Circuit Analysis Package";
|
|
longDescription = ''
|
|
Gnucap is a modern general purpose circuit simulator with several advantages over Spice derivatives.
|
|
It performs nonlinear dc and transient analyses, fourier analysis, and ac analysis.
|
|
'';
|
|
homepage = "http://www.gnucap.org/";
|
|
changelog = "https://git.savannah.gnu.org/cgit/gnucap.git/plain/NEWS?h=v${version}";
|
|
license = licenses.gpl3Plus;
|
|
platforms = platforms.all;
|
|
broken = stdenv.isDarwin; # Relies on LD_LIBRARY_PATH
|
|
maintainers = [ maintainers.raboof ];
|
|
};
|
|
}
|