diff options
author | Michael Gough <innovative.engineer@gmail.com> | 2018-07-04 11:03:01 +0000 |
---|---|---|
committer | Michael Gough <innovative.engineer@gmail.com> | 2018-07-04 11:33:10 +0000 |
commit | e3ea68595715bb18ad34238951bb7dbb3c2ef20a (patch) | |
tree | e4b9e28c6bfe71939876bff664804c947fa61db3 /pkgs/applications/science/math | |
parent | f180facaa091123f9f0f99a6cb4fc5f7f1b3d0b3 (diff) | |
download | nixlib-e3ea68595715bb18ad34238951bb7dbb3c2ef20a.tar nixlib-e3ea68595715bb18ad34238951bb7dbb3c2ef20a.tar.gz nixlib-e3ea68595715bb18ad34238951bb7dbb3c2ef20a.tar.bz2 nixlib-e3ea68595715bb18ad34238951bb7dbb3c2ef20a.tar.lz nixlib-e3ea68595715bb18ad34238951bb7dbb3c2ef20a.tar.xz nixlib-e3ea68595715bb18ad34238951bb7dbb3c2ef20a.tar.zst nixlib-e3ea68595715bb18ad34238951bb7dbb3c2ef20a.zip |
bliss: init at 0.73
Diffstat (limited to 'pkgs/applications/science/math')
-rw-r--r-- | pkgs/applications/science/math/bliss/default.nix | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/pkgs/applications/science/math/bliss/default.nix b/pkgs/applications/science/math/bliss/default.nix new file mode 100644 index 000000000000..b96aa60da686 --- /dev/null +++ b/pkgs/applications/science/math/bliss/default.nix @@ -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" ]; + }; +} |