Update wavemon to git version, which has some nl80211 support
This commit is contained in:
parent
1ee3e26552
commit
95437b7c53
@ -1,45 +1,20 @@
|
|||||||
x@{builderDefsPackage
|
{stdenv, fetchgit, ncurses, libnl, pkgconfig}:
|
||||||
, ncurses
|
stdenv.mkDerivation rec {
|
||||||
, ...}:
|
version = "0.7.6.20151001";
|
||||||
builderDefsPackage
|
baseName="wavemon";
|
||||||
(a :
|
name="${baseName}-${version}";
|
||||||
let
|
buildInputs = [ncurses libnl pkgconfig];
|
||||||
helperArgNames = ["stdenv" "fetchurl" "builderDefsPackage"] ++
|
src = fetchgit {
|
||||||
[];
|
url = https://github.com/uoaerg/wavemon.git ;
|
||||||
|
rev = "05753aed2ec5a786d602c7903c89fc6a230f8d42";
|
||||||
buildInputs = map (n: builtins.getAttr n x)
|
sha256 = "13y4bi4qz4596f11ng6zaqir5j234wv64z4670q3pzh3fqmzmpm4";
|
||||||
(builtins.attrNames (builtins.removeAttrs x helperArgNames));
|
|
||||||
sourceInfo = rec {
|
|
||||||
baseName="wavemon";
|
|
||||||
version = "0.7.6";
|
|
||||||
name="${baseName}-${version}";
|
|
||||||
url="http://eden-feed.erg.abdn.ac.uk/wavemon/stable-releases/${name}.tar.bz2";
|
|
||||||
};
|
};
|
||||||
in
|
|
||||||
rec {
|
|
||||||
src = a.fetchurl {
|
|
||||||
url = sourceInfo.url;
|
|
||||||
sha256 = "18cwlzgmwzy7z9dfr6lwd8kmkv0pqiihizm4gi0kkm52bzz6836y";
|
|
||||||
};
|
|
||||||
|
|
||||||
inherit (sourceInfo) name version;
|
|
||||||
inherit buildInputs;
|
|
||||||
|
|
||||||
/* doConfigure should be removed if not needed */
|
|
||||||
phaseNames = ["doConfigure" "doMakeInstall"];
|
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "WiFi state monitor";
|
|
||||||
maintainers = with a.lib.maintainers;
|
|
||||||
[
|
|
||||||
raskin
|
|
||||||
];
|
|
||||||
platforms = with a.lib.platforms;
|
|
||||||
linux;
|
|
||||||
license = a.lib.licenses.gpl2Plus;
|
|
||||||
downloadPage = "http://eden-feed.erg.abdn.ac.uk/wavemon/";
|
|
||||||
inherit version;
|
inherit version;
|
||||||
updateWalker = true;
|
description = "WiFi state monitor";
|
||||||
|
license = stdenv.lib.licenses.gpl3Plus ;
|
||||||
|
maintainers = [stdenv.lib.maintainers.raskin];
|
||||||
|
platforms = stdenv.lib.platforms.linux;
|
||||||
|
downloadPage = https://github.com/uoaerg/wavemon.git ;
|
||||||
};
|
};
|
||||||
}) x
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user