at master 31 lines 591 B view raw
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 cmake, 6}: 7 8stdenv.mkDerivation (finalAttrs: { 9 pname = "git2-cpp"; 10 version = "0.1.1"; 11 12 src = fetchFromGitHub { 13 owner = "ken-matsui"; 14 repo = "git2-cpp"; 15 rev = finalAttrs.version; 16 hash = "sha256-2jKSQW6dUCIKtl33paSTuZdYAaYdFnILx/Gxv/ghFiI="; 17 }; 18 19 nativeBuildInputs = [ 20 cmake 21 ]; 22 23 meta = with lib; { 24 homepage = "https://github.com/ken-matsui/git2-cpp"; 25 description = "libgit2 bindings for C++"; 26 license = licenses.mit; 27 maintainers = [ ]; 28 platforms = platforms.unix; 29 }; 30}) 31# TODO [ ken-matsui ]: tests