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
748 B
Nix
28 lines
748 B
Nix
{ lib, stdenv, fetchFromGitHub, webos, cmake, pkg-config }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "novacom";
|
|
version = "18";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "openwebos";
|
|
repo = "novacom";
|
|
rev = "submissions/${version}";
|
|
sha256 = "12s6g7l20kakyjlhqpli496miv2kfsdp17lcwhdrzdxvxl6hnf4n";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake pkg-config webos.cmake-modules ];
|
|
|
|
postInstall = ''
|
|
install -Dm755 -t $out/bin ../scripts/novaterm
|
|
substituteInPlace $out/bin/novaterm --replace "exec novacom" "exec $out/bin/novacom"
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Utility for communicating with WebOS devices";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ dtzWill ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|