depot/pkgs/development/libraries/science/math/lcalc/default.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

42 lines
744 B
Nix

{ 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;
hash = "sha256-RxWZ7T0I9zV7jUVnL6jV/PxEoU32KY7Q1UsOL5Lonuc=";
};
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 ];
maintainers = teams.sage.members;
platforms = platforms.all;
};
}