diff options
author | Sandro Jäckel <sandro.jaeckel@gmail.com> | 2022-02-15 12:11:54 +0100 |
---|---|---|
committer | Sandro Jäckel <sandro.jaeckel@gmail.com> | 2022-02-15 12:11:54 +0100 |
commit | 1310f227e84edaaa2d0377e116463a6a313dd10a (patch) | |
tree | d6999ec2a758f874cea6e25b87217128141701f6 /pkgs/development/libraries/git2 | |
parent | 1feb1a2d5ae40bcabfe8f19989eafed5ce021515 (diff) | |
download | nixpkgs-1310f227e84edaaa2d0377e116463a6a313dd10a.tar nixpkgs-1310f227e84edaaa2d0377e116463a6a313dd10a.tar.gz nixpkgs-1310f227e84edaaa2d0377e116463a6a313dd10a.tar.bz2 nixpkgs-1310f227e84edaaa2d0377e116463a6a313dd10a.tar.lz nixpkgs-1310f227e84edaaa2d0377e116463a6a313dd10a.tar.xz nixpkgs-1310f227e84edaaa2d0377e116463a6a313dd10a.tar.zst nixpkgs-1310f227e84edaaa2d0377e116463a6a313dd10a.zip |
libgit2: rename directory to expected name
Diffstat (limited to 'pkgs/development/libraries/git2')
-rw-r--r-- | pkgs/development/libraries/git2/default.nix | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/pkgs/development/libraries/git2/default.nix b/pkgs/development/libraries/git2/default.nix deleted file mode 100644 index 35ef9fba105..00000000000 --- a/pkgs/development/libraries/git2/default.nix +++ /dev/null @@ -1,38 +0,0 @@ -{ lib, stdenv, fetchFromGitHub, cmake, pkg-config, python3 -, zlib, libssh2, openssl, pcre, http-parser -, libiconv, Security -}: - -stdenv.mkDerivation rec { - pname = "libgit2"; - version = "1.3.0"; - # keep the version in sync with python3.pkgs.pygit2 and libgit2-glib - - src = fetchFromGitHub { - owner = "libgit2"; - repo = "libgit2"; - rev = "v${version}"; - sha256 = "sha256-7atNkOBzX+nU1gtFQEaE+EF1L+eex+Ajhq2ocoJY920="; - }; - - cmakeFlags = [ - "-DTHREADSAFE=ON" - "-DUSE_HTTP_PARSER=system" - ]; - - nativeBuildInputs = [ cmake python3 pkg-config ]; - - buildInputs = [ zlib libssh2 openssl pcre http-parser ] - ++ lib.optional stdenv.isDarwin Security; - - propagatedBuildInputs = lib.optional (!stdenv.isLinux) libiconv; - - doCheck = false; # hangs. or very expensive? - - meta = { - description = "The Git linkable library"; - homepage = "https://libgit2.github.com/"; - license = lib.licenses.gpl2; - platforms = with lib.platforms; all; - }; -} |