From 4ba8f74591b0f6b0a1de616129509bf7ebb04ada Mon Sep 17 00:00:00 2001 From: Michael Raskin <7c6f434c@mail.ru> Date: Mon, 24 Aug 2009 21:35:45 +0000 Subject: Adding Gphoto2FS - filesystem for attached cameras svn path=/nixpkgs/trunk/; revision=16841 --- .../builder-defs/template-bdp-uud.nix | 30 ++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 pkgs/build-support/builder-defs/template-bdp-uud.nix (limited to 'pkgs/build-support/builder-defs') diff --git a/pkgs/build-support/builder-defs/template-bdp-uud.nix b/pkgs/build-support/builder-defs/template-bdp-uud.nix new file mode 100644 index 000000000000..46d2da40a703 --- /dev/null +++ b/pkgs/build-support/builder-defs/template-bdp-uud.nix @@ -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") + ]; + }; +} -- cgit 1.4.1