evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / by-name / di / digestpp / package.nix
blob84d88d8b6623356de995f8740d3efec4f1d8277a
1 { lib
2 , fetchFromGitHub
3 , stdenvNoCC
4 }:
5 stdenvNoCC.mkDerivation {
6   pname = "digestpp";
7   version = "0-unstable-2023-11-07";
9   src = fetchFromGitHub {
10     owner = "kerukuro";
11     repo = "digestpp";
12     rev = "ebb699402c244e22c3aff61d2239bcb2e87b8ef8";
13     hash = "sha256-9X/P7DgZB6bSYjQWRli4iAXEFjhmACOVv3EYQrXuH5c=";
14   };
16   installPhase = ''
17     runHook preInstall
19     mkdir -p $out/include/digestpp
20     cp -r *.hpp algorithm/ detail/ $out/include/digestpp
22     runHook postInstall
23   '';
25   meta = with lib; {
26     description = "C++11 header-only message digest library";
27     homepage = "https://github.com/kerukuro/digestpp";
28     license = licenses.unlicense;
29     maintainers = with maintainers; [ ambroisie ];
30     platforms = platforms.all;
31   };