3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/science/biology/bwa/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

26 lines
687 B
Nix

{ stdenv, fetchurl, zlib }:
stdenv.mkDerivation rec {
pname = "bwa";
version = "0.7.17";
src = fetchurl {
url = "mirror://sourceforge/bio-bwa/${pname}-${version}.tar.bz2";
sha256 = "1zfhv2zg9v1icdlq4p9ssc8k01mca5d1bd87w71py2swfi74s6yy";
};
buildInputs = [ zlib ];
installPhase = ''
install -vD bwa $out/bin/bwa
'';
meta = with stdenv.lib; {
description = "A software package for mapping low-divergent sequences against a large reference genome, such as the human genome";
license = licenses.gpl3;
homepage = http://bio-bwa.sourceforge.net/;
maintainers = with maintainers; [ luispedro ];
platforms = [ "x86_64-linux" ];
};
}