Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 autoconf, 6 automake, 7 libtool, 8 gettext, 9 autoreconfHook, 10 gmp, 11 mpfr, 12}: 13stdenv.mkDerivation rec { 14 pname = "fplll"; 15 version = "20160331"; 16 src = fetchFromGitHub { 17 owner = pname; 18 repo = pname; 19 rev = "11dea26c2f9396ffb7a7191aa371343f1f74c5c3"; 20 sha256 = "1clxch9hbr30w6s84m2mprxv58adhg5qw6sa2p3jr1cy4r7r59ib"; 21 }; 22 nativeBuildInputs = [ 23 autoconf 24 automake 25 libtool 26 gettext 27 autoreconfHook 28 ]; 29 buildInputs = [ 30 gmp 31 mpfr 32 ]; 33 meta = { 34 description = "Lattice algorithms using floating-point arithmetic"; 35 license = lib.licenses.lgpl21Plus; 36 maintainers = [ lib.maintainers.raskin ]; 37 platforms = lib.platforms.linux; 38 }; 39}