From 9db669d66d8ec6292553ce71e9e133ebc815060a Mon Sep 17 00:00:00 2001 From: Franz Pletz Date: Sat, 17 Jan 2015 23:58:43 +0100 Subject: [PATCH] alfred: Add new package --- pkgs/os-specific/linux/batman-adv/alfred.nix | 27 ++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 29 insertions(+) create mode 100644 pkgs/os-specific/linux/batman-adv/alfred.nix diff --git a/pkgs/os-specific/linux/batman-adv/alfred.nix b/pkgs/os-specific/linux/batman-adv/alfred.nix new file mode 100644 index 000000000000..2d9f5079586c --- /dev/null +++ b/pkgs/os-specific/linux/batman-adv/alfred.nix @@ -0,0 +1,27 @@ +{ stdenv, fetchurl, pkgconfig, gpsd }: + +let + ver = "2014.4.0"; +in +stdenv.mkDerivation rec { + name = "alfred-${ver}"; + + src = fetchurl { + url = "http://downloads.open-mesh.org/batman/releases/batman-adv-${ver}/${name}.tar.gz"; + sha256 = "99e6c64e7069b0b7cb861369d5c198bfc7d74d41509b8edd8a17ba78e7c8d034"; + }; + + buildInputs = [ pkgconfig gpsd ]; + + preBuild = '' + makeFlags="PREFIX=$out PKG_CONFIG=${pkgconfig}/bin/pkg-config" + ''; + + meta = { + homepage = http://www.open-mesh.org/projects/batman-adv/wiki/Wiki; + description = "B.A.T.M.A.N. routing protocol in a linux kernel module for layer 2, information distribution tool"; + license = stdenv.lib.licenses.gpl2; + maintainers = with stdenv.lib.maintainers; [ fpletz ]; + platforms = with stdenv.lib.platforms; linux; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index cbd81733ee4b..9d406a4fe3b2 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -8137,6 +8137,8 @@ let acpitool = callPackage ../os-specific/linux/acpitool { }; + alfred = callPackage ../os-specific/linux/batman-adv/alfred.nix { }; + alienfx = callPackage ../os-specific/linux/alienfx { }; alsaLib = callPackage ../os-specific/linux/alsa-lib { };