1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 06:31:02 +00:00
nixpkgs/pkgs/tools/misc/dbus-map/default.nix

28 lines
773 B
Nix
Raw Normal View History

2015-08-04 09:40:42 +01:00
{ stdenv, lib, fetchFromGitHub, pkgconfig, glib, procps, libxml2 }:
2019-08-13 22:52:01 +01:00
stdenv.mkDerivation {
pname = "dbus-map";
2015-08-04 09:40:42 +01:00
version = "2015-05-28";
src = fetchFromGitHub {
owner = "taviso";
repo = "dbusmap";
rev = "43703fc5e15743309b67131b5ba457b0d6ea7667";
sha256 = "1pjqn6w29ci8hfxkn1aynzfc8nvy3pqv3hixbxwr7qx20g4rwvdc";
};
nativeBuildInputs = [ pkgconfig ];
2015-08-04 09:40:42 +01:00
buildInputs = [
glib procps libxml2
2015-08-04 09:40:42 +01: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";
homepage = "https://github.com/taviso/dbusmap";
2015-08-04 09:40:42 +01:00
license = licenses.gpl2;
platforms = platforms.linux;
maintainers = with maintainers; [ cstrahan ];
};
}