···1+{ stdenv
2+, fetchFromGitHub
3+, autoreconfHook
4+}:
5+6+stdenv.mkDerivation rec {
7+ version = "1.21";
8+ name = "cliquer-${version}";
9+10+ # autotoolized version of the original cliquer
11+ src = fetchFromGitHub {
12+ owner = "dimpase";
13+ repo = "autocliquer";
14+ rev = "v${version}";
15+ sha256 = "180i4qj1a25qfp75ig2d3144xfpb1dgcgpha0iqqghd7di4awg7z";
16+ };
17+18+ doCheck = true;
19+20+ buildInputs = [
21+ autoreconfHook
22+ ];
23+24+ meta = with stdenv.lib; {
25+ homepage = https://users.aalto.fi/~pat/cliquer.html;
26+ downloadPage = src.meta.homepage; # autocliquer
27+ description = "Routines for clique searching";
28+ longDescription = ''
29+ Cliquer is a set of C routines for finding cliques in an arbitrary weighted graph.
30+ It uses an exact branch-and-bound algorithm developed by Patric Östergård.
31+ It is designed with the aim of being efficient while still being flexible and
32+ easy to use.
33+ '';
34+ license = licenses.gpl2Plus;
35+ maintainers = with maintainers; [ timokau ];
36+ platforms = platforms.linux;
37+ };
38+}