2018-02-27 14:28:45 +00:00
|
|
|
{ stdenv, fetchurl, jre, makeWrapper }:
|
|
|
|
|
|
|
|
with stdenv.lib;
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2020-08-14 02:09:38 +01:00
|
|
|
version = "6.8.5";
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "frostwire";
|
2018-02-27 14:28:45 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-11-03 13:25:33 +00:00
|
|
|
url = "https://dl.frostwire.com/frostwire/${version}/frostwire-${version}.amd64.tar.gz";
|
2020-08-14 02:09:38 +01:00
|
|
|
sha256 = "1zdas93w1yqg9yx8wlk7pxpdmwvg4ykg54ai7iyq9ir1zha8fyif";
|
2018-02-27 14:28:45 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ makeWrapper ];
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/share/java
|
|
|
|
mv $(ls */*.jar) $out/share/java
|
|
|
|
|
|
|
|
makeWrapper $out/share/java/frostwire $out/bin/frostwire \
|
2019-11-02 10:00:31 +00:00
|
|
|
--prefix PATH : ${jre}/bin/
|
2018-02-27 14:28:45 +00:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2020-03-04 23:31:59 +00:00
|
|
|
homepage = "https://www.frostwire.com/";
|
2018-02-27 14:28:45 +00:00
|
|
|
description = "BitTorrent Client and Cloud File Downloader";
|
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = with maintainers; [ gavin ];
|
2019-11-03 13:25:33 +00:00
|
|
|
platforms = [ "x86_64-linux"];
|
2018-02-27 14:28:45 +00:00
|
|
|
};
|
|
|
|
}
|