about summary refs log tree commit diff
path: root/pkgs/applications/science/logic/poly/default.nix
blob: 1b401c927b6ef59d0061ee01014ceffd0bb4cea4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{stdenv, fetchurl, gmp, cmake, python}:

let version = "0.1.4";
in

stdenv.mkDerivation {
  name = "libpoly-${version}";

  src = fetchurl {
    url = "https://github.com/SRI-CSL/libpoly/archive/v${version}.tar.gz";
    sha256 = "16x1pk2a3pcb5a0dzyw28ccjwkhmbsck4hy80ss7kx0dd7qgpi7j";
  };

  buildInputs = [ cmake gmp python ];

  meta = with stdenv.lib; {
    homepage = https://github.com/SRI-CSL/libpoly;
    description = "C library for manipulating polynomials";
    license = licenses.lgpl3;
    platforms = platforms.all;
  };
}