nixpkgs/pkgs/development/libraries/libcifpp/default.nix

26 lines
597 B
Nix
Raw Normal View History

2022-07-19 03:14:28 +00:00
{ lib, stdenv, fetchFromGitHub, boost, cmake, }:
stdenv.mkDerivation rec {
pname = "libcifpp";
2022-09-12 14:36:53 +00:00
version = "4.2.2";
2022-07-19 03:14:28 +00:00
src = fetchFromGitHub {
owner = "PDB-REDO";
repo = pname;
rev = "v${version}";
2022-09-12 14:36:53 +00:00
sha256 = "0mhplcpni4p8lavrq4fz9qq8mbxhvpnlxzy55yrz8y07d76ajg6y";
2022-07-19 03:14:28 +00:00
};
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;
};
}