From 0cc2f6ec40108b3aaafee51ea83c39be4987845e Mon Sep 17 00:00:00 2001 From: Franz Pletz Date: Sat, 17 Jan 2015 23:57:49 +0100 Subject: [PATCH 1/3] batman-adv: Update to 2014.4.0 --- pkgs/os-specific/linux/batman-adv/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/os-specific/linux/batman-adv/default.nix b/pkgs/os-specific/linux/batman-adv/default.nix index 8407f270f484..341b6f3af1d5 100644 --- a/pkgs/os-specific/linux/batman-adv/default.nix +++ b/pkgs/os-specific/linux/batman-adv/default.nix @@ -2,14 +2,14 @@ assert stdenv.lib.versionOlder kernel.version "3.17"; -let base = "batman-adv-2014.3.0"; in +let base = "batman-adv-2014.4.0"; in stdenv.mkDerivation rec { name = "${base}-${kernel.version}"; src = fetchurl { url = "http://downloads.open-mesh.org/batman/releases/${base}/${base}.tar.gz"; - sha1 = "wh3if8v4wfwskvzwqsjsyr929krzfmsx"; + sha256 = "757b9ddd346680f6fd87dc28fde6da0ddc0423a65fbc88fdbaa7b247fed2c1a8"; }; preBuild = '' @@ -22,7 +22,7 @@ stdenv.mkDerivation rec { 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"; license = stdenv.lib.licenses.gpl2; - maintainers = with stdenv.lib.maintainers; [viric]; + maintainers = with stdenv.lib.maintainers; [ viric fpletz ]; platforms = with stdenv.lib.platforms; linux; }; } From 52c1be07b92971fb92c8ffd50b0147a9f93da080 Mon Sep 17 00:00:00 2001 From: Franz Pletz Date: Sat, 17 Jan 2015 23:58:23 +0100 Subject: [PATCH 2/3] batctl: Update to 2014.4.0 --- pkgs/os-specific/linux/batman-adv/batctl.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/os-specific/linux/batman-adv/batctl.nix b/pkgs/os-specific/linux/batman-adv/batctl.nix index 6e57e7651c45..5ac3e6b4117f 100644 --- a/pkgs/os-specific/linux/batman-adv/batctl.nix +++ b/pkgs/os-specific/linux/batman-adv/batctl.nix @@ -1,14 +1,14 @@ {stdenv, fetchurl}: let - ver = "2013.4.0"; + ver = "2014.4.0"; in stdenv.mkDerivation rec { name = "batctl-${ver}"; src = fetchurl { url = "http://downloads.open-mesh.org/batman/releases/batman-adv-${ver}/${name}.tar.gz"; - sha256 = "0k6b695h38m92a8wn5gvb3z746m3fm0ygv58yyn163adcsvf7sjd"; + sha256 = "4deae3b6664d0d13acf7a8ece74175a31a72fe58fb15cb9112a9a2014b32cb4c"; }; preBuild = '' From 9db669d66d8ec6292553ce71e9e133ebc815060a Mon Sep 17 00:00:00 2001 From: Franz Pletz Date: Sat, 17 Jan 2015 23:58:43 +0100 Subject: [PATCH 3/3] 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 { };