2017-07-07 06:30:30 +02:00
|
|
|
{stdenv, fetchurl, gmp, cmake, python}:
|
|
|
|
|
2017-08-27 04:55:27 +02:00
|
|
|
let version = "0.1.4";
|
2017-07-07 06:30:30 +02:00
|
|
|
in
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "libpoly-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/SRI-CSL/libpoly/archive/v${version}.tar.gz";
|
2017-08-27 04:55:27 +02:00
|
|
|
sha256 = "16x1pk2a3pcb5a0dzyw28ccjwkhmbsck4hy80ss7kx0dd7qgpi7j";
|
2017-07-07 06:30:30 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ cmake gmp python ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://github.com/SRI-CSL/libpoly;
|
|
|
|
description = "C library for manipulating polynomials";
|
2017-07-07 21:54:32 +02:00
|
|
|
license = licenses.lgpl3;
|
2017-07-07 06:30:30 +02:00
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|