Files
nixpkgs/pkgs/by-name/ar/archimedes/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

35 lines
878 B
Nix

{
lib,
stdenv,
fetchurl,
fetchpatch,
}:
stdenv.mkDerivation rec {
pname = "archimedes";
version = "2.0.1";
src = fetchurl {
url = "mirror://gnu/archimedes/archimedes-${version}.tar.gz";
sha256 = "0jfpnd3pns5wxcxbiw49v5sgpmm5b4v8s4q1a5292hxxk2hzmb3z";
};
patches = [
# Pull patch pending upstream inclusion to support c99 toolchains:
# https://savannah.gnu.org/bugs/index.php?62703
(fetchpatch {
name = "c99.patch";
url = "https://savannah.gnu.org/bugs/download.php?file_id=53393";
sha256 = "1xmy1w4ln1gynldk3srdi2h0fxpx465dsa1yxc3rzrrjpxh6087f";
})
];
meta = {
description = "GNU package for semiconductor device simulations";
mainProgram = "archimedes";
homepage = "https://www.gnu.org/software/archimedes";
license = lib.licenses.gpl2Plus;
platforms = with lib.platforms; linux;
};
}