He had been suffering from bowel and liver cancer for some time.
The unnamed player has begun to self isolate and other members of the Derbyshire squad have been identified as close contacts.
Haris, who has complained about an injury in the right leg, missed several practice sessions and both of the intra squad matches of the national team in Derbyshire.
The rules state a like-for-like replacement should be made where possible and, although Brooks is best known as a seamer, he was cleared to take part by match referee Wayne Noon.
Coronavirus Outbreak: Cheteshwar Pujara's short-term deal to play for English county Gloucestershire called off
The 32-year-old Pujara, who has scored 5840 runs at an average of 48.66 in 77 Tests, was supposed to play six County Championship matches for the club at the start of the county's first season back in Division One
T20 Blast: Captain Simon Harmer's all-round performance helps Essex beat Worcestershire in dramatic final
Essex captain Simon Harmer produced a match-winning cameo with the bat to lead his team to victory over Worcestershire on the final ball of Saturday's T20 Blast final.
Ashes 2019: Australia drops Usman Khawaja, James Pattinson for fourth Test as Steve Smith returns after concussion injury
Selectors named a 12-man squad for the fourth Test, with David Warner and Marcus Harris as openers but leaving out Khawaja, who has averaged just 20.33 in six innings
Stuart Broad can't wait for England team-mate Jofra Archer to take the attack to Australia's Steve Smith again during the fourth Ashes Test.
Ashes 2019: Australian selector Trevor Hohns says Mitchell Marsh is 'good' option for fourth Test after his performance in tour match
Marsh top-scored with 74 in Australia's 338-5 declared against Derbyshire and then took two wickets in three balls as Derbyshire were skittled out for 112
Ashes 2019: Mitchell Starc presses case for call-up to Test squad with four-wicket haul as Australia beat Derbyshire in tour match
The three-day match against Derbyshire was also Steve Smith's first innings since suffering a concussion in the second Test after being hit by a Jofra Archer bouncer
Smith, playing in the three-day tour match against Derbyshire, was in the middle for 47 minutes and struck two fours
Ashes 2019: Steve Smith returns for Australia's tour game against Derbyshire after suffering concussion in Lord's Test
Smith is set to make his Test comeback in next week's fourth Ashes match at Old Trafford provided he comes through this three-day fixture in Derby unscathed.
Steve Smith is now expected to return to action in a three-day tour match at Derby starting Thursday with a view to being available for selection for the fourth Test at Old Trafford, Manchester, that begins on 4 September.
Duanne Olivier was one of the most in potent pacer going around, having claimed 31 wickets in five Tests since being recalled by South Africa in December.
IPL 2018: Mark Wood ends stint at Chennai Super Kings and returns to England to boost Test prospects
Wood played for the Chennai Super Kings in their opening win against champions Mumbai Indians but was not picked in their next nine matches.
Thakor began his cricket career at Leicestershire county and represented England from the Under-15 to Under 19 level before joining Derbyshire in 2015.
Cheteshwar Pujara believes best phase of his cricketing life is yet to come, says he is working hard
Cheteshwar Pujara, India's standout performer in the last 12 months wearing the white flannels, feels he still has a lot of areas to improve on and his best is yet to come.
Pakistan's Shahid Afridi blasted 101 in only 43 balls to inspire Hampshire's 101-run victory at Derbyshire in the Twenty20 Blast quarter-finals on Tuesday.
Academic "time detectives" from Liverpool have used 3D digital technology to reveal the face of a Bronze Age farmer who lived in England 4,000 years ago.
Pujara has played for Nottinghamshire, Yorkshire and Derbyshire in the English County Championship.