diff options
author | volth <volth@volth.com> | 2018-02-27 14:28:45 +0000 |
---|---|---|
committer | Rok Garbas <rok@garbas.si> | 2018-03-13 09:54:51 +0100 |
commit | cedfe316480acb9a1b39f6c752a0e3efe34efe1e (patch) | |
tree | ebe988f9cb176146a7a813282c7688fba12f108f /pkgs/applications | |
parent | 0596a7c6d62647110686b14156d872367211d250 (diff) | |
download | nixlib-cedfe316480acb9a1b39f6c752a0e3efe34efe1e.tar nixlib-cedfe316480acb9a1b39f6c752a0e3efe34efe1e.tar.gz nixlib-cedfe316480acb9a1b39f6c752a0e3efe34efe1e.tar.bz2 nixlib-cedfe316480acb9a1b39f6c752a0e3efe34efe1e.tar.lz nixlib-cedfe316480acb9a1b39f6c752a0e3efe34efe1e.tar.xz nixlib-cedfe316480acb9a1b39f6c752a0e3efe34efe1e.tar.zst nixlib-cedfe316480acb9a1b39f6c752a0e3efe34efe1e.zip |
frostwire: restore download-and-unpack derivation as frostwire-bin
Diffstat (limited to 'pkgs/applications')
-rw-r--r-- | pkgs/applications/networking/p2p/frostwire/frostwire-bin.nix | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/pkgs/applications/networking/p2p/frostwire/frostwire-bin.nix b/pkgs/applications/networking/p2p/frostwire/frostwire-bin.nix new file mode 100644 index 000000000000..eff424e2bb12 --- /dev/null +++ b/pkgs/applications/networking/p2p/frostwire/frostwire-bin.nix @@ -0,0 +1,31 @@ +{ stdenv, fetchurl, jre, makeWrapper }: + +with stdenv.lib; + +stdenv.mkDerivation rec { + version = "6.6.3"; + name = "frostwire-${version}"; + + src = fetchurl { + url = "http://dl.frostwire.com/frostwire/${version}/frostwire-${version}.noarch.tar.gz"; + sha256 = "0di1kfvdjglav5pm23gcggfn9qznk5viah55jggv4cb6h16vxc3p"; + }; + + 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; + }; +} |