mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 11:53:27 +00:00
c36891f1b5
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
32 lines
809 B
Nix
32 lines
809 B
Nix
{ stdenv, fetchurl, jre, makeWrapper }:
|
|
|
|
with stdenv.lib;
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "6.7.9";
|
|
name = "frostwire-${version}";
|
|
|
|
src = fetchurl {
|
|
url = "https://dl.frostwire.com/frostwire/${version}/frostwire-${version}.noarch.tar.gz";
|
|
sha256 = "0bxvn3mrxyhibg2w93s4i12dcfpi30a9fah9m6fkxla860sp8bjn";
|
|
};
|
|
|
|
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 = https://www.frostwire.com/;
|
|
description = "BitTorrent Client and Cloud File Downloader";
|
|
license = licenses.gpl2;
|
|
maintainers = with maintainers; [ gavin ];
|
|
platforms = platforms.all;
|
|
};
|
|
}
|