diff --git a/pkgs/applications/science/biology/dssp/default.nix b/pkgs/applications/science/biology/dssp/default.nix new file mode 100644 index 000000000000..762b0515e85c --- /dev/null +++ b/pkgs/applications/science/biology/dssp/default.nix @@ -0,0 +1,25 @@ +{ lib, stdenv, fetchFromGitHub, boost, cmake, libcifpp, zlib, }: + +stdenv.mkDerivation rec { + pname = "dssp"; + version = "4.0.5"; + + src = fetchFromGitHub { + owner = "PDB-REDO"; + repo = pname; + rev = "v${version}"; + sha256 = "1x35rdcm4fch66pjbmy73lv0gdb6g9y3v023a66512a6nzsqjsir"; + }; + + nativeBuildInputs = [ cmake ]; + + buildInputs = [ boost libcifpp zlib ]; + + meta = with lib; { + description = "Calculate the most likely secondary structure assignment given the 3D structure of a protein"; + homepage = "https://github.com/PDB-REDO/dssp"; + license = licenses.bsd2; + maintainers = with maintainers; [ natsukium ]; + platforms = platforms.unix; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 2c458626da04..a2bb85765116 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -33378,6 +33378,8 @@ with pkgs; diamond = callPackage ../applications/science/biology/diamond { }; + dssp = callPackage ../applications/science/biology/dssp { }; + ecopcr = callPackage ../applications/science/biology/ecopcr { }; eggnog-mapper = callPackage ../applications/science/biology/eggnog-mapper { };