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 }: 1 + { stdenv, fetchgit, autoreconfHook, readline, python3Packages }: 2 2 3 3 let 4 4 ell = fetchgit { 5 5 url = https://git.kernel.org/pub/scm/libs/ell/ell.git; 6 - rev = "e0dbdfbd5992bd3e78029b83930b9020e74cdaa5"; 7 - sha256 = "031m1vvcrhggnyvvqyrqpzldi2amsbvhdfcxrypzqz58vysk69vm"; 6 + rev = "8192131685be0f27d6f51b14b78ef93fa7f3c692"; 7 + sha256 = "1k74qz3w0l4zq8llrxc4p62xy0c0n33f260vy3d14wx5rhvf0544"; 8 8 }; 9 9 in stdenv.mkDerivation rec { 10 - name = "iwd-unstable-2017-09-22"; 10 + name = "iwd-unstable-2017-12-14"; 11 11 12 12 src = fetchgit { 13 13 url = https://git.kernel.org/pub/scm/network/wireless/iwd.git; 14 - rev = "31631e1935337910c7bc0c3eb215f579143c1fe0"; 15 - sha256 = "0xl8ali5hy7ragdc4palm857y0prcg32294hv3vv28r9r4x4llcm"; 14 + rev = "cf3372235c4592ca7366b27548abc4e89a982414"; 15 + sha256 = "0dg28j919w1v8sqr6jdj12c233rsjzd2jzkcpag1hx2h3g35hnlz"; 16 16 }; 17 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 + 18 35 configureFlags = [ 19 36 "--with-dbusconfdir=$(out)/etc/" 20 37 ]; 21 38 22 39 postUnpack = '' 23 40 ln -s ${ell} ell 41 + patchShebangs . 24 42 ''; 25 43 26 - nativeBuildInputs = [ autoreconfHook ]; 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 + ''; 27 50 28 - buildInputs = [ readline ]; 51 + preFixup = '' 52 + wrapPythonPrograms 53 + ''; 29 54 30 55 meta = with stdenv.lib; { 31 56 homepage = https://git.kernel.org/pub/scm/network/wireless/iwd.git; 32 57 description = "Wireless daemon for Linux"; 58 + license = licenses.lgpl21; 33 59 platforms = platforms.linux; 34 60 maintainers = [ maintainers.mic92 ]; 35 61 };