mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 09:23:01 +00:00
libngspice: 42 -> 43
This commit is contained in:
parent
ce968d8378
commit
b473e96d03
@ -7,15 +7,17 @@
|
|||||||
, withNgshared ? true
|
, withNgshared ? true
|
||||||
, libXaw
|
, libXaw
|
||||||
, libXext
|
, libXext
|
||||||
|
, llvmPackages
|
||||||
|
, readline
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "${lib.optionalString withNgshared "lib"}ngspice";
|
pname = "${lib.optionalString withNgshared "lib"}ngspice";
|
||||||
version = "42";
|
version = "43";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://sourceforge/ngspice/ngspice-${version}.tar.gz";
|
url = "mirror://sourceforge/ngspice/ngspice-${version}.tar.gz";
|
||||||
hash = "sha256-c3/jhGqyMzolDfrfHtbr4YYK8dil/154A8dyzEJW5Qo=";
|
hash = "sha256-FN1qbwhTHyBRwTrmN5CkVwi9Q/PneIamqEiYwpexNpk=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
@ -25,9 +27,12 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
fftw
|
fftw
|
||||||
|
readline
|
||||||
] ++ lib.optionals (!withNgshared) [
|
] ++ lib.optionals (!withNgshared) [
|
||||||
libXaw
|
libXaw
|
||||||
libXext
|
libXext
|
||||||
|
] ++ lib.optionals stdenv.isDarwin [
|
||||||
|
llvmPackages.openmp
|
||||||
];
|
];
|
||||||
|
|
||||||
configureFlags = lib.optionals withNgshared [
|
configureFlags = lib.optionals withNgshared [
|
||||||
|
Loading…
Reference in New Issue
Block a user