Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 pkg-config, 6 gettext, 7 autoreconfHook, 8 gmp, 9 mpfr, 10}: 11 12stdenv.mkDerivation rec { 13 pname = "fplll"; 14 version = "5.5.0"; 15 16 src = fetchFromGitHub { 17 owner = "fplll"; 18 repo = "fplll"; 19 rev = version; 20 sha256 = "sha256-WvjXaCnUMioSmLlWmLV673mhRjnF+8DU9MqgUmBgaFQ="; 21 }; 22 23 nativeBuildInputs = [ 24 pkg-config 25 gettext 26 autoreconfHook 27 ]; 28 29 buildInputs = [ 30 gmp 31 mpfr 32 ]; 33 34 meta = with lib; { 35 description = "Lattice algorithms using floating-point arithmetic"; 36 changelog = [ 37 # Some release notes are added to the github tags, though they are not 38 # always complete. 39 "https://github.com/fplll/fplll/releases/tag/${version}" 40 # Releases are announced on this mailing list. Unfortunately it is not 41 # possible to generate a direct link to the most recent announcement, but 42 # this search should find it. 43 "https://groups.google.com/forum/#!searchin/fplll-devel/FPLLL$20${version}" 44 ]; 45 license = licenses.lgpl21Plus; 46 teams = [ teams.sage ]; 47 platforms = platforms.unix; 48 }; 49}