Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 42 lines 726 B view raw
1{ 2 lib, 3 stdenv, 4 fetchurl, 5 pkg-config, 6 libtool, 7 gtk3, 8 libpcap, 9 goocanvas2, 10 popt, 11 itstool, 12 libxml2, 13}: 14 15stdenv.mkDerivation rec { 16 pname = "etherape"; 17 version = "0.9.20"; 18 src = fetchurl { 19 url = "mirror://sourceforge/etherape/etherape-${version}.tar.gz"; 20 sha256 = "sha256-9UsQtWOXB1yYofGS4rMIF+ISWBsJKd0DBOFfqOr1n5Y="; 21 }; 22 23 nativeBuildInputs = [ 24 itstool 25 pkg-config 26 (lib.getBin libxml2) 27 ]; 28 buildInputs = [ 29 libtool 30 gtk3 31 libpcap 32 goocanvas2 33 popt 34 ]; 35 36 meta = with lib; { 37 homepage = "https://etherape.sourceforge.net/"; 38 license = lib.licenses.gpl2Plus; 39 platforms = with platforms; linux; 40 maintainers = with maintainers; [ symphorien ]; 41 }; 42}