nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 stdenv,
4 fetchFromGitHub,
5 cmake,
6}:
7
8stdenv.mkDerivation {
9 pname = "fparser";
10 version = "0-unstable-2025-06-23";
11
12 src = fetchFromGitHub {
13 owner = "thliebig";
14 repo = "fparser";
15 rev = "ee15c675514e53b37304179b4a91319d44ba9a85";
16 hash = "sha256-YlkaJlZ60EAsaejdyaV7OK3zF7pnkhyr+PssuToFplA=";
17 };
18
19 nativeBuildInputs = [ cmake ];
20
21 meta = {
22 description = "C++ Library for Evaluating Mathematical Functions";
23 homepage = "https://github.com/thliebig/fparser";
24 license = lib.licenses.lgpl3;
25 maintainers = with lib.maintainers; [ matthuszagh ];
26 platforms = lib.platforms.linux;
27 };
28}