nixpkgs/pkgs/development/libraries/dbus-sharp-glib/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

26 lines
603 B
Nix

{ stdenv, fetchFromGitHub, pkgconfig, mono, dbus-sharp-2_0, autoreconfHook }:
stdenv.mkDerivation rec {
pname = "dbus-sharp-glib";
version = "0.6";
src = fetchFromGitHub {
owner = "mono";
repo = "dbus-sharp-glib";
rev = "v${version}";
sha256 = "0i39kfg731as6j0hlmasgj8dyw5xsak7rl2dlimi1naphhffwzm8";
};
nativeBuildInputs = [ pkgconfig autoreconfHook ];
buildInputs = [ mono dbus-sharp-2_0 ];
dontStrip = true;
meta = with stdenv.lib; {
description = "D-Bus for .NET: GLib integration module";
platforms = platforms.linux;
license = licenses.mit;
};
}