2023-07-15 17:15:38 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, cmake
|
2023-10-09 19:29:22 +00:00
|
|
|
, eigen
|
2023-07-15 17:15:38 +00:00
|
|
|
, fetchFromGitHub
|
|
|
|
, libcifpp
|
|
|
|
, libmcfp
|
|
|
|
, zlib
|
|
|
|
}:
|
2022-08-12 12:06:08 +00:00
|
|
|
|
2023-07-15 17:15:38 +00:00
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
2022-08-12 12:06:08 +00:00
|
|
|
pname = "dssp";
|
2024-05-15 15:35:15 +00:00
|
|
|
version = "4.4.7";
|
2022-08-12 12:06:08 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "PDB-REDO";
|
2023-07-15 17:15:38 +00:00
|
|
|
repo = "dssp";
|
|
|
|
rev = "refs/tags/v${finalAttrs.version}";
|
2024-05-15 15:35:15 +00:00
|
|
|
hash = "sha256-qePoZYkzzWuK6j1NM+q6fPuWVRDEe4OkPmXc9Nbqobo=";
|
2022-08-12 12:06:08 +00:00
|
|
|
};
|
|
|
|
|
2023-07-15 17:15:38 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake
|
|
|
|
];
|
2022-08-12 12:06:08 +00:00
|
|
|
|
2023-07-15 17:15:38 +00:00
|
|
|
buildInputs = [
|
2023-10-09 19:29:22 +00:00
|
|
|
eigen
|
2024-05-15 15:35:15 +00:00
|
|
|
libcifpp
|
2023-07-15 17:15:38 +00:00
|
|
|
libmcfp
|
|
|
|
zlib
|
|
|
|
];
|
2022-08-12 12:06:08 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Calculate the most likely secondary structure assignment given the 3D structure of a protein";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "mkdssp";
|
2022-08-12 12:06:08 +00:00
|
|
|
homepage = "https://github.com/PDB-REDO/dssp";
|
2023-07-15 17:15:38 +00:00
|
|
|
changelog = "https://github.com/PDB-REDO/libcifpp/releases/tag/${finalAttrs.src.rev}";
|
2022-08-12 12:06:08 +00:00
|
|
|
license = licenses.bsd2;
|
|
|
|
maintainers = with maintainers; [ natsukium ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
2023-07-15 17:15:38 +00:00
|
|
|
})
|