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 . ''; }); }