nixpkgs/pkgs/os-specific/linux/batman-adv/alfred.nix
R. RyanTM 1e01a6ef38 alfred: 2018.0 -> 2018.1
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/alfred/versions.

These checks were done:

- built on NixOS
- Warning: no binary found that responded to help or version flags. (This warning appears even if the package isn't expected to have binaries.)
- found 2018.1 with grep in /nix/store/2fj5i6zd4mp4asxchsig266lqz8acliv-alfred-2018.1
- directory tree listing: https://gist.github.com/64f566e02d8018fe290dc3db29fd7c7f
2018-05-07 05:20:59 -07:00

29 lines
845 B
Nix

{ stdenv, fetchurl, pkgconfig, gpsd, libcap, libnl }:
let
ver = "2018.1";
in
stdenv.mkDerivation rec {
name = "alfred-${ver}";
src = fetchurl {
url = "http://downloads.open-mesh.org/batman/releases/batman-adv-${ver}/${name}.tar.gz";
sha256 = "0xkd842yp227jzfybjq8c5s7y5c7amm1f5ai80k8wyjwysnad3w0";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ gpsd libcap libnl ];
preBuild = ''
makeFlags="PREFIX=$out PKG_CONFIG=${pkgconfig}/bin/pkg-config"
'';
meta = {
homepage = https://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;
};
}