Unverified Commit 4b2040f5 authored by Matthias Beyer's avatar Matthias Beyer Committed by GitHub
Browse files

platypus: drop (#391652)

parents 3c917ce6 7bf90633
Loading
Loading
Loading
Loading
+0 −53
Original line number Diff line number Diff line
{
  lib,
  stdenv,
  fetchFromGitHub,
  python27,
  htslib,
  zlib,
  makeWrapper,
}:

let
  python = python27.withPackages (ps: with ps; [ cython ]);

in
stdenv.mkDerivation {
  pname = "platypus-unstable";
  version = "2018-07-22";

  src = fetchFromGitHub {
    owner = "andyrimmer";
    repo = "Platypus";
    rev = "3e72641c69800da0cd4906b090298e654d316ee1";
    sha256 = "0nah6r54b8xm778gqyb8b7rsd76z8ji4g73sm6rvpw5s96iib1vw";
  };

  nativeBuildInputs = [ makeWrapper ];
  buildInputs = [
    htslib
    python
    zlib
  ];

  buildPhase = ''
    patchShebangs .
    make
  '';

  installPhase = ''
    mkdir -p $out/libexec/platypus
    cp -r ./* $out/libexec/platypus

    mkdir -p $out/bin
    makeWrapper ${python}/bin/python $out/bin/platypus --add-flags "$out/libexec/platypus/bin/Platypus.py"
  '';

  meta = with lib; {
    description = "Platypus variant caller";
    license = licenses.gpl3;
    homepage = "https://github.com/andyrimmer/Platypus";
    maintainers = with maintainers; [ jbedo ];
    platforms = platforms.x86_64;
  };
}
+1 −0
Original line number Diff line number Diff line
@@ -1205,6 +1205,7 @@ mapAliases {
  pio = throw "pio has been removed due to lack of upstream maintenance"; # Added 2025-01-25
  pipewire_0_2 = throw "pipewire_0_2 has been removed as it is outdated and no longer used"; # Added 2024-07-28
  pipewire-media-session = throw "pipewire-media-session is no longer maintained and has been removed. Please use Wireplumber instead.";
  platypus = throw "platypus is unmaintained and has not merged Python3 support"; # Added 2025-03-20
  pleroma-otp = throw "'pleroma-otp' has been renamed to/replaced by 'pleroma'"; # Converted to throw 2024-10-17
  plots = throw "'plots' has been replaced by 'gnome-graphs'"; # Added 2025-02-05
  pltScheme = racket; # just to be sure