Merge pull request #38790 from timokau/fpylll-init

pythonPackages.fpylll: init at 0.3.0dev
This commit is contained in:
Robert Schütz 2018-04-14 12:19:12 +02:00 committed by GitHub
commit 2a09342395
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 59 additions and 2 deletions

View file

@ -4,12 +4,12 @@
stdenv.mkDerivation rec {
name = "${pname}-${version}";
pname = "fplll";
version = "5.0.2";
version = "5.2.0";
src = fetchFromGitHub {
owner = "${pname}";
repo = "${pname}";
rev = "${version}";
sha256 = "0rl98rx284giyhj3pf6iydn1a06jis8c8mnsc7kqs4rcmiw4bjpx";
sha256 = "0931i4q49lzlifsg9zd8a2yzj626i1s2bqhkfxvcxv94c38s0nh1";
};
nativeBuildInputs = [autoconf automake libtool gettext autoreconfHook];
buildInputs = [gmp mpfr];

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

@ -2568,6 +2568,8 @@ in {
fpdf = callPackage ../development/python-modules/fpdf { };
fpylll = callPackage ../development/python-modules/fpylll { };
fritzconnection = callPackage ../development/python-modules/fritzconnection { };
frozendict = buildPythonPackage rec {