aboutsummaryrefslogtreecommitdiffhomepage
path: root/nixDevEnv/overlays/ldcVersion.nix
blob: 688394db49e09c7f13cbb1ebe80557fde5487ed8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
self: super: rec {
  pname   = "ldc";
  version = "1.23.0";
  sha256  = "1fdgj222x29as466vdxy9c0m82zzlsb7vnvvh89n2riszcrx463d";
  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 .
    '';
  });
}