Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / libraries / git2-cpp / default.nix
blobaae958518661c447e500c87c77f376c960506ea3
1 { lib
2 , stdenv
3 , fetchFromGitHub
4 , cmake
5 }:
7 stdenv.mkDerivation (finalAttrs: {
8   pname = "git2-cpp";
9   version = "0.1.1";
11   src = fetchFromGitHub {
12     owner = "ken-matsui";
13     repo = "git2-cpp";
14     rev = finalAttrs.version;
15     hash = "sha256-2jKSQW6dUCIKtl33paSTuZdYAaYdFnILx/Gxv/ghFiI=";
16   };
18   nativeBuildInputs = [
19     cmake
20   ];
22   meta = with lib; {
23     homepage = "https://github.com/ken-matsui/git2-cpp";
24     description = "libgit2 bindings for C++";
25     license = licenses.mit;
26     maintainers = with maintainers; [ ken-matsui ];
27     platforms = platforms.unix;
28   };
30 # TODO [ ken-matsui ]: tests