mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 13:41:26 +00:00
platypus: init at 2017-03-07
This commit is contained in:
parent
f36b72107c
commit
661048c803
38
pkgs/applications/science/biology/platypus/default.nix
Normal file
38
pkgs/applications/science/biology/platypus/default.nix
Normal file
|
@ -0,0 +1,38 @@
|
|||
{stdenv, fetchFromGitHub, python27, htslib, zlib, makeWrapper}:
|
||||
|
||||
let python = python27.withPackages (ps: with ps; [ cython ]);
|
||||
|
||||
in stdenv.mkDerivation rec {
|
||||
name = "platypus-unstable-${version}";
|
||||
version = "2017-03-07";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "andyrimmer";
|
||||
repo = "Platypus";
|
||||
rev = "cbbd914";
|
||||
sha256 = "0xgj3pl7n4c12j5pp5qyjfk4rsvb5inwzrpcbhdf3br5f3mmdsb9";
|
||||
};
|
||||
|
||||
buildInputs = [ htslib python zlib makeWrapper ];
|
||||
|
||||
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 stdenv.lib; {
|
||||
description = "The Platypus variant caller";
|
||||
license = licenses.gpl3;
|
||||
homepage = https://github.com/andyrimmer/Platypus;
|
||||
maintainers = with maintainers; [ jbedo ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
|
@ -16996,6 +16996,8 @@ with pkgs;
|
|||
|
||||
paml = callPackage ../applications/science/biology/paml { };
|
||||
|
||||
platypus = callPackage ../applications/science/biology/platypus/default.nix { };
|
||||
|
||||
plink = callPackage ../applications/science/biology/plink/default.nix { };
|
||||
|
||||
plink-ng = callPackage ../applications/science/biology/plink-ng/default.nix { };
|
||||
|
|
Loading…
Reference in a new issue