Merge pull request #38790 from timokau/fpylll-init
pythonPackages.fpylll: init at 0.3.0dev
This commit is contained in:
commit
2a09342395
3 changed files with 59 additions and 2 deletions
|
@ -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];
|
||||
|
|
55
pkgs/development/python-modules/fpylll/default.nix
Normal file
55
pkgs/development/python-modules/fpylll/default.nix
Normal 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;
|
||||
};
|
||||
}
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue