iwd-unstable: 2017-09-22 -> 2017-12-14

- Update to the latest commit
- Package distributed tools and docs
- Add license

+34 -8
+34 -8
pkgs/os-specific/linux/iwd/default.nix
··· 1 - { stdenv, fetchgit, autoreconfHook, readline }: 2 3 let 4 ell = fetchgit { 5 url = https://git.kernel.org/pub/scm/libs/ell/ell.git; 6 - rev = "e0dbdfbd5992bd3e78029b83930b9020e74cdaa5"; 7 - sha256 = "031m1vvcrhggnyvvqyrqpzldi2amsbvhdfcxrypzqz58vysk69vm"; 8 }; 9 in stdenv.mkDerivation rec { 10 - name = "iwd-unstable-2017-09-22"; 11 12 src = fetchgit { 13 url = https://git.kernel.org/pub/scm/network/wireless/iwd.git; 14 - rev = "31631e1935337910c7bc0c3eb215f579143c1fe0"; 15 - sha256 = "0xl8ali5hy7ragdc4palm857y0prcg32294hv3vv28r9r4x4llcm"; 16 }; 17 18 configureFlags = [ 19 "--with-dbusconfdir=$(out)/etc/" 20 ]; 21 22 postUnpack = '' 23 ln -s ${ell} ell 24 ''; 25 26 - nativeBuildInputs = [ autoreconfHook ]; 27 28 - buildInputs = [ readline ]; 29 30 meta = with stdenv.lib; { 31 homepage = https://git.kernel.org/pub/scm/network/wireless/iwd.git; 32 description = "Wireless daemon for Linux"; 33 platforms = platforms.linux; 34 maintainers = [ maintainers.mic92 ]; 35 };
··· 1 + { stdenv, fetchgit, autoreconfHook, readline, python3Packages }: 2 3 let 4 ell = fetchgit { 5 url = https://git.kernel.org/pub/scm/libs/ell/ell.git; 6 + rev = "8192131685be0f27d6f51b14b78ef93fa7f3c692"; 7 + sha256 = "1k74qz3w0l4zq8llrxc4p62xy0c0n33f260vy3d14wx5rhvf0544"; 8 }; 9 in stdenv.mkDerivation rec { 10 + name = "iwd-unstable-2017-12-14"; 11 12 src = fetchgit { 13 url = https://git.kernel.org/pub/scm/network/wireless/iwd.git; 14 + rev = "cf3372235c4592ca7366b27548abc4e89a982414"; 15 + sha256 = "0dg28j919w1v8sqr6jdj12c233rsjzd2jzkcpag1hx2h3g35hnlz"; 16 }; 17 18 + nativeBuildInputs = [ 19 + autoreconfHook 20 + python3Packages.wrapPython 21 + ]; 22 + 23 + buildInputs = [ 24 + readline 25 + python3Packages.python 26 + ]; 27 + 28 + pythonPath = [ 29 + python3Packages.dbus-python 30 + python3Packages.pygobject3 31 + ]; 32 + 33 + enableParallelBuilding = true; 34 + 35 configureFlags = [ 36 "--with-dbusconfdir=$(out)/etc/" 37 ]; 38 39 postUnpack = '' 40 ln -s ${ell} ell 41 + patchShebangs . 42 ''; 43 44 + postInstall = '' 45 + cp -a test/* $out/bin/ 46 + mkdir -p $out/share 47 + cp -a doc $out/share/ 48 + cp -a README AUTHORS TODO $out/share/doc/ 49 + ''; 50 51 + preFixup = '' 52 + wrapPythonPrograms 53 + ''; 54 55 meta = with stdenv.lib; { 56 homepage = https://git.kernel.org/pub/scm/network/wireless/iwd.git; 57 description = "Wireless daemon for Linux"; 58 + license = licenses.lgpl21; 59 platforms = platforms.linux; 60 maintainers = [ maintainers.mic92 ]; 61 };