3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/networking/p2p/frostwire/frostwire-bin.nix

32 lines
804 B
Nix
Raw Normal View History

{ stdenv, fetchurl, jre, makeWrapper }:
with stdenv.lib;
stdenv.mkDerivation rec {
2020-08-14 02:09:38 +01:00
version = "6.8.5";
pname = "frostwire";
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";
};
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/
'';
meta = with stdenv.lib; {
2020-03-04 23:31:59 +00:00
homepage = "https://www.frostwire.com/";
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"];
};
}