dotnet: improve language coverage of passthru.tests for dotnet sdks (#370789)
[NixPkgs.git] / pkgs / by-name / po / popl / package.nix
blob0eb4dd306d00706d694c7806fab9c3e6ff70be64
2   lib,
3   stdenvNoCC,
4   fetchFromGitHub,
5 }:
7 stdenvNoCC.mkDerivation rec {
8   pname = "popl";
9   version = "1.3.0";
11   src = fetchFromGitHub {
12     owner = "badaix";
13     repo = pname;
14     rev = "v${version}";
15     hash = "sha256-AkqFRPK0tVdalL+iyMou0LIUkPkFnYYdSqwEbFbgzqI=";
16   };
18   dontConfigure = true;
19   dontBuild = true;
20   dontFixup = true;
22   installPhase = ''
23     runHook preInstall
25     install -Dm644 $src/include/popl.hpp $out/include/popl.hpp
27     runHook postInstall
28   '';
30   meta = with lib; {
31     description = "Header-only C++ program options parser library";
32     homepage = "https://github.com/badaix/popl";
33     changelog = "https://github.com/badaix/popl/releases/tag/${src.rev}";
34     license = licenses.mit;
35     maintainers = with maintainers; [ azahi ];
36   };