mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-03 20:33:21 +00:00
5356420466
$ find -type f -name '*.nix' -print0 | xargs -P "$(nproc)" -0 sed -i \ -e 's!with lib.maintainers; \[ *\];![ ];!' \ -e 's!with maintainers; \[ *\];![ ];!'
29 lines
782 B
Nix
29 lines
782 B
Nix
{ stdenv, lib, fetchFromGitHub, pkg-config, glib, procps, libxml2 }:
|
|
|
|
stdenv.mkDerivation {
|
|
pname = "dbus-map";
|
|
version = "2015-05-28";
|
|
src = fetchFromGitHub {
|
|
owner = "taviso";
|
|
repo = "dbusmap";
|
|
rev = "43703fc5e15743309b67131b5ba457b0d6ea7667";
|
|
sha256 = "1pjqn6w29ci8hfxkn1aynzfc8nvy3pqv3hixbxwr7qx20g4rwvdc";
|
|
};
|
|
nativeBuildInputs = [ pkg-config ];
|
|
buildInputs = [
|
|
glib procps libxml2
|
|
];
|
|
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";
|
|
license = licenses.gpl2Only;
|
|
platforms = platforms.linux;
|
|
maintainers = [ ];
|
|
mainProgram = "dbus-map";
|
|
};
|
|
}
|