Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
45 lines
746 B
Nix
45 lines
746 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
autoreconfHook,
|
|
gengetopt,
|
|
pkg-config,
|
|
fetchFromGitLab,
|
|
pari,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "2.1.1";
|
|
pname = "lcalc";
|
|
|
|
src = fetchFromGitLab {
|
|
owner = "sagemath";
|
|
repo = "lcalc";
|
|
tag = version;
|
|
hash = "sha256-0CYrRGn5YQ07BaGu0Q5otnjwyh3sNq21EXp3M/KlRdw=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
autoreconfHook
|
|
gengetopt
|
|
pkg-config
|
|
];
|
|
|
|
buildInputs = [
|
|
pari
|
|
];
|
|
|
|
configureFlags = [
|
|
"--with-pari"
|
|
];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://gitlab.com/sagemath/lcalc";
|
|
description = "Program for calculating with L-functions";
|
|
mainProgram = "lcalc";
|
|
license = with licenses; [ gpl2 ];
|
|
teams = [ teams.sage ];
|
|
platforms = platforms.all;
|
|
};
|
|
}
|