nixpkgs/pkgs/development/libraries/dbus-sharp/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

29 lines
669 B
Nix

{stdenv, fetchFromGitHub, pkgconfig, mono4, autoreconfHook }:
stdenv.mkDerivation rec {
pname = "dbus-sharp";
version = "0.8.1";
src = fetchFromGitHub {
owner = "mono";
repo = "dbus-sharp";
rev = "v${version}";
sha256 = "1g5lblrvkd0wnhfzp326by6n3a9mj2bj7a7646g0ziwgsxp5w6y7";
};
nativeBuildInputs = [ pkgconfig autoreconfHook ];
# Use msbuild when https://github.com/NixOS/nixpkgs/pull/43680 is merged
# See: https://github.com/NixOS/nixpkgs/pull/46060
buildInputs = [ mono4 ];
dontStrip = true;
meta = with stdenv.lib; {
description = "D-Bus for .NET";
platforms = platforms.linux;
license = licenses.mit;
};
}