nixpkgs/pkgs/by-name/lc/lcalc/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

43 lines
744 B
Nix
Raw Normal View History

{ lib, stdenv
2021-12-14 17:39:50 +00:00
, autoreconfHook
, gengetopt
, pkg-config
, fetchFromGitLab
2018-04-22 01:38:40 +00:00
, pari
}:
stdenv.mkDerivation rec {
2021-12-14 17:39:50 +00:00
version = "2.0.5";
2018-04-22 01:38:40 +00:00
pname = "lcalc";
2021-12-14 17:39:50 +00:00
src = fetchFromGitLab {
owner = "sagemath";
repo = pname;
rev = version;
hash = "sha256-RxWZ7T0I9zV7jUVnL6jV/PxEoU32KY7Q1UsOL5Lonuc=";
2018-04-22 01:38:40 +00:00
};
2021-12-14 17:39:50 +00:00
nativeBuildInputs = [
autoreconfHook
gengetopt
pkg-config
];
2018-04-22 01:38:40 +00:00
buildInputs = [
pari
];
2021-12-14 17:39:50 +00:00
configureFlags = [
"--with-pari"
2018-04-22 01:38:40 +00:00
];
meta = with lib; {
2021-12-14 17:39:50 +00:00
homepage = "https://gitlab.com/sagemath/lcalc";
2018-04-22 01:38:40 +00:00
description = "Program for calculating with L-functions";
mainProgram = "lcalc";
2018-04-22 01:38:40 +00:00
license = with licenses; [ gpl2 ];
maintainers = teams.sage.members;
2018-04-22 01:38:40 +00:00
platforms = platforms.all;
};
}