nixpkgs/pkgs/build-support/builder-defs/template-bdp-uud.nix
Michael Raskin 4ba8f74591 Adding Gphoto2FS - filesystem for attached cameras
svn path=/nixpkgs/trunk/; revision=16841
2009-08-24 21:35:45 +00:00

31 lines
592 B
Nix

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")
];
};
}