9bb3fccb5b
continuation of #109595 pkgconfig was aliased in 2018, however, it remained in all-packages.nix due to its wide usage. This cleans up the remaining references to pkgs.pkgsconfig and moves the entry to aliases.nix. python3Packages.pkgconfig remained unchanged because it's the canonical name of the upstream package on pypi.
29 lines
671 B
Nix
29 lines
671 B
Nix
{stdenv, fetchFromGitHub, pkg-config, 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 = [ pkg-config 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;
|
|
};
|
|
}
|