Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
42 lines
869 B
Nix
42 lines
869 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
cmake,
|
|
eigen,
|
|
fetchFromGitHub,
|
|
libcifpp,
|
|
libmcfp,
|
|
zlib,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "dssp";
|
|
version = "4.5.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "PDB-REDO";
|
|
repo = "dssp";
|
|
tag = "v${finalAttrs.version}";
|
|
hash = "sha256-UE97bdSx41K962TqXLlKsp8oDnBBX7uXqsfIzhWjsTI=";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
buildInputs = [
|
|
eigen
|
|
libcifpp
|
|
libmcfp
|
|
zlib
|
|
];
|
|
|
|
meta = {
|
|
description = "Calculate the most likely secondary structure assignment given the 3D structure of a protein";
|
|
mainProgram = "mkdssp";
|
|
homepage = "https://github.com/PDB-REDO/dssp";
|
|
changelog = "https://github.com/PDB-REDO/dssp/releases/tag/v${finalAttrs.version}";
|
|
license = lib.licenses.bsd2;
|
|
maintainers = with lib.maintainers; [ natsukium ];
|
|
platforms = lib.platforms.unix;
|
|
};
|
|
})
|