forked from mirrors/nixpkgs
d4cc20c0cc
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/frostwire/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 6.6.5 with grep in /nix/store/6cgry9k7i6ni9a7axglsm5akmibryimi-frostwire-6.6.5 - directory tree listing: https://gist.github.com/e29014b6db646e0dd934f79b2e387703
32 lines
807 B
Nix
32 lines
807 B
Nix
{ stdenv, fetchurl, jre, makeWrapper }:
|
|
|
|
with stdenv.lib;
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "6.6.5";
|
|
name = "frostwire-${version}";
|
|
|
|
src = fetchurl {
|
|
url = "http://dl.frostwire.com/frostwire/${version}/frostwire-${version}.noarch.tar.gz";
|
|
sha256 = "0qxh5288mxd7ksd3zl0i8avkyzh8lj06x3jqya8znfq1c1wg0fph";
|
|
};
|
|
|
|
nativeBuildInputs = [ makeWrapper ];
|
|
|
|
installPhase = ''
|
|
mkdir -p $out/share/java
|
|
mv $(ls */*.jar) $out/share/java
|
|
|
|
makeWrapper $out/share/java/frostwire $out/bin/frostwire \
|
|
--prefix PATH : ${jre}/bin/
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = http://www.frostwire.com/;
|
|
description = "BitTorrent Client and Cloud File Downloader";
|
|
license = licenses.gpl2;
|
|
maintainers = with maintainers; [ gavin ];
|
|
platforms = platforms.all;
|
|
};
|
|
}
|