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.
28 lines
608 B
Nix
28 lines
608 B
Nix
{ lib, stdenv, pkg-config, autoreconfHook,
|
|
glib, check, python3, dsview
|
|
}:
|
|
|
|
stdenv.mkDerivation {
|
|
inherit (dsview) version src;
|
|
|
|
pname = "libsigrokdecode4dsl";
|
|
|
|
postUnpack = ''
|
|
export sourceRoot=$sourceRoot/libsigrokdecode4DSL
|
|
'';
|
|
|
|
nativeBuildInputs = [ pkg-config autoreconfHook ];
|
|
|
|
buildInputs = [
|
|
python3 glib check
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "A fork of the sigrokdecode library for usage with DSView";
|
|
homepage = "https://www.dreamsourcelab.com/";
|
|
license = licenses.gpl3Plus;
|
|
platforms = platforms.linux;
|
|
maintainers = [ maintainers.bachp ];
|
|
};
|
|
}
|