libtorrent-rasterbar: 0.16.17 -> 0.16.19 + 1.0.2 -> 1.0.6
This commit is contained in:
parent
1d78f31b76
commit
1fa791a243
@ -1,6 +1,6 @@
|
|||||||
{ callPackage, ... } @ args:
|
{ callPackage, ... } @ args:
|
||||||
|
|
||||||
callPackage ./generic.nix (args // {
|
callPackage ./generic.nix (args // {
|
||||||
version = "0.16.17";
|
version = "0.16.19";
|
||||||
sha256 = "1w5gcizd6jlvzwgy0307az856h0cly685yf275p1v6bdcafd58b7";
|
sha256 = "1nlrivhnshn4wd9m5dsbjmq84731z9f9glj5q3vxz0c01s1lv7vw";
|
||||||
})
|
})
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{ callPackage, ... } @ args:
|
{ callPackage, ... } @ args:
|
||||||
|
|
||||||
callPackage ./generic.nix (args // {
|
callPackage ./generic.nix (args // {
|
||||||
version = "1.0.2";
|
version = "1.0.6";
|
||||||
sha256 = "1ph4cb6nrk2hiy89j3kz1wj16ph0b9yixrf4f4935rnzhha8x31w";
|
sha256 = "1qypc5lx82vlqm9016knxx8khxpc9dy78a0q2x5jmxjk8v6g994r";
|
||||||
})
|
})
|
||||||
|
@ -1,18 +1,26 @@
|
|||||||
{ stdenv, fetchurl, boost, openssl, pkgconfig, zlib, python, libiconv, geoip
|
{ stdenv, fetchurl, automake, autoconf, boost, openssl, lib, libtool, pkgconfig, zlib, python, libiconv, geoip
|
||||||
# Version specific options
|
# Version specific options
|
||||||
, version, sha256
|
, version, sha256
|
||||||
, ... }:
|
, ... }:
|
||||||
|
|
||||||
|
let formattedVersion = lib.replaceChars ["."] ["_"] version;
|
||||||
|
|
||||||
|
in
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "libtorrent-rasterbar-${version}";
|
name = "libtorrent-rasterbar-${version}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://sourceforge/libtorrent/${name}.tar.gz";
|
url = "https://github.com/arvidn/libtorrent/archive/libtorrent-${formattedVersion}.tar.gz";
|
||||||
inherit sha256;
|
inherit sha256;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [automake autoconf libtool ];
|
||||||
|
|
||||||
buildInputs = [ boost pkgconfig openssl zlib python libiconv geoip ];
|
buildInputs = [ boost pkgconfig openssl zlib python libiconv geoip ];
|
||||||
|
|
||||||
|
preConfigure = "./autotool.sh";
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
"--enable-python-binding"
|
"--enable-python-binding"
|
||||||
"--with-libgeoip=system"
|
"--with-libgeoip=system"
|
||||||
@ -22,6 +30,8 @@ stdenv.mkDerivation rec {
|
|||||||
"--with-libiconv=yes"
|
"--with-libiconv=yes"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = http://www.rasterbar.com/products/libtorrent/;
|
homepage = http://www.rasterbar.com/products/libtorrent/;
|
||||||
description = "A C++ BitTorrent implementation focusing on efficiency and scalability";
|
description = "A C++ BitTorrent implementation focusing on efficiency and scalability";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user