{ lib, stdenv , autoreconfHook , gengetopt , pkg-config , fetchFromGitLab , pari }: stdenv.mkDerivation rec { version = "2.0.5"; pname = "lcalc"; src = fetchFromGitLab { owner = "sagemath"; repo = pname; rev = version; sha256 = "sha256-RxWZ7T0I9zV7jUVnL6jV/PxEoU32KY7Q1UsOL5Lonuc="; }; nativeBuildInputs = [ autoreconfHook gengetopt pkg-config ]; buildInputs = [ pari ]; configureFlags = [ "--with-pari" ]; meta = with lib; { homepage = "https://gitlab.com/sagemath/lcalc"; description = "A program for calculating with L-functions"; license = with licenses; [ gpl2 ]; maintainers = teams.sage.members; platforms = platforms.all; }; }