depot/third_party/nixpkgs/pkgs/development/libraries/libcifpp/default.nix
Default email c7e6337bd0 Project import generated by Copybara.
GitOrigin-RevId: 08e4dc3a907a6dfec8bb3bbf1540d8abbffea22b
2023-04-29 12:46:19 -04:00

28 lines
681 B
Nix

{ lib, stdenv, fetchFromGitHub, boost, cmake, zlib }:
stdenv.mkDerivation rec {
pname = "libcifpp";
version = "5.0.8";
src = fetchFromGitHub {
owner = "PDB-REDO";
repo = pname;
rev = "v${version}";
sha256 = "sha256-KJGcopGhCWSl+ElG3BPJjBf/kvYJowOHxto6Ci1IMco=";
};
nativeBuildInputs = [ cmake ];
# disable network access
cmakeFlags = [ "-DCIFPP_DOWNLOAD_CCD=OFF" ];
buildInputs = [ boost zlib ];
meta = with lib; {
description = "Manipulate mmCIF and PDB files";
homepage = "https://github.com/PDB-REDO/libcifpp";
license = licenses.bsd2;
maintainers = with maintainers; [ natsukium ];
platforms = platforms.unix;
};
}