3
0
Fork 0
forked from mirrors/nixpkgs

bwm_ng: Move version to own variable

This commit is contained in:
Matthias Beyer 2015-09-25 15:33:42 +02:00
parent bc2dc7de5e
commit 8ca7e4c2d1

View file

@ -1,8 +1,11 @@
{ stdenv, fetchurl, ncurses }:
let
version = "0.6.1";
in
stdenv.mkDerivation rec {
name = "bwm-ng-0.6.1";
name = "bwm-ng-${version}";
src = fetchurl {
url = "http://www.gropp.org/bwm-ng/${name}.tar.gz";
sha256 = "1w0dwpjjm9pqi613i8glxrgca3rdyqyp3xydzagzr5ndc34z6z02";
@ -42,7 +45,7 @@ stdenv.mkDerivation rec {
This was influenced by the old bwm util written by Barney (barney@freewill.tzo.com) which had some issues with faster interfaces and was very simple. Since i had almost all code done anyway for other projects, i decided to create my own version.
I actually don't know if netstat input is useful at all. I saw this elsewhere, so i added it. Its target is "netstat 1.42 (2001-04-15)" linux or Free/Open/netBSD. If there are other formats i would be happy to add them.
(from homepage)
'';
};