28 lines
609 B
Nix
Raw Permalink Normal View History

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