pythonPackages.fpylll: init at 0.3.0dev

This commit is contained in:
Timo Kaufmann 2018-04-11 19:08:38 +02:00
parent bca79a970a
commit 633f694443
2 changed files with 57 additions and 0 deletions

View File

@ -0,0 +1,55 @@
{ 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;
};
}

View File

@ -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 {