GAP 4.8.9 installation with standard packages -- copy to your CoCalc project to get it
gap> START_TEST("HAP library"); gap> G:=SpaceGroup(4,122);; gap> R:=ResolutionCubicalCrystGroup(G,5);; gap> C:=HomToIntegers(R);; gap> Cohomology(C,0); [ 0 ] gap> Cohomology(C,1); [ ] gap> Cohomology(C,2); [ 2, 4, 4, 0 ] gap> Cohomology(C,3); [ 0, 0 ] gap> Cohomology(C,4); [ 2 ] gap> STOP_TEST( "tst.tst", 1000 );