nixpkgs-suyu/pkgs/os-specific/linux/iwd/default.nix

37 lines
955 B
Nix
Raw Normal View History

2017-04-23 23:12:21 +02:00
{ stdenv, fetchgit, autoreconfHook, readline }:
let
ell = fetchgit {
url = https://git.kernel.org/pub/scm/libs/ell/ell.git;
2017-08-11 12:42:46 +02:00
rev = "e0dbdfbd5992bd3e78029b83930b9020e74cdaa5";
sha256 = "031m1vvcrhggnyvvqyrqpzldi2amsbvhdfcxrypzqz58vysk69vm";
2017-04-23 23:12:21 +02:00
};
in stdenv.mkDerivation rec {
2017-08-11 12:42:46 +02:00
name = "iwd-unstable-2017-09-22";
2017-04-23 23:12:21 +02:00
src = fetchgit {
url = https://git.kernel.org/pub/scm/network/wireless/iwd.git;
2017-08-11 12:42:46 +02:00
rev = "31631e1935337910c7bc0c3eb215f579143c1fe0";
sha256 = "0xl8ali5hy7ragdc4palm857y0prcg32294hv3vv28r9r4x4llcm";
2017-04-23 23:12:21 +02:00
};
configureFlags = [
"--with-dbusconfdir=$(out)/etc/"
];
postUnpack = ''
ln -s ${ell} ell
'';
nativeBuildInputs = [ autoreconfHook ];
buildInputs = [ readline ];
meta = with stdenv.lib; {
homepage = https://git.kernel.org/pub/scm/network/wireless/iwd.git;
description = "Wireless daemon for Linux";
platforms = platforms.linux;
maintainers = [ maintainers.mic92 ];
};
}