2018-07-12 22:00:33 +00:00
|
|
|
{stdenv, fetchFromGitHub, gmp, cmake, python}:
|
2017-07-07 04:30:30 +00:00
|
|
|
|
2018-07-12 22:00:33 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "libpoly";
|
|
|
|
version = "0.1.7";
|
2017-07-07 04:30:30 +00:00
|
|
|
|
2018-07-12 22:00:33 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "SRI-CSL";
|
|
|
|
repo = "libpoly";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "0i5ar4lhs88glk0rvkmag656ii434i6i1q5dspx6d0kyg78fii64";
|
2017-07-07 04:30:30 +00:00
|
|
|
};
|
|
|
|
|
2018-07-12 22:00:33 +00:00
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
|
|
|
|
buildInputs = [ gmp python ];
|
2017-07-07 04:30:30 +00:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://github.com/SRI-CSL/libpoly;
|
|
|
|
description = "C library for manipulating polynomials";
|
2017-07-07 19:54:32 +00:00
|
|
|
license = licenses.lgpl3;
|
2017-07-07 04:30:30 +00:00
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|