Commit 633f6944 authored by Timo Kaufmann's avatar Timo Kaufmann
Browse files

pythonPackages.fpylll: init at 0.3.0dev

parent bca79a97
Loading
Loading
Loading
Loading
+55 −0
Original line number Diff line number Diff line
{ lib
, fetchPypi
, buildPythonPackage
, pkgconfig
, gmp
, pari
, mpfr
, fplll
, cython
, cysignals
, numpy
, pytest
}:

buildPythonPackage rec {
  pname = "fpylll";
  version = "0.3.0dev";

  src = fetchPypi {
    inherit pname version;
    sha256 = "0bjkh02fnxsrxwjzai8ij12zl2wq319z8y25sn9pvvzla5izgnp9";
  };

  buildInputs = [
    gmp
    pari
    mpfr
    fplll
  ];

  propagatedBuildInputs = [
    cython
    cysignals
    numpy
  ];

  nativeBuildInputs = [
    pkgconfig
  ];

  checkInputs = [
    pytest
  ];

  checkPhase = ''
    py.test
  '';

  meta = {
    description = "A Python interface for fplll";
    homepage = https://github.com/fplll/fpylll;
    maintainers = with lib.maintainers; [ timokau ];
    license = lib.licenses.gpl2Plus;
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -2589,6 +2589,8 @@ in {
  fpdf = callPackage ../development/python-modules/fpdf { };
  fpylll = callPackage ../development/python-modules/fpylll { };
  fritzconnection = callPackage ../development/python-modules/fritzconnection { };
  frozendict = buildPythonPackage rec {