diff options
author | Timo Kaufmann <timokau@zoho.com> | 2018-04-11 20:43:58 +0200 |
---|---|---|
committer | Matthew Justin Bauer <mjbauer95@gmail.com> | 2018-04-21 20:43:56 -0500 |
commit | b74e884aab0a0cf7e069ab96ecfdf80dbaceef79 (patch) | |
tree | 02e5408d0b388f73957fe55726f15d6d39a541eb /pkgs/development/libraries/science/math/flintqs | |
parent | d0d7894f75d3c6b1807a1dbf02fd740c0935e12c (diff) | |
download | nixpkgs-b74e884aab0a0cf7e069ab96ecfdf80dbaceef79.tar nixpkgs-b74e884aab0a0cf7e069ab96ecfdf80dbaceef79.tar.gz nixpkgs-b74e884aab0a0cf7e069ab96ecfdf80dbaceef79.tar.bz2 nixpkgs-b74e884aab0a0cf7e069ab96ecfdf80dbaceef79.tar.lz nixpkgs-b74e884aab0a0cf7e069ab96ecfdf80dbaceef79.tar.xz nixpkgs-b74e884aab0a0cf7e069ab96ecfdf80dbaceef79.tar.zst nixpkgs-b74e884aab0a0cf7e069ab96ecfdf80dbaceef79.zip |
flintqs: init at 1.0
Diffstat (limited to 'pkgs/development/libraries/science/math/flintqs')
-rw-r--r-- | pkgs/development/libraries/science/math/flintqs/default.nix | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/pkgs/development/libraries/science/math/flintqs/default.nix b/pkgs/development/libraries/science/math/flintqs/default.nix new file mode 100644 index 00000000000..2891429c857 --- /dev/null +++ b/pkgs/development/libraries/science/math/flintqs/default.nix @@ -0,0 +1,40 @@ +{ stdenv +, fetchFromGitHub +, autoreconfHook +, gmp +}: + +stdenv.mkDerivation rec { + version = "1.0"; + pname = "flintqs"; + name = "${pname}-${version}"; + + src = fetchFromGitHub { + owner = "sagemath"; + repo = "FlintQS"; + rev = "v${version}"; + sha256 = "1f0lnayz6j6qgasx8pbq61d2fqam0wwhsmh6h15l4vq58l1vvbwj"; + }; + + preAutoreconf = '' + touch ChangeLog + ''; + + buildInputs = [ + gmp + ]; + + nativeBuildInputs = [ + autoreconfHook + ]; + + doCheck = true; + + meta = with stdenv.lib; { + homepage = https://github.com/sagemath/FlintQS; + description = "Highly optimized multi-polynomial quadratic sieve for integer factorization"; + license = with licenses; [ gpl2 ]; + maintainers = with maintainers; [ timokau ]; + platforms = platforms.all; + }; +} |