diff --git a/pkgs/development/libraries/eclib/default.nix b/pkgs/development/libraries/eclib/default.nix new file mode 100644 index 000000000000..3651b9e7660e --- /dev/null +++ b/pkgs/development/libraries/eclib/default.nix @@ -0,0 +1,23 @@ +{stdenv, fetchFromGitHub, autoconf, automake, libtool, gettext, autoreconfHook +, pari, ntl, gmp}: +stdenv.mkDerivation rec { + name = "${pname}-${version}"; + pname = "eclib"; + version = "20160720"; + # or fetchFromGitHub(owner,repo,rev) or fetchgit(rev) + src = fetchFromGitHub { + owner = "JohnCremona"; + repo = "${pname}"; + rev = "${version}"; + sha256 = "0qrcd5c8cqhw9f14my6k6013w8li5vdigrjvchkr19n2l8g75j0h"; + }; + buildInputs = [pari ntl gmp]; + nativeBuildInputs = [autoconf automake libtool gettext autoreconfHook]; + meta = { + inherit version; + description = ''Elliptic curve tools''; + license = stdenv.lib.licenses.gpl2Plus; + maintainers = [stdenv.lib.maintainers.raskin]; + platforms = stdenv.lib.platforms.linux; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index b86c8c1a0761..4eac2eefdae1 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -6774,6 +6774,8 @@ in dxflib = callPackage ../development/libraries/dxflib {}; + eclib = callPackage ../development/libraries/eclib {}; + eigen = callPackage ../development/libraries/eigen {}; eigen2 = callPackage ../development/libraries/eigen/2.0.nix {};