Merge pull request #32756 from romildo/upd.iwd
iwd-unstable: 2017-09-22 -> 2017-12-14
This commit is contained in:
commit
71bb7cc2a7
@ -1,35 +1,61 @@
|
|||||||
{ stdenv, fetchgit, autoreconfHook, readline }:
|
{ stdenv, fetchgit, autoreconfHook, readline, python3Packages }:
|
||||||
|
|
||||||
let
|
let
|
||||||
ell = fetchgit {
|
ell = fetchgit {
|
||||||
url = https://git.kernel.org/pub/scm/libs/ell/ell.git;
|
url = https://git.kernel.org/pub/scm/libs/ell/ell.git;
|
||||||
rev = "e0dbdfbd5992bd3e78029b83930b9020e74cdaa5";
|
rev = "8192131685be0f27d6f51b14b78ef93fa7f3c692";
|
||||||
sha256 = "031m1vvcrhggnyvvqyrqpzldi2amsbvhdfcxrypzqz58vysk69vm";
|
sha256 = "1k74qz3w0l4zq8llrxc4p62xy0c0n33f260vy3d14wx5rhvf0544";
|
||||||
};
|
};
|
||||||
in stdenv.mkDerivation rec {
|
in stdenv.mkDerivation rec {
|
||||||
name = "iwd-unstable-2017-09-22";
|
name = "iwd-unstable-2017-12-14";
|
||||||
|
|
||||||
src = fetchgit {
|
src = fetchgit {
|
||||||
url = https://git.kernel.org/pub/scm/network/wireless/iwd.git;
|
url = https://git.kernel.org/pub/scm/network/wireless/iwd.git;
|
||||||
rev = "31631e1935337910c7bc0c3eb215f579143c1fe0";
|
rev = "cf3372235c4592ca7366b27548abc4e89a982414";
|
||||||
sha256 = "0xl8ali5hy7ragdc4palm857y0prcg32294hv3vv28r9r4x4llcm";
|
sha256 = "0dg28j919w1v8sqr6jdj12c233rsjzd2jzkcpag1hx2h3g35hnlz";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
autoreconfHook
|
||||||
|
python3Packages.wrapPython
|
||||||
|
];
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
readline
|
||||||
|
python3Packages.python
|
||||||
|
];
|
||||||
|
|
||||||
|
pythonPath = [
|
||||||
|
python3Packages.dbus-python
|
||||||
|
python3Packages.pygobject3
|
||||||
|
];
|
||||||
|
|
||||||
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
"--with-dbusconfdir=$(out)/etc/"
|
"--with-dbusconfdir=$(out)/etc/"
|
||||||
];
|
];
|
||||||
|
|
||||||
postUnpack = ''
|
postUnpack = ''
|
||||||
ln -s ${ell} ell
|
ln -s ${ell} ell
|
||||||
|
patchShebangs .
|
||||||
'';
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = [ autoreconfHook ];
|
postInstall = ''
|
||||||
|
cp -a test/* $out/bin/
|
||||||
|
mkdir -p $out/share
|
||||||
|
cp -a doc $out/share/
|
||||||
|
cp -a README AUTHORS TODO $out/share/doc/
|
||||||
|
'';
|
||||||
|
|
||||||
buildInputs = [ readline ];
|
preFixup = ''
|
||||||
|
wrapPythonPrograms
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = https://git.kernel.org/pub/scm/network/wireless/iwd.git;
|
homepage = https://git.kernel.org/pub/scm/network/wireless/iwd.git;
|
||||||
description = "Wireless daemon for Linux";
|
description = "Wireless daemon for Linux";
|
||||||
|
license = licenses.lgpl21;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
maintainers = [ maintainers.mic92 ];
|
maintainers = [ maintainers.mic92 ];
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user