mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 13:10:33 +00:00
bwm_ng: Move version to own variable
This commit is contained in:
parent
bc2dc7de5e
commit
8ca7e4c2d1
|
@ -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)
|
||||
'';
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue