mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-22 14:45:27 +00:00
frostwire: restore download-and-unpack derivation as frostwire-bin
This commit is contained in:
parent
0596a7c6d6
commit
cedfe31648
31
pkgs/applications/networking/p2p/frostwire/frostwire-bin.nix
Normal file
31
pkgs/applications/networking/p2p/frostwire/frostwire-bin.nix
Normal file
|
@ -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;
|
||||
};
|
||||
}
|
|
@ -2351,6 +2351,7 @@ with pkgs;
|
|||
frescobaldi = callPackage ../misc/frescobaldi {};
|
||||
|
||||
frostwire = callPackage ../applications/networking/p2p/frostwire { };
|
||||
frostwire-bin = callPackage ../applications/networking/p2p/frostwire/frostwire-bin.nix { };
|
||||
|
||||
ftgl = callPackage ../development/libraries/ftgl { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue