uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
50
pkgs/applications/misc/gphoto2/default.nix
Normal file
50
pkgs/applications/misc/gphoto2/default.nix
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config
|
||||
, gettext
|
||||
, libexif
|
||||
, libgphoto2
|
||||
, libjpeg
|
||||
, libtool
|
||||
, popt
|
||||
, readline
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "gphoto2";
|
||||
version = "2.5.28";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "gphoto";
|
||||
repo = "gphoto2";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-t5EnM4WaDbOTPM+rJW+hQxBgNErnnZEN9lZvxTKoDhA=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
autoreconfHook
|
||||
pkg-config
|
||||
gettext
|
||||
libtool
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
libexif
|
||||
libgphoto2
|
||||
libjpeg
|
||||
popt
|
||||
readline
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A ready to use set of digital camera software applications";
|
||||
longDescription = ''
|
||||
|
||||
A set of command line utilities for manipulating over 1400 different
|
||||
digital cameras. Through libgphoto2, it supports PTP, MTP, and much more..
|
||||
|
||||
'';
|
||||
homepage = "http://www.gphoto.org/";
|
||||
license = licenses.gpl2Plus;
|
||||
platforms = platforms.unix;
|
||||
maintainers = [ maintainers.jcumming ];
|
||||
};
|
||||
}
|
||||
23
pkgs/applications/misc/gphoto2/gphotofs.nix
Normal file
23
pkgs/applications/misc/gphoto2/gphotofs.nix
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
{ lib, stdenv, fetchurl, libtool, pkg-config, libgphoto2, fuse, glib }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "gphoto2fs";
|
||||
version = "0.5.0";
|
||||
src = fetchurl {
|
||||
url="mirror://sourceforge/gphoto/gphotofs/${version}/gphotofs-0.5.tar.bz2";
|
||||
sha256 = "1k23ncbsbh64r7kz050bg31jqamchyswgg9izhzij758d7gc8vk7";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [
|
||||
libgphoto2 fuse glib libtool
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Fuse FS to mount a digital camera";
|
||||
homepage = "http://www.gphoto.org/";
|
||||
maintainers = [ maintainers.raskin ];
|
||||
platforms = platforms.linux;
|
||||
license = with licenses; [ lgpl2 gpl2 ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue