mirror of
https://codeberg.org/mart-w/nixos-x13s.git
synced 2024-11-10 01:54:48 +01:00
37 lines
686 B
Nix
37 lines
686 B
Nix
{
|
|
stdenv,
|
|
lib,
|
|
fetchFromGitHub,
|
|
qrtr,
|
|
xz,
|
|
}:
|
|
|
|
stdenv.mkDerivation {
|
|
pname = "pd-mapper";
|
|
version = "unstable-2023-09-01";
|
|
|
|
buildInputs = [
|
|
qrtr
|
|
xz
|
|
];
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "andersson";
|
|
repo = "pd-mapper";
|
|
rev = "10997ba7c43a3787a40b6b1b161408033e716374";
|
|
hash = "sha256-qGrYNoPCxtdpTdbkSmB39+6/pSXml96Aul8b9opF9Lc=";
|
|
};
|
|
|
|
patches = [ ./pd-mapper-firmware-path.diff ];
|
|
|
|
installFlags = [ "prefix=$(out)" ];
|
|
|
|
meta = with lib; {
|
|
description = "Qualcomm PD mapper";
|
|
homepage = "https://github.com/andersson/pd-mapper";
|
|
license = licenses.bsd3;
|
|
mainProgram = "pd-mapper";
|
|
platforms = platforms.aarch64;
|
|
};
|
|
}
|