at 18.03-beta 27 lines 785 B view raw
1{ stdenv, lib, fetchFromGitHub, pkgconfig, glib, procps, libxml2 }: 2 3stdenv.mkDerivation rec { 4 name = "dbus-map-${version}"; 5 version = "2015-05-28"; 6 src = fetchFromGitHub { 7 owner = "taviso"; 8 repo = "dbusmap"; 9 rev = "43703fc5e15743309b67131b5ba457b0d6ea7667"; 10 sha256 = "1pjqn6w29ci8hfxkn1aynzfc8nvy3pqv3hixbxwr7qx20g4rwvdc"; 11 }; 12 nativeBuildInputs = [ pkgconfig ]; 13 buildInputs = [ 14 glib procps libxml2 15 ]; 16 installPhase = '' 17 mkdir -p $out/bin 18 mv dbus-map $out/bin 19 ''; 20 meta = with lib; { 21 description = "Simple utility for enumerating D-Bus endpoints, an nmap for D-Bus"; 22 homepage = https://github.com/taviso/dbusmap; 23 license = licenses.gpl2; 24 platforms = platforms.linux; 25 maintainers = with maintainers; [ cstrahan ]; 26 }; 27}