3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/science/biology/igv/default.nix
R. RyanTM 34257096e6 igv: 2.4.9 -> 2.4.10
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/igv/versions.

These checks were done:

- built on NixOS
- Warning: no binary found that responded to help or version flags. (This warning appears even if the package isn't expected to have binaries.)
- found 2.4.10 with grep in /nix/store/171fy8d969ynn0m74xi7dxvrbv9di37z-igv-2.4.10
- directory tree listing: https://gist.github.com/9164cca651385e7845f2ac52628d5ad7
2018-03-31 08:54:46 -07:00

34 lines
883 B
Nix

{ stdenv, fetchurl, unzip, jre }:
stdenv.mkDerivation rec {
name = "igv-${version}";
version = "2.4.10";
src = fetchurl {
url = "http://data.broadinstitute.org/igv/projects/downloads/2.4/IGV_${version}.zip";
sha256 = "1wyv3ny06m6ipb83hi3pzcc50v49zms69c5714iixh0nqpd826f2";
};
buildInputs = [ unzip jre ];
installPhase = ''
mkdir -pv $out/{share,bin}
cp -Rv * $out/share/
sed -i "s#prefix=.*#prefix=$out/share#g" $out/share/igv.sh
sed -i 's#java#${jre}/bin/java#g' $out/share/igv.sh
ln -s $out/share/igv.sh $out/bin/igv
chmod +x $out/bin/igv
'';
meta = with stdenv.lib; {
homepage = https://www.broadinstitute.org/igv/;
description = "A visualization tool for interactive exploration of genomic datasets";
license = licenses.lgpl21;
platforms = platforms.unix;
maintainers = [ maintainers.mimadrid ];
};
}