Merge pull request #42897 from fragamus/master

add bliss package
This commit is contained in:
Silvan Mosberger 2018-07-04 13:59:41 +02:00 committed by GitHub
commit fac943fc81
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 39 additions and 0 deletions

View file

@ -0,0 +1,37 @@
{ stdenv, fetchurl, unzip, doxygen }:
stdenv.mkDerivation rec {
name = "bliss-${version}";
version = "0.73";
src = fetchurl {
url = "http://www.tcs.hut.fi/Software/bliss/${name}.zip";
sha256 = "f57bf32804140cad58b1240b804e0dbd68f7e6bf67eba8e0c0fa3a62fd7f0f84";
};
patches = fetchurl {
url = "http://scip.zib.de/download/bugfixes/scip-5.0.1/bliss-0.73.patch";
sha256 = "815868d6586bcd49ff3c28e14ccb536d38b2661151088fe08187c13909c5dab0";
};
nativeBuildInputs = [ unzip doxygen ];
preBuild = ''
doxygen Doxyfile
'';
installPhase = ''
mkdir -p $out/bin $out/share/doc/bliss $out/lib $out/include
mv bliss $out/bin
mv html/* COPYING* $out/share/doc/bliss
mv *.a $out/lib
mv *.h *.hh $out/include
'';
meta = with stdenv.lib; {
description = "bliss is an open source tool for computing automorphism groups and canonical forms of graphs. It has both a command line user interface as well as C++ and C programming language APIs.";
homepage = http://www.tcs.hut.fi/Software/bliss/;
license = licenses.lgpl3;
platforms = [ "i686-linux" "x86_64-linux" ];
};
}

View file

@ -856,6 +856,8 @@ with pkgs;
blink1-tool = callPackage ../tools/misc/blink1-tool { };
bliss = callPackage ../applications/science/math/bliss { };
blitz = callPackage ../development/libraries/blitz {
boost = boost160;
};