mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 21:33:03 +03:00
Update libgphoto2 - fix gphotofs
This commit is contained in:
parent
eb946b4795
commit
a3187cbba2
@ -1,11 +1,11 @@
|
|||||||
{stdenv, fetchurl, pkgconfig, libusb, libtool, libexif, libjpeg, gettext}:
|
{stdenv, fetchurl, pkgconfig, libusb, libtool, libexif, libjpeg, gettext}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "libgphoto2-2.4.14";
|
name = "libgphoto2-${meta.version}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://sourceforge/gphoto/${name}.tar.bz2";
|
url = "mirror://sourceforge/gphoto/${name}.tar.bz2";
|
||||||
sha256 = "14h20s0kwqr1nsj90dgjwzs0r3h7z1cpmnivrikd0rrg4m2jvcsr";
|
sha256 = "0f1818l1vs5fbmrihzyv3qasddbqi3r01jik5crrxddwalsi2bd3";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig gettext ];
|
nativeBuildInputs = [ pkgconfig gettext ];
|
||||||
@ -22,6 +22,7 @@ stdenv.mkDerivation rec {
|
|||||||
MTP, and other vendor specific protocols for controlling and transferring data
|
MTP, and other vendor specific protocols for controlling and transferring data
|
||||||
from digital cameras.
|
from digital cameras.
|
||||||
'';
|
'';
|
||||||
|
version = "2.5.2";
|
||||||
# XXX: the homepage claims LGPL, but several src files are lgpl21Plus
|
# XXX: the homepage claims LGPL, but several src files are lgpl21Plus
|
||||||
license = stdenv.lib.licenses.lgpl21Plus;
|
license = stdenv.lib.licenses.lgpl21Plus;
|
||||||
platforms = with stdenv.lib.platforms; unix;
|
platforms = with stdenv.lib.platforms; unix;
|
||||||
|
9
pkgs/development/libraries/libgphoto2/default.upstream
Normal file
9
pkgs/development/libraries/libgphoto2/default.upstream
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
url http://sourceforge.net/projects/gphoto/files/libgphoto/
|
||||||
|
SF_version_dir
|
||||||
|
version_link '[.]tar[.]bz2/download$'
|
||||||
|
SF_redirect
|
||||||
|
do_overwrite () {
|
||||||
|
ensure_hash
|
||||||
|
set_var_value version "$CURRENT_VERSION"
|
||||||
|
set_var_value sha256 "$CURRENT_HASH"
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user