mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-29 06:45:54 +03:00
Add poly library for manipulating polynomials.
This commit is contained in:
parent
665dfda8e4
commit
8ff05c85ee
22
pkgs/applications/science/logic/poly/default.nix
Normal file
22
pkgs/applications/science/logic/poly/default.nix
Normal file
@ -0,0 +1,22 @@
|
||||
{stdenv, fetchurl, gmp, cmake, python}:
|
||||
|
||||
let version = "0.1.3";
|
||||
in
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "libpoly-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/SRI-CSL/libpoly/archive/v${version}.tar.gz";
|
||||
sha256 = "0nd90585imnznyp04vg6a5ixxkd3bavhv1437397aj2k3dfc0y2k";
|
||||
};
|
||||
|
||||
buildInputs = [ cmake gmp python ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://github.com/SRI-CSL/libpoly;
|
||||
description = "C library for manipulating polynomials";
|
||||
license = licenses.gplv3;
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
@ -18091,6 +18091,8 @@ with pkgs;
|
||||
|
||||
picosat = callPackage ../applications/science/logic/picosat {};
|
||||
|
||||
libpoly = callPackage ../applications/science/logic/poly/default.nix {};
|
||||
|
||||
prooftree = (with ocamlPackages_4_01_0;
|
||||
callPackage ../applications/science/logic/prooftree {
|
||||
camlp5 = camlp5_transitional;
|
||||
|
Loading…
Reference in New Issue
Block a user