diff options
author | Dennis Gosnell <cdep.illabout@gmail.com> | 2020-11-30 09:08:26 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-30 09:08:26 +0900 |
commit | a2b278f0951a41a9eb781403cf7cf621e5a1bf2e (patch) | |
tree | 1c762382a459082f1364d91ceb5d15c0a6000aa8 | |
parent | db4f3eafb00eda1bb7a8e5a22a2a5602789ecc28 (diff) | |
parent | 304fe564a157615a72c1675e820bd8319af24875 (diff) |
Merge pull request #105400 from arcz/libff
libff: init at 1.0.0
-rw-r--r-- | pkgs/development/libraries/libff/default.nix | 28 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 2 |
2 files changed, 30 insertions, 0 deletions
diff --git a/pkgs/development/libraries/libff/default.nix b/pkgs/development/libraries/libff/default.nix new file mode 100644 index 0000000000000..8413d5be44101 --- /dev/null +++ b/pkgs/development/libraries/libff/default.nix @@ -0,0 +1,28 @@ +{ stdenv, fetchFromGitHub, cmake, boost, gmp, openssl, pkg-config }: + +stdenv.mkDerivation rec { + pname = "libff"; + version = "1.0.0"; + + src = fetchFromGitHub { + owner = "scipr-lab"; + repo = "libff"; + rev = "v${version}"; + sha256 = "0dczi829497vqlmn6n4fgi89bc2h9f13gx30av5z2h6ikik7crgn"; + fetchSubmodules = true; + }; + + cmakeFlags = [ "-DWITH_PROCPS=Off" ]; + + nativeBuildInputs = [ cmake pkg-config ]; + buildInputs = [ boost gmp openssl ]; + + meta = with stdenv.lib; { + description = "C++ library for Finite Fields and Elliptic Curves"; + changelog = "https://github.com/scipr-lab/libff/blob/develop/CHANGELOG.md"; + homepage = "https://github.com/scipr-lab/libff"; + license = licenses.mit; + platforms = platforms.unix; + maintainers = with maintainers; [ arturcygan ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 259a468b68636..3fc30afcfbaad 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -14012,6 +14012,8 @@ in libfixposix = callPackage ../development/libraries/libfixposix {}; + libff = callPackage ../development/libraries/libff { }; + libffcall = callPackage ../development/libraries/libffcall { }; libffi = callPackage ../development/libraries/libffi { }; |