If you already have the Haskell Platform, getting diagrams should be as simple as

cabal install diagrams

Otherwise, see the quick start tutorial and the wiki for more detailed instructions.

Getting the sources

diagrams is an open-source project, and contributions are encouraged! All diagrams-related repositories are in the diagrams organization on github. The Contributing page on the diagrams wiki explains how to get the repositories and make contributions.