Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at release-18.03 23 lines 719 B view raw
1{stdenv, fetchFromGitHub, autoconf, automake, libtool, gettext, autoreconfHook 2, gmp, mpfr 3}: 4stdenv.mkDerivation rec { 5 name = "${pname}-${version}"; 6 pname = "fplll"; 7 version = "5.0.2"; 8 src = fetchFromGitHub { 9 owner = "${pname}"; 10 repo = "${pname}"; 11 rev = "${version}"; 12 sha256 = "0rl98rx284giyhj3pf6iydn1a06jis8c8mnsc7kqs4rcmiw4bjpx"; 13 }; 14 nativeBuildInputs = [autoconf automake libtool gettext autoreconfHook]; 15 buildInputs = [gmp mpfr]; 16 meta = { 17 inherit version; 18 description = ''Lattice algorithms using floating-point arithmetic''; 19 license = stdenv.lib.licenses.lgpl21Plus; 20 maintainers = [stdenv.lib.maintainers.raskin]; 21 platforms = stdenv.lib.platforms.linux; 22 }; 23}