Merge pull request #209102 from anthonyroussel/dynamips

This commit is contained in:
Sandro 2023-01-12 00:28:59 +01:00 committed by GitHub
commit 09f0112e6e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,17 +4,18 @@
, cmake
, libelf
, libpcap
, nix-update-script
}:
stdenv.mkDerivation rec {
pname = "dynamips";
version = "0.2.22";
version = "0.2.23";
src = fetchFromGitHub {
owner = "GNS3";
repo = pname;
rev = "v${version}";
sha256 = "1fjjjdaxlw1k95kyq73fndn21qfhrm4cn79av0i4sn7anhg8m83f";
hash = "sha256-+h+WsZ/QrDd+dNrR6CJb2uMG+vbUvK8GTxFJZOxknL0=";
};
nativeBuildInputs = [ cmake ];
@ -22,6 +23,10 @@ stdenv.mkDerivation rec {
cmakeFlags = [ "-DDYNAMIPS_CODE=stable" ];
passthru = {
updateScript = nix-update-script { };
};
meta = with lib; {
inherit (src.meta) homepage;
description = "A Cisco router emulator";