csdp: init at 6.1.1

authored by

Russell O'Connor and committed by
Russell O'Connor
772ec9ca 26eaa930

+29
+27
pkgs/applications/science/math/csdp/default.nix
··· 1 + { lib, stdenv, fetchurl, blas, gfortran, liblapack }: 2 + 3 + stdenv.mkDerivation { 4 + name = "csdp-6.1.1"; 5 + 6 + src = fetchurl { 7 + url = "http://www.coin-or.org/download/source/Csdp/Csdp-6.1.1.tgz"; 8 + sha256 = "1f9ql6cjy2gwiyc51ylfan24v1ca9sjajxkbhszlds1lqmma8n05"; 9 + }; 10 + 11 + buildInputs = [ blas gfortran liblapack ]; 12 + 13 + postPatch = '' 14 + substituteInPlace Makefile --replace /usr/local/bin $out/bin 15 + ''; 16 + 17 + preInstall = '' 18 + mkdir -p $out/bin 19 + ''; 20 + 21 + meta = { 22 + homepage = https://projects.coin-or.org/Csdp; 23 + license = lib.licenses.cpl10; 24 + maintainers = [ lib.maintainers.roconnor ]; 25 + description = "A C Library for Semidefinite Programming"; 26 + }; 27 + }
+2
pkgs/top-level/all-packages.nix
··· 11031 11031 desktopName = "Conkeror"; 11032 11032 }; 11033 11033 11034 + csdp = callPackage ../applications/science/math/csdp { }; 11035 + 11034 11036 cuneiform = builderDefsPackage (import ../tools/graphics/cuneiform) { 11035 11037 inherit cmake patchelf; 11036 11038 imagemagick = imagemagick;