dynamips: refactor
This commit is contained in:
parent
4a45cd997b
commit
b3c62405d4
1 changed files with 9 additions and 3 deletions
|
@ -1,4 +1,10 @@
|
|||
{ lib, stdenv, fetchFromGitHub, cmake, libelf, libpcap }:
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, cmake
|
||||
, libelf
|
||||
, libpcap
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "dynamips";
|
||||
|
@ -8,7 +14,7 @@ stdenv.mkDerivation rec {
|
|||
owner = "GNS3";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "0pvdqs6kjz0x0wqb5f1k3r25dg82wssm7wz4psm0m6bxsvf5l0i5";
|
||||
hash = "sha256-JQJa3NZ9mQqqvuTzU7XmAr1WRB4zuLIwBx18OY3GbV8=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
@ -17,12 +23,12 @@ stdenv.mkDerivation rec {
|
|||
cmakeFlags = [ "-DDYNAMIPS_CODE=stable" ];
|
||||
|
||||
meta = with lib; {
|
||||
inherit (src.meta) homepage;
|
||||
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 ];
|
||||
|
|
Loading…
Reference in a new issue