2021-01-17 04:51:22 +01:00
|
|
|
{ stdenv, lib, fetchFromGitHub, pkg-config, glib, procps, libxml2 }:
|
2015-08-04 10:40:42 +02:00
|
|
|
|
2019-08-13 23:52:01 +02:00
|
|
|
stdenv.mkDerivation {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "dbus-map";
|
2015-08-04 10:40:42 +02:00
|
|
|
version = "2015-05-28";
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "taviso";
|
|
|
|
repo = "dbusmap";
|
|
|
|
rev = "43703fc5e15743309b67131b5ba457b0d6ea7667";
|
|
|
|
sha256 = "1pjqn6w29ci8hfxkn1aynzfc8nvy3pqv3hixbxwr7qx20g4rwvdc";
|
|
|
|
};
|
2021-01-17 04:51:22 +01:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2015-08-04 10:40:42 +02:00
|
|
|
buildInputs = [
|
2017-09-14 21:24:37 +02:00
|
|
|
glib procps libxml2
|
2015-08-04 10:40:42 +02:00
|
|
|
];
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/bin
|
|
|
|
mv dbus-map $out/bin
|
|
|
|
'';
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Simple utility for enumerating D-Bus endpoints, an nmap for D-Bus";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/taviso/dbusmap";
|
2015-08-04 10:40:42 +02:00
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ cstrahan ];
|
|
|
|
};
|
|
|
|
}
|