ff1a94e523
The nixpkgs-unstable channel's programs.sqlite was used to identify packages producing exactly one binary, and these automatically added to their package definitions wherever possible.
21 lines
528 B
Nix
21 lines
528 B
Nix
{ lib, gccStdenv, fetchurl, gmp }:
|
|
|
|
gccStdenv.mkDerivation rec {
|
|
pname = "cln";
|
|
version = "1.3.7";
|
|
|
|
src = fetchurl {
|
|
url = "${meta.homepage}${pname}-${version}.tar.bz2";
|
|
sha256 = "sha256-fH7YR0lYM35N9btX6lF2rQNlAEy7mLYhdlvEYGoQ2Gs=";
|
|
};
|
|
|
|
buildInputs = [ gmp ];
|
|
|
|
meta = with lib; {
|
|
description = "C/C++ library for numbers, a part of GiNaC";
|
|
mainProgram = "pi";
|
|
homepage = "https://www.ginac.de/CLN/";
|
|
license = licenses.gpl2;
|
|
platforms = platforms.unix; # Once had cygwin problems
|
|
};
|
|
}
|