The coordination of adenine to Ni(2+) forms a dimer unit which can be linked by 3,5-pyrazoledicarboxylic acid into chains which assemble under hydrothermal conditions via hydrogen bonding into a robust porous network. The material displays selectivity for CO(2) over CH(4) and an isosteric heat which increases with guest loading.