mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-03 21:40:12 +00:00
30 lines
623 B
Nix
30 lines
623 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchurl,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "rankwidth";
|
|
version = "0.10";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/rankwidth/rw-${finalAttrs.version}.tar.gz";
|
|
hash = "sha256-iajtNkiTrBtwq3ChUuPn2zzzSLtpCYqm27lpY535J9s=";
|
|
};
|
|
|
|
configureFlags = [
|
|
"--enable-executable=no" # no igraph dependency
|
|
];
|
|
|
|
# check phase is empty for now (as of version 0.9)
|
|
doCheck = true;
|
|
|
|
meta = {
|
|
description = "Calculates rank-width and rank-decompositions";
|
|
license = lib.licenses.gpl2Plus;
|
|
teams = [ lib.teams.sage ];
|
|
platforms = lib.platforms.unix;
|
|
};
|
|
})
|