diff options
author | Franz Pletz <fpletz@fnordicwalking.de> | 2015-07-23 01:17:12 +0200 |
---|---|---|
committer | Franz Pletz <fpletz@fnordicwalking.de> | 2015-07-23 01:18:16 +0200 |
commit | 6079babed8c537759448c8276f0158e66e57299d (patch) | |
tree | 3339892d5fdff59645afe4f78b631ce855dd35e9 | |
parent | 24c13dfa81d59a14760ffc763d4c1a51a98f4f0a (diff) | |
download | nixpkgs-6079babed8c537759448c8276f0158e66e57299d.tar nixpkgs-6079babed8c537759448c8276f0158e66e57299d.tar.gz nixpkgs-6079babed8c537759448c8276f0158e66e57299d.tar.bz2 nixpkgs-6079babed8c537759448c8276f0158e66e57299d.tar.lz nixpkgs-6079babed8c537759448c8276f0158e66e57299d.tar.xz nixpkgs-6079babed8c537759448c8276f0158e66e57299d.tar.zst nixpkgs-6079babed8c537759448c8276f0158e66e57299d.zip |
horst: init at git-2015-07-22
-rw-r--r-- | pkgs/tools/networking/horst/default.nix | 32 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 2 |
2 files changed, 34 insertions, 0 deletions
diff --git a/pkgs/tools/networking/horst/default.nix b/pkgs/tools/networking/horst/default.nix new file mode 100644 index 00000000000..0f18534d200 --- /dev/null +++ b/pkgs/tools/networking/horst/default.nix @@ -0,0 +1,32 @@ +{stdenv, fetchFromGitHub, pkgconfig, ncurses, libnl }: + +stdenv.mkDerivation rec { + name = "horst-${version}"; + version = "git-2015-07-22"; + + src = fetchFromGitHub { + owner = "br101"; + repo = "horst"; + rev = "b62fc20b98690061522a431cb278d989e21141d8"; + sha256 = "176yma8v2bsab2ypgmgzvjg0bsbnk9sga3xpwkx33mwm6q79kd6g"; + }; + + nativeBuildInputs = [ pkgconfig ]; + buildInputs = [ ncurses libnl ]; + + installPhase = '' + mkdir -p $out/bin + mv horst $out/bin + + mkdir -p $out/man/man1 + cp horst.1 $out/man/man1 + ''; + + meta = with stdenv.lib; { + description = "Small and lightweight IEEE802.11 wireless LAN analyzer with a text interface"; + homepage = http://br1.einfach.org/tech/horst/; + maintainers = [ maintainers.fpletz ]; + license = licenses.gpl3; + platforms = platforms.linux; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 8e7ca4dcd6e..00a9fb73385 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -1836,6 +1836,8 @@ let honcho = callPackage ../tools/system/honcho { }; + horst = callPackage ../tools/networking/horst { }; + host = callPackage ../tools/networking/host { }; hping = callPackage ../tools/networking/hping { }; |