Skip to content

Commit

Permalink
papilo: init at 2.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
david-r-cox committed Sep 16, 2024
1 parent e43bbcf commit 06ce1d3
Showing 1 changed file with 48 additions and 0 deletions.
48 changes: 48 additions & 0 deletions pkgs/by-name/pa/papilo/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{
blas,
boost,
cmake,
fetchFromGitHub,
gfortran12,
lib,
stdenv,
tbb,
zlib,
}:

stdenv.mkDerivation (finalAttrs: {
pname = "papilo";
version = "2.3.0";

src = fetchFromGitHub {
owner = "scipopt";
repo = "papilo";
rev = "v${finalAttrs.version}";
hash = "sha256-rB8kRyBxd+zn3XFueTQoN16jbFpXMvneqatQm8Hh2Hg=";
};

buildInputs = [
blas
boost
cmake
gfortran12
zlib
];

nativeBuildInputs = [ cmake ];

propagatedBuildInputs = [ tbb ];

strictDeps = true;

doCheck = true;

meta = {
homepage = "https://scipopt.org/";
description = "Parallel Presolve for Integer and Linear Optimization";
license = with lib.licenses; [ lgpl3Plus ];
mainProgram = "papilo";
maintainers = with lib.maintainers; [ david-r-cox ];
platforms = lib.platforms.unix;
};
})

0 comments on commit 06ce1d3

Please sign in to comment.