nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 44 lines 769 B view raw
1{ 2 lib, 3 stdenv, 4 autoreconfHook, 5 gengetopt, 6 pkg-config, 7 fetchFromGitLab, 8 pari, 9}: 10 11stdenv.mkDerivation (finalAttrs: { 12 version = "2.1.1"; 13 pname = "lcalc"; 14 15 src = fetchFromGitLab { 16 owner = "sagemath"; 17 repo = "lcalc"; 18 tag = finalAttrs.version; 19 hash = "sha256-0CYrRGn5YQ07BaGu0Q5otnjwyh3sNq21EXp3M/KlRdw="; 20 }; 21 22 nativeBuildInputs = [ 23 autoreconfHook 24 gengetopt 25 pkg-config 26 ]; 27 28 buildInputs = [ 29 pari 30 ]; 31 32 configureFlags = [ 33 "--with-pari" 34 ]; 35 36 meta = { 37 homepage = "https://gitlab.com/sagemath/lcalc"; 38 description = "Program for calculating with L-functions"; 39 mainProgram = "lcalc"; 40 license = with lib.licenses; [ gpl2 ]; 41 teams = [ lib.teams.sage ]; 42 platforms = lib.platforms.all; 43 }; 44})