···11+{ stdenv
22+, fetchFromGitHub
33+, autoreconfHook
44+}:
55+66+stdenv.mkDerivation rec {
77+ version = "1.21";
88+ name = "cliquer-${version}";
99+1010+ # autotoolized version of the original cliquer
1111+ src = fetchFromGitHub {
1212+ owner = "dimpase";
1313+ repo = "autocliquer";
1414+ rev = "v${version}";
1515+ sha256 = "180i4qj1a25qfp75ig2d3144xfpb1dgcgpha0iqqghd7di4awg7z";
1616+ };
1717+1818+ doCheck = true;
1919+2020+ buildInputs = [
2121+ autoreconfHook
2222+ ];
2323+2424+ meta = with stdenv.lib; {
2525+ homepage = https://users.aalto.fi/~pat/cliquer.html;
2626+ downloadPage = src.meta.homepage; # autocliquer
2727+ description = "Routines for clique searching";
2828+ longDescription = ''
2929+ Cliquer is a set of C routines for finding cliques in an arbitrary weighted graph.
3030+ It uses an exact branch-and-bound algorithm developed by Patric Östergård.
3131+ It is designed with the aim of being efficient while still being flexible and
3232+ easy to use.
3333+ '';
3434+ license = licenses.gpl2Plus;
3535+ maintainers = with maintainers; [ timokau ];
3636+ platforms = platforms.linux;
3737+ };
3838+}