nixpkgs/pkgs/development/libraries/cln/default.nix

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

22 lines
549 B
Nix
Raw Normal View History

2022-02-28 21:56:04 +00:00
{ lib, stdenv, fetchgit, gmp }:
stdenv.mkDerivation rec {
pname = "cln";
2019-12-23 07:29:35 +00:00
version = "1.3.6";
2022-02-28 21:56:04 +00:00
src = fetchgit {
url = "git://www.ginac.de/cln.git";
rev = "cln_${builtins.replaceStrings [ "." ] [ "-" ] version}";
sha256 = "sha256-P32F4TIDhE2Dwzydq8iFK6ch3kICJcXeeXHs5PBQG88=";
};
buildInputs = [ gmp ];
meta = with lib; {
description = "C/C++ library for numbers, a part of GiNaC";
homepage = "https://www.ginac.de/CLN/";
2018-09-30 09:15:47 +00:00
license = licenses.gpl2;
platforms = platforms.unix; # Once had cygwin problems
};
}