2018-07-04 12:03:01 +01:00
|
|
|
{ stdenv, fetchurl, unzip, doxygen }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "bliss";
|
2018-07-04 12:03:01 +01:00
|
|
|
version = "0.73";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 13:41:18 +01:00
|
|
|
url = "http://www.tcs.hut.fi/Software/bliss/${pname}-${version}.zip";
|
2018-07-04 12:03:01 +01:00
|
|
|
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 = ''
|
2018-07-16 05:12:07 +01:00
|
|
|
mkdir -p $out/bin $out/share/doc/bliss $out/lib $out/include/bliss
|
2018-07-04 12:03:01 +01:00
|
|
|
mv bliss $out/bin
|
|
|
|
mv html/* COPYING* $out/share/doc/bliss
|
|
|
|
mv *.a $out/lib
|
2018-07-16 05:12:07 +01:00
|
|
|
mv *.h *.hh $out/include/bliss
|
2018-07-04 12:03:01 +01:00
|
|
|
'';
|
|
|
|
|
|
|
|
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" ];
|
|
|
|
};
|
|
|
|
}
|