nixpkgs/pkgs/by-name/fa/fast-float/package.nix

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

33 lines
690 B
Nix
Raw Normal View History

2024-08-03 23:01:37 +01:00
{
lib,
stdenv,
fetchFromGitHub,
cmake,
2024-01-27 17:04:08 +00:00
}:
stdenv.mkDerivation (finalAttrs: {
pname = "fast-float";
2024-09-09 00:43:33 +01:00
version = "6.1.6";
2024-01-27 17:04:08 +00:00
src = fetchFromGitHub {
owner = "fastfloat";
repo = "fast_float";
rev = "v${finalAttrs.version}";
2024-09-09 00:43:33 +01:00
hash = "sha256-MEJMPQZZZhOFiKlPAKIi0zVzaJBvjAlbSyg3wLOQ1fg=";
2024-01-27 17:04:08 +00:00
};
2024-08-03 23:01:37 +01:00
nativeBuildInputs = [ cmake ];
2024-01-27 17:04:08 +00:00
meta = {
description = "Fast and exact implementation of the C++ from_chars functions for number types";
homepage = "https://github.com/fastfloat/fast_float";
2024-08-03 23:01:37 +01:00
license = with lib.licenses; [
asl20
boost
mit
];
2024-01-27 17:04:08 +00:00
maintainers = with lib.maintainers; [ wegank ];
platforms = lib.platforms.all;
};
})