biome: 1.9.2 -> 1.9.3
[NixPkgs.git] / pkgs / applications / science / electronics / archimedes / default.nix
blob9d9498df00da899d5be075d58ec85395166346cc
1 { lib, stdenv, fetchurl, fetchpatch }:
3 stdenv.mkDerivation rec {
4   pname = "archimedes";
5   version = "2.0.1";
7   src = fetchurl {
8     url = "mirror://gnu/archimedes/archimedes-${version}.tar.gz";
9     sha256 = "0jfpnd3pns5wxcxbiw49v5sgpmm5b4v8s4q1a5292hxxk2hzmb3z";
10   };
12   patches = [
13     # Pull patch pending upstream inclusion to support c99 toolchains:
14     #   https://savannah.gnu.org/bugs/index.php?62703
15     (fetchpatch {
16       name = "c99.patch";
17       url = "https://savannah.gnu.org/bugs/download.php?file_id=53393";
18       sha256 = "1xmy1w4ln1gynldk3srdi2h0fxpx465dsa1yxc3rzrrjpxh6087f";
19     })
20   ];
22   meta = {
23     description = "GNU package for semiconductor device simulations";
24     mainProgram = "archimedes";
25     homepage = "https://www.gnu.org/software/archimedes";
26     license = lib.licenses.gpl2Plus;
27     platforms = with lib.platforms; linux;
28   };