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.
40 lines
856 B
Nix
40 lines
856 B
Nix
{ stdenv
|
|
, fetchFromGitHub
|
|
, cmake
|
|
, pkg-config
|
|
, IOKit
|
|
, libftdi1
|
|
, libusb-compat-0_1
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "fujprog";
|
|
version = "4.8";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "kost";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "08kzkzd5a1wfd1aycywdynxh3qy6n7z9i8lihkahmb4xac3chmz5";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
pkg-config
|
|
];
|
|
|
|
buildInputs = [
|
|
libftdi1
|
|
libusb-compat-0_1
|
|
] ++ stdenv.lib.optionals stdenv.isDarwin [ IOKit ];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "JTAG programmer for the ULX3S and ULX2S open hardware FPGA development boards";
|
|
homepage = "https://github.com/kost/fujprog";
|
|
license = licenses.bsd2;
|
|
maintainers = with maintainers; [ trepetti ];
|
|
platforms = platforms.all;
|
|
changelog = "https://github.com/kost/fujprog/releases/tag/v${version}";
|
|
};
|
|
}
|