mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 13:10:33 +00:00
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
|
||||
, ncurses
|
||||
, ...}:
|
||||
builderDefsPackage
|
||||
(a :
|
||||
let
|
||||
helperArgNames = ["stdenv" "fetchurl" "builderDefsPackage"] ++
|
||||
[];
|
||||
|
||||
buildInputs = map (n: builtins.getAttr n x)
|
||||
(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";
|
||||
{stdenv, fetchgit, ncurses, libnl, pkgconfig}:
|
||||
stdenv.mkDerivation rec {
|
||||
version = "0.7.6.20151001";
|
||||
baseName="wavemon";
|
||||
name="${baseName}-${version}";
|
||||
buildInputs = [ncurses libnl pkgconfig];
|
||||
src = fetchgit {
|
||||
url = https://github.com/uoaerg/wavemon.git ;
|
||||
rev = "05753aed2ec5a786d602c7903c89fc6a230f8d42";
|
||||
sha256 = "13y4bi4qz4596f11ng6zaqir5j234wv64z4670q3pzh3fqmzmpm4";
|
||||
};
|
||||
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 = {
|
||||
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;
|
||||
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…
Reference in a new issue