Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / libraries / exprtk / default.nix
blob8dc4f7598abd6638855f95f02c54ef946ecdd5fe
1 { lib, stdenv, fetchFromGitHub }:
3 stdenv.mkDerivation rec {
4   pname = "exprtk";
5   version = "0.0.2";
7   src = fetchFromGitHub {
8     owner = "ArashPartow";
9     repo = pname;
10     rev = version;
11     hash = "sha256-ZV5nS6wEbKfzXhfXEtVlkwaEtxpTOYQaGlaxKx3FIvE=";
12   };
14   dontBuild = true;
16   installPhase = ''
17     runHook preInstall
18     install -Dm644 exprtk.hpp "$out/include/exprtk.hpp"
19     runHook postInstall
20   '';
22   meta = with lib; {
23     description = "The C++ Mathematical Expression Toolkit Library";
24     homepage = "https://www.partow.net/programming/exprtk/index.html";
25     license = licenses.mit;
26     maintainers = with maintainers; [ anselmschueler ];
27   };