2021-01-21 09:00:13 -08:00
|
|
|
{ lib, stdenv
|
2018-04-11 11:48:46 -07:00
|
|
|
, fetchurl
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "rankwidth";
|
2021-03-09 03:16:54 -08:00
|
|
|
version = "0.9";
|
2018-04-11 11:48:46 -07:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-04-24 06:49:08 -07:00
|
|
|
url = "mirror://sageupstream/rw/rw-${version}.tar.gz";
|
2021-03-09 03:16:54 -08:00
|
|
|
sha256 = "sha256-weA1Bv4lzfy0KMBR/Fay0q/7Wwb7o/LOdWYxRmvvtEE=";
|
2018-04-11 11:48:46 -07:00
|
|
|
};
|
|
|
|
|
|
|
|
configureFlags = [
|
|
|
|
"--enable-executable=no" # no igraph dependency
|
|
|
|
];
|
|
|
|
|
2021-03-09 03:16:54 -08:00
|
|
|
# check phase is empty for now (as of version 0.9)
|
2018-04-11 11:48:46 -07:00
|
|
|
doCheck = true;
|
|
|
|
|
2021-01-21 09:00:13 -08:00
|
|
|
meta = with lib; {
|
2018-04-11 11:48:46 -07:00
|
|
|
description = "Calculates rank-width and rank-decompositions";
|
|
|
|
license = with licenses; [ gpl2Plus ];
|
2020-11-17 11:41:33 -08:00
|
|
|
maintainers = teams.sage.members;
|
2019-09-15 01:48:07 -07:00
|
|
|
platforms = platforms.unix;
|
2018-04-11 11:48:46 -07:00
|
|
|
};
|
|
|
|
}
|