Merge pull request #206487 from ken-matsui/git2-cpp
git2-cpp: init at 0.1.1
This commit is contained in:
commit
ed6336279f
2 changed files with 32 additions and 0 deletions
30
pkgs/development/libraries/git2-cpp/default.nix
Normal file
30
pkgs/development/libraries/git2-cpp/default.nix
Normal file
|
@ -0,0 +1,30 @@
|
|||
{ 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 = with maintainers; [ ken-matsui ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
})
|
||||
# TODO [ ken-matsui ]: tests
|
|
@ -17301,6 +17301,8 @@ with pkgs;
|
|||
|
||||
gi-docgen = callPackage ../development/tools/documentation/gi-docgen { };
|
||||
|
||||
git2-cpp = callPackage ../development/libraries/git2-cpp { };
|
||||
|
||||
github-release = callPackage ../development/tools/github/github-release { };
|
||||
|
||||
global = callPackage ../development/tools/misc/global { };
|
||||
|
|
Loading…
Reference in a new issue