nauty: init at 26r7

This commit is contained in:
Michael Raskin 2016-10-11 09:49:04 +02:00
parent a67a50895c
commit 5f418b75d6
2 changed files with 26 additions and 0 deletions

View file

@ -0,0 +1,24 @@
{stdenv, fetchurl}:
stdenv.mkDerivation rec {
name = "nauty-${version}";
version = "26r7";
src = fetchurl {
url = "http://pallini.di.uniroma1.it/nauty${version}.tar.gz";
sha256 = "1indcc1im7s5x89x0xn4699izw1wwars1aanpmf8jibnw66n9dcp";
};
buildInputs = [];
installPhase = ''
mkdir -p "$out"/{bin,share/doc/nauty}
cp $(find . -type f -perm -111 \! -name '*.*' ) "$out/bin"
cp [Rr][Ee][Aa][Dd]* COPYRIGHT This* [Cc]hange* "$out/share/doc/nauty"
'';
meta = {
inherit version;
description = ''Programs for computing automorphism groups of graphs and digraphs'';
license = stdenv.lib.licenses.asl20;
maintainers = [stdenv.lib.maintainers.raskin];
platforms = stdenv.lib.platforms.linux;
homepage = "http://pallini.di.uniroma1.it/";
};
}

View file

@ -16382,6 +16382,8 @@ in
metis = callPackage ../development/libraries/science/math/metis {};
nauty = callPackage ../applications/science/math/nauty {};
sage = callPackage ../applications/science/math/sage { };
suitesparse_4_2 = callPackage ../development/libraries/science/math/suitesparse/4.2.nix { };