about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/libcifpp/default.nix
blob: 22c23f45af8633e2b747fb810d7e648fd6a9fae3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{ lib, stdenv, fetchFromGitHub, boost, cmake, }:

stdenv.mkDerivation rec {
  pname = "libcifpp";
  version = "4.2.0";

  src = fetchFromGitHub {
    owner = "PDB-REDO";
    repo = pname;
    rev = "v${version}";
    sha256 = "1hzi6fgbsmy8h8nfwkyfds9jz13nqw72h0x81jqw5516kkvar5iw";
  };

  nativeBuildInputs = [ cmake ];

  buildInputs = [ boost ];

  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;
  };
}