Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.0 kB · 43 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738394041424344{ lib, fetchFromGitHub, fetchpatch, buildDunePackage, logs, zarith,}:
buildDunePackage rec { pname = "ocplib-simplex"; version = "0.5.1";
src = fetchFromGitHub { owner = "OCamlPro"; repo = pname; rev = "v${version}"; hash = "sha256-fLTht+TlyJIsIAsRLmmkFKsnbSeW3BgyAyURFdnGfko="; };
# Fix tests with dune 3.17.0 # See https://github.com/OCamlPro/ocplib-simplex/issues/35 patches = ( fetchpatch { url = "https://github.com/OCamlPro/ocplib-simplex/commit/456a744bddd397daade7959d4a49cfadafdadd33.patch"; hash = "sha256-tQUXOoRGe1AIzHcm6j2MopROxn75OE9YUP+CwcKUbVg="; } );
propagatedBuildInputs = [ logs zarith ];
doCheck = true;
meta = { description = "OCaml library implementing a simplex algorithm, in a functional style, for solving systems of linear inequalities"; homepage = "https://github.com/OCamlPro-Iguernlala/ocplib-simplex"; license = lib.licenses.lgpl21Only; maintainers = [ lib.maintainers.vbgl ]; };}