aboutsummaryrefslogtreecommitdiff
path: root/infra/libkookie/nixpkgs/pkgs/development/libraries/science/math/rankwidth/default.nix
blob: ded7b7dc90ac99cfb4d5c0ddf6e1b35151e91f5c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{ stdenv
, fetchurl
}:

stdenv.mkDerivation rec {
  pname = "rankwidth";
  version = "0.7";

  src = fetchurl {
    url = "mirror://sageupstream/rw/rw-${version}.tar.gz";
    sha256 = "1rv2v42x2506x7f10349m1wpmmfxrv9l032bkminni2gbip9cjg0";
  };

  configureFlags = [
    "--enable-executable=no" # no igraph dependency
  ];

  # check phase is empty for now (as of version 0.7)
  doCheck = true;

  meta = with stdenv.lib; {
    description = "Calculates rank-width and rank-decompositions";
    license = with licenses; [ gpl2Plus ];
    maintainers = with maintainers; [ timokau ];
    platforms = platforms.unix;
  };
}