Adding Gphoto2FS - filesystem for attached cameras
svn path=/nixpkgs/trunk/; revision=16841
This commit is contained in:
parent
98a62231d6
commit
4ba8f74591
|
@ -0,0 +1,30 @@
|
||||||
|
a :
|
||||||
|
let
|
||||||
|
fetchurl = a.fetchurl;
|
||||||
|
s = import ./src-info-for-gphotofs.nix;
|
||||||
|
|
||||||
|
version = a.lib.attrByPath ["version"] s.version a;
|
||||||
|
buildInputs = with a; [
|
||||||
|
libgphoto2 fuse pkgconfig glib
|
||||||
|
];
|
||||||
|
in
|
||||||
|
rec {
|
||||||
|
src = fetchurl {
|
||||||
|
url = s.url;
|
||||||
|
sha256 = s.hash;
|
||||||
|
};
|
||||||
|
|
||||||
|
inherit buildInputs;
|
||||||
|
configureFlags = [];
|
||||||
|
|
||||||
|
/* doConfigure should be removed if not needed */
|
||||||
|
phaseNames = ["doConfigure" "doMakeInstall"];
|
||||||
|
|
||||||
|
name = "gphoto2fs-" + version;
|
||||||
|
meta = {
|
||||||
|
description = "Fuse FS to mount a digital camera";
|
||||||
|
maintainers = [
|
||||||
|
a.lib.maintainers.raskin
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
|
@ -0,0 +1 @@
|
||||||
|
{}
|
|
@ -0,0 +1,6 @@
|
||||||
|
rec {
|
||||||
|
advertisedUrl="http://downloads.sourceforge.net/gphoto/files/gphotofs/0.4.0/gphotofs-0.4.0.tar.bz2";
|
||||||
|
version = "0.4.0";
|
||||||
|
url="http://downloads.sourceforge.net/gphoto/files/gphotofs/0.4.0/gphotofs-0.4.0.tar.bz2";
|
||||||
|
hash = "07zxnawkyzy6np9zas6byp9ksjkbi16d11zqrznqarfkf3fkg3yq";
|
||||||
|
}
|
|
@ -0,0 +1,30 @@
|
||||||
|
a :
|
||||||
|
let
|
||||||
|
fetchurl = a.fetchurl;
|
||||||
|
s = import ./src-info-for-default.nix;
|
||||||
|
|
||||||
|
version = a.lib.attrByPath ["version"] s.version a;
|
||||||
|
buildInputs = with a; [
|
||||||
|
|
||||||
|
];
|
||||||
|
in
|
||||||
|
rec {
|
||||||
|
src = fetchurl {
|
||||||
|
url = s.url;
|
||||||
|
sha256 = s.hash;
|
||||||
|
};
|
||||||
|
|
||||||
|
inherit buildInputs;
|
||||||
|
configureFlags = [];
|
||||||
|
|
||||||
|
/* doConfigure should be removed if not needed */
|
||||||
|
phaseNames = ["doConfigure" "doMakeInstall"];
|
||||||
|
|
||||||
|
name = "${abort "Specify name"}-" + version;
|
||||||
|
meta = {
|
||||||
|
description = "${abort "Specify description"}";
|
||||||
|
maintainers = [
|
||||||
|
a.lib.maintainers.(abort "Specify maintainer")
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
|
@ -14,8 +14,8 @@ src-info-for-file.nix:
|
||||||
downloadPage
|
downloadPage
|
||||||
sourceRegexp (default = '.*[.]tar[.].*')
|
sourceRegexp (default = '.*[.]tar[.].*')
|
||||||
choiceCommand (default = 'head -1')
|
choiceCommand (default = 'head -1')
|
||||||
versionExtractorSedScript (default = 's/.*-([0-9.a-z]+)[.].*/\1/')
|
versionExtractorSedScript (default = 's/.*-([0-9.]+)[.].*/\1/')
|
||||||
versionReferenceCreator (default = 's/-([0-9.a-z]+)[.]/-${version}./')
|
versionReferenceCreator (default = 's/-([0-9.]+)[.]/-${version}./')
|
||||||
mirrorSedScript (default = none)
|
mirrorSedScript (default = none)
|
||||||
|
|
||||||
src-for-file.nix:
|
src-for-file.nix:
|
||||||
|
|
|
@ -6529,6 +6529,11 @@ let
|
||||||
libjpeg readline libtool;
|
libjpeg readline libtool;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
gphoto2fs = builderDefsPackage ../applications/misc/gphoto2/gphotofs.nix {
|
||||||
|
inherit libgphoto2 fuse pkgconfig;
|
||||||
|
inherit (gtkLibs) glib;
|
||||||
|
};
|
||||||
|
|
||||||
gtkpod = import ../applications/audio/gtkpod {
|
gtkpod = import ../applications/audio/gtkpod {
|
||||||
inherit stdenv fetchurl pkgconfig libgpod gettext perl perlXMLParser flex libid3tag;
|
inherit stdenv fetchurl pkgconfig libgpod gettext perl perlXMLParser flex libid3tag;
|
||||||
inherit (gtkLibs) gtk glib;
|
inherit (gtkLibs) gtk glib;
|
||||||
|
|
Loading…
Reference in New Issue