about summary refs log tree commit diff
path: root/nixpkgs/pkgs/applications/science/electronics/fparser/default.nix
blob: 73db0575d0b1b648d06590ef89a1587fd3e43380 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{ lib, stdenv
, fetchFromGitHub
, cmake
}:

stdenv.mkDerivation rec {
  pname = "fparser";
  version = "unstable-2015-09-25";

  src = fetchFromGitHub {
    owner = "thliebig";
    repo = "fparser";
    rev = "a59e1f51e32096bfe2a0a2640d5dffc7ae6ba37b";
    sha256 = "0wayml1mlyi922gp6am3fsidhzsilziksdn5kbnpcln01h8555ad";
  };

  nativeBuildInputs = [ cmake ];

  meta = with lib; {
    description = "C++ Library for Evaluating Mathematical Functions";
    homepage = "https://github.com/thliebig/fparser";
    license = licenses.lgpl3;
    maintainers = with maintainers; [ matthuszagh ];
    platforms = platforms.linux;
  };
}