depot/third_party/nixpkgs/pkgs/development/libraries/git2-cpp/default.nix
Default email 5ca88bfbb9 Project import generated by Copybara.
GitOrigin-RevId: 9f918d616c5321ad374ae6cb5ea89c9e04bf3e58
2024-07-31 10:19:44 +00:00

30 lines
585 B
Nix

{ lib
, stdenv
, fetchFromGitHub
, cmake
}:
stdenv.mkDerivation (finalAttrs: {
pname = "git2-cpp";
version = "0.1.1";
src = fetchFromGitHub {
owner = "ken-matsui";
repo = "git2-cpp";
rev = finalAttrs.version;
hash = "sha256-2jKSQW6dUCIKtl33paSTuZdYAaYdFnILx/Gxv/ghFiI=";
};
nativeBuildInputs = [
cmake
];
meta = with lib; {
homepage = "https://github.com/ken-matsui/git2-cpp";
description = "libgit2 bindings for C++";
license = licenses.mit;
maintainers = [ ];
platforms = platforms.unix;
};
})
# TODO [ ken-matsui ]: tests