Merge pull request #249750 from natsukium/bioawk/init
bioawk: init at unstable-2017-09-11
This commit is contained in:
commit
0a18e1f929
2 changed files with 52 additions and 0 deletions
50
pkgs/applications/science/biology/bioawk/default.nix
Normal file
50
pkgs/applications/science/biology/bioawk/default.nix
Normal file
|
@ -0,0 +1,50 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, installShellFiles
|
||||
, bison
|
||||
, zlib
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "bioawk";
|
||||
version = "unstable-2017-09-11";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "lh3";
|
||||
repo = "bioawk";
|
||||
rev = "fd40150b7c557da45e781a999d372abbc634cc21";
|
||||
hash = "sha256-WWgz96DPP83J45isWkMbgEvOlibq6WefK//ImV6+AU0=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
bison
|
||||
installShellFiles
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
zlib
|
||||
];
|
||||
|
||||
buildFlags = [
|
||||
"CC=${stdenv.cc.targetPrefix}cc"
|
||||
];
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
install -Dm755 bioawk -t $out/bin
|
||||
mv awk.1 bioawk.1
|
||||
installManPage bioawk.1
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "BWK awk modified for biological data";
|
||||
homepage = "https://github.com/lh3/bioawk";
|
||||
license = licenses.hpnd;
|
||||
maintainers = with maintainers; [ natsukium ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
|
@ -38877,6 +38877,8 @@ with pkgs;
|
|||
|
||||
bftools = callPackage ../applications/science/biology/bftools { };
|
||||
|
||||
bioawk = callPackage ../applications/science/biology/bioawk { };
|
||||
|
||||
blast = callPackage ../applications/science/biology/blast {
|
||||
inherit (darwin.apple_sdk.frameworks) ApplicationServices;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue