dynamips: refactor

+9 -3
+9 -3
pkgs/applications/emulators/dynamips/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, cmake, libelf, libpcap }: 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , cmake 5 + , libelf 6 + , libpcap 7 + }: 2 8 3 9 stdenv.mkDerivation rec { 4 10 pname = "dynamips"; ··· 8 14 owner = "GNS3"; 9 15 repo = pname; 10 16 rev = "v${version}"; 11 - sha256 = "0pvdqs6kjz0x0wqb5f1k3r25dg82wssm7wz4psm0m6bxsvf5l0i5"; 17 + hash = "sha256-JQJa3NZ9mQqqvuTzU7XmAr1WRB4zuLIwBx18OY3GbV8="; 12 18 }; 13 19 14 20 nativeBuildInputs = [ cmake ]; ··· 17 23 cmakeFlags = [ "-DDYNAMIPS_CODE=stable" ]; 18 24 19 25 meta = with lib; { 26 + inherit (src.meta) homepage; 20 27 description = "A Cisco router emulator"; 21 28 longDescription = '' 22 29 Dynamips is an emulator computer program that was written to emulate Cisco 23 30 routers. 24 31 ''; 25 - inherit (src.meta) homepage; 26 32 license = licenses.gpl2Plus; 27 33 platforms = platforms.linux; 28 34 maintainers = with maintainers; [ primeos ];