mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 16:03:23 +00:00
dynamips: init at 0.2.17
This commit is contained in:
parent
28f780b320
commit
1011c76598
31
pkgs/applications/virtualization/dynamips/default.nix
Normal file
31
pkgs/applications/virtualization/dynamips/default.nix
Normal file
@ -0,0 +1,31 @@
|
||||
{ stdenv, fetchFromGitHub, cmake, libelf, libpcap }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "${pname}-${version}";
|
||||
pname = "dynamips";
|
||||
version = "0.2.17";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "GNS3";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "12c45jcp9isz57dbshxrvvhqbvmf9cnrr7ddac5m6p34in4hk01n";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
buildInputs = [ libelf libpcap ];
|
||||
|
||||
cmakeFlags = [ "-DDYNAMIPS_CODE=stable" ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A Cisco router emulator";
|
||||
longDescription = ''
|
||||
Dynamips is an emulator computer program that was written to emulate Cisco
|
||||
routers.
|
||||
'';
|
||||
inherit (src.meta) homepage;
|
||||
license = licenses.gpl2Plus;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ primeos ];
|
||||
};
|
||||
}
|
@ -13949,6 +13949,8 @@ with pkgs;
|
||||
patches = config.dwm.patches or [];
|
||||
};
|
||||
|
||||
dynamips = callPackage ../applications/virtualization/dynamips { };
|
||||
|
||||
evilwm = callPackage ../applications/window-managers/evilwm {
|
||||
patches = config.evilwm.patches or [];
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user