aboutsummaryrefslogtreecommitdiffhomepage
path: root/nixDevEnv/overlays/ldcVersion.nix
blob: 599000408132843e573d911d84ba9b4898bbd6fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
self: super: rec {
  pname   = "ldc";
  version = "1.24.0";
  sha256  = "0g5svf55i0kq55q49awmwqj9qi1n907cyrn1vjdjgs8nx6nn35gx";
  ldc = super.ldc.overrideAttrs(oldAttrs: rec {
    inherit pname version sha256;
    name = "${pname}-${version}";
    src = super.fetchurl {
      url = "https://github.com/ldc-developers/ldc/releases/download/v${version}/ldc-${version}-src.tar.gz";
      sha256 = sha256;
    };
    postUnpack = ''
      patchShebangs .
    '';
  });
}