Files
nixpkgs/pkgs/development/libraries/exprtk/default.nix
T
Alexis Hildebrandt f8c4a98e8e treewide: Remove the definite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"([Tt]he)? ' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Tt]he (.)/\1\U\2/'
2024-06-09 23:08:46 +02:00

29 lines
664 B
Nix

{ lib, stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
pname = "exprtk";
version = "0.0.2";
src = fetchFromGitHub {
owner = "ArashPartow";
repo = pname;
rev = version;
hash = "sha256-ZV5nS6wEbKfzXhfXEtVlkwaEtxpTOYQaGlaxKx3FIvE=";
};
dontBuild = true;
installPhase = ''
runHook preInstall
install -Dm644 exprtk.hpp "$out/include/exprtk.hpp"
runHook postInstall
'';
meta = with lib; {
description = "C++ Mathematical Expression Toolkit Library";
homepage = "https://www.partow.net/programming/exprtk/index.html";
license = licenses.mit;
maintainers = with maintainers; [ anselmschueler ];
};
}