3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #4779 from gavinrogers/master

frostwire: initial working package
This commit is contained in:
Arseniy Seroka 2014-11-04 23:03:52 +03:00
commit a20e2d8f93
3 changed files with 39 additions and 0 deletions

View file

@ -64,6 +64,7 @@
fuuzetsu = "Mateusz Kowalczyk <fuuzetsu@fuuzetsu.co.uk>"; fuuzetsu = "Mateusz Kowalczyk <fuuzetsu@fuuzetsu.co.uk>";
gal_bolle = "Florent Becker <florent.becker@ens-lyon.org>"; gal_bolle = "Florent Becker <florent.becker@ens-lyon.org>";
garbas = "Rok Garbas <rok@garbas.si>"; garbas = "Rok Garbas <rok@garbas.si>";
gavin = "Gavin Rogers <gavin@praxeology.co.uk>";
goibhniu = "Cillian de Róiste <cillian.deroiste@gmail.com>"; goibhniu = "Cillian de Róiste <cillian.deroiste@gmail.com>";
guibert = "David Guibert <david.guibert@gmail.com>"; guibert = "David Guibert <david.guibert@gmail.com>";
henrytill = "Henry Till <henrytill@gmail.com>"; henrytill = "Henry Till <henrytill@gmail.com>";

View file

@ -0,0 +1,36 @@
{ stdenv, fetchurl, jre }:
with stdenv.lib;
stdenv.mkDerivation rec {
version = "6.0.0";
name = "frostwire-${version}";
src = fetchurl {
url = "http://dl.frostwire.com/frostwire/${version}/frostwire-${version}.x86_64.tar.gz";
sha256 = "73d6e3db9971becf1c5b7faf12b62fa3ac0a243ac06b8b4eada9118f56990177";
};
inherit jre;
installPhase = ''
jar=$(ls */*.jar)
mkdir -p $out/share/java
mv $jar $out/share/java
mkdir -p $out/bin
cat > $out/bin/frostwire <<EOF
#! $SHELL -e
exec $out/share/java/frostwire
EOF
chmod +x $out/bin/frostwire
'';
meta = {
homepage = http://www.frostwire.com/;
description = "BitTorrent Client and Cloud File Downloader";
license = stdenv.lib.licenses.gpl2;
maintainers = [ stdenv.lib.maintainers.gavin ];
};
}

View file

@ -1183,6 +1183,8 @@ let
frescobaldi = callPackage ../misc/frescobaldi {}; frescobaldi = callPackage ../misc/frescobaldi {};
frostwire = callPackage ../applications/networking/p2p/frostwire { };
ftgl = callPackage ../development/libraries/ftgl { }; ftgl = callPackage ../development/libraries/ftgl { };
ftgl212 = callPackage ../development/libraries/ftgl/2.1.2.nix { }; ftgl212 = callPackage ../development/libraries/ftgl/2.1.2.nix { };