aboutsummaryrefslogtreecommitdiffhomepage
path: root/nixDevEnv/overlays/dmdVersion.nix
blob: 51e1f67109259a5f319549c727ef84cbc8a31882 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
self: super: rec {
  version = "2.094.0";
  sha256 = "0xhm8m46ahfx3hcibi3vws02zaplny3226f3x8cd8584gzfqyzxp";
  year = "2020";
  dmd = super.dmd.overrideAttrs(oldAttrs: rec {
    inherit year version sha256;
    pname = oldAttrs.pname;
    name = "${pname}-${version}";
    src = super.fetchurl {
      url = "http://downloads.dlang.org/releases/${year}/dmd.${version}.linux.tar.xz";
      sha256 = sha256;
    };
    # postUnpack = ''
    #   patchShebangs .
    # '';
  });
}