nixpkgs/pkgs/development/libraries/science/math/rankwidth/default.nix

28 lines
609 B
Nix
Raw Normal View History

{ 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;
meta = with lib; {
2018-04-11 11:48:46 -07:00
description = "Calculates rank-width and rank-decompositions";
license = with licenses; [ gpl2Plus ];
maintainers = teams.sage.members;
platforms = platforms.unix;
2018-04-11 11:48:46 -07:00
};
}