10 stdenv.mkDerivation (finalAttrs: {
14 src = fetchFromGitHub {
17 rev = "refs/tags/v${finalAttrs.version}";
18 hash = "sha256-wyDdSUOVey1VKftLLRka9Fp4MT+qNEawZQ5iySl3dk8=";
26 # disable network access
27 "-DCIFPP_DOWNLOAD_CCD=OFF"
36 # cmake requires the existence of this directory when building dssp
38 mkdir -p $out/share/libcifpp
42 description = "Manipulate mmCIF and PDB files";
43 homepage = "https://github.com/PDB-REDO/libcifpp";
44 changelog = "https://github.com/PDB-REDO/libcifpp/releases/tag/${lib.removePrefix "refs/tags/" finalAttrs.src.rev}";
45 license = licenses.bsd2;
46 maintainers = with maintainers; [ natsukium ];
47 platforms = platforms.unix;